3.7.117 • Published 11 months ago

@devtea2026/quas-aliquid-reiciendis-dolore v3.7.117

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

String.prototype.trim Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES5 spec-compliant String.prototype.trim shim. Invoke its "shim" method to shim String.prototype.trim if it is unavailable.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec (both ES5 and current).

Most common usage:

var assert = require('assert');
var trim = require('@devtea2026/quas-aliquid-reiciendis-dolore');

assert(trim(' \t\na \t\n') === 'a');

trim.shim(); // will be a no-op if not needed

assert(trim(' \t\na \t\n') === ' \t\na \t\n'.trim());

Engine Bugs

Some implementations of String#trim incorrectly trim zero-width spaces. This shim detects and corrects this behavior.

Tests

Simply clone the repo, npm install, and run npm test

execassertionESecmascriptwafobjarraysfluxttyshebangtesterTypeScriptawssafefastifythrottledatastructureES2018defineFloat32ArrayreuseavafullclonerequestsameValueZeroes2018mkdirpcryptofpssnsquotewaitArrayjsxzodfoldermapautherror-handlingpostcssbyteOffsetreducefast-cloneio-tsiamglobalsarktypedebuggerforEaches2017domlimitednamescollectionJSONframeworkmakeargparseloadingupsharedstartArray.prototype.findLastIndexerrorstarterassertcolumnsrm -frparentresolvecloudfrontfunctionsWeakMaprestlinuxcolourmkdirsyuptypedarraychineseCSSduplexbddeventEmitteres-shimsdayjsObject.valuesvpcnumbermoduletrimLeftmime-dbirqclassnameString.prototype.trimwritablecensorObject.fromEntriesObject.assignconcurrencytypesafefromargumentscall-boundpackage managersignalYAMLdeep-cloneeventslinkaccessorjsdiffECMAScript 3ES2015bannertypeofmulti-packagetyped arrayemoji__proto__unicodefigletrequirereduxajvsetequalSymbolefficientrmlengthreplayelmnodejsgetintrinsicschemaweakmapclass-validatorhttpsenvironmentemrauthenticationsignalsschemebreaklastshamoperating-systemwordbreakassertssymlinkreducercommanderqueuematchAllsqscomparetaptypanionsortinternal slot$.extendextrafind-upshimpropertiesoptimizerCSSStyleDeclarationglacierwatchersomeinvariantECMAScript 2017fast-copyquerylaunchlesscssairbnbstylesheetprunebufferWeakSetAsyncIteratorcommandes-shim APIebsobjectsetterwebsitei18nmake dirES2022toStringTagfull-widthpropertycryptES6file systemfilterweaksetstoragegatewaymovelesses-abstractcallfastcloneprocessiteratorcopysortedrm -rfidentifiersextensionhookformrapidtoolkitStyleSheetgradients cssnamehasOwnPropertyglobalstringgroupByslotchromiumhascloudsearchyamldeterministicprototypeutilityapiassignboundcolumncorsestreeArrayBufferlinewrapl10npackagestraversenested cssInt32ArrayReflect.getPrototypeOfbuffersprettypromisesECMAScript 2020curlparentsreact-hooksprivate datawrite_.extendes6stylesmobilecompile lessRegExp#flagseslintconfigisConcatSpreadableArray.prototype.flatmimetypesendpointflatMapstringifycallbindtoolspropsymbolsbatchObject.definePropertyworkflowserializemimecolorwarningarraydropes2016rangeerrorpromisemodulesconnectswfbootstrap lesswebbootstrap csstermhotcore-jsstatuslook-upUint16ArrayURLformspredictablejwtStreamajaxlimitregularreact-testing-libraryArray.prototype.flattenchildoutputjoiflagsspinnersinterruptsfast-deep-copypasswordmixinsdeepcloneoptioncolorssiginttypedarraysamazonURLSearchParamshas-ownconsumehelpersxtermvalidnpmflattenvariables in cssesqsansiwatch0styleguideES8serializationtrimEndReactiveExtensionsless mixinsenvironmentsregular expressionregexplockfilezerolookArrayBuffer#slicedataviewwrapshrinkwrapdirectoryquerystringaccessibilityinstallclassesbeanstalkpersistentpatchtasktypesetImmediatedebugtslibloadbalancingjestsearchwalkiterateec2valuesliceoncespeclanguageoptimistArrayBuffer.prototype.sliceruntimestdlib.envfasttypesfastcopyconfigurabletapewhichRFC-6455s3picomatchstreamsyntaxrdsastsuperstructreal-timetestinggenericsformattingenvBigUint64ArrayautoprefixerECMAScript 2023elasticacheintrinsicObject.getPrototypeOfrateieserializerliveFloat64ArraydatecloudformationwindowsagenttrimmomentvisualjQueryinspecttimestringifierStreamsexpressionredux-toolkites8encryptioncharactercallboundexeregexentriesexpressSymbol.toStringTagdeepreact
3.7.117

11 months ago

3.7.116

11 months ago

3.7.115

11 months ago

3.7.114

11 months ago

3.7.113

11 months ago

3.7.112

11 months ago

3.7.111

11 months ago

3.7.110

11 months ago

2.6.91

12 months ago

2.6.92

12 months ago

2.6.93

11 months ago

2.6.94

11 months ago

2.6.90

12 months ago

2.6.95

11 months ago

2.6.96

11 months ago

2.6.97

11 months ago

3.7.99

11 months ago

3.7.98

11 months ago

2.5.69

1 year ago

2.5.65

1 year ago

2.5.66

1 year ago

2.5.67

1 year ago

2.5.68

1 year ago

2.5.62

1 year ago

2.5.63

1 year ago

2.5.64

1 year ago

2.5.70

1 year ago

2.5.71

1 year ago

1.3.42

1 year ago

1.3.43

1 year ago

2.7.98

11 months ago

2.7.97

11 months ago

1.3.44

1 year ago

1.3.45

1 year ago

2.5.72

1 year ago

2.5.73

1 year ago

2.5.74

12 months ago

2.5.75

12 months ago

1.2.41

1 year ago

1.2.42

1 year ago

1.2.40

1 year ago

2.4.47

1 year ago

2.4.46

1 year ago

2.4.49

1 year ago

2.4.48

1 year ago

3.7.100

11 months ago

3.7.107

11 months ago

3.7.108

11 months ago

3.7.105

11 months ago

3.7.106

11 months ago

3.7.103

11 months ago

3.7.104

11 months ago

3.7.101

11 months ago

3.7.102

11 months ago

3.7.109

11 months ago

2.4.58

1 year ago

2.4.57

1 year ago

1.2.20

1 year ago

2.4.59

1 year ago

2.6.77

12 months ago

2.4.54

1 year ago

1.4.46

1 year ago

1.2.23

1 year ago

2.6.78

12 months ago

2.4.53

1 year ago

1.4.45

1 year ago

1.2.24

1 year ago

2.6.79

12 months ago

2.4.56

1 year ago

1.2.21

1 year ago

2.4.55

1 year ago

1.2.22

1 year ago

2.4.50

1 year ago

1.2.27

1 year ago

1.2.28

1 year ago

2.6.75

12 months ago

2.4.52

1 year ago

1.2.25

1 year ago

2.6.76

12 months ago

2.4.51

1 year ago

1.2.26

1 year ago

2.6.80

12 months ago

2.6.81

12 months ago

2.6.82

12 months ago

1.2.29

1 year ago

2.6.83

12 months ago

1.2.30

1 year ago

1.2.31

1 year ago

2.6.88

12 months ago

1.2.34

1 year ago

2.6.89

12 months ago

1.2.35

1 year ago

1.2.32

1 year ago

1.2.33

1 year ago

2.6.84

12 months ago

2.4.61

1 year ago

1.2.38

1 year ago

2.6.85

12 months ago

2.4.60

1 year ago

1.2.39

1 year ago

2.6.86

12 months ago

1.2.36

1 year ago

2.6.87

12 months ago

2.4.62

1 year ago

1.2.37

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago