5.6.69 • Published 1 year ago

@hishprorg/quae-quae-corrupti v5.6.69

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

String.prototype.trimEnd Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

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

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec. In an ES6 environment, it will also work properly with Symbols.

Most common usage:

var trimEnd = require('@hishprorg/quae-quae-corrupti');

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

if (!String.prototype.trimEnd) {
	trimEnd.shim();
}

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

Tests

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

matchAllcurlECMAScript 3windowcss-in-jsWebSocketES3ajvpackagespatchbyteOffsetfluxreplay@@toStringTagarraybuffereffect-tsRegExp.prototype.flagsless mixinsdeep-clonegetintrinsicString.prototype.trimes-abstracterror-handlingstyleguidelanguagecachepostcssseterrorArray.prototype.findLastIndexzodECMAScript 2016typeerrorclonecertificatesgetoptrgbquerypnpm9loggersomefilequotees6acorntoolkitdotenvhelperfunctiontrimtesterjsxbyteLengthoperating-system-0scheme-validationiswarningStyleSheetsuperagentjson-schemaauthenticationingitignoredeep-copyTypeBoxtoolsviewFloat32ArraytypedcjkapiextraobjxtermsettingslistenerssignalsgetPrototypeOfdatatermglobalsprefixObject.definePropertyshebangES2015symlinkvalidationUint16ArraysetterlengthstabledescriptorfsstringObject.getPrototypeOfreadBigInt64ArraycryptowafcollectioncommanderspringtrimLeftworkspace:*validatecompile lessasynceslintless compilerrandomexecutereversedtransportArray.prototype.flattenbrowserbeanstalkfigletsigtermES5installimmeruploadgetOwnPropertyDescriptorglobalThisbinarieshttpargvdayjseast-asian-widthrequestbuffermoveES2019internal slottypeofes7global this valueliveperformancesetImmediateRFC-6455loadbalancingES2020koreanbootstrap lesssymbolbinprotobufhelpersstoragegatewaycoerciblereact-hook-formprivate datahashexpressprogresscolumnsglobalgetesstylingwritablefullextendreal-timeECMAScript 2017Array.prototype.includestrimRightvalidsymlinksshrinkwraptypesetPrototypeOfstructuredCloneassertjshintregular expressionmkdirsagentreadablevisualfastautoscalingtypedarraysyntaxjson-schema-validationstreamsdatastructurepluginlockfile$.extendidleschemeoffsetflatMapString.prototype.matchAllcss variablefpdatePushcall-bindtimegetterWeakSetinferencemoduleprototypenodearktypecss lessebsbinaryES2017fast-deep-clonerequireless cssguidpreprocessorjsonsignedkeysSymbol.toStringTagfindimportInt32Arrayfull-widthyupnegative zeroObservablecolumnjson-schema-validatorassignreduxUint32Arrayendpointqspreserve-symlinksshamargsdependenciesStreammapencryptionpipettytddvarsparsewhichmixinsconfigurablees2015direnvironmentdynamodbES2023uuidpromisehas-ownfullwidthlibphonenumberregexpcallbindgraphqlStreamsstringifyaccessibilitysyntaxerroroncecall-boundajaxreact-hookspersistentmanagerformattingESnextArray.prototype.containsFloat64Arraymake_.extenddefinePropertynopestatusurlreact-testing-libraryregexdeepcloudwatchfindLastelbfast-clonevpcchineseinterruptscircularvaluesformchannelansiArrayBuffervestforEachelectronemrhookseventDispatcherreducejstacitmkdirpbabel-corepropertycoreienativeJSONtc39rfc4122.gitignorebabellintObject.valuesObject.assigntouchharmonywriteutil.inspectflatimportexportstatelessglobal objectproxyformati18ninputclass-validatores2018emittyped arrayzxsortoptimistvariableslocaldefineintrinsicexecfileObject.keyscollection.es6rulesframerperformantasterisksprocessnested cssjavascriptclassnamesprotodependency managerelasticachetraversebcryptuser-streamslinkcompilersequencegesturescloudformation[[Prototype]].envECMAScript 2019configqueueMicrotaskECMAScript 5rfc9562hardlinkssuperstructtestquerystringconcatfastifyinternaltranspilemetadataopensslequalityregular-expressionfastcloneramdafiltermapreducecallbacktoReversedlogserializerecmascriptbindtelephonelru3dzeroflagspostcss-pluginselfvalidatorpackage.jsonAsyncIteratorbusystylesheetconsumeiamsideECMAScript 2021toobjectreactoptionsubprocessArray.prototype.findLastphoneenvcheckworkflowwidthenumerableponyfilliterationcommand-linees5concatMapIteratorpropertiescallboundforkdeleteassertscss nestingfetches2016autoprefixermkdirtypesafeArray.prototype.flatMapserializesignalrangeerrorreusehasOwnPropertyArray.prototype.filteruninstallES6owngrouptypedarraysreact-componentWeakMaplessshellloggingpushdeepclonestylenameawshandlersURLdataviewworkerpinolinuxpasswordconsolepureprotocol-buffersfindLastIndexES8ECMAScript 7ES2021toStringTagYAMLenvironmentsredactjestMapchromeReflect.getPrototypeOfstylessesfpscallhookformspinnerECMAScript 2018wgetArrayBuffer#sliceconstECMAScript 2015Array.prototype.flatfunctionalspawnObject.isreact posespeedl10nstatematchespose6to5Objectdescriptionauthtakepolyfillschemaarraysortedfunction.lengthgradients css3removestreammergerecursiveexit-codeRxJSboundECMAScript 2022TypeScriptutilitiesfunctionsindicatormrustarterefficientUnderscoreObservablessqsreducershimpositivetrimEndswfjwtdataViewdomMicrosoftchaimomenthotruntimeparsingclibuffersJSON-SchemathreeimmutablePromiseinstallerpropairbnbwindowstrimStarts3URLSearchParamshttpsidentifierschilddirectoryawesomesauceutilityestreespecinspectcloudfrontirqmoduleshaschromiumrdsroute256terminalHyBicontainseslintconfigincludesES2016waitmake dirtslibobjectnpmlastresolverobusteslintpluginwhatwgmacos
5.6.69

1 year ago

5.6.68

1 year ago

5.6.67

1 year ago

5.6.66

1 year ago

5.6.65

1 year ago

5.6.64

1 year ago

5.6.63

1 year ago

5.5.63

1 year ago

5.5.62

1 year ago

5.4.62

1 year ago

5.3.62

1 year ago

5.3.61

1 year ago

5.3.60

1 year ago

5.3.59

1 year ago

5.3.58

1 year ago

5.3.57

1 year ago

5.3.56

1 year ago

5.2.56

1 year ago

5.2.55

1 year ago

5.2.54

1 year ago

5.2.53

1 year ago

5.2.52

1 year ago

5.2.51

1 year ago

5.2.50

1 year ago

5.2.49

1 year ago

5.2.48

1 year ago

5.2.47

1 year ago

5.2.46

1 year ago

5.2.45

1 year ago

5.2.44

1 year ago

5.2.43

1 year ago

5.2.42

1 year ago

5.2.41

1 year ago

5.2.40

1 year ago

5.2.39

1 year ago

5.2.38

1 year ago

5.2.37

1 year ago

5.2.36

1 year ago

5.2.35

1 year ago

5.2.34

1 year ago

5.2.33

1 year ago

5.1.33

1 year ago

5.1.32

1 year ago

5.1.31

1 year ago

5.1.30

1 year ago

5.1.29

1 year ago

5.1.28

1 year ago

5.1.27

1 year ago

5.1.26

1 year ago

5.1.25

1 year ago

5.1.24

1 year ago

5.1.23

1 year ago

5.1.22

1 year ago

5.1.21

1 year ago

5.1.20

1 year ago

5.1.19

1 year ago

5.1.18

1 year ago

5.1.17

1 year ago

5.1.16

1 year ago

5.1.15

1 year ago

5.0.15

1 year ago

5.0.14

1 year ago

5.0.13

1 year ago

5.0.12

1 year ago

5.0.11

1 year ago

5.0.10

1 year ago

5.0.9

1 year ago

5.0.8

1 year ago

4.0.8

1 year ago

3.0.8

1 year ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

2.0.5

1 year ago

2.0.4

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