3.12.153 • Published 9 months ago

@firanorg/delectus-eligendi-quae v3.12.153

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

@firanorg/delectus-eligendi-quae Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

ES 2021 spec-compliant shim for Promise.any. Invoke its "shim" method to shim Promise.any if it is unavailable or noncompliant. Note: a global Promise must already exist: the es6-shim is recommended.

This package implements the es-shim API interface. It works in an ES3-supported environment that has Promise available globally, and complies with the spec.

Most common usage:

var assert = require('assert');
var any = require('@firanorg/delectus-eligendi-quae');

var resolved = Promise.resolve(42);
var rejected = Promise.reject(-1);
var alsoRejected = Promise.reject(Infinity);

any([resolved, rejected, alsoRejected]).then(function (result) {
	assert.equal(result, 42);
});

any([rejected, alsoRejected]).catch(function (error) {
	assert.ok(error instanceof AggregateError);
	assert.deepEqual(error.errors, [-1, Infinity]);
});

any.shim(); // will be a no-op if not needed

Promise.any([resolved, rejected, alsoRejected]).then(function (result) {
	assert.equal(result, 42);
});

Promise.any([rejected, alsoRejected]).catch(function (error) {
	assert.ok(error instanceof AggregateError);
	assert.deepEqual(error.errors, [-1, Infinity]);
});

Tests

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

Pre-1.0 versions

The @firanorg/delectus-eligendi-quae package was released as now-deprecated v0.1.0 and v0.1.1, as a fork of https://github.com/m0ppers/promise-any.

Thanks to @sadorlovsky for donating the repo and the @firanorg/delectus-eligendi-quae npm package!

boundinferenceownhttpsFunction.prototype.namerobustfastcryptoterminaldotenvscheme-validationthroatwhatwgdeep-clonestatusdatastructuretrimEndimportzodcreateiterationkeytoolsliveautoprefixertrimStartsymbolsinatratestingtakecollection.es6Reflect.getPrototypeOfunicodevalidationdataViewvisualtslibclireduxextratoucharrayECMAScript 2022IteratorwgetmacosswfCSSfetchcollectionWeakMapsetImmediateminimalArray.prototype.findLastvariables in cssmovegetOwnPropertyDescriptorprivatemkdirYAMLmake dirtypeofhookscharacterrangeerrorES2019ES2015postcss-pluginpromisesObject.assignkinesisBigUint64Arrayless.jshigher-orderwatching_.extendstyleiterateloadingjsonfseventsinspectpromiseimportexportajvstatelessmobilejoierror-handlingpackagees6rgbavastringRegExp.prototype.flagshelperslesscsslazysigtermpropertiesReactiveExtensionsserializeremovesetpolyfillECMAScript 2023nativeescapemocharedux-toolkitvariablesFloat32ArrayjestbatchinconsoleclassesInt8ArraytapeeslintpluginbddTypedArrayratelimitArray.prototype.flatspinneruuiddebugexitreducebrowserextend$.extendECMAScript 7ESsideES3ajaxinvariantapireadablecolumnObject.isES2023japanesereact-hook-formWeakSetObject.getPrototypeOf[[Prototype]]bluebirdstreamless compilermergeintrinsicESnextupbundlingquerysqspreserve-symlinksworkersameValueZeroshimobjectconcurrencyeventDispatchereslintconfigsuperstructtapmkdirsbindflagsArray.prototype.findLastIndexslicesigintnested cssES2022jasmineflatMapdeepcopytdd@@toStringTagclassnamesObservableses2015wordbreakguidUint16ArraytesterhandlersdateES2021ec2prunetestpipeloadbalancingrequestfindLastprotobuftrimRightmatchesroute53requireformattingnpmkoreanparentsdayjsObject.fromEntriesexpressionUint8ClampedArraymrurm -frwalkingratebufferrouterrdseventsECMAScript 2015syntaxerrorcall-boundperformancefunctionwatchmapairbnbsharedarraybufferArrayttyES6httpUnderscorelibphonenumberpicomatchPromiseiecoercibleschemeprivate datatypeda11yInt16Arrayglaciereast-asian-widthcore-jsencryptionpushsetterprototypefunctionseveryworkflowtypeslotprotoawaitlook-upString.prototype.matchAllincludesutilpackage.jsonchinesewarningstoragegatewayfluxconfigjsxECMAScript 2020runtimeirqtypescriptcryptwordwrapregularwatchermodulesutilitiesvalidhas-ownSetsettingsObject.entriesoutputqueueMicrotaskiddeep-copytypedarraysObservableponyfillbuffersMicrosoftcensoruninstall__proto__timesuperagentes-shimstoSortedlimitRegExp#flagsbannergroupBynopegenericsgradients css3ES2016parsingvalidatenegativetaskfast-copycurlreactString.prototype.trimdeepes8routeagentvpcqsinputStreamtostringtagregular expressionspackage manageres5ArrayBuffer.prototype.slicecompile lesschannelnumberwatchFileserializeri18ntypesafemixinsbootstrap cssrestfulpositivedescriptorsinstallwalkURLinstallerlinuxworkspace:*es7cjkECMAScript 6ES2017Uint32Arraykeysmulti-packageinternalhardlinksebsurlprocesstsArray.prototype.flatMapansiindicatorES8flattencolourconfigurableeslintpnpm9zeroisConcatSpreadablefullwidthawesomesaucekarmaestyped arrayes2018diffECMAScript 2016sequenceargvframeworkReactiveXrm -rfgetPrototypeOfAsyncIteratoryupinternal slotES2020arraysdataviewassertioncopyrapidduplexECMAScript 3estreeBigInt64Arrayes-abstractfolderfastcopyjscacheweaksetredactWebSocketsreducermakeexpressjavascriptfullTypeBoxenvstate.envtc39getterfigletpropemittelephonebrowserslistartendpointdebuggerwritereal-timeclonesyntaxcolorInt32ArrayFloat64ArrayenderStyleSheetstarterprotocol-bufferspyyamlautoscalingwaitrfc4122typeerrorWebSocketES7hasOwnPropertyconsumeargumentArrayBufferwebsesidlereadablestreamnodeconcatMapflagtoobjecttraversemetadatabrowserliststringifystreams2reusedeepcloneapppredictableaccessormapreduceforEachprogressutilityoncepackagesmonorepotypesMappatchconcatpluginchromecssexeccloudformationjwtfindLastIndexlistenersshammkdirpES5RxhookformECMAScript 2021awsJSON-SchemafilestructuredClonetrimLeftRFC-6455jsonpathobj256preprocessorschemaperformantUint8Arraycodeslimitedwhichflatviewpropertyspeedfile systemreact-hookscode pointsextensionthrottlecallbindlockfilearktypeprefixyamlemojiassignhasheslint-pluginnegative zerocontainspostcssfastifysymlinksrmdirObject.valuescall-bindURLSearchParamsArray.prototype.includesenumerablegetoptequalsignalschromiumasynccorsECMAScript 5hasentriesassertgettrimcallboundshebangcommanderdeterministicreact-testing-libraryArray.prototype.filtermatchtextspinnersdomsafegradients cssTypeScriptclassnameauthdom-testing-libraryoffsetfsphonelesselectronresolvebyteOffsetrmhasOwndependency managerbeanstalkcompilerwraplastsetPrototypeOfutil.inspectrecursiveloginterruptsbytecolorsless cssdircloudsearchsortSymbolismatchAllJSONiamwafauthenticationcss-in-jsdatadynamodbdeletepasswordcss lessgdproptimiststreamsfast-deep-clonecloudfrontArray.prototype.flattenformsnamescorechai
3.12.153

9 months ago

3.12.152

9 months ago

3.12.151

9 months ago

3.12.150

9 months ago

3.10.137

10 months ago

3.10.136

10 months ago

3.10.139

10 months ago

3.10.138

10 months ago

3.10.140

10 months ago

3.10.135

10 months ago

3.11.150

9 months ago

3.11.149

9 months ago

3.11.148

9 months ago

3.11.147

9 months ago

3.11.146

9 months ago

3.11.145

10 months ago

3.11.144

10 months ago

3.11.143

10 months ago

3.11.142

10 months ago

3.11.141

10 months ago

3.11.140

10 months ago

3.10.133

10 months ago

3.10.134

10 months ago

3.10.132

10 months ago

3.10.131

10 months ago

3.10.130

10 months ago

3.10.129

10 months ago

3.10.128

10 months ago

3.10.127

10 months ago

3.9.124

10 months ago

3.9.127

10 months ago

3.9.125

10 months ago

3.9.126

10 months ago

3.9.123

10 months ago

3.9.122

10 months ago

3.9.121

10 months ago

3.9.120

10 months ago

2.9.120

10 months ago

2.9.119

10 months ago

2.9.118

11 months ago

2.9.116

11 months ago

2.9.117

11 months ago

2.9.115

11 months ago

2.8.115

11 months ago

2.8.114

11 months ago

2.7.114

11 months ago

2.7.113

11 months ago

2.7.112

11 months ago

2.7.111

11 months ago

2.7.110

11 months ago

2.7.109

11 months ago

2.6.91

12 months ago

2.6.92

11 months ago

2.6.93

11 months ago

2.6.94

11 months ago

2.6.101

11 months ago

2.6.102

11 months ago

2.6.100

11 months ago

2.6.90

12 months ago

1.5.70

1 year ago

1.5.72

1 year ago

1.5.71

1 year ago

2.6.99

11 months ago

2.6.95

11 months ago

2.6.96

11 months ago

2.6.97

11 months ago

2.6.98

11 months ago

1.4.37

1 year ago

1.4.39

1 year ago

1.4.38

1 year ago

1.3.35

1 year ago

1.3.36

1 year ago

1.3.34

1 year ago

1.3.37

1 year ago

2.7.106

11 months ago

2.7.107

11 months ago

2.7.108

11 months ago

2.7.103

11 months ago

2.7.104

11 months ago

2.7.105

11 months ago

1.6.80

12 months ago

1.4.60

1 year ago

1.4.62

1 year ago

1.4.61

1 year ago

1.4.64

1 year ago

1.4.63

1 year ago

1.4.66

1 year ago

1.4.65

1 year ago

1.4.68

1 year ago

1.4.67

1 year ago

1.4.69

1 year ago

1.4.70

1 year ago

1.2.18

1 year ago

1.2.19

1 year ago

1.4.40

1 year ago

1.4.42

1 year ago

1.4.41

1 year ago

1.2.20

1 year ago

1.4.44

1 year ago

1.4.43

1 year ago

1.4.46

1 year ago

1.2.23

1 year ago

1.4.45

1 year ago

1.2.24

1 year ago

1.4.48

1 year ago

1.2.21

1 year ago

1.4.47

1 year ago

1.2.22

1 year ago

1.2.27

1 year ago

1.4.49

1 year ago

1.2.28

1 year ago

1.2.25

1 year ago

1.2.26

1 year ago

2.6.80

12 months ago

2.6.81

12 months ago

2.6.82

12 months ago

1.2.29

1 year ago

2.6.83

12 months ago

1.6.73

12 months ago

1.6.72

1 year ago

1.6.75

12 months ago

1.4.51

1 year ago

1.6.74

12 months ago

1.4.50

1 year ago

1.6.77

12 months ago

1.4.53

1 year ago

1.2.30

1 year ago

1.6.76

12 months ago

1.4.52

1 year ago

1.2.31

1 year ago

1.6.79

12 months ago

1.4.55

1 year ago

1.6.78

12 months ago

1.4.54

1 year ago

2.6.88

12 months ago

1.4.57

1 year ago

1.2.34

1 year ago

2.6.89

12 months ago

1.4.56

1 year ago

2.6.103

11 months ago

1.4.59

1 year ago

1.2.32

1 year ago

1.4.58

1 year ago

1.2.33

1 year ago

2.6.84

12 months ago

2.6.85

12 months ago

2.6.86

12 months ago

2.6.87

12 months ago

1.2.17

1 year ago

1.2.13

1 year ago

1.2.16

1 year ago

1.2.14

1 year ago

1.2.15

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago