1.0.0 • Published 17 days ago

@bobyzgirlllnpm/atque-occaecati-voluptatem v1.0.0

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

@bobyzgirlllnpm/atque-occaecati-voluptatem 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/atque-occaecati-voluptatem');

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

s3npmdeterministicObject.definePropertytoArraylruprunees-shim APIlook-upwhichieAsyncIteratoraccessibilityquerybinariesasyncinstalleres5getintrinsicawaitprotocol-bufferspicomatchfastifyformsdataviewinternalreduceremojiObject.fromEntriesparserloggingprefixentriessqsminimalArray.prototype.includesstringifierworkerttyES2023Object.keysHyBies8mkdirspropposefnmatchReactiveExtensionscloudformationArray.prototype.flattenES3postcssregular expressiondirelectroncopyfullwidthrssajaxRFC-6455includestostringtagfindes2016eslintcolumnyuptestindicatorargsES8move256BigUint64ArrayrandomredirectcensorratelimitinvarianttypescriptFloat64Arrayenvironmentsutil.inspectcollection.es6dropcode pointscall-bindduplexpluginFunction.prototype.nametrimLeftECMAScript 2023sidetoolkit_.extendcloudsearchomitprototypefindLastIndexMaproute53WeakSetsource maptoobjectprogressinputwaitspinnersexeccryptotesterdeepsymlinksrmdirautoscalingajvstreamsregexpform-validationroutereducepackageshellStyleSheetECMAScript 2021httpsjsxlinewrappolyfillmake dirunicodeprotoreact-hookshttpenvstarterArray.prototype.containstakecommandArray.prototype.flatMapmkdirpnamessymbolsRegExp.prototype.flagsdependenciesbusyreact-hook-formresolveenvironmentfast-cloneECMAScript 7stablelookcss-in-jsfastcopytoStringTaggroupBymonorepoidentifierscore-jsfind-uplibphonenumberconsumemimetypeschinesesyntaxObject.entriesstdlibqueueMicrotaskcorefromMicrosoftUnderscoretddwordwrapreact animationES2017helperWebSocketsbinregular-expressionnative[[Prototype]]filterconfigPromisethroathelpersspringcolumnscommanderpackage managerrm -rfbuffersuninstallpackages.gitignoreweaksetrmiamreact-testing-libraryObject.valuesclienteslint-plugindefinePropertytypeofconcurrencyvalidatecjkrapidroutingwaapies6autoprefixerserializationTypeScriptstatelessefficientchannelcreatebindReactiveXhashvariablessymlinkpnpm9taskwrapkarmastringifyassertsJSON-SchemaeslintconfigdataViewbufferArrayBufferInt32ArrayshrinkwrapbddRxES6byteclass-validatorcommand-linerobustcollectionflatMapPushECMAScript 2015typewritejsondom-testing-libraryhardlinksObject.iseventDispatcherFloat32Arraypathwhatwgcloudwatchfullprotobufpipees-shimssesansimatchesarraybuffertelephonepropertiesassign0concatMaprm -frregularxmlUint8ClampedArrayvalueastzeroendpointchromepackage.jsonmanipulationsnsredux-toolkitdirectoryintrinsicrfc4122folderexecfilefunctionaljestbatchemrTypedArraydatastructuredomarrayskeysoptionstyleguideimportSymbolvpcthreeupparseSymbol.toStringTagdebugqueueECMAScript 3binaryES5curlsequencerequestloggerargvECMAScript 2017requirebrowserlistreusereduxphoneECMAScript 2020dragparentwgetsubprocesshasOwnzxlimitedArrayBuffer.prototype.sliceECMAScript 2018apolloswfbundlingbrowserslistESfast-copylistenersbluebirdestreecacheCSSStyleDeclarationeslintpluginexpressURLworkflowlocalproxybundlercallboundfast-deep-clonelogdeep-copyebsserializegenericseventEmittertoSortedlinkquoteobjectdategetbrowserreadabledeepcloneArray.prototype.findLastIndexredactsuperstructterminaloptimistutilitiescharacteramazonJSONinprocessnode
1.0.0

17 days ago