5.11.110 • Published 10 months ago

@diotoborg/commodi-aut v5.11.110

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

@diotoborg/commodi-aut 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('@diotoborg/commodi-aut');

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

chinesesetPrototypeOfbinlockfileinputmobileformattingimmerrangeerrorspinnermatchAlleslintconfigprettyinternal slotlibphonenumberlastponyfillprototypenodeslicereadablefunctionsserializerES2020rm -rfcoercibledomhelperscoloristanbulprogressansiglobalvaluepluginregextrimLeftmakejsxdebuggerreal-timefolderstylematchprocessl10nYAMLoptionvariableschildsortruntimenegative zeroebsnopepinofigletECMAScript 2017protocol-bufferswindowcolourcollectioncopyidrobustObject.keyseslintpluginautoprefixerECMAScript 6varECMAScript 3execfileObject.entriesdatetoSortedcallboundmkdirsfeedendpointString.prototype.matchAllexecuteflattenshampackage.jsonprefixnumberclonefindLastIndexcloudwatcheslint-pluginjQueryrequest.envURLtimehasOwndebugformbddES8redux-toolkitMicrosoftserializationpipeArrayBufferECMAScript 2023URLSearchParamseffect-tsenumerablevpcpolyfilldefinePropertyarraysforkchaiUint8ArrayPromiseemoji0expressionfpsyntaxarttacitdeepcopyastsource mapRFC-6455testingerroreslintoptimizertypesafemetadataAsyncIteratorformscontainscolumnnegativeoptimistcommandtc39zodstringifyclilistenersunicodepositiveupselfkeyscloudsearchtyped arraysimpledbfnmatchfetchiamlocalconstpropertyECMAScript 2018superstructexechigher-orderrgbArrayBuffer.prototype.slicewaapihtmlloggerreactPushInt8Arraymochapostcssjsonschemaglobal objectbrowserlistStreamsArray.prototype.findLastIndexrouteES2016form-validationtsObject.fromEntriesfunctionownES2015zeroarrayparentsvalidateSymbolgroupCSSString.prototype.trimslotcorebrowserslistfind-uproute53WebSocketscodessnsreducerjavascriptkeyFloat64Arraya11ypostcss-pluginomites6toStringTagfast-copymkdirObject.valuesrm -frBigInt64Arrayworkspace:*electronjsdomprivatecompilerdirectorytesterArray.prototype.containsramdaclassnamesbundlingwritabledataRegExp#flagswalkdependenciesfast-deep-copyrulesreduxquotemapperformancejestbundlerequaltoolsboundkarmavalueschromeuuidremoveprivate dataECMAScript 2021tostringtagES2022flatajaxjssortedpopmotionES2023reverseconsumetraversegroupBytransformbrowserobj_.extendnpmcollection.es6subprocessTypeBoxforEachregular expressionscall-bindECMAScriptprotobinaryrequiremulti-packagemodulesenvsymlinksstoragegatewayec2reduceaccessorcheck[[Prototype]]setterurlhttpReactiveXreusespringstringFloat32Arrayargsreact animationphonetoobjectrestasciies7byteLengthserializetriminternalloggingcall-boundoutputschemakinesisshimfastifysinatradescriptionfsiteratorchannelproxyES5framersidehookformJSON-Schematypeassignreact-hook-formstylesHyBiReflect.getPrototypeOfi18nfullwidthidlepatchcommand-lineterminalapispecfindLastmapreduceconsolecircularlengthtypedspeedeast-asian-widthArray.prototype.findLastgestureseveryvalidnativesomepropertiesimmutabletypeofautoscalingsharedtermuninstallpropdeleteinstallertoArraywhatwggetterutilitiesespreeuser-streamsassertsrestfuldirfantasy-landqueueMicrotasksameValueZerosymbolsutilsstyled-componentsObject.getPrototypeOfBigUint64ArrayajvObservablearktypeshellpnpm9hookswriterouterswfisloadbalancinginstrumentationwidthES7stylingwaitArrayBuffer#slicefast-clonepackage managerlrubabel-coregraphqles2016hashWeakMapincludescensores-abstractArray.prototype.filtercurriedemrtoolkites5jsonObservablesES2021utilES6Uint32Arrayhas-ownbeanstalktakewarningkoreandeepclonequeryspinnerses2018vestnamemodulegetpreprocessorreworkdiffargvdescriptorObject3dloglintdropbyteOffsetdeepoffsetprotobufObject.assignwebasteriskshardlinkspromiseawesomesaucejsdiffdataViewroutingcomparehascjkfunction.lengthcacheECMAScript 2020airbnbmergemruperformantreact-testing-librarytelephonelook-upbufferstrimRightpackagescolumnsinclientutil.inspectefficientaccessibilitycurlcharacterRxeventssetImmediatetypesnpmignoreregular-expressioncore-jsassertionawsenvironmentstrimEndes2015ECMAScript 7
5.11.110

10 months ago

5.11.109

10 months ago

5.11.108

10 months ago

5.11.107

10 months ago

5.10.107

10 months ago

5.10.106

10 months ago

5.10.105

10 months ago

5.10.104

10 months ago

5.10.103

10 months ago

5.10.102

10 months ago

5.10.101

10 months ago

4.10.101

10 months ago

4.10.100

10 months ago

4.10.99

10 months ago

4.10.98

10 months ago

4.10.97

10 months ago

4.10.96

10 months ago

4.10.95

10 months ago

4.10.94

10 months ago

4.10.93

11 months ago

4.9.93

11 months ago

4.9.92

11 months ago

4.9.91

11 months ago

4.9.90

11 months ago

4.9.89

11 months ago

4.9.88

11 months ago

4.9.87

11 months ago

4.9.86

11 months ago

4.9.85

11 months ago

4.9.84

11 months ago

4.9.83

11 months ago

4.9.82

11 months ago

4.9.81

11 months ago

4.9.80

11 months ago

4.9.79

11 months ago

4.9.78

11 months ago

4.9.77

11 months ago

4.9.76

11 months ago

4.9.75

11 months ago

4.9.74

11 months ago

4.9.73

11 months ago

4.9.72

11 months ago

4.9.71

11 months ago

4.9.70

11 months ago

4.8.70

11 months ago

4.8.69

11 months ago

4.8.68

11 months ago

4.8.67

11 months ago

4.8.66

11 months ago

3.8.66

12 months ago

3.8.65

12 months ago

3.8.64

12 months ago

3.8.63

12 months ago

3.8.62

12 months ago

3.7.62

12 months ago

3.7.61

12 months ago

3.7.60

12 months ago

3.6.60

12 months ago

3.6.59

12 months ago

3.6.58

12 months ago

3.6.57

12 months ago

3.6.56

12 months ago

3.6.55

12 months ago

3.6.54

12 months ago

3.6.53

12 months ago

3.5.53

12 months ago

3.5.52

12 months ago

3.5.51

12 months ago

2.5.51

12 months ago

2.5.50

1 year ago

2.5.49

1 year ago

2.5.48

1 year ago

2.5.47

1 year ago

2.5.46

1 year ago

2.5.45

1 year ago

2.5.44

1 year ago

2.5.43

1 year ago

2.5.42

1 year ago

2.5.41

1 year ago

2.5.40

1 year ago

2.5.39

1 year ago

2.5.38

1 year ago

2.5.37

1 year ago

2.5.36

1 year ago

2.5.35

1 year ago

2.5.34

1 year ago

1.5.34

1 year ago

1.5.33

1 year ago

1.4.33

1 year ago

1.4.32

1 year ago

1.3.32

1 year ago

1.3.31

1 year ago

1.3.30

1 year ago

1.3.29

1 year ago

1.3.28

1 year ago

1.3.27

1 year ago

1.3.26

1 year ago

1.2.26

1 year ago

1.2.25

1 year ago

1.2.24

1 year ago

1.2.23

1 year ago

1.2.22

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

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

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago