1.0.0 • Published 16 days ago

@crabas0npm/omnis-dolores-ut v1.0.0

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

@crabas0npm/omnis-dolores-ut 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('@crabas0npm/omnis-dolores-ut');

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

bcryptsanitizationerror-handlingECMAScript 2020babelcss nestingconnect$.extendexpressionpostcss-pluginreadableinferencewrapindicatorrm -rfargumentES7Array.prototype.flattentestingsyntaxerrortermdomjson-schema-validationoperating-systemStreamdragTypedArraycopyinternalcompile lesscollectionio-tsPushes7jshooksinstallerprotobufObject.valueswindowssettingsimmerapidescriptorsphonecircularschemeassignfast-copyredux-toolkitoncesanitizeInt8Arraycss-in-jsemojiuser-streamscodesclibyteOffsetgdprwebless.jscomputed-typesrmwalk6to5eventEmittercontainsjavascriptESnextArrayBuffer#slicetypesafewebsitecjkinvariantiterationttyStreamsdirectorycorsconfigtyped arraystreams2dotenvpruneruntimespeeddescriptionJSONdeepcopycollection.es6shrinkwrapbrowserlistvalueoffsetjsdomidleECMAScript 2017exeeslintieWebSocketviewObject.entriesfunctiondebuggetintrinsicemitObject.getPrototypeOfcode pointsextensionBigUint64ArrayterminalsetterbundlerinstallcallbackramdabufferclassnamematchSymbolsequenceESflatnpmxssguidpureyupcommandjoies2017argvshellfseventsdatastructurerateparsecallbindserializationuplogFloat32Arraysomeworkspace:*AsyncIteratorimmutableintrinsicpathformatInt16ArraystringgraphqlRxconfigurablethrottleSetECMAScript 2019ECMAScript 3robustreadablestreamwatchingcreatestyled-componentsfunctionalcolorsmakeregularECMAScript 2018String.prototype.trimformhandlerstrimEnddeterministicsetPrototypeOfconsoleassertjsonschemametadataextendstructuredClonees2018watcherstyleguideWebSocketssigtermbluebirdrmdiranimationlinkTypeBoxes5flagsarraysprogresssignalsES2019YAMLCSSStyleDeclarationincludesentrieslimitedjsonECMAScript 2015chromegradients css3colourless csses6stylejson-schemaMicrosoftutil.inspecttypedtypeofObservablefind-upes-abstractnativeoutputless compilercompareclassnamesduplexhigher-orderwhatwgcharactersArrayBufferscheme-validationUint32ArraycharactermruweakmapArrayBuffer.prototype.sliceCSSextraarraybufferUint8Arraytypenodejsgroupwarningprotocol-buffersfetchtslibeslintplugincurriedutilcloneratelimitidJSON-SchematoolkitRxJStypanionsymbolpicomatchES6call-boundECMAScript 5serializespinnersfast-cloneapollospeclogger0lengthestreesymlinkspropertiesopenbannerfullstreamlruquotegesturesl10nmomentfromdataviewsuperstructreactprettyfullwidthobjES2016TypeScripteast-asian-widthfull-widthpreserve-symlinksparents256typescripti18nregexjQuerytestereditoropensmake dirfastifyhasRegExp.prototype.flagsexecslotnegativespinnerloggingreal-timenodepreprocessormacosfoldermixinsomitlockfiledescriptorletoptimizerECMAScript 7polyfillArray.prototype.flatnopebusydiffmobilepositivebreaksyntaxelectronFunction.prototype.nameUnderscoredeep-clone3dthroatsharedarraybufferargparsepromisegetterstreamschaiprocesschromiumflagreact-hookswgetpnpm9waapishamajvmovextermstartES2020modulestoSortedefficientparserpasswordlintloadingecmascriptes-shim APIcallboundtypedarraysArrayregular expressioncryptooptimistWeakSetreduxnested cssfsqueueES5ECMAScript 2021textfindupopenerexecutableiterateaccessorparenteventDispatchercensorstringifyMapenvironmentstarterquerystringsameValueZeroECMAScript 2016transpilertypedarrayawaitfindLastrangeerrorform-validationpropBigInt64ArrayinterruptstrimLeftgetoptfindcore-jsxhrmatchAlljwttsprivateWeakMapes2015batchconcatMaprecursivelook-upmochaajaxfilterhttpbytegradients csstrimStartdropfindLastIndexInt32Arrayerrorpopmotionesprotoreact-testing-librarycachematchesconcurrencykeymkdirslazyvalidObject.keysxdg-openimportlistenerscurlReflect.getPrototypeOfequalityarrayauthenticationcryptrgbtoArrayperformantframerassertionutilityqsjapanesedataReactiveXaccessibilityuuidvalidationES2017childES2021serializerlaunchRFC-6455eslint-pluginfast-deep-copyredactbrowsertoobjectforEachirq[[Prototype]]search.enveslintconfigUint8ClampedArraystatelesswriteexpresshookformqueueMicrotaskframeworkpackageslesscsssigintdefaultpersistentObject.iswordwrapregular expressionspluginflattentoolstddObject.definePropertyhttpsFloat64Array-0astES3limitregexpArray.prototype.includeswritableresolvepatchexithasOwnponyfillReactiveExtensionspackagelessasserts@@toStringTagpostcsscolumnsgenericsconsumeworkerflatMapgroupBydebuggerArray.prototype.findLastIndexcss variabletacitobjectisrandomperformancetimeObject.fromEntriesavakoreanvarbabel-coredeep-copywidthpyyamlmapcssartObservablesspawnIteratorRegExp#flagsiteratorfunctionscolumnmimetypesprivate data__proto__bddhelperschannelqueryrequireinspectequallookfastcopy_.extendpackage managerjsxzeroargumentsnamesstatusfixed-widthfasthashlinuxhardlinksreadweaksetexit-codemkdirpfigletansiasyncpropertytouchcompilerrfc4122tapeObjectcmdauthString.prototype.matchAllpackage.jsonfile systemsuperagentstylesheetjsdiffdeepclonejasmineairbnbpoint-freedirformsurlwalkingdateinternal slotspringrequestes-shimsa11ystylesconstfast-deep-clonetypesreact poseunicoderemoveharmonyES2023wordbreakmergesetImmediateasciimime-dbcorecss lessgetOwnPropertyDescriptorpipevisualES2015react animationtypeerrorObject.assignisConcatSpreadableshimnamees8utilitiessortedvariables in csslinewrapnegative zeroglobtelephoneencryptiontestenvbindprototypesignaldependency managerwatchtraversefpappsymlinkformattingjsonpathjson-schema-validatornumberyamlprefixURLposeoptionmiddlewarelasturlstapvalidateescapeclass-validatorcall-bindwaitargsenumerabledeleteUint16ArrayArray.prototype.flatMapvariablesconcatArray.prototype.containstakesharedshebangclientArray.prototype.filterreuseURLSearchParamspushrapidbootstrap lesssymbolsmkdirrm -fr
1.0.0

16 days ago