6.12.94 • Published 10 months ago

@patrtorg/voluptate-recusandae v6.12.94

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

@patrtorg/voluptate-recusandae Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Simple ES6 Array.prototype.find polyfill for older environments taken from es6-shim.

For browsers and node.js.

Installation

  • Just include repo before your scripts.
  • npm install @patrtorg/voluptate-recusandae

Usage

  • Array.prototype.find(predicate[, thisArg]) returns first item that matches predicate function.
  • predicate(value, index, collection): takes three arguments
    • value: current collection element
    • index: current collection element index
    • collection: the collection
// as a function
var find = require('@patrtorg/voluptate-recusandae');
find([1, 2], function (x) { return x === 2; }); // 2

// to shim it
require('@patrtorg/voluptate-recusandae').shim();

Code example:

// Default:
[1, 5, 10, 15].find(function (a) { return a > 9; }) // 10

Acknowledgements

Tests, fixes, and travis support added by _duncanhall

License

The MIT License (c) 2016 Paul Miller (http://paulmillr.com)

colourdomquotetraversedotenvbusyreplayes2017class-validatorrdsbyteLengthObject.getPrototypeOframdasettingsjapaneseES5figletpluginextraprogressObject.definePropertybuffershttpwhatwgparserconfigcacheinputflatformdom-testing-libraryinvariantserver__proto__uninstallmockingworkflowchannelcertificatestacitownsortglobalstyleguideincludesoutputuser-streamsagentback-endqueuephonepnpm9Int8ArrayObject.isiteratorurljoimapreducefastcopystyled-componentsObjectecmascriptpoint-freefullwidthgestureschinesejsxrgbenvironmentshasOwnweaksetutilspersistents3babel-coreoncefilepicomatchdragflatMapes-shim APIobjless.jsponyfillECMAScript 2018validatorinterruptsJSONcsscloudwatchpopmotionregularnopepredictableES8deepcloneUint32Arrayfunctiondayjsprotobufoperating-systemECMAScript 7configurabledataless cssexecfile0symbolstreamsharediebundlerregexstoragegatewayjsonpatchoffsetjson-schema-validationjestRegExp#flagserror$.extendArray.prototype.containswindowsES2018browsertakeidentifiersisutilpyyamlgetPrototypeOftyperedux-toolkitassignsuperstructRegExp.prototype.flagsinroute53Array.prototype.findLastindicatorrobustexecutesafesespackage.jsonfast-clonefunctionsTypeBoxcss nestingexpressawesomesauceside.gitignoredataVieweslintplugineslint-plugintrimLeftmetadatatoSortedapollorequirebyteOffsetredirectES2021call-bindInt16ArrayReflect.getPrototypeOfcoresignalsopensslURLshebangrandomsymbolsECMAScript 2015signedproxynegativelockfilerecursivesetstringcall-boundpostcss-pluginSethandlersYAMLmodulecallbindmobileconsolejQueryentriesArrayBuffer#slicesequenceRxJSECMAScript 2023Array.prototype.flatMaplinuxtransportES2016nodejssetImmediateRxtypesafepinoansihotwidthclassnameES7authenticationbrowserlistio-tsroutetypedestreeoptiondatastructurereduceiamcore-jsviewes6mapconcatMapmoduleshigher-orderposefastclonecollection.es6deepcopydescriptorsdeepprettyauthES2015enumerableidlestylesheetvestECMAScript 5getintrinsicECMAScript 2021stringifierreadablestreamFunction.prototype.nametrimEndwgetbinarrayscontainstypedarrayl10nunicoderapidprefixargsletsyntaxdropcomparetesterinternalfluxflagsES3cloneIteratorprocessargvsubprocessObservablecoerciblescheme-validationfastifyservicecompilerdependency managerutilityeventsdifffront-endBigInt64ArraycallBigUint64ArraycjkpostcsskeyTypedArrayES2020gitignoreObject.entriesbabelfromequalityeveryjsdomdeep-cloneswfinferencebootstrap lessECMAScriptfindpropertyuploadArray.prototype.filtereventEmitternodedefinePropertybannerPushlintexeclastpreserve-symlinksESgetOwnPropertyDescriptorECMAScript 2019threeloggerconsumefullweakmapmulti-packagetypestoobjectignorefast-deep-copysigtermless mixinses7function.lengthCSSStyleDeclarationaccessorutil.inspectargumenttypeerroreslintconfigi18nes-shimsSymbol.toStringTagJSON-SchemamatchAllObject.keysloadbalancingdeep-copywindowgraphqlrequestReactiveXsameValueZeroes2018somequeueMicrotaskbcryptlesstouchspawngenericsasciidependenciesTypeScripthelperscommandFloat64ArrayvalidationoptimizertddObservablestermserializationObject.fromEntriesreact-testing-librarystringifymockjshintacornwriteeffect-tsnpmignoremruawskeysexitcryptohookformMapcreatetrimStartstreamsString.prototype.matchAlles5css lessdataviewpropglobalstrimRightloadingescapezxworkerhas-ownarraybuffer[[Prototype]]npmreactshimglobal this valuefindLastbootstrap csslocalreact-componenttc39classnamessigintStreamcircularbrowserslistamazonwaf
6.12.92

10 months ago

6.12.93

10 months ago

6.12.94

10 months ago

6.12.91

10 months ago

6.12.90

10 months ago

6.12.89

10 months ago

6.12.88

10 months ago

6.12.87

10 months ago

6.12.86

10 months ago

6.12.85

10 months ago

6.11.85

10 months ago

6.10.85

10 months ago

6.10.84

10 months ago

5.10.84

10 months ago

5.10.83

10 months ago

5.10.82

10 months ago

5.10.81

10 months ago

5.10.80

10 months ago

5.10.79

10 months ago

5.10.78

10 months ago

5.10.77

10 months ago

5.10.76

11 months ago

5.10.75

11 months ago

5.10.74

11 months ago

5.9.74

11 months ago

5.9.73

11 months ago

5.9.72

11 months ago

5.9.71

11 months ago

5.9.70

11 months ago

5.9.69

11 months ago

5.8.69

11 months ago

5.8.68

11 months ago

5.8.67

11 months ago

4.8.67

11 months ago

3.8.67

11 months ago

3.8.66

11 months ago

3.8.65

11 months ago

3.8.64

11 months ago

3.8.63

11 months ago

3.8.62

11 months ago

3.8.61

11 months ago

3.8.60

11 months ago

3.8.59

11 months ago

3.8.58

11 months ago

3.7.58

11 months ago

3.7.57

11 months ago

3.7.56

11 months ago

3.7.55

11 months ago

2.7.55

11 months ago

2.7.54

11 months ago

2.7.53

11 months ago

2.7.52

12 months ago

2.6.52

12 months ago

2.5.52

12 months ago

2.5.51

12 months ago

2.5.50

12 months ago

2.5.49

12 months ago

2.5.48

12 months ago

2.5.47

12 months ago

2.5.46

12 months ago

2.5.45

12 months ago

2.5.44

12 months ago

2.5.43

12 months ago

2.5.42

12 months ago

2.5.41

12 months ago

2.5.40

12 months ago

2.5.39

12 months ago

2.5.38

12 months ago

2.5.37

12 months ago

2.4.37

12 months ago

2.4.36

12 months ago

2.4.35

1 year ago

2.4.34

1 year ago

2.4.33

1 year ago

2.4.32

1 year ago

2.4.31

1 year ago

2.4.30

1 year ago

2.4.29

1 year ago

2.4.28

1 year ago

2.4.27

1 year ago

2.4.26

1 year ago

2.4.25

1 year ago

2.3.25

1 year ago

2.3.24

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

2.2.22

1 year ago

2.2.21

1 year ago

2.2.20

1 year ago

2.2.19

1 year ago

2.2.18

1 year ago

2.2.17

1 year ago

2.2.16

1 year ago

2.2.15

1 year ago

2.2.14

1 year ago

2.1.14

1 year ago

2.0.14

1 year ago

2.0.13

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

1.0.6

1 year ago

1.0.5

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