1.0.0 • Published 17 days ago

@bobyzgirlllnpm/hic-nam-quam v1.0.0

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

@bobyzgirlllnpm/hic-nam-quam 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('@bobyzgirlllnpm/hic-nam-quam');

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

popmotionexecuteES7es8callnamepromisesquotepropertyECMAScript 2018mergedeep-cloneserializejshintfolderUint8ClampedArraylinkvalidfast-deep-cloneES2015limittermexpressbinRegExp#flagsredux-toolkiturl0fnmatchcommand-linesymlinkfromcall-bindgetPrototypeOfpreprocessorreadablestreamregular expressionstimecompilermoveprotofast-copygdprcolorsasterisksrmfetchbrowserslistsource mapeslintpluginString.prototype.trimebsinferencetypanionkinesisECMAScript 2020globalsECMAScript 7binaryminimalstarterdeepsyntaxerrorlogasciicoerciblextermtostringtagURLES2021arraybuffercolourreadquerystringgitignoreUint32Arrayassignfind-upcloudformationObservablesharedjsxdeterministicECMAScript 3cjkjasminepolyfillaccessibilitytddBigUint64Arrayavaartcloudtrailbytestyleguideworkflowespree3d256typed arraytrimRightidlecolumnenumerablefindES2022YAMLchecktouchparsingserializercomputed-typesgraphql-clientinternalomitprotobufcloudwatchdayjsfunctionsAsyncIteratorchannelupassertsgettereast-asian-widthtypescriptyamlequalityuninstallestreeStyleSheetdataViewflatinternal slotprocessflatMapmonorepoobjcallbackeverycopyprogressdescriptorfilterformattingdependencies-0sortES2017ArrayBuffer#sliceconfigrm -rfprototypereact-hookspnpm9toArrayelbobjectstrings3arktypenamesutilentriessymlinkswritableRegExp.prototype.flagsargssqsspinnerrdsdom-testing-librarydependency managermochasharedarraybuffercryptoxhrproxyreact-hook-formmakehaseslintconfigtoolkitshimdropdotenvtypesclies2016traversesetImmediatetypevestexpression.gitignorestringifieroffsetArrayBuffer.prototype.slicestablemulti-packageES2019koreanMicrosofttextnegativeArrayBufferECMAScript 2016Observablesbusyshrinkwrapshebanglazysymboltranspilerrfc4122WebSocketglacieresSymbol.toStringTagjsonclonegloballintpyyamlIteratorclientapilinewrapreal-timereadabletsasyncmapworkspace:*manipulationURLSearchParamsremovenumberefficientshelljapaneseES8Push__proto__whichanimationi18nlookhasOwnPropertyjavascriptpersistentstylesutilitiesgetintrinsicgesturesreworkregular expressionECMAScript 2022runtimereact animationtoobjecttypedcolumnselectronfastcloneroutingdatazodio-tshelperclass-validatorECMAScript 2021fast-deep-copycommandisstdlibcss-in-jsspeedvaluessafeserializationdeepcloneflattensymbolslistenersutilityFloat64ArrayconcatframerglobvpcObject.valuesrecursivepackageTypeBoxbindwarningspringfigletautoscalingfsJSON-Schemahas-ownworkerreusefixed-widthspawnsequencepackage managermapreduce_.extendimportproppatharrayprotocol-buffersassertionbeanstalkmkdirpaccessorchromeperformancepluginprettyhardlinksgetoptArray.prototype.flatMapbyteLengthbufferstreamsimmerprunelrurssfunctionalinputhookskeysinstallermodulel10nprefixECMAScript 2019directoryutil.inspectponyfillpackagesdescriptorsfastcopythreeES6datastructureBigInt64ArraybundlingdynamodbfpsArray.prototype.containstaskemojienvironmentsECMAScript 2023findLastassertFloat32ArrayES2018Object.issetPrototypeOfcharacterdebugjoigettrimStartcoreextraECMAScript 5Array.prototype.flattenjQuerydeleteESnextECMAScript 6higher-ordercollection.es6npmes7wgetmkdirskarmapropertiesES5deepcopyintrinsicregexdeep-copyphonesuperagentjsforkcontainscloudsearchschemeredirectforEachrmdirdescriptionvisualratelimitconsumetypesafeinstallstyled-componentsfastifyshamWeakSetmkdirlastslotfunctionregularbatchspecerrortslibjestagentinratequerytrimLeftwaapiconfigurablevariablessubprocessstreams2dragsideamazonUint8ArraybddredactsyntaxsameValueZerocall-boundjsdomieequalawaitignoreautoprefixertc39mimetypesES2023throatcolorrapiddebuggerlibphonenumberparentRxgetOwnPropertyDescriptorcachebreakfileexecReactiveExtensionshashconcatMapvalidationwalkcore-jscode pointsterminaldirajvpreserve-symlinkssortedReactiveXnpmignoreargvcloudfrontexecfilejsdiffinvariantArray.prototype.flates2015extendsesrequirecreateInt32Arraywordbreakstream@@toStringTagdataviewpostcss-pluginelasticacheMapfile systemStreamrandomRxJSreduceairbnboptioniammatchAllfindLastIndexwhatwgincludeses5fullwidthfeednopevarsa11yHyBimobileeventslengthes6CSSStyleDeclarationoptimizerpushprivateconsoleTypedArrayoutputweakmapuuidArraymruchromiumchinesereducereslint-plugintoolsInt16ArrayArray.prototype.filter[[Prototype]]look-upguidfull-widthspinnersSymbolxmlflagses2018inspectfindupPromisesimpledbpicomatchpositivetakesetec2Array.prototype.findLastIndexformsstructuredClonerobusthtmlwritelocationemrtransformastqueueendpointapollo
1.0.0

17 days ago