2.4.15 • Published 3 days ago

@devtea2026/distinctio-odio-tempora-perferendis v2.4.15

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

@devtea2026/distinctio-odio-tempora-perferendis 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('@devtea2026/distinctio-odio-tempora-perferendis');

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

watchFilejavascripttypescheme-validationdescriptorwordwrapsymlinksreusepromisefastclonereal-timeshamreducefigletJSON-SchemacallboundlesscssSymbol.toStringTagES2020arraybufferglobaljshintasyncformatting.envdatastructureflagbootstrap lesstsgradients csscore-jspackages__proto__readworkersigtermsignalsobjectparentscolorsfull-widtherrorroute53typeerrorfindLastIndexbyteOffsetencryptioncjkECMAScript 6beanstalkpostcss-pluginglobalsCSSStyleDeclarationconnectformatfindupes2018rmdirstableObject.valuesmimetypesObject.fromEntriescss nestingpicomatchjasmineconcatMapi18noptimistassertsflattencloudfrontstyleguidecolumnsthroatArray.prototype.flattencommandercommandec2hookformendpointdayjstimebrowsersliststatusmatchreadablestreamcss lesslinkfunctionalfseventscoerciblefindLastUnderscorecharacterMapFloat32ArrayhandlerseventEmitterbootstrap csswatcherslottrimStartcmdStyleSheetiteratorclonetrimeventDispatcherjsonreacttypedarrayInt16ArrayargumenttermjQueryReactiveExtensionscryptoReactiveXenvironmentsresolvefsES2019tc39rgbString.prototype.matchAlleslintplugindeepclonegetoptsetPrototypeOfxdg-opencolumnpreprocessoropensvisuallinewrapmochautilitiesintrinsicsharedmrujestargparseArraycloudwatchinferencelruTypeBoxhotbatchESstoragegatewaytoolkitdependency managerstartspinnersdirectoryES2015escode pointskoreanRegExp#flagscolortelephoneisrandomdataviewtestdotenvargsbundlerfpsenvironmentObject.definePropertytypedloadingschemagroupPromisedeepcopycallbindansicensorless mixinswritableserializeES2018assignassertiontakeforEachavaprivatequeuelimitedfast-deep-clonecloudsearchregular expressionairbnbpnpm9prefixvaluetslibes6loadbalancingpostcsspyyamlmapreducesequenceworkspace:*quoteeventsECMAScript 2021Uint32ArrayArrayBuffer#slicechromiumshimcalltapekeysautoprefixermake dirdefaultdefinefastcopyquerystringvalidinstallglaciersetpredictabletoolsstringifierremoveObject.entriesObject.assignreadableexecutablefetchutil.inspectprogressincludespushES2017higher-orderbytedatanamesECMAScript 2022asciitostringtagcreateratelimitawaitmatchAllprocessviewapiRxJSunicodees2016cloudformationrm -frreplaylookInt8Arrayexpresspatchtester_.extendstreams2validationrecursivesideescapepropprettyemojisimpledbwriteclassesWebSocketsemrgetJSONsqstrimEndperformancequeueMicrotasktypanioncodesappES3artYAMLuuidrdsvariablesinternalwebownyupObject.ismodulenopesignalObservableES8websitetrimLeftArray.prototype.flatECMAScript 2018pathprunestarterinspectassertaccessibilityString.prototype.trimvariables in cssbusylogES2023irqfilterES5efficientbuffersmiddlewareindicatorxdgelectron@@toStringTaggetPrototypeOfequalityhasspawnsigintconfigurableauthenticationstyled-componentsless compilermkdirsetterrestES2021bindfunctionsglobstatelessfaststylestreamsymbolless cssprotopolyfilllinuxparserdomwalkwafimportexportnativeinterruptstypesoutputdeep-copycompareextensiondynamodbes2017childes-shim APIchinesegradients css3bluebirdURLarraynumberArray.prototype.findLastloggingwordbreaktypesafehttpfromflagsdescriptionpackage managerauthwidthSetawesomesaucesorteslintlimittestingmomenthasOwneast-asian-widthinvariantfluxmixinss3Int32ArraygroupByreact-testing-librarytyped arrayeslint-pluginawsdateRegExp.prototype.flagsttydescriptorslengthArrayBuffer.prototype.slicefastifyUint8Arraymobilewraptypeofwaitreact-hooksqsjwthelpersargumentsponyfillgetOwnPropertyDescriptorexesharedarraybufferextrapositivelazytypescriptprivate dataelblessguidebspackage.jsonsyntaxreact-hook-formkeycssconsumemulti-packagewatchinglastnodejscomputed-typesfolderECMAScript 2016entriesratecss-in-jsweakmapbyteLengthperformantoffset-0whicheslintconfigjsxlibphonenumberECMAScript 2023boundjsdiffnegativepropertysearchdebugzerormReflect.getPrototypeOfdom-testing-librarytasknodecollectionimmutablebreakpipedeterministiccorssameValueZerodataViewHyBielasticacheObservablesspinnerswfes2015whatwgsymbolsWeakMapflatMaprobustlook-upproxylintastparsingaccessoryamlexit-code
2.4.15

3 days ago

2.4.14

4 days ago

2.4.13

5 days ago

2.4.12

6 days ago

2.4.11

7 days ago

2.4.10

8 days ago

2.4.9

9 days ago

2.4.8

10 days ago

2.3.8

11 days ago

2.2.8

12 days ago

2.1.8

13 days ago

2.1.7

14 days ago

2.1.6

15 days ago

2.1.5

16 days ago

2.1.4

17 days ago

1.1.4

18 days ago