3.6.86 • Published 2 years ago

@erboladaiorg/error-expedita-alias v3.6.86

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

3.6.85

2 years ago

3.6.84

2 years ago

3.6.83

2 years ago

3.6.82

2 years ago

2.6.82

2 years ago

2.6.81

2 years ago

2.6.80

2 years ago

2.6.79

2 years ago

1.6.79

2 years ago

1.6.78

2 years ago

1.6.77

2 years ago

1.6.76

2 years ago

1.6.75

2 years ago

1.6.74

2 years ago

1.6.73

2 years ago

1.6.72

2 years ago

1.6.71

2 years ago

1.5.71

2 years ago

1.5.70

2 years ago

1.5.69

2 years ago

1.5.68

2 years ago

1.5.67

2 years ago

1.5.66

2 years ago

1.5.65

2 years ago

1.5.64

2 years ago

1.5.63

2 years ago

1.5.62

2 years ago

1.4.62

2 years ago

1.4.61

2 years ago

1.4.60

2 years ago

1.4.59

2 years ago

1.4.58

2 years ago

1.4.57

2 years ago

1.4.56

2 years ago

1.4.55

2 years ago

1.4.54

2 years ago

1.4.53

2 years ago

1.4.52

2 years ago

1.4.51

2 years ago

1.4.50

2 years ago

1.4.49

2 years ago

1.4.48

2 years ago

1.4.47

2 years ago

1.4.46

2 years ago

1.4.45

2 years ago

1.4.44

2 years ago

1.4.43

2 years ago

1.4.42

2 years ago

1.4.41

2 years ago

1.4.40

2 years ago

1.4.39

2 years ago

1.4.38

2 years ago

1.4.37

2 years ago

1.4.36

2 years ago

1.4.35

2 years ago

1.4.34

2 years ago

1.4.33

2 years ago

1.4.32

2 years ago

1.4.31

2 years ago

1.3.31

2 years ago

1.3.30

2 years ago

1.3.29

2 years ago

1.2.29

2 years ago

1.2.28

2 years ago

1.2.27

2 years ago

1.2.26

2 years ago

1.2.25

2 years ago

1.2.24

2 years ago

1.1.24

2 years ago

1.1.23

2 years ago

1.1.22

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago