5.11.110 • Published 11 months ago

@diotoborg/commodi-aut v5.11.110

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

11 months ago

5.11.109

11 months ago

5.11.108

11 months ago

5.11.107

11 months ago

5.10.107

11 months ago

5.10.106

11 months ago

5.10.105

11 months ago

5.10.104

11 months ago

5.10.103

11 months ago

5.10.102

11 months ago

5.10.101

11 months ago

4.10.101

11 months ago

4.10.100

11 months ago

4.10.99

11 months ago

4.10.98

11 months ago

4.10.97

11 months ago

4.10.96

11 months ago

4.10.95

11 months ago

4.10.94

11 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

12 months ago

4.9.88

12 months ago

4.9.87

12 months ago

4.9.86

12 months ago

4.9.85

12 months ago

4.9.84

12 months ago

4.9.83

12 months ago

4.9.82

12 months ago

4.9.81

12 months ago

4.9.80

12 months ago

4.9.79

12 months ago

4.9.78

12 months ago

4.9.77

12 months ago

4.9.76

12 months ago

4.9.75

12 months ago

4.9.74

12 months ago

4.9.73

12 months ago

4.9.72

12 months ago

4.9.71

12 months ago

4.9.70

12 months ago

4.8.70

1 year ago

4.8.69

1 year ago

4.8.68

1 year ago

4.8.67

1 year ago

4.8.66

1 year ago

3.8.66

1 year ago

3.8.65

1 year ago

3.8.64

1 year ago

3.8.63

1 year ago

3.8.62

1 year ago

3.7.62

1 year ago

3.7.61

1 year ago

3.7.60

1 year ago

3.6.60

1 year ago

3.6.59

1 year ago

3.6.58

1 year ago

3.6.57

1 year ago

3.6.56

1 year ago

3.6.55

1 year ago

3.6.54

1 year ago

3.6.53

1 year ago

3.5.53

1 year ago

3.5.52

1 year ago

3.5.51

1 year ago

2.5.51

1 year 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