3.6.86 • Published 1 year ago

@erboladaiorg/error-expedita-alias v3.6.86

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

@erboladaiorg/error-expedita-alias Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES2017 spec-compliant Object.entries shim. Invoke its "shim" method to shim Object.entries if it is unavailable or noncompliant.

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

Most common usage:

var assert = require('assert');
var entries = require('@erboladaiorg/error-expedita-alias');

var obj = { a: 1, b: 2, c: 3 };
var expected = [['a', 1], ['b', 2], ['c', 3]];

if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') {
	// for environments with Symbol support
	var sym = Symbol();
	obj[sym] = 4;
	obj.d = sym;
	expected.push(['d', sym]);
}

assert.deepEqual(entries(obj), expected);

if (!Object.entries) {
	entries.shim();
}

assert.deepEqual(Object.entries(obj), expected);

Tests

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

typedemrrgbendervpcenvironmentsdatahasOwneslintconfigECMAScript 2019compareendpointES2016traverseform-validationajaxinstallerWeakSetchromeiam[[Prototype]]CSSfast-deep-copymkdirshooksintrinsicstreamrecursiveflatfnmatchInt8ArrayECMAScript 2016sharedboundcorefileonceobjectinsigintgetoptoperating-systemexecuteemitsafepostcsstoobjectflatMaphasOwnPropertyreduceroffsetassertString.prototype.trimgetPrototypeOfsymbolsroute53owngroupmatchnegativeassertionjoirequiretelephoneReflect.getPrototypeOfdataViewexecuploaddayjsHyBilistenersutil.inspectformatasciiPushassertsnameprunelengthcoercibleimportexportes8openssltextaccessorreact-testing-libraryapimakejson-schema-validatorcolumnsgenericspushWeakMapglobal this valuehasomitloadingES2015expression6to5routeUnderscoreargumentES7toReversednpmclass-validatorvalidateshellnodeECMAScript 2018trimEndfpstoragegatewayrapidbrowserlistapolloworkersomeestreegetOwnPropertyDescriptorbabelcompile lesscjklockfiletypeprivate dataECMAScript 2015channelBigUint64ArrayfastcloneignoreECMAScript 2022internalgdprtoSortedmoduleasteriskseffect-tses2015System.globalzxcolorformattingECMAScript 6WebSocketses-abstractTypeBoxglobalThiskorean@@toStringTages-shimsawsreact-componentargsjson-schema-validationjeststatusReactiveXless compilerirqFloat64Arrayequales2016animationvaluevestfullqueueMicrotaskelmremoveconstpreprocessorpostcss-pluginmobileautoprefixerAsyncIteratorsideindicatoriterationpureECMAScript 2020symbolmrudroprandomtranspilemodulessigtermeslintfull-widthcompilerfastponyfillES2023streamsfswritablearray.gitignoreformseventEmitteridentifiersdataviewcharacterruntimeshamfindLastIndexObservablenpmignoreinterruptsglobalsSetrulesworkflow0tsliblanguagedirec2dotenvrdsES2017hotstylesheetclihashdescriptorweakmapdeepfindLaststylebyteOffsetspecglobtestingcopyzerounicodepicomatchreducewhatwgxhrwarninggradients csssetImmediateworkspace:*immutablefunction.lengthchromiuminstallpopmotionTypedArrayRxJSdefinebyteLengthmake dirs3elbcollection.es6commandermixinsECMAScript 3objcolourmulti-packageUint8ClampedArraypackagesFunction.prototype.namedeep-copyextrasqswindowsestddasyncMicrosoftregular-expressionjapaneseyupthreecircularclassesdragbootstrap cssstringifyfromfast-copyObservablesbinariestestprefixshebangelasticachematchescreatepositiveecmascriptquerystringflagsfast-cloneequalityswftrimRightesJSONauthenticationjsdiffwafairbnbsetPrototypeOfRxoutputfindeslint-pluginwaitspeedelectronbeanstalkFloat32ArrayclassnameseslintplugincallbindaccessibilityYAMLdiffinternal slotlogtc39ArrayBufferterminalselfvalidatorcommandwindowskeyclienttoolkitInt16Arrayeast-asian-widthsimpledbinferencecolumnfantasy-landArray.prototype.flatreduxObject.keyscallboundtypedarraysCSSStyleDeclarationshimformexecfilecensorbyteclone$.extendzodcore-jslocall10nregular expressionRegExp.prototype.flagsnamesless.jsiterateES2020StyleSheetisConcatSpreadableoptimistES3structuredClonevariables in cssdatei18nconcatkinesispnpm9framerECMAScriptdependency managercloudformationjavascriptlazytimesubprocesssharedarraybufferroutingoptionpasswordwidthsuperagentdescriptorssignalswgetMapgraphqlagentTypeScriptschemetranspilergitignorecollectionnegative zeroconfigurablees7globaltyped arraymanagerxtermreversedBigInt64ArrayString.prototype.matchAllutilityhttpsarraybufferdeep-clonechinesehardlinksconsumeJSON-Schemaa11ymovepatchdom-testing-libraryutilsprototypevarinvariantcodesregexpcallredactsettingsmkdirslotcallbackArray.prototype.flattenreact poseentriesutilcryptbindjQueryvalidationObject.valuesbusyslicecloudfrontES8lruIteratorlinuxtypeerrorSymbol.toStringTagmacossequencebootstrap lessnumbersnsstringifierpinosortvarspoint-freefetchdeterministicguideventDispatcherttyfullwidthes-shim APIECMAScript 5writeserializefast-deep-clonebddsameValueZerobcryptcurltouchastpredictableglacierflagURLcloudwatchECMAScript 2021reversetsjsonerror-handlinghookformlinttrimStartglobal objectramdaenvironmentweaksetresolvehelperslivetypesObject.fromEntrieshelperdeletewalkphonejshintgetterpreserve-symlinksfastcopyprogressbrowserslistfastifyperformantio-tsreadableuuidchildprivatepyyamltypescriptreal-timeArray.prototype.includespersistentbinarygetintrinsicsignedvalidmapchaimonoreposchemacomputed-typessetreuseencryptionless mixinsstatemapreducedescriptionStreamsescapesymlinkoptimizerdependenciesObject.assignsyntax
3.6.86

1 year ago

3.6.85

1 year ago

3.6.84

1 year ago

3.6.83

1 year ago

3.6.82

1 year ago

2.6.82

1 year ago

2.6.81

1 year ago

2.6.80

1 year ago

2.6.79

1 year ago

1.6.79

1 year ago

1.6.78

1 year ago

1.6.77

1 year ago

1.6.76

1 year ago

1.6.75

1 year ago

1.6.74

1 year ago

1.6.73

1 year ago

1.6.72

1 year ago

1.6.71

1 year ago

1.5.71

1 year ago

1.5.70

1 year ago

1.5.69

1 year ago

1.5.68

1 year ago

1.5.67

1 year ago

1.5.66

1 year ago

1.5.65

1 year ago

1.5.64

1 year ago

1.5.63

1 year ago

1.5.62

1 year ago

1.4.62

1 year ago

1.4.61

1 year ago

1.4.60

1 year ago

1.4.59

1 year ago

1.4.58

1 year ago

1.4.57

1 year ago

1.4.56

1 year ago

1.4.55

1 year ago

1.4.54

1 year ago

1.4.53

1 year ago

1.4.52

1 year ago

1.4.51

1 year ago

1.4.50

1 year ago

1.4.49

1 year ago

1.4.48

1 year ago

1.4.47

1 year ago

1.4.46

1 year ago

1.4.45

1 year ago

1.4.44

1 year ago

1.4.43

1 year ago

1.4.42

1 year ago

1.4.41

1 year ago

1.4.40

1 year ago

1.4.39

1 year ago

1.4.38

1 year ago

1.4.37

1 year ago

1.4.36

1 year ago

1.4.35

1 year ago

1.4.34

1 year ago

1.4.33

1 year ago

1.4.32

1 year ago

1.4.31

1 year ago

1.3.31

1 year ago

1.3.30

1 year ago

1.3.29

1 year ago

1.2.29

1 year ago

1.2.28

1 year ago

1.2.27

1 year ago

1.2.26

1 year ago

1.2.25

1 year ago

1.2.24

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

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.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