1.0.11 • Published 10 days ago

@dramaorg/reprehenderit-nostrum-eaque v1.0.11

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

@dramaorg/reprehenderit-nostrum-eaque 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('@dramaorg/reprehenderit-nostrum-eaque');

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

fullwidthcollectionglobalscomputed-typesmapreduceSettermratel10nnegativesymlink__proto__visualsqsproxyquotetypedfast-copymobileregular expressionreadablestream_.extendserializationpostcss-pluginupidentifiersargumentsUint32ArraybluebirdestreeincludespreprocessortrimStartbindObject.assignforEachloggingcloudtraillanguagegesturesdependenciesefficientrandomsequencepopmotioneventDispatcherlogObject.definePropertydefaultmatchesreact animationECMAScript 2015iespawnmetadatadebuggerassigncallbackclonelook-upwaitpicomatchfunctionutilmanipulationdirscheme-validationratelimitwriteES6-0concatMapsettercmdcore-jsflagbinaryautoscalingshellfasttapeES2023fileregexpdynamodbsuperagentpnpm9Microsoftcliworkspace:*shamvalidationtimechromiumcomparejavascriptreact-testing-librarynpmhasOwndescriptorsredirectelbArrayBuffer#slicemkdirsprogressoffsetcommandercolumnjapaneseparsingapolloobjrapiddebugequalglobalcloudsearchchildcolumnspyyamlassertsargumentPushinferenceemitpromiseamazononcespringArray.prototype.flatMapsettingsconfigargvstarteroptimizergraphql-clienttypedarraylastdom-testing-librarygroupweaksetentriesfeedArrayvalidecmascripttrimRightequalitymime-dbchromeECMAScript 3streams2private dataworkerUnderscoredescriptiontslibArray.prototype.includesaccessorTypeBoxreact-hook-formString.prototype.trimES2017namechineseeslinttypanionuuidec2mapmimetypeslistenerscensorimmerimmutablefast-clonetrimagentinstallerrmdirplugingetsameValueZeroregularmergeinspecttransformtypeerrordatehttpreadkinesisworkflowURLSearchParamsstdlibreal-timehelperrequestmoduletoStringTaga11yansimovees8Uint8ArrayglobdeepclonelrucloudfrontfastclonenopeStreamurlsgdprjoidataviewObject.isES2021setbrowseres2017toolkiteveryi18nvestES3weakmapJSONSymbol.toStringTagxdgmakeidswftoolsObservabletakereact-hooksgettercolorsavaarraybuffertelephoneloadbalancingsource mapPromisejsxtouchcommand-linelaunchcompilercode pointswrapposeArray.prototype.findLastIndexshim3dhascolorsyntaxcontainsquerystringforkqueueopenertyped arrayjspreserve-symlinksInt8ArraylengthterminalcircularajvES2019ES2020typesenvironmentfunctionalsafeES2016modulesapp@@toStringTagFloat64ArrayfastifylazyhooksstringifierthroattrimEndparserrgbmomentenderwritabledescriptortextlockfileTypeScriptTypedArrayprotoexehtmlfssidefilterdeepwebsiteECMAScript 2020Object.valuesperformancecallMapflatdefinelimitedArray.prototype.flatsetPrototypeOfregexsesHyBiserializerpolyfillwgetform-validationrm -frdataViewerrorpersistentarktypeapis3ObjectparentsbrowserslistRxJSawspushsymbolqsECMAScript 5ESnextmulti-packageprivateReflect.getPrototypeOftypedarrayssyntaxerrorendpointdotenvautoprefixereast-asian-widthasciitapcreatedeterministicglacierguidreworkobjectbusyprotobufrouteperformantvpchardlinksBigUint64ArrayfpsstringCSSwidthchaiarrayIteratorexecfileObject.getPrototypeOfcharactersimportexportstablees2018loggerfullframeremojiassertisConcatSpreadableES7ReactiveExtensionsthreestartboundschemautilityconcurrencyReactiveXfull-widthnumberextensioninmkdirformECMAScript 2016bundlerxhrstringifycharacteriterationcollection.es6spinnersliceeslintpluginastexecutelintFunction.prototype.nametoArraygetoptexpressionRxoptimistduplexcodeselasticacheesmonorepofunctionsphonetypekoreanpackagesslotmimeomitschemejsdiffbatchreduceSymbolgetOwnPropertyDescriptorpropertiesdayjsbundlingInt16Arraystreamses-abstracttraverseRFC-6455setImmediatetypesafesearchlimitrsscoerciblematchAllspecparserobustjshintdeep-cloneES2018keyseditorbinprefixserializeexeces7package.jsonwhatwgdirectorydependency managercss-in-jsreduxcallbindcall-boundargslibphonenumberstylemru.envES2022package managersimpledbbeanstalkexecutableformsttyObject.fromEntriesroute53keylinkECMAScript 2023cjkxmlchannelWeakMapECMAScript 2022WebSocketssharedarraybufferArray.prototype.flatten[[Prototype]]stylingespreeECMAScript 7ebswalkingnativestyled-componentses2015react posepatchremoveaccessibilityredux-toolkitopenrmsort
1.0.11

10 days ago

1.0.9

12 days ago

1.0.8

13 days ago

1.0.7

14 days ago

1.0.10

11 days ago

1.0.6

15 days ago

1.0.5

16 days ago

1.0.4

17 days ago

1.0.3

18 days ago

1.0.2

19 days ago

1.0.1

20 days ago

1.0.0

20 days ago