5.11.110 • Published 2 years ago

@diotoborg/commodi-aut v5.11.110

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

2 years ago

5.11.109

2 years ago

5.11.108

2 years ago

5.11.107

2 years ago

5.10.107

2 years ago

5.10.106

2 years ago

5.10.105

2 years ago

5.10.104

2 years ago

5.10.103

2 years ago

5.10.102

2 years ago

5.10.101

2 years ago

4.10.101

2 years ago

4.10.100

2 years ago

4.10.99

2 years ago

4.10.98

2 years ago

4.10.97

2 years ago

4.10.96

2 years ago

4.10.95

2 years ago

4.10.94

2 years ago

4.10.93

2 years ago

4.9.93

2 years ago

4.9.92

2 years ago

4.9.91

2 years ago

4.9.90

2 years ago

4.9.89

2 years ago

4.9.88

2 years ago

4.9.87

2 years ago

4.9.86

2 years ago

4.9.85

2 years ago

4.9.84

2 years ago

4.9.83

2 years ago

4.9.82

2 years ago

4.9.81

2 years ago

4.9.80

2 years ago

4.9.79

2 years ago

4.9.78

2 years ago

4.9.77

2 years ago

4.9.76

2 years ago

4.9.75

2 years ago

4.9.74

2 years ago

4.9.73

2 years ago

4.9.72

2 years ago

4.9.71

2 years ago

4.9.70

2 years ago

4.8.70

2 years ago

4.8.69

2 years ago

4.8.68

2 years ago

4.8.67

2 years ago

4.8.66

2 years ago

3.8.66

2 years ago

3.8.65

2 years ago

3.8.64

2 years ago

3.8.63

2 years ago

3.8.62

2 years ago

3.7.62

2 years ago

3.7.61

2 years ago

3.7.60

2 years ago

3.6.60

2 years ago

3.6.59

2 years ago

3.6.58

2 years ago

3.6.57

2 years ago

3.6.56

2 years ago

3.6.55

2 years ago

3.6.54

2 years ago

3.6.53

2 years ago

3.5.53

2 years ago

3.5.52

2 years ago

3.5.51

2 years ago

2.5.51

2 years ago

2.5.50

2 years ago

2.5.49

2 years ago

2.5.48

2 years ago

2.5.47

2 years ago

2.5.46

2 years ago

2.5.45

2 years ago

2.5.44

2 years ago

2.5.43

2 years ago

2.5.42

2 years ago

2.5.41

2 years ago

2.5.40

2 years ago

2.5.39

2 years ago

2.5.38

2 years ago

2.5.37

2 years ago

2.5.36

2 years ago

2.5.35

2 years ago

2.5.34

2 years ago

1.5.34

2 years ago

1.5.33

2 years ago

1.4.33

2 years ago

1.4.32

2 years ago

1.3.32

2 years ago

1.3.31

2 years ago

1.3.30

2 years ago

1.3.29

2 years ago

1.3.28

2 years ago

1.3.27

2 years ago

1.3.26

2 years ago

1.2.26

2 years ago

1.2.25

2 years ago

1.2.24

2 years ago

1.2.23

2 years ago

1.2.22

2 years ago

1.2.21

2 years ago

1.2.20

2 years ago

1.2.19

2 years ago

1.2.18

2 years ago

1.2.17

2 years ago

1.2.16

2 years ago

1.2.15

2 years ago

1.2.14

2 years ago

1.2.13

2 years ago

1.2.12

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

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago