9.3.95 • Published 10 months ago

@diotoborg/voluptate-eius v9.3.95

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

10 months ago

9.3.94

10 months ago

9.3.93

10 months ago

9.3.92

10 months ago

9.3.91

10 months ago

9.3.90

10 months ago

9.3.89

10 months ago

9.3.88

10 months ago

9.3.87

10 months ago

9.3.86

10 months ago

9.3.85

10 months ago

9.3.84

10 months ago

9.3.83

10 months ago

9.3.82

10 months ago

9.3.81

10 months ago

9.3.80

10 months ago

9.3.79

10 months ago

9.3.78

10 months ago

9.3.77

11 months ago

8.3.77

11 months ago

8.3.76

11 months ago

8.3.75

11 months ago

7.3.75

11 months ago

7.3.74

11 months ago

7.3.73

11 months ago

7.3.72

11 months ago

6.3.72

11 months ago

6.3.71

11 months ago

6.3.70

11 months ago

6.3.69

11 months ago

6.3.68

11 months ago

6.3.67

11 months ago

6.3.66

11 months ago

6.3.65

11 months ago

6.3.64

11 months ago

5.3.64

11 months ago

5.3.63

11 months ago

5.3.62

11 months ago

5.3.61

11 months ago

5.3.60

11 months ago

5.2.60

11 months ago

5.2.59

11 months ago

5.2.58

11 months ago

5.2.57

11 months ago

5.2.56

11 months ago

5.2.55

11 months ago

5.2.54

11 months ago

5.2.53

11 months ago

5.2.52

12 months ago

5.2.51

12 months ago

5.2.50

12 months ago

4.2.50

12 months ago

4.2.49

12 months ago

4.2.48

12 months ago

4.2.47

12 months ago

4.2.46

12 months ago

4.2.45

12 months ago

4.2.44

12 months ago

4.2.43

12 months ago

4.2.42

12 months ago

4.2.41

12 months ago

4.2.40

12 months ago

4.2.39

12 months ago

4.2.38

12 months ago

4.1.38

12 months ago

4.1.37

12 months ago

4.1.36

12 months ago

4.0.36

12 months 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