3.1.23 • Published 1 year ago

@juigorg/id-reprehenderit-ratione v3.1.23

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@juigorg/id-reprehenderit-ratione Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES spec-proposal-compliant Object.fromEntries shim. Invoke its "shim" method to shim Object.fromEntries 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 proposed spec.

Most common usage:

var assert = require('assert');
var fromEntries = require('@juigorg/id-reprehenderit-ratione');

var obj = { a: 1, b: 2, c: 3 };
var actual = fromEntries(Object.entries(obj));

assert.deepEqual(obj, actual);

if (!Object.fromEntries) {
	fromEntries.shim();
}

assert.deepEqual(Object.fromEntries(Object.entries(obj)), obj);

Tests

Simply clone the repo, npm install, and run npm test

$.extendcloneprotoHyBifindLastrmsetPrototypeOffilterartjavascriptterminalRegExp.prototype.flagsrateprotobufinterruptsArray.prototype.containstaskES2018settingsconcatMapreduxcodespropertyhashbytemkdirsreducerpostcsshasOwncreateES2022ECMAScript 2021ECMAScript 3specless cssqueryparsewaitclasseshookspackage managerInt32Arrayeslintvaluestypesafecryptoagentform-validationwgetzeroprivateformPushdotenvfast-copymergesymlinksbufferses6utilitynodejsbrowsersortedchannelObject.valuesasynces2015libphonenumberstringifierhardlinksparentcharactershasOwnPropertytypeoftypescripthttpcomparerangeerrores2016slotstatelessECMAScript 2017matchAllserializetesterfastclonestarterredux-toolkitwindowsstringJSONbatchmoveisgradients cssexpressECMAScript 7enumerablemkdirpWeakMapregexsymbolsidlepredictablemetadatanegativeObject.isgdprcommandertestgradients css3getPrototypeOftermpackage.jsonexecstatussymlinkfast-deep-clonesinatrabootstrap lessBigUint64Arrayhas-ownmoduleless compilerspinnersmake dirsidepolyfillhookformrequestflatten0sequenceregular expressionoptimizermakefastifysigtermpromiseparserexit-codeECMAScript 2023packagepasswordsignalcolumnReactiveExtensionsECMAScript 2019proxystateemrfindtestingJSON-Schemareact-testing-librarydiffES5routejestmulti-packageReflect.getPrototypeOfUint8ClampedArraystringifytrimEndsomeidperformanthandlerselectronenvironmentxhrfrominrobustcloudtrailArray.prototype.flattenbrowserslistRegExp#flagsregular expressionsfselmformattingemitchromethrottleArray.prototype.includeslinewrappositivecss variableec2configurablekeys
3.1.18

1 year ago

3.1.17

1 year ago

3.1.23

1 year ago

3.1.22

1 year ago

3.1.21

1 year ago

3.1.20

1 year ago

3.1.19

1 year ago

3.1.16

1 year ago

3.0.13

1 year ago

3.1.15

1 year ago

3.0.14

1 year ago

3.0.15

1 year ago

3.0.12

1 year ago

3.0.11

1 year ago

3.0.10

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.8

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