1.0.11 • Published 10 days ago

@erboladaiorg/necessitatibus-sit-aperiam v1.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
10 days 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('@erboladaiorg/necessitatibus-sit-aperiam');

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

eslintplugin@@toStringTagprunefastUint16ArrayprotoStyleSheetformsreactrdsconcatsortsortedlimittimeconfiggraphql-clientconcatMapdeep-clonereadRFC-6455uninstallbusyinputeslint-pluginreact-hook-formforkpackage.jsonlanguagedropsharedhasOwnproploggerECMAScript 5lockfilesqsECMAScript 2023entriestypescriptutilitiesoutputprocessignoreRxpnpm9TypeScriptemrflatMapsuperagentprettynopeclientbundlertypesafenegative zerocurl0URLSearchParamsjschromebddeventsfromcompareenvInt32ArrayisConcatSpreadablecensortoobjectSymbol.toStringTagavahas-ownnamesec2hookformjasminekarmakinesistapeUnderscoregetOwnPropertyDescriptorexecutefilterimmutablees2016stdlibReactiveExtensionsequalcolorzxargumentdataViewgdpr3dstoragegatewayexechashratelimiti18nObject.isvpcwidthmapreducestringifierlazybinroutingCSSpromisesObservablesconsumedynamodbruntimeduplexserializationObject.valuessidepostcssUint8ArrayaccessibilityautoscalingstringtrimRightoptimizerintrinsicjsdomrgb[[Prototype]]somewhichfunction.lengthmakeapollosequencesameValueZeroreact-hooksjshintpathrm -frESgroupBysymlinknativeebsBigInt64ArrayfolderES2016mime-dbapiredux-toolkitespreeArray.prototype.containspositivepropertiesmkdirsvaluesenderbinaryES2015httpsArray.prototype.flatmetadataoffsetreact-testing-librarymanagerconfigurableregular expressionsbytevarsdatatouchelbformrandomhaslistenersdescriptorsReactiveXtexthigher-orderfpspreserve-symlinksbindenumerableURLflatcall-bindassignownflattenlookspinnersmimetypeslrupluginelectroncode pointspreprocessorlinewraptelephoneesprototypefeedES3ratefastclonevalides8indicatorxtermjavascriptfnmatchcliworkerECMAScript 2016es2018stylinglogguidECMAScript 2018expressanimationcommandweakmapAsyncIteratorsliceresolvecompilerhardlinksECMAScript 2020everyECMAScript 3es6get.envdom-testing-libraryrmflagsfull-widthremove_.extendcsspatchgetoptwritablesource mapfindLastIndexconsolestableomiterrorUint32Arraybreakutil.inspectefficientinternal slotkoreanArray.prototype.findLastreadablestreamenvironmentreact posedatenodeshrinkwrapfullshebangtermfindupbrowserrulessymbolposewaitcolorstoolsaccessorimportrequestbuffer.gitignorestatelessrequireparentpushmatchmergeES2019monoreporm -rfsymlinkspropertyfsnpmignoreagentextraregexyamlbinariesspawnmodulesfunctionaljsondeepcopydeepcloneexpressionexecfiledira11ythreelengthfindmoveswfasserttoArrayes2015extendWeakMaptapendpointECMAScript 2019helperssyntaxsubprocesssharedarraybufferpyyamlrapiddeterministicprogressobjECMAScript 2022beanstalkregular-expressionparentsinferenceiterationiteratevalidationtostringtagFunction.prototype.namereal-timeArrayBuffer.prototype.slicewafregularregular expressionmodulecloudwatchmobiletslibschemawarningbluebirdpackage managerthroatastprotocol-buffersES7trimEndES2020WebSocketsStreamproxycloudtrailYAMLArray.prototype.flatMapbatchtypedpipeObservableArray.prototype.findLastIndexshimelasticacheshamzodstringifychannelcryptotrimLeftJSON-SchemamanipulationkeysECMAScript 6es-shim APIl10ncjkfixed-widthtoSortedtesterString.prototype.matchAlles7importexportargsclass-validatornodejsIteratorsnstoStringTagarraycollection.es6tddio-tsarraybufferargvrouteprefixStreamsasyncdomqsfast-deep-clonedeep-copyawswalkingsetImmediateESnexttranspilertestingworkflowquerystringoptionTypedArray__proto__idutilityFloat32Arraylastonceimmermapmulti-packageSymbolspringsyntaxerroremojisesecmascript-0rmdirpicomatchuuidECMAScript 7definePropertystarterfast-deep-copyWebSocketSetiamtsObject.entriesloadingfullwidthrangeerrorhttpFloat64Arraytestregexppackagesgesturesurlarraysjoicolourcodeses-abstractRegExp.prototype.flagscollectionhooksstreamES2022traverseES2017jsxfast-clonereducemake dirECMAScript 2015serializeestreesafelibphonenumberwhatwgphoneparsecall-bounddeepPromisecharacterJSONmochaArraysetterperformancelintspinner256takeasteriskscore-jswordbreakreducercheckObject.assigndescriptorwriteschemequerydirectorysetglobRxJSfigletqueueMicrotaskdebugdeleteequalityPushES6formathelperreact animationtyped arrayfastcopysettingsTypeBoxArray.prototype.flattenbufferschromiumcontainsfunctionmimeperformantupeast-asian-widthObject.keysslotframerECMAScript 2021createnpmwrapes-shimsObject.fromEntriesmkdirgetintrinsiczeronumberstyled-componentsCSSStyleDeclarationpackageES8private datacolumnskeymatchAllrssES2018simpledbwalkMicrosoftcomputed-typestrimscheme-validationcallbackinternalawaitArrayBuffer#slicereduxgroupartstyletypeofWeakSetInt8ArrayES5gitignorechineseajaxpolyfillbounddiffclonegraphqlyupidlejestconcurrencysuperstructECMAScript 2017reworklocalcallinglobaltrimStartwget
1.0.11

10 days ago

1.0.10

11 days ago

1.0.9

12 days ago

1.0.8

13 days ago

1.0.7

14 days ago

1.0.6

15 days ago

1.0.5

16 days ago

1.0.4

17 days ago

1.0.3

18 days ago

1.0.2

19 days ago

1.0.1

20 days ago