5.4.88 • Published 10 months ago

@taktikorg/est-amet v5.4.88

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

@taktikorg/est-amet 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('@taktikorg/est-amet');

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

isgetoptttywhichArray.prototype.containscolorsreduceres-abstracttakestateletpluginshelljson-schema-validatorgradients csscloneerror-handlingyamleslinttoobjectclass-validatorapiESnexttacitES6enderawsfilterrdsnodejspnpm9schemaoptimistvisualtypanionES3eslintpluginfast-clonejapaneseautoscalingdependency managerquotesharedarraybufferObject.assignpopmotioncachecallfantasy-landes-shim APIestreeMapzxlinuxfromutiltouchfpsarraybufferdataViewhooks__proto__defineglobalsymboldeterministicreact-componenttrimsigterminvariantObject.keyses6internal slotfast-deep-clonezodwaapivariables in cssmomentbinariesECMAScript 2019wgetgradients css3rapidfastifyfastclonepredictablelockfilecontainsArraytestingasciiperformantmrufunctionpureredux-toolkitsymbolsforEachmkdirpmapebsstylingECMAScript 2021fulldeepJSONreplayswfdescriptorsideminimalpackage manageres5formattingweakmapgitignoreextraWebSocketsjsonschemadeepcloneargumentsignedwhatwgECMAScript 2023regularinstallercoreconsumeflattencloudsearchemroutputStreamsprototypeselfparsetslibwafdayjsreducepatchinputless mixinsbrowsersliststringifyrequirehasOwnnumberresolveECMAScript 5modulesECMAScript 6getterSystem.globaltraverseutilityback-endjQuerytimeObservableObject.valuesownstringifiera11ytddcolumnsprotobufnodeless.jspushiterationcomputed-types@@toStringTagmanagerl10nworkerJSON-SchemamockingrangeerrorgetintrinsichardlinksbannersetUint32Arraycallbindeslintconfigfast-deep-copylistenersjestboundreal-timeidletesterdeepcopysuperagentdropajvamazonchaicjkregular-expressionES2023Int8ArrayerrorinhelperdatereduxescapeflagdirstylelessTypedArraysharedsafeObjectsymlinkreact-testing-libraryES2020core-jsbines2016browserlistsymlinksfppicomatchlogtoolsprotocol-bufferssimpledbsettingstypeerrorcolorsqscharacterbytequerystringArray.prototype.flatfile systemtoStringTagcloudwatchcall-bindestoArraybabel-coreecmascriptECMAScript 2022stringinstallelbomitexpressES7$.extendhasOwnPropertyentriesenvironmentpinoartexectypeofroute53Reflect.getPrototypeOfcommand-linegroupByRxJSconstclassnameseventEmitterstyled-componentsSymbolruntimeECMAScript 2015point-freewaitremovejsxbyteLengthlastmetadatargbstyleguidestoragegatewayprettyincludesfnmatchdynamodbdatastructuresetImmediatecircularjscurlcopyvpcassignflags-0jsonnopetransportpasswordrobustECMAScript 2018getOwnPropertyDescriptorserializerutilsregexbuffersnamesgettc39exit-codeglobalsqueuevalidatestatuspyyamlagentcommandec2ReactiveXredirecttoSortedkinesisbddgetPrototypeOffullwidthvestpreprocessornpmenumerablehandlersnamecheckponyfillpropflatMapMicrosofttypedWeakSetfunctionalECMAScript 3routinguploadprivatefluxhigher-orderbootstrap csstypedarraysvalidFloat32ArrayUint8Arrayiterateio-tslesscsspostcsseventssyntaxastexpression256Array.prototype.filterbundlerInt16ArrayemitroutechromelruWebSocketwidthacornstreamindicatortranspileESarktypeloadinghttpjavascriptserverinferencebindvariablesES2019subprocessdeleteconcatMapfindLastIndexStreamregular expressionspinnerwritablegdprfixed-widthstructuredCloneoffsettypedarraysignalimmutablemacosinspectRxnegativephonetypesafeArrayBuffer#slicecallboundwalkextendhelpersECMAScript 2017deep-clonepolyfillreuses3readdescriptioniteratorcloudformationreadableserializationutil.inspectreadablestreamgestureskoreanonceES2016fastmobileObject.definePropertyArray.prototype.findLastIndexclientparserjson-schemaoptionfetchgroupdotenvmoveserializeshebangcallbackvalidationiaminternalWeakMapmkdirInt32ArraybusyequalchannelasyncefficientBigInt64ArraysignalsArrayBuffervaluessnsloggeroperating-systemjsdompreserve-symlinksES2021i18nes2015lintsomeless cssxtermgraphqlconsolespinnersbootstrap lessarraybyteOffsetdragmixinswindowsdirectorybundlingfilekeyforkURLSearchParamsqueueMicrotaskECMAScriptargs.gitignoreES2015createCSS_.extendbuffercss nestinglazydomtranspilerSettscodesdefinePropertyvarsFloat64ArrayexitchildfigletObject.entriesajaxjwtansiglobalThispipenativefindLastoptimizer0nested cssmakefastcopyES20173dgenericses7stylesheetcryptargvtrimRightcollection.es6mkdirsObservablesformsglobal objectspeedanimationrulesfunction.lengthRegExp.prototype.flagscolourPush
5.4.88

10 months ago

5.4.87

10 months ago

4.4.87

10 months ago

4.4.86

10 months ago

4.4.85

10 months ago

4.4.84

10 months ago

4.4.83

10 months ago

4.4.82

10 months ago

4.4.81

11 months ago

4.4.80

11 months ago

4.4.79

11 months ago

4.4.78

11 months ago

4.4.77

11 months ago

4.4.76

11 months ago

4.4.75

11 months ago

4.4.74

11 months ago

4.4.73

11 months ago

4.4.72

11 months ago

4.4.71

11 months ago

4.4.70

11 months ago

4.4.69

11 months ago

4.4.68

11 months ago

4.4.67

11 months ago

3.4.67

11 months ago

3.4.66

11 months ago

3.4.65

11 months ago

3.3.65

11 months ago

3.3.64

11 months ago

3.3.63

11 months ago

3.3.62

11 months ago

3.3.61

11 months ago

3.3.60

11 months ago

3.3.59

11 months ago

3.3.58

11 months ago

3.3.57

11 months ago

3.3.56

11 months ago

3.3.55

11 months ago

3.3.54

11 months ago

2.3.54

12 months ago

2.3.53

12 months ago

2.3.52

12 months ago

2.3.51

12 months ago

2.3.50

12 months ago

2.3.49

12 months ago

2.3.48

12 months ago

2.3.47

12 months ago

2.3.46

12 months ago

2.3.45

12 months ago

2.3.44

12 months ago

2.3.43

12 months ago

2.3.42

12 months ago

2.3.41

12 months ago

2.3.40

12 months ago

2.3.39

12 months ago

2.3.38

12 months ago

2.3.37

12 months ago

2.3.36

12 months ago

2.3.35

12 months ago

2.3.34

1 year ago

2.3.33

1 year ago

2.3.32

1 year ago

2.3.31

1 year ago

2.3.30

1 year ago

2.3.29

1 year ago

2.3.28

1 year ago

2.3.27

1 year ago

2.2.27

1 year ago

2.2.26

1 year ago

2.2.25

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

1 year ago

2.1.18

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

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