9.3.95 • Published 12 months ago

@diotoborg/voluptate-eius v9.3.95

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

@diotoborg/voluptate-eius 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/voluptate-eius');

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

ECMAScript 6validationextendYAMLtraverseenvironmentcallbindopensslObservablesruntimejQuerydomtc39sharedarraybufferoffsetprettygetintrinsicECMAScript 7fullwidthcallbacktoArraysymlinksfullreadablestreamgenericsstringbabel-corecompilerreadableuser-streamsdeeptoSortedpersistentreadWebSocketsfss3cjkerror-handlingiterationECMAScript 2016css nestingBigUint64ArraymockingmockxtermboundartcloudtrailglacierfpschemefunctionapollohasOwncoreloggercompareexpressionrequestcreatenumberfilePromisestreamagentRegExp.prototype.flagsroutepushObject.keyspredictableeslintes8stringifyJSON-Schemaasterisksi18neveryemitchineseassertionRegExp#flagsconsoleURLmonoreposerializeeast-asian-widthtypedarrayvarhelperscallES3Object.isflagfigletcompile lessmatchesstringifiermapObject.valuesArrayBuffer#slicereducerminimalregularuninstallfnmatchmatchAllbcryptintrinsictypeerrordragxhrmergeES2016zxformattinglocalinstallchecktranspileArrayBuffer.prototype.sliceeventEmitterperformantinferencecommanderreusepackagescolorsbootstrap csscodespinoviewpreserve-symlinksimmerloadingtakeglobal this valueexitefficientpostcss-pluginArray.prototype.flatMapparserforkchromeespreesetImmediateesRFC-6455containsglobal objectglobalstyped3doptimizerworkflowforEachtypedarrayssignalfast-clonewindowmetadataloadbalancingfetchdiffdeepcopyinterruptsramdatesterhandlerses-abstractES2017ReactiveXdefinePropertyresolvereact animationtddtostringtagelminternal slotES2021stylingisconfigurableswffluxansiFloat32ArrayweaksetlogStyleSheetgroupnopeutilWeakMapReactiveExtensionswaitReflect.getPrototypeOfbufferscolormapreducegitignorefull-widthclientnativees2017es-shim APIestreeESeslintconfiggettersortECMAScript 2019fastcloneHyBipicomatchdataviewwritablepoint-freetestinggetopturlshamfantasy-landclassesmanagerchild[[Prototype]]hooksconcatMapsymbolsfunctionsUint16ArrayutilitiesaccessorsigtermlanguagemodulescloudformationArray.prototype.flattenenumerablereact posejsdomcurlownfpssigintSeteffect-tsaccessibilitystreamsvisualsomeUint8ArrayserializerbrowserlistES2022typetyped arraybinariesescapejestmruencryptionsignalsremovegradients cssES7Int32ArraybrowserslistlinkletmomenttestshebangRxqsdynamodbfast-copysymlinkECMAScript 5a11yentriesString.prototype.trimprogressbddthreeObject.entriestranspilercore-jsreact-component6to5has-owncliES2020fixed-widthcommandcssyamlpropertypackage managerquerystringgradients css3css variablees6equalityvariablesnegativebootstrap lessreal-timeworkspace:*mkdirsstructuredCloneless mixinsreact-hook-formspinnerssesbannerassertcirculariteratees2015javascriptgroupByfrompurenamesrapidstylesheeteslintpluginstatusWebSockethascall-bindyupregexcall-boundtrimRightcloudsearchserviceconfigUint8ClampedArraybyteponyfillspeedjson-schema-validationgesturesECMAScript 2023whatwgbindglobalThisweakmapstyleguidetypescriptPushnpmignoredirsliceterminalpyyamlES8storagegatewayprivatestateES2019certificatesrobustTypedArraypreprocessordropsameValueZeroTypeBoxUnderscoreformatawesomesaucesettingstrimEndidlepositivefastmixinsnodejsuploadtextutilsexecfilestylessideprototypeMicrosoftautoprefixerdeepclonees2018Object.definePropertylrucopyslotreact-testing-libraryglobalasciimake dirECMAScript 2020ESnexthashbinpathnamekinesisbrowserSymbollesscssTypeScripttrimLeftObjectreactexit-codeelasticachetslibdatelistenerswindowscoloursimpledbES2018ttydeep-copyECMAScript 2021executestableUint32Arrayimportexportvalueliveless compilersyntaxstylehookformsortedsnswritepluginpipestarterES2023eslint-pluginnegative zeroworkermovebabelasynctypesoperating-systemspringspawnemrfindFunction.prototype.namecolumnsec2jsdiffnested csspolyfilloutputcolumn_.extendless css
9.3.95

12 months ago

9.3.94

1 year ago

9.3.93

1 year ago

9.3.92

1 year ago

9.3.91

1 year ago

9.3.90

1 year ago

9.3.89

1 year ago

9.3.88

1 year ago

9.3.87

1 year ago

9.3.86

1 year ago

9.3.85

1 year ago

9.3.84

1 year ago

9.3.83

1 year ago

9.3.82

1 year ago

9.3.81

1 year ago

9.3.80

1 year ago

9.3.79

1 year ago

9.3.78

1 year ago

9.3.77

1 year ago

8.3.77

1 year ago

8.3.76

1 year ago

8.3.75

1 year ago

7.3.75

1 year ago

7.3.74

1 year ago

7.3.73

1 year ago

7.3.72

1 year ago

6.3.72

1 year ago

6.3.71

1 year ago

6.3.70

1 year ago

6.3.69

1 year ago

6.3.68

1 year ago

6.3.67

1 year ago

6.3.66

1 year ago

6.3.65

1 year ago

6.3.64

1 year ago

5.3.64

1 year ago

5.3.63

1 year ago

5.3.62

1 year ago

5.3.61

1 year ago

5.3.60

1 year ago

5.2.60

1 year ago

5.2.59

1 year ago

5.2.58

1 year ago

5.2.57

1 year ago

5.2.56

1 year ago

5.2.55

1 year ago

5.2.54

1 year ago

5.2.53

1 year ago

5.2.52

1 year ago

5.2.51

1 year ago

5.2.50

1 year ago

4.2.50

1 year ago

4.2.49

1 year ago

4.2.48

1 year ago

4.2.47

1 year ago

4.2.46

1 year ago

4.2.45

1 year ago

4.2.44

1 year ago

4.2.43

1 year ago

4.2.42

1 year ago

4.2.41

1 year ago

4.2.40

1 year ago

4.2.39

1 year ago

4.2.38

1 year ago

4.1.38

1 year ago

4.1.37

1 year ago

4.1.36

1 year ago

4.0.36

1 year ago

4.0.35

1 year ago

4.0.34

1 year ago

4.0.33

1 year ago

3.0.33

1 year ago

3.0.32

1 year ago

3.0.31

1 year ago

3.0.30

1 year ago

3.0.29

1 year ago

3.0.28

1 year ago

3.0.27

1 year ago

3.0.26

1 year ago

3.0.25

1 year ago

3.0.24

1 year ago

3.0.23

1 year ago

3.0.22

1 year ago

3.0.21

1 year ago

3.0.20

1 year ago

3.0.19

1 year ago

2.0.19

1 year ago

2.0.18

1 year ago

2.0.17

1 year ago

2.0.16

1 year ago

2.0.15

1 year ago

2.0.14

1 year ago

2.0.13

1 year ago

2.0.12

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

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