5.8.60 • Published 2 years ago

@zitterorg/magni-eos v5.8.60

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@zitterorg/magni-eos 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('@zitterorg/magni-eos');

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

MapprogressvariablesStreamsimpledbsharedarraybufferdayjsES20220chaireact-testing-libraryobjchildmkdirpaccessorebsrestdeepcopygenericstransportnopeObject.assignpurefantasy-landtapevalidatesyntaxEScurlspecmake dirpruneArray.prototype.filterrmestreekarmamoduletrimRightregular expressionsqshtmldynamodbprocessscheme-validationcollection.es6react-hook-formCSSarrayswhatwgTypeScriptbrowserslistchineseparsetranspilefullloadingimportexportidentifiersendpointECMAScript 7finduphasObjecttestingunicodemapES2021esstringifierroutebusyhashsafejsdiffsomevalidatorlanguagejestpackagephonearrayMicrosoftcolourECMAScript 5postcsstypestsfast-cloneESnextinferencefpstructuredClonetypeerrormatchgetoptfront-endsetImmediateequalslotvalueparentsvalueswritablesortelectronspinnercallbindURLSearchParamswafbindclassnameSymbol.toStringTagECMAScript 2023assign__proto__ECMAScript 2015visualruntimelintfile systemback-endSymboluuidjson-schemafnmatchsesCSSStyleDeclarationsideECMAScript 2022Uint32ArrayflagstakeFloat64Arrayes5asyncreduxfast-deep-copyassertiteratorgetOwnPropertyDescriptorObject.keysexpressionjsdomnodejsFunction.prototype.nameuser-streamssetPrototypeOfimporta11ynpmignoreutilastpluginjasminesinatratypedarrayshellmkdirroutinges6arraybufferi18ncircularfetchStreamsObject.entriesqueueprefixxhrgesturesflattypeofrgbwebcoverageeslint-plugineslintconfiges2016weaksetreducerenvironmentstreamtermrouterloadbalancingfastHyBiworkspace:*fastifyrandomtrimEndJSON-SchemaconcatMapshimposeSetUint8ArrayObject.isjapaneseintrinsicdataViewframeworkmakezxinstalleryamlregularmapreducevestelbTypedArrayes-abstractpatchwhichregexcurriedstyleguidetrimLeftservicejsonfpsnativefunctionglobalseventEmitterTypeBoxes2015diffform-validationmulti-packagegdprhas-owniddependencieslookgitignoretoReversedbundlingconsumeglacierECMAScript 3sameValueZerolethooksquerystringString.prototype.trimtypescriptoffsetgraphqlArrayBuffer.prototype.slicegroupinspectcheckhasOwnPropertystringifyfastcopygetintrinsicobjectperformantartsymbolsrulesloggingdefineisConcatSpreadabletrimStartawesomesauceReactiveXsetteristanbuldependency managertoobjecttest256varsbabelqueryrm -rffoldergetPrototypeOfES2023feedincludesacornframercloudtrailbddfunctionalgetnegative zerotoSortedavafull-widthtc39airbnbsettingstrimcloudwatchoutputwgetcommand-lineglobalpipetacitbrowserlistflattenapiECMAScript 2020Rxes7WeakMapdom-testing-librarylocationdeterministicreact animationes2018censorbannerpostcss-pluginstartershebangappresolveonceArrayBufferjsxemojiajaxeslintpluginES2016fixed-widthtools6to5streamslastIteratormockinglog.envObject.getPrototypeOfhardlinksPushmergeECMAScript 6ECMAScript 2019react-hooksAsyncIteratoratomagenttostringtagswfbufferinternalPromiseargumentObject.definePropertyreversedtimeeventsprototypereadespreetypedarrayssuperstructes2017ES2019enderqsroute53ismanipulationbabel-coreES2020xtermfullwidthemrUnderscoretoArraypicomatchfilesymbol[[Prototype]]columnpropvalidationes-shimsES5beanstalkclientconstpackage managerpoint-freestylingcoreYAMLrangeerrorformscallponyfilltypesafechromeeventDispatchersymlinkslistenersutilsnodecommandES6stablesearchworkerbinaryhigher-ordercall-boundweakmapdirectorysuperagentharmonycreates3l10nchromiumbundlerregular expressionsbufferscliBigUint64Arrayregular-expressionserializeindicatorclassesdeepeveryslicedeep-copy@@toStringTagerrorutil.inspectObservablesiamsubprocessreal-timeproxyArray.prototype.flatjsonschemaspringguidmobileextrareworkcloudfrontkoreanlibphonenumberprotocol-buffersextendfunction.lengthtyperedux-toolkitignorecall-bindentrieslocalUint16ArrayReactiveExtensionstypedcollectionrfc4122inputfindLastnamesemiteslintstringcloneformatcacheES7configurableinvariantjoiinstalliteratermdirmkdirstyped array_.extendwritelengthajvfastcloneefficientjson-schema-validationpushwaitformattingstyled-componentscloudformationString.prototype.matchAllnameUint8ClampedArrayserializationhandlersortedec2minimalpolyfillzeroArray.prototype.findLastreversefilterreadablestream-0threeenumerableloggertransformrequiremruArray.prototype.flatMaprequestRegExp.prototype.flags3dterminaldropexpressmockArray.prototype.includespinorobustamazonttyperformanceuppreprocessortoStringTagcoercibleownexectslibviewschemaflagjsES2015forEachpromisedescriptordeep-cloneidlereusepositivecolorsreactArray.prototype.flattenmochaflatMapStyleSheetcompilerrapiddeletebinecmascriptoptimizerpathcharacterdataviewes-shim APIpackagesexecuteramda
5.8.60

2 years ago

5.8.56

2 years ago

5.8.57

2 years ago

5.8.58

2 years ago

5.8.59

2 years ago

5.8.53

2 years ago

5.8.54

2 years ago

5.8.55

2 years ago

5.8.52

2 years ago

5.8.50

2 years ago

5.8.51

2 years ago

5.7.50

2 years ago

5.7.49

2 years ago

5.7.48

2 years ago

5.7.47

2 years ago

5.5.40

2 years ago

5.5.41

2 years ago

5.3.29

2 years ago

5.3.28

2 years ago

5.3.27

2 years ago

5.5.44

2 years ago

5.4.32

2 years ago

5.4.33

2 years ago

5.5.42

2 years ago

5.4.30

2 years ago

4.3.19

2 years ago

5.5.43

2 years ago

5.4.31

2 years ago

4.3.18

2 years ago

5.4.29

2 years ago

5.5.39

2 years ago

5.5.37

2 years ago

5.5.38

2 years ago

5.5.35

2 years ago

5.5.36

2 years ago

5.6.44

2 years ago

5.5.33

2 years ago

5.5.34

2 years ago

5.6.46

2 years ago

5.6.45

2 years ago

3.3.14

2 years ago

3.3.15

2 years ago

3.3.16

2 years ago

3.3.17

2 years ago

3.3.18

2 years ago

5.7.46

2 years ago

4.3.20

2 years ago

4.3.24

2 years ago

4.3.23

2 years ago

4.3.22

2 years ago

4.3.21

2 years ago

4.3.27

2 years ago

4.3.26

2 years ago

4.3.25

2 years ago

3.3.13

2 years ago

2.3.13

2 years ago

2.3.12

2 years ago

2.2.11

2 years ago

2.3.11

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.2.11

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