5.10.80 • Published 2 years ago

@erboladaiorg/ut-excepturi-dolore v5.10.80

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@erboladaiorg/ut-excepturi-dolore Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES5 spec-compliant Array.prototype.filter shim/polyfill/replacement that works as far down as ES3.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.

Because Array.prototype.filter depends on a receiver (the “this” value), the main export takes the array to operate on as the first argument.

Example

var filter = require('@erboladaiorg/ut-excepturi-dolore');
var assert = require('assert');

assert.deepEqual(filter([1, 2, 3], function (x) { return x >= 2; }), [2, 3]);
assert.deepEqual(filter([1, 2, 3], function (x) { return x <= 2; }), [1, 2]);
var filter = require('@erboladaiorg/ut-excepturi-dolore');
var assert = require('assert');
/* when Array#filter is not present */
delete Array.prototype.filter;
var shimmedFilter = filter.shim();
assert.equal(shimmedFilter, filter.getPolyfill());
var arr = [1, 2, 3];
var isOdd = function (x) { return x % 2 !== 0; };
assert.deepEqual(arr.filter(isOdd), filter(arr, isOdd));
var filter = require('@erboladaiorg/ut-excepturi-dolore');
var assert = require('assert');
/* when Array#filter is present */
var shimmedFilter = filter.shim();
assert.equal(shimmedFilter, Array.prototype.filter);
assert.deepEqual(arr.filter(isOdd), filter(arr, isOdd));

Tests

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

fastterminalnodeyupfast-copyautoprefixertddpositivesnsqueryhandlersjwtqueueMicrotaskletsetPrototypeOfES3Pushhotfastclonespringasciirfc4122elbimmutablesigintutilityroute53String.prototype.trimObject.valuespushSetexechasOwnmapreduceES2019assertionfunctionslistenersyamlfunction.lengthtacitReflect.getPrototypeOfjsonschemamomentsigtermtypedbeanstalkponyfillsubprocessconcatsetterendpointfixed-width_.extendemitformsapiES5curriedsimpledbstyleimmerArray.prototype.flatSystem.globalgenericsrecursivepromiseObservablewgeteslintconfigURLECMAScript 7clieslintspeeddeep-clonepathrobustequal[[Prototype]]columnvaluesspawnwidthfast-deep-copycompile lessforkcommandertoSortedsqssignalStyleSheetsetgitignoretypedarraytypes.gitignorecolorsnumberiteratephonejQuerygetOwnPropertyDescriptormulti-packageshamconsoleObject.fromEntriesreact animationObject.isreact-componentdeterministicArray.prototype.findLastcertificatesES2020ES7awesomesaucepackagesinputlintcommandgetoptredactreact poseartrapidregularMapargstext256WebSocketspatcheffect-tsargvrequestmakecloudformationdefinePropertyBigUint64ArraysafeworkerpolyfillURLSearchParamssymlinksttyzeroacornqueuefpsbindnamesexit-codeenvutilsinUint8Arraytranspiler0emrchaiReactiveXguidsetImmediateprefixwindowsesObject.assignwritableECMAScript 2018pureStreamsstringRegExp#flagstraversewindowsmetadataexecfileUint32ArrayObject.definePropertyefficientstringifyWeakSethasxtermUnderscore.envinternal slotschemebootstrap lessscheme-validationsignedlivepackage managerdataViewdatabcryptsyntaxswfcachenegativecopygradients css3propertiesomittyped arraycss lessbrowserlistnpmES2022Uint16ArraycjkquoteassertsAsyncIteratorbyteOffsetserializerES2015equalitymergea11yes2015deletejson-schemahardlinksmobilegetgroupByexitfindLastlogjsdiffgraphqlgradients cssformatjson-schema-validationhasOwnPropertyreadsharedarraybufferfastifyeslintpluginobjhttpsHyBiproppinonativedirectoryeast-asian-widthweakmapArray.prototype.flattenreactES6hookformlanguagehooksformstyleguideweaksetjesttoolstrimLeftkeysprunestatustc39dateconcatMapcss variablebinarycurlcryptclassnamesoffsetsameValueZerofull-widthstatelessmatchesArray.prototype.findLastIndexprototypesignalseveryglobalenderxhrflageslint-plugincirculardeepparserFloat64Arrayelasticachewarningkeygesturesirqpluginlesscssreverseclonees-shim APIArrayBuffer.prototype.sliceoptimistbannerinferencefetchclassnameerror-handlingdeep-copynamebinariesrequiredescriptorsdependency managercorereadablestreamReactiveExtensionsdiffselfpropertyesdeepcopycryptocomputed-typesreuselibphonenumberl10nestreeruntimerfc9562fastcopyfunctionalamazonloggervalidatedropECMAScript 5asynctermECMAScript 2023JSON-Schemacall-boundoperating-systemlrutypescriptarktypeclientimportexportredux-toolkitcloudsearchautoscalinglogginginstallerbincallbackvestidleString.prototype.matchAllchromeflattenreducernoperouteextendArrayBufferclass-validatorminimalcallbindFunction.prototype.nameECMAScript 2021streamroutingexpressionunicodeglobalThisinvariantfast-cloneES2017postcssfile systemlinuxoptimizercssshellframerArray.prototype.filtervisualworkspace:*Array.prototype.includeschromiumnpmignorezodbabel-coreignoretelephonetypesafehashsorteddom-testing-libraryjsonstylesheet@@toStringTagCSSStyleDeclarationfromstoragegatewaymapbyte3diteratorperformancezxencryptionutil.inspectintrinsicmixinsgroupbusytestingrdsrangeerrormkdirdeepclonejshintMicrosoftECMAScript 2019authenticationbuffersdescriptionerrorreadablegetteropensslcolourasteriskstestercollectionfantasy-landfilterpicomatchairbnbgetintrinsicECMAScript 2015prettyRegExp.prototype.flagsESnextprotoshrinkwrapserializationsideWebSocketglacierUint8ClampedArrayless compilervariablesprocesssyntaxerrorRFC-6455moduleec2cloudwatchcallboundownpredictabletypedarrayspoint-freeWeakMaparraybuffercoercibleESregexoutputfpeventDispatcheraccessorauthproxydynamodbObject.getPrototypeOfsymboles-abstractObservablesreplaytoArraytslibshebangebshas-ownRxlazyjavascriptdotenvdragtakecolumnswhichreal-timesuperagenttostringtagnegative zeroimportuploadreversedbootstrap cssramdaapolloSymbol.toStringTagless csskoreantypeoftsmkdirppackage.jsonlockfileexecuteuninstallqsparsingassertinstallbyteLengthrandomtypanionvariables in cssfilenodejsTypeScripttoStringTagcss nestingonceharmonydayjsprivate dataassignregular expressionwaf6to5jsxhttppopmotiontestbundlerECMAScript 6settingscompilertypespinnersstructuredClonepostcss-plugin-0lastconfigurablecallindicatorArrayBuffer#slicecolorYAMLawsglobal objectECMAScript 3reducepasswordless mixinsbundlinglessES2016ES2021identifiersurlwaitreact-testing-libraryfulldescriptorlocalsortpreprocessorchannelstylesmatchAllresolveforEachPromiseglobalsfunctionutilitiespipeprotobuflinkglobal this valueprogressECMAScriptmanagerflatTypeBoxshimspecobjectlengthexpresscloudfrontpyyamlvarsecmascriptregexpes2016timeperformantwalkentriesInt16ArrayelectronajvuuidhelpersObject.keysfullwidthstatetoolkitES8containsjson-schema-validatoruser-streamsstartervalue__proto__ieismovehelperanimationcss-in-jsisConcatSpreadablestablemacosslicees7creatematchwriteenvironmentremovesequenceprotocol-buffersdefinemonorepoviewtranspilequerystringslotgetPrototypeOfjoiES2023Object.entriesescapeECMAScript 2022serializecommand-linewhatwgfindes-shimsdependenciescheckparsecore-jsBigInt64Arrayfigletkinesisaccessibility
5.10.80

2 years ago

5.10.79

2 years ago

5.9.79

2 years ago

5.8.79

2 years ago

5.7.79

2 years ago

5.6.79

2 years ago

5.6.78

2 years ago

5.6.77

2 years ago

5.6.76

2 years ago

5.6.75

2 years ago

5.6.74

2 years ago

5.5.74

2 years ago

5.5.73

2 years ago

5.5.72

2 years ago

5.5.71

2 years ago

5.4.71

2 years ago

5.4.70

2 years ago

5.4.69

2 years ago

5.4.68

2 years ago

5.4.67

2 years ago

4.4.67

2 years ago

4.3.67

2 years ago

4.3.66

2 years ago

4.3.65

2 years ago

4.3.64

2 years ago

4.3.63

2 years ago

4.3.62

2 years ago

4.3.61

2 years ago

4.3.60

2 years ago

3.3.60

2 years ago

3.3.59

2 years ago

3.3.58

2 years ago

3.3.57

2 years ago

3.3.56

2 years ago

3.3.55

2 years ago

3.3.54

2 years ago

3.3.53

2 years ago

3.3.52

2 years ago

3.3.51

2 years ago

3.3.50

2 years ago

3.3.49

2 years ago

3.2.49

2 years ago

3.2.48

2 years ago

3.2.47

2 years ago

3.2.46

2 years ago

3.2.45

2 years ago

3.2.44

2 years ago

3.2.43

2 years ago

3.2.42

2 years ago

3.2.41

2 years ago

3.2.40

2 years ago

3.2.39

2 years ago

3.2.38

2 years ago

3.2.37

2 years ago

3.2.36

2 years ago

3.2.35

2 years ago

3.2.34

2 years ago

3.2.33

2 years ago

3.2.32

2 years ago

3.2.31

2 years ago

3.2.30

2 years ago

3.2.29

2 years ago

3.2.28

2 years ago

3.2.27

2 years ago

3.2.26

2 years ago

3.2.25

2 years ago

2.2.25

2 years ago

2.2.24

2 years ago

2.2.23

2 years ago

2.2.22

2 years ago

2.2.21

2 years ago

2.2.20

2 years ago

2.2.19

2 years ago

2.2.18

2 years ago

2.2.17

2 years ago

2.2.16

2 years ago

2.2.15

2 years ago

2.2.14

2 years ago

2.2.13

2 years ago

2.2.12

2 years ago

2.2.11

2 years ago

2.2.10

2 years ago

2.2.9

2 years ago

2.2.8

2 years ago

2.2.7

2 years ago

2.2.6

2 years ago

2.2.5

2 years ago

2.1.5

2 years ago

2.1.4

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago