3.6.118 • Published 12 months ago

@devtea2026/quo-recusandae-unde-ipsum v3.6.118

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@devtea2026/quo-recusandae-unde-ipsum Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ESnext spec-compliant Array.prototype.findLast 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 proposed spec.

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

Getting started

npm install --save @devtea2026/quo-recusandae-unde-ipsum

Usage/Examples

var findLast = require('@devtea2026/quo-recusandae-unde-ipsum');
var assert = require('assert');

var arr = [1, [2], [], 3, [[4]]];
var isNumber = function (x) { return typeof x === 'number' };

assert.deepEqual(findLast(arr, isNumber), 3);
var findLast = require('@devtea2026/quo-recusandae-unde-ipsum');
var assert = require('assert');
/* when Array#findLast is not present */
delete Array.prototype.findLast;
var shimmed = findLast.shim();

assert.equal(shimmed, findLast.getPolyfill());
assert.deepEqual(arr.findLast(isNumber), findLast(arr, isNumber));
var findLast = require('@devtea2026/quo-recusandae-unde-ipsum');
var assert = require('assert');
/* when Array#findLast is present */
var shimmed = findLast.shim();

assert.equal(shimmed, Array.prototype.findLast);
assert.deepEqual(arr.findLast(isNumber), findLast(arr, isNumber));

Tests

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

colorspasswordfileerror-handlingECMAScript 5extensionjwtgetOwnPropertyDescriptorwrapcurles5enderreadablestreamUint32ArrayArray.prototype.flatswfoffsetmatcheshashcss variableinstallWeakMappicomatchsafeparentqsObservablesprettydeep-clonejsmime-dbreduxdebuggroupByspinnerrequestinputpushmodulewalksharedarraybufferserializeres-shim APIworkspace:*findnode_.extendMapdataviews3workerJSON-Schemareadablewatchpropertyassigncircular[[Prototype]]typesstreamsenvironmentsargvownfindLastserialization__proto__mixinsreact-testing-librarysymlinksdomtypedguidhasOwncollectionfast-deep-cloneES2019bannerproxysetterfastcloneESnextconfigfast-deep-copysyntaxerrorreuseflathas-owntoolkitprotocol-bufferstoSortedInt8ArraysymbolsgetintrinsicairbnbnegativeTypeBox-0valuedynamodbrapidrobustArray.prototype.flattenbusyBigUint64ArrayenumerablergbstylesheetemojikeyasciiaccessorlibphonenumberbyteLengthcss nestingclientes7PushconnecthttpsObject.definePropertyterminalvpctraverseoutputECMAScript 2015propertiesglobals$.extendwidthnopeequaltoArray@@toStringTagjQuerycommanderlengthtypescriptpolyfillextrapackagesArray.prototype.findLastcharacterratemomentcomputed-typesphoneECMAScript 2016call-bindes-shimsrangeerrormimepathzodec2numberinternal slotcompilerAsyncIteratorcommandduplexHyBiprivate dataappstringifyreplaydefineFunction.prototype.namestdlibfunctionstrimStarttypeerrorObject.fromEntriesArray.prototype.includeseventEmitterwarninglessmiddlewareArray.prototype.findLastIndextsArrayquerysnsestreeexitMicrosoftparsingES2022CSSjasmineinternalnegative zerodirectorygraphqlwatchera11yroutercolorhotuninstallregular expressionnodejssuperstructpipetelephonefromlimitedgenericsUint8ArrayendpointStyleSheetreactlookgetoptjsdomcodestddgroupmodulesstylingESECMAScript 2021breakReactiveExtensionsidtesterbluebirdimportgradients css3sinatrahandlerswebes-abstracttrimLeftcore-jstc39StreamsschemasettingsperformanceCSSStyleDeclarationgetlruwaitbrowserslistsameValueZeroutil.inspectkeyseveryiterationpostcss-pluginoptimisteslintpluginwordbreakeslint-pluginmapRxJSSetvalidworkflowform-validationcolumnsrmfullArray.prototype.flatMap256takepersistentsymbolexpresspreprocessoruuidURLES7setpostcssthroatObject.istextlinkmimetypeshigher-orderfilterartObject.keyscoerciblefind-updropflattendescriptorbootstrap lessloadingprefixfastcopyajvpackage.jsonnativepluginschemelogcontainsbundlersyntaxpromiseinRegExp#flagsyamlshebangglobalratelimitreal-timeBigInt64ArrayauthcloudfrontelmwindowssimpledbaccessibilitycallbindRxviewinvariantyupES6zerostringmruObject.assigntypesafefullwidthes2016fixed-widthURLSearchParamsvaluesexpressionextendfull-widthbddslicedeep-copythrottlesignalpackage manager0sidecachelazyjsdiffObservableonceebsReflect.getPrototypeOfautoscalingconcatMaputilspecfolderttyencryptionECMAScript 6equalityslotsortedargparsecloudsearchcloudwatchcssl10nmochaobjcheckjsonpathtouchregularsetPrototypeOftapeObject.valuesfunctionalkoreanconcurrencytestingopenflagwhatwgpromisesinterruptsarraybufferiteratorless mixinsmake dirYAMLsesstyled-componentsformassertFloat64ArrayclassesefficienttermapiUint8ClampedArrayelectroncloudformationwriteless.jsdayjses2017statelessinferencees6randomescaperequiredescriptionemrObjectbundlingansieslintajaxgetPrototypeOfmetadatapositivedefinePropertyelasticacheargumentchannelnpmwgetfseventsmkdirprototypereact-hooksemiterrordependenciesprunevarsautoprefixerStreammatcheventDispatcherchaistreamstyleamazonresolvejapanesehasOwnPropertydeepECMAScript 2022SymbolpyyamlsetImmediateavaapolloprocesseast-asian-widthgdprdescriptorsiamcalldircloudtrailtaskfast-clonefast-copylimitidentifiersES2018exit-codecopytypanionsigtermpreserve-symlinkscryptredux-toolkitarktypereducerweaksetiterateprotowordwrappatchidleWeakSettrimEndES2020restfulenvstatusFloat32ArrayTypeScriptpropES2016regular expressionsless compileresdeterministicRFC-6455languagefastifywafclass-validatorisConcatSpreadabledatastructuredCloneES5Array.prototype.containsmacosrecursiveeventsshamcallboundspeedredactmoveintrinsicreadcommand-lineentriesimportexportlastbufferhardlinksxhrhookformutilitypredictableminimalcompareexecWebSocketimmutablekinesiscryptoeslintconfigcharactersfluxchromeoperating-systemArrayBuffer.prototype.sliceless csssortagentcorsSymbol.toStringTagECMAScript 2017queuepnpm9columnES2023includeskarmagradients cssflatMapsignalsrdsremovesearchforEachInt32Arraybuffersnested cssrestroute53authenticationprogressjsxsharedinspectObject.getPrototypeOfJSONupruntimeconsolequeueMicrotaskES2017packagei18nPromise
3.6.118

12 months ago

2.6.118

12 months ago

2.6.117

1 year ago

2.6.116

1 year ago

2.6.115

1 year ago

2.6.114

1 year ago

2.6.113

1 year ago

2.6.112

1 year ago

2.4.70

1 year ago

2.6.94

1 year ago

2.6.101

1 year ago

2.6.102

1 year ago

2.6.100

1 year ago

1.3.53

1 year ago

2.4.79

1 year ago

1.3.54

1 year ago

1.3.52

1 year ago

2.6.99

1 year ago

2.4.76

1 year ago

1.3.57

1 year ago

1.1.34

1 year ago

2.4.75

1 year ago

1.3.58

1 year ago

1.1.33

1 year ago

2.4.78

1 year ago

1.3.55

1 year ago

1.1.32

1 year ago

2.4.77

1 year ago

1.3.56

1 year ago

2.6.95

1 year ago

2.4.72

1 year ago

1.1.38

1 year ago

2.6.96

1 year ago

2.4.71

1 year ago

1.1.37

1 year ago

2.6.97

1 year ago

2.4.74

1 year ago

1.3.59

1 year ago

1.1.36

1 year ago

2.6.98

1 year ago

2.4.73

1 year ago

1.1.35

1 year ago

2.4.81

1 year ago

2.4.80

1 year ago

1.1.39

1 year ago

1.3.60

1 year ago

1.3.61

1 year ago

1.3.64

1 year ago

1.3.65

1 year ago

1.3.62

1 year ago

1.3.63

1 year ago

1.3.66

1 year ago

2.4.82

1 year ago

2.5.82

1 year ago

1.2.41

1 year ago

1.2.42

1 year ago

1.4.66

1 year ago

1.2.40

1 year ago

2.5.87

1 year ago

1.4.68

1 year ago

1.2.45

1 year ago

1.0.22

1 year ago

2.5.88

1 year ago

1.4.67

1 year ago

1.2.46

1 year ago

2.5.89

1 year ago

1.2.43

1 year ago

1.2.44

1 year ago

2.5.83

1 year ago

1.2.49

1 year ago

1.0.26

1 year ago

2.5.84

1 year ago

1.0.25

1 year ago

2.5.85

1 year ago

1.2.47

1 year ago

1.0.24

1 year ago

2.5.86

1 year ago

1.2.48

1 year ago

1.0.23

1 year ago

2.5.90

1 year ago

2.5.91

1 year ago

1.0.29

1 year ago

2.5.92

1 year ago

1.0.28

1 year ago

2.5.93

1 year ago

1.0.27

1 year ago

1.2.52

1 year ago

1.2.50

1 year ago

1.2.51

1 year ago

1.0.32

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

2.5.94

1 year ago

2.6.110

1 year ago

2.6.111

1 year ago

2.4.69

1 year ago

2.4.68

1 year ago

2.6.105

1 year ago

2.6.106

1 year ago

2.6.103

1 year ago

2.6.104

1 year ago

2.6.109

1 year ago

1.2.39

1 year ago

2.6.107

1 year ago

2.6.108

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago