1.0.0 • Published 15 days ago

@bobyzgirlllnpm/nulla-sunt-fugiat v1.0.0

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

@bobyzgirlllnpm/nulla-sunt-fugiat 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/nulla-sunt-fugiat');

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

sesperformant0Underscorequerystringes2016utilcolumnsdependency manageriteratoreslintconfiga11ybufferstypedchromiumlinewrapcallboundurldeepcssArray.prototype.includeslocalshimES5managerspeedMapecmascriptaccessibilitypicomatchJSON-SchemaconsoleinstallsetterweakmapFloat64ArrayObject.definePropertyObjecttoolkitjsdiffdependenciesbindreduxArrayBufferstreams2binariesidajaxtypeofquoteboundmruajvreducecallbackenvironmentsdirartmulti-packageredacteventEmitterArray.prototype.findLastIndexspecpreserve-symlinkssyntaxerrorRegExp.prototype.flagsRxJSrmresolveautoscalingiamformscjk.envyupprocessInt32ArraytraverseoptimistString.prototype.trimstyleguidebddES2022regular expressionsstdliblruSymbolutilityprivateObject.valuesfileloggingswfBigInt64Arraypnpm9ES2018manipulationInt16Array256find-upcensormime-dbthreeagentECMAScript 2022browserslistcachesidelookwraphasOwnPropertymomentsqscryptoscheme-validationenumerablebundlerECMAScript 2016espreeredux-toolkitconcatglobtestbannerpositiveString.prototype.matchAllWebSocketsstatelessredirectworkerisConcatSpreadablearraysES2023curlaccessorname3dmakepostcss-plugincodeshigher-orderfsregulardescriptorsstoragegatewaydataviewreact-testing-librarytrimEndECMAScript 2018propertiesforkairbnbequalimmutableidleES2015make dirwalkhookformTypeScriptcloudtrailes-shim APImetadatadescriptionnopeinspectterminalcollection.es6listenersmkdirsymbolassertwhichreadableenvironmentnegativeECMAScript 2020compilerfullwidthconsume[[Prototype]]checktouchdomarktypedescriptorObject.getPrototypeOflazyreact animationextraPromisecharactersstylesbrowserlistparsercoerciblehasOwngetprefixsameValueZerofastclonespinnercall-bounddynamodbmkdirsshamasterisksmoveemitregexReflect.getPrototypeOfkinesiskeysymbolsdeepclonereworkexecshebanglocationasyncincludesWeakSetIteratorsliceentriesES6ignoreimportexport@@toStringTagstylingjasmineapolloMicrosoftstringifyworkflowbyteOffsetcollectionutilitiesfetchjsdomdeterministicexecfileJSONpackagedragemojichildthrottlenumberclass-validatorArrayBuffer.prototype.slicebrowserconcatMapschemasortmochacomparedataxhrwordwrapArraymapreducetyped arrayflatbyteLengthworkspace:*startervalidationfindupglobalvariablesnpmignoremodulesloggerfull-widthcallbindformatelectronUint8Array$.extendArrayBuffer#slice__proto__trimLeftgetPrototypeOfchannelinputcolorregular expressionECMAScript 2019avaroutingprotoeventDispatcherestreesymlinkviewschememergerfc4122Observableclonetestingrgbttyfullpyyamlreact posefastifyArray.prototype.findLasttypetrimStartcloudformationtslibtoArraysharedes2018concurrencytypescriptphonebuffertapeconfigurablereadablestreamfindLastIndexuuidsetImmediateeventsRegExp#flagsTypedArrayeslintStyleSheetuninstalles8throatreactobjimportfast-copycore-jsTypeBoxstreamsource mapkarma.gitignorechaicode pointsargvObject.isPushpolyfilldeep-copystringflagstyled-componentsflattenownReactiveExtensionsguidregexptoolsassertstoSortedgraphql-clientlogyamlObject.assignES3typanionObject.fromEntriesfoldertrimsymlinksposeprivate dataidentifiersawaitprotocol-buffersESoptimizerlimitbinaryparentUint16ArrayframerlanguagecopyfilterfunctionsbincreatelastArray.prototype.flatbytewriteoptioninstallerinternalvarsjsECMAScript 2017fixed-widthsuperagentArray.prototype.containsgetOwnPropertyDescriptorfastcopyzeroexecuteCSSserializerwalkingequalityutil.inspecttimeloadingES2017writablerequireserializegenericsforEachtypedarraysbatchWeakMapregular-expressionsimpledbprotobufinvariantECMAScript 6ECMAScript 7beanstalkUint32ArrayiterationansiECMAScript 2015vpcdeep-clonewhatwgvestObject.keysescapeES2016awsCSSStyleDeclarationpropspringwafargsbundlingcloudwatchwaitexpressec2queueMicrotaskmaptranspilerpathsetrm -freveryfastrobustcall-bindgitignoreasciistructuredClonepromisewarningdirectorycolorsmatchjavascriptextenddatastructurevalidxmlanimationpackagesieRxpluginrapidcallpropertyweaksetmkdirpstreamsglacierprototypesetPrototypeOfatomroutemodulefindLastproxylockfilemimeYAMLdropastHyBiUint8ClampedArrayserializationtesterlibphonenumbersharedarraybufferjQuerylinkfpsArray.prototype.flattendataViewreal-timefeedimmerSetlimitedvisualgraphqlES2020errorECMAScript 2021io-tsstylepreprocessorhas-ownarrayduplexuphooksperformancermdircloudfrontsafetermnodeponyfillautoprefixerfindcommand-linetspackage.jsonECMAScript 3deepcopyes-shimsnamescommandsomefast-clonefunctionrdsStreamcolourSymbol.toStringTagchineseESnextassertionxtermjsonconfigsettingstostringtagqsintrinsicpatchformattingwidthendpointnegative zerovaluepostcssintakeflatMapprettycss-in-jsdebuges7lintvaluespruneparsees6internal slotrangeerrorfile systemclientdayjsloadbalancingmatchAllmimetypesFloat32Arrayrm -rffast-deep-copyfnmatchargumentdotenvkeysisdefinePropertyglobalspersistentES7shelltaskunicodeawesomesauceessyntaxapirequesthtmlwaapisubprocesstransformhelpersdebuggerbluebirdchromeoutputquerymobileonce
1.0.0

15 days ago