1.0.0 • Published 1 year ago

@hutechwebsite/iusto-impedit-quidem-voluptate v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@hutechwebsite/iusto-impedit-quidem-voluptate Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

ES Proposal spec-compliant shim for Promise.allSettled. Invoke its "shim" method to shim Promise.allSettled 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 proposed spec.

Most common usage:

var assert = require('assert');
var allSettled = require('@hutechwebsite/iusto-impedit-quidem-voluptate');

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

allSettled([resolved, rejected]).then(function (results) {
	assert.deepEqual(results, [
		{ status: 'fulfilled', value: 42 },
		{ status: 'rejected', reason: -1 }
	]);
});

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

Promise.allSettled([resolved, rejected]).then(function (results) {
	assert.deepEqual(results, [
		{ status: 'fulfilled', value: 42 },
		{ status: 'rejected', reason: -1 }
	]);
});

Tests

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

Array.prototype.findLastreducecryptocorewhatwgfindtypedarraystylingpostcss-pluginphonestyleguidebusyduplex.envtapegraphqlsameValueZerosetImmediatespechotstablefigletstreams2starterworkercharacterassertionRFC-6455ECMAScript 7emojiWeakMapsymlinkfshasOwncharacterscolorArrayBufferES2020unicodergbbrowserlistinternal slotstreamwebsafeES8patchcomparereplayES2022dommulti-packageObjectcall-bindbootstrap lessbannerhelpersbluebirdjsdiffarktypeWebSocketsclonematchAllworkspace:*reducerdefinePropertyjestfluxgroupnested cssECMAScript 5promisemobileRegExp.prototype.flagsminimaltimeRegExp#flagsprefixhasstoragegatewayes5estreejwtmapeslintpluginclifunctionalserializeopensuperagentgetPrototypeOfasyncextensionoptimistoutputjsSetutil.inspectmime-dbtddArrayBuffer#slicecolourfolderelasticache$.extendcss nestingrmlockfilecallbackprototypeObject.fromEntriesautoprefixerES2015Reflect.getPrototypeOfwarningtelephonecoerciblechannelfixed-widthsearchjsxperformantIteratorerrortypesuuidfpsthrottlecall-boundwritedirremovelocationdebugelectronreact-hook-formrangeerrorviewclassesslicevariables in cssenvironmentgenericsonceinternalcheckregular expressiondayjsinferencewritableawesomesauceebsschemeprettydeepclonerdsdom-testing-librarylesscsstakeAsyncIteratordirectorytrimframeworkES5tostringtagnativecloudsearchcreatees8URLSearchParamsloggingnumberlazywidthwatchWeakSetdatatyped arrayformreadabledependenciesStreamsredux-toolkitliveES2017eslint-pluginObject.ismonorepoownES2021deep-copyCSSlookjsonjsonpathpreprocessorxtermttytslibECMAScript 2023workflowlinkshebangansimocharapidcorsaccessorpositiveec2TypeBoxlruobjmergetesterdatenamesstringifycolorstoSorteddiffterminaltestflagcolumnspnpm9shellspeedflagsES7statetypebundlinginvariantdatastructurestreamscomputed-typesdelete-0wafES2019runtimeindicatorlanguageArray.prototype.flatMapqueueInt32ArraycssfunctionssymbolstypedSymbol.toStringTagutilitya11yfetchfind-upes6bindreact-testing-libraryECMAScript 2019accessibilityprogressastdependency managermimetypesimmernegativeRxJS_.extendfastclonecloudwatchpipesesclassnamestrimEndtrimStarttypedarrayscallboundhttpsymlinksgroupByregular expressionsajaxformatting256mkdirarraybuffervalidationasciitaskhasOwnPropertyclassnamesharedarraybufferobjecttypanionglobsymbolieArrayObject.definePropertypushmimesettingsFloat64ArraydeterministicURLArray.prototype.includeswaitserializervariablesfast-copyfullwidthcommanderconfigemrutilloggerencryptionArray.prototype.containsbyteLengthtypescripttrimRightjQuery[[Prototype]]containsregexgetOwnPropertyDescriptordefinemovetestinggradients css@@toStringTagconcatMapprotobuf0cryptbeanstalkStyleSheetcss variableoptionObservablesarrayawsstyledropdescriptorschinesegetintrinsictoolkitpropertiesmake dirless mixinsreadablestreamredirectTypeScriptFloat32ArraywatcherexpressObject.assignmixinspersistentschemaWebSocketswfenumerableparsertypeofinrandomjasminesetPrototypeOfstylesheetArray.prototype.flatparentString.prototype.trimconsolevaluesECMAScript 2016linewrappackage.jsoneveryReactiveExtensionsreusefullpasswordloadingbundlerregularcopyhardlinksshamequalSymbolzero__proto__avamakedataviewloadbalancingECMAScript 2017efficienttextrouteimmutablereactinspectECMAScript 2021valueInt8Arrayrm -frwalkingrobustgetvesthas-ownsomecallbindawaitdotenvstylesES2018middlewareapolloecmascriptwordbreakkoreanflatsuperstructparseinputescapecollection.es6stringifierdataViewObservableentriesyamlprotocol-bufferslastnopeparentsHyBisharedfast-cloneperformancepluginlibphonenumbereventEmitterlistenersYAMLcloudformationintrinsicECMAScript 2018validcodesassigncachepicomatchStreamUint8Arrayelmes2018callESnextBigUint64Arraybootstrap cssmodulereact-hookspredictablePromiseajvsyntaxerrorqsimportexportid
1.0.0

1 year ago