5.8.60 • Published 1 year ago

@zitterorg/magni-eos v5.8.60

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

1 year ago

5.8.56

1 year ago

5.8.57

1 year ago

5.8.58

1 year ago

5.8.59

1 year ago

5.8.53

1 year ago

5.8.54

1 year ago

5.8.55

1 year ago

5.8.52

1 year ago

5.8.50

1 year ago

5.8.51

1 year ago

5.7.50

1 year ago

5.7.49

1 year ago

5.7.48

1 year ago

5.7.47

1 year ago

5.5.40

1 year ago

5.5.41

1 year ago

5.3.29

1 year ago

5.3.28

1 year ago

5.3.27

1 year ago

5.5.44

1 year ago

5.4.32

1 year ago

5.4.33

1 year ago

5.5.42

1 year ago

5.4.30

1 year ago

4.3.19

1 year ago

5.5.43

1 year ago

5.4.31

1 year ago

4.3.18

1 year ago

5.4.29

1 year ago

5.5.39

1 year ago

5.5.37

1 year ago

5.5.38

1 year ago

5.5.35

1 year ago

5.5.36

1 year ago

5.6.44

1 year ago

5.5.33

1 year ago

5.5.34

1 year ago

5.6.46

1 year ago

5.6.45

1 year ago

3.3.14

1 year ago

3.3.15

1 year ago

3.3.16

1 year ago

3.3.17

1 year ago

3.3.18

1 year ago

5.7.46

1 year ago

4.3.20

1 year ago

4.3.24

1 year ago

4.3.23

1 year ago

4.3.22

1 year ago

4.3.21

1 year ago

4.3.27

1 year ago

4.3.26

1 year ago

4.3.25

1 year ago

3.3.13

1 year ago

2.3.13

1 year ago

2.3.12

1 year ago

2.2.11

1 year ago

2.3.11

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.2.11

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