5.6.69 • Published 2 years ago

@hishprorg/quae-quae-corrupti v5.6.69

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

2 years ago

5.6.68

2 years ago

5.6.67

2 years ago

5.6.66

2 years ago

5.6.65

2 years ago

5.6.64

2 years ago

5.6.63

2 years ago

5.5.63

2 years ago

5.5.62

2 years ago

5.4.62

2 years ago

5.3.62

2 years ago

5.3.61

2 years ago

5.3.60

2 years ago

5.3.59

2 years ago

5.3.58

2 years ago

5.3.57

2 years ago

5.3.56

2 years ago

5.2.56

2 years ago

5.2.55

2 years ago

5.2.54

2 years ago

5.2.53

2 years ago

5.2.52

2 years ago

5.2.51

2 years ago

5.2.50

2 years ago

5.2.49

2 years ago

5.2.48

2 years ago

5.2.47

2 years ago

5.2.46

2 years ago

5.2.45

2 years ago

5.2.44

2 years ago

5.2.43

2 years ago

5.2.42

2 years ago

5.2.41

2 years ago

5.2.40

2 years ago

5.2.39

2 years ago

5.2.38

2 years ago

5.2.37

2 years ago

5.2.36

2 years ago

5.2.35

2 years ago

5.2.34

2 years ago

5.2.33

2 years ago

5.1.33

2 years ago

5.1.32

2 years ago

5.1.31

2 years ago

5.1.30

2 years ago

5.1.29

2 years ago

5.1.28

2 years ago

5.1.27

2 years ago

5.1.26

2 years ago

5.1.25

2 years ago

5.1.24

2 years ago

5.1.23

2 years ago

5.1.22

2 years ago

5.1.21

2 years ago

5.1.20

2 years ago

5.1.19

2 years ago

5.1.18

2 years ago

5.1.17

2 years ago

5.1.16

2 years ago

5.1.15

2 years ago

5.0.15

2 years ago

5.0.14

2 years ago

5.0.13

2 years ago

5.0.12

2 years ago

5.0.11

2 years ago

5.0.10

2 years ago

5.0.9

2 years ago

5.0.8

2 years ago

4.0.8

2 years ago

3.0.8

2 years ago

3.0.7

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago