2.1.30 • Published 1 year ago

@dramaorg/reprehenderit-nostrum-eaque v2.1.30

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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
2.1.18

1 year ago

2.1.19

1 year ago

2.1.27

1 year ago

2.1.28

1 year ago

2.1.25

1 year ago

2.1.26

1 year ago

2.1.23

1 year ago

2.1.24

1 year ago

2.1.21

1 year ago

2.1.22

1 year ago

2.1.20

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

2.1.29

1 year ago

2.1.16

1 year ago

2.1.17

1 year ago

2.1.30

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.10

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago