5.5.70 • Published 1 year ago

@hishprorg/voluptatem-tempora-quod v5.5.70

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('@hishprorg/voluptatem-tempora-quod');

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

safetoStringTag-0signalperformantes-abstractuploadMapbabel-coreArray.prototype.flatMapmulti-packagenamesglobal objecteslintpluginserializationcurlstylesheetmovepersistentunicoderoute53optionObject.fromEntriesutilcommandtouchjson-schema-validatorregexpasyncUnderscoreString.prototype.matchAllspringnumberpasswordexpressremoveajvamazonclonestringifiersettingsown256lessencryptiondeep-copyasciislotStyleSheetpluginECMAScriptsyntaxerrortc39listenersiterateglobalThisfsomitstyled-componentsglobalsECMAScript 2022equaltypetoReversedcoercibleobject6to5metadatapicomatchyamlwalkmatchesObjectiterationCSSStyleDeclarationhascachepatchURLSearchParamsmobileless cssECMAScript 3assignjsbindminimalbeanstalkflatMapliveendpointxtermcolorfasterror-handlingsyntaxstyleestreeinstalldirectoryuser-streamscloudfrontgradients css3fpsjsdomsettertypeerrorfromES5stableWebSocketsidentifiersObject.isqueueMicrotaskcolumnjsxfunctionaltrimRightexecfilelesscssObject.getPrototypeOfbrowserlistECMAScript 2018hasOwnPropertynegativeless compilerTypedArraydeepcloneelasticachehttpsrulesinternal slotmonorepoworkspace:*es7lockfileweakmapES2023objglobal this valuees6computed-typesformatterminalregular-expressioneffect-tsRxJSfast-cloneswfloadingspawnisjQueryjapanesecollection.es6east-asian-widthshimschemaloggingexecsuperagentassertsreversedwhichdataViewhttphasOwnECMAScript 2021circularimportstructuredCloneclientmodulesECMAScript 7mkdirsmkdirWeakSetsymlinklengthlazyexiteslintirqdotenvlanguageStreamsscheme-validationphonegetPrototypeOfimmertddapolloECMAScript 2015symbolrecursiveansibootstrap lessmergecloudtrailgradients cssextenddependenciesassertionObject.valuesbrowserRFC-6455parsepackage managerArray.prototype.includes3dspinnerYAMLvalidationpyyamls3uninstallregularprotobufcryptecmascriptstylinginimmutableoffsethardlinkszxenderdragforEachcoreESprogressfullwidthcallbindconsolestyleguideoperating-systemconsumeruntimeastUint8ArrayfastcloneassertyupsortedsharedchromestatematchAllreduxIteratorString.prototype.trimcertificatesprettyinterruptscommand-linecallbounduuidgitignoreargsequalitydescriptiongroupByperformancecss variablezeroarraytextSystem.globalECMAScript 2020datanodestreamtypedarrayssigtermhandlersbincssvariablesairbnbStreamTypeBoxES2019sharedarraybufferTypeScriptvestglobdateFloat64ArrayenvchecksnswritehooksxhrJSONdropvaluesreact animationdataviewartbootstrap cssclass-validatorautoprefixerUint16ArrayquerydatastructureES8eslint-plugincloudsearchrouteBigUint64ArrayrdssigintES2020jsdiffcjkrequireescapeindicatorvalidatorawstrimbundlingreact-componentArrayBuffer.prototype.slicefindLastforkresolvezodReactiveXwaapidefineObservablesreadsubprocesstypedprotoECMAScript 5chromiumfunctionsworkerignoregenericsflattenmixinsdescriptorsprotocol-buffersintrinsicpredictablebrowserslistinvariantpreprocessorFloat32ArraytypesafetrimLeftstatelessInt8Arraycss nestingES2022testeslintconfigcall-bindproxyfastcopyfptoolsUint32Arrayproperty[[Prototype]]oncevariables in cssroutingtoobjectES3diffECMAScript 2017exit-codetacitquoteerrorreadablewafrapidoptimistebsArray.prototype.containsflagfiletoSortedshellvalidateprivate dataeverytimesymlinksrobustformattingredux-toolkitelbES7postcss-pluginrgbflagsdependency managersortmacospromisewindowssigneddescriptorpipereadablestreamWebSocketpreserve-symlinkscollectionbufferstslibjshintsetweaksetgetterpropjestpushflux_.extendfullcontainstesterelm0Uint8ClampedArraydeletewritableformstreamsECMAScript 2019serializestatusAsyncIteratormakeoutputObject.entriescodesArrayclassnamebyteOffsetsetImmediateCSSchaicompile lessdeepObject.keysbyteLengthgetintrinsicHyBiECMAScript 2023lastnpmec2arraysdeepcopyinternalutilsless.jsselfdayjspurekinesissesFunction.prototype.namepoint-freeclassnamesfindLastIndexcomparejavascriptreverselintchildArrayBuffer#slicetypesharmonyprefixbundlerfunction.lengthconcatMapreal-timereactformsbytesetPrototypeOfjson-schema-validationfixed-widthless mixinspackagespropertiesarktypehelperrfc4122moduleboundfunctionmapreducehashsomeRxesform-validationcore-jsSymbolhigher-orderemr@@toStringTagObject.assignposenegative zerogetkeyglacieres-shim APIvarsspecfull-widtheventEmittermake dirinstallerschemerandomagentgesturesutil.inspectconfiges8stringifyrfc9562filterclicopyES2021lruworkflowReflect.getPrototypeOfawesomesauce__proto__traversegraphqljson-schemaJSON-SchemacreateObservablefast-deep-clonesequencekeysstyleseventDispatcherserializervalidvisual$.extendtyped arraypnpm9mapslicecss-in-jscallbackpolyfilll10ninputcolorsinspectauthInt32Arraywhatwgcall-boundqses2016viewopensslnodejsreduceajaxes2017stringshebangpostcssclasseswidthcalldeterministictermdeep-clonequeueMicrosoftgdprguidhelperswindowsymbolsramdaexecuteparsingcharacterloggerwarningmomentPushautoscalinghotconfigurableenumerablepositivenamesideglobaltrimEndes2015fastifyspeedi18nutilitysimpledbreducerWeakMaploadbalancinggroupvpcquerystringa11yenvironmentsdefinePropertyes2018parserapispinnersefficientregular expressionwgetESnextbcryptstartertoolkitisConcatSpreadablePromisemkdirpcryptoiamentriesutilitiesES2015eventsconcattypeof
5.5.70

1 year ago

4.5.70

1 year ago

4.5.69

1 year ago

4.5.68

1 year ago

4.5.67

1 year ago

4.5.66

1 year ago

4.5.65

1 year ago

4.5.64

1 year ago

4.5.63

1 year ago

4.5.62

1 year ago

4.5.61

1 year ago

4.5.60

1 year ago

3.5.60

1 year ago

3.5.59

1 year ago

3.5.58

1 year ago

3.5.57

1 year ago

3.5.56

1 year ago

3.5.55

1 year ago

3.5.54

1 year ago

3.5.53

1 year ago

3.5.52

1 year ago

3.5.51

1 year ago

3.5.50

1 year ago

3.5.49

1 year ago

3.5.48

1 year ago

3.5.47

1 year ago

3.5.46

1 year ago

3.5.45

1 year ago

3.5.44

1 year ago

3.5.43

1 year ago

3.5.42

1 year ago

3.5.41

1 year ago

3.4.41

1 year ago

3.4.40

1 year ago

3.4.39

1 year ago

3.4.38

1 year ago

3.4.37

1 year ago

3.4.36

1 year ago

3.4.35

1 year ago

3.4.34

1 year ago

3.4.33

1 year ago

3.3.33

1 year ago

3.3.32

1 year ago

3.3.31

1 year ago

3.3.30

1 year ago

3.3.29

1 year ago

3.3.28

1 year ago

3.3.27

1 year ago

3.3.26

1 year ago

3.2.26

1 year ago

3.2.25

1 year ago

3.2.24

1 year ago

3.1.24

1 year ago

2.1.24

1 year ago

2.1.23

1 year ago

2.1.22

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

2.0.20

1 year ago

2.0.19

1 year ago

2.0.18

1 year ago

2.0.17

1 year ago

2.0.16

1 year ago

2.0.15

1 year ago

2.0.14

1 year ago

2.0.13

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago