3.7.117 • Published 1 year ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

3.7.116

1 year ago

3.7.115

1 year ago

3.7.114

1 year ago

3.7.113

1 year ago

3.7.112

1 year ago

3.7.111

1 year ago

3.7.110

1 year ago

2.6.91

1 year ago

2.6.92

1 year ago

2.6.93

1 year ago

2.6.94

1 year ago

2.6.90

1 year ago

2.6.95

1 year ago

2.6.96

1 year ago

2.6.97

1 year ago

3.7.99

1 year ago

3.7.98

1 year 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

1 year ago

2.7.97

1 year 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

1 year ago

2.5.75

1 year 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

1 year ago

3.7.107

1 year ago

3.7.108

1 year ago

3.7.105

1 year ago

3.7.106

1 year ago

3.7.103

1 year ago

3.7.104

1 year ago

3.7.101

1 year ago

3.7.102

1 year ago

3.7.109

1 year 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

1 year ago

2.4.54

1 year ago

1.4.46

1 year ago

1.2.23

1 year ago

2.6.78

1 year ago

2.4.53

1 year ago

1.4.45

1 year ago

1.2.24

1 year ago

2.6.79

1 year 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

1 year ago

2.4.52

1 year ago

1.2.25

1 year ago

2.6.76

1 year ago

2.4.51

1 year ago

1.2.26

1 year ago

2.6.80

1 year ago

2.6.81

1 year ago

2.6.82

1 year ago

1.2.29

1 year ago

2.6.83

1 year ago

1.2.30

1 year ago

1.2.31

1 year ago

2.6.88

1 year ago

1.2.34

1 year ago

2.6.89

1 year ago

1.2.35

1 year ago

1.2.32

1 year ago

1.2.33

1 year ago

2.6.84

1 year ago

2.4.61

1 year ago

1.2.38

1 year ago

2.6.85

1 year ago

2.4.60

1 year ago

1.2.39

1 year ago

2.6.86

1 year ago

1.2.36

1 year ago

2.6.87

1 year 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