2.6.72 • Published 11 months ago

@dramaorg/dicta-praesentium v2.6.72

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@dramaorg/dicta-praesentium 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/dicta-praesentium');

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

ES2022.gitignorefullwidthmatchesJSON-SchemastyleyamlcheckvalueslintsetterargvtypesES2018asterisksArray.prototype.findLastcloudsearchECMAScripttrimEndawshtmlprivate datafindLastIndexUint8Arrayredux-toolkitanimationArray.prototype.flatMapdragclass-validatorWebSocketnativefullES2019react animationdataViewprefixkinesisrgbatomstringifiervaluemakeeslintconfigappHyBilinkflattensometoobjectweaksetchineseaccessorsortedschemees8regexscheme-validationeast-asian-widthsymbolsbrowserarraybufferfunctionnopedeep-clonegdprObject.assignexecutesnsinferenceUint16Arraypushloggingjson-schemapnpm9Array.prototype.findLastIndexIteratorObservablegetdom-testing-librarynpmgetOwnPropertyDescriptorponyfillArray.prototype.flattenESString.prototype.trimautoprefixerpackage managerconcattoReversed-0es7ES5astemithas-ownes2018source mapconstcoerciblepureqsextendrequirecontainsrangeerrortsrobustdeepstringifyansibufferrestfulutilitiescoveragerm -rfparsedataviewtypeerrorpackagesflatMapeventsidentifierspropertieschainamesqueueMicrotaskinternalnodeglobignorestarterconcatMapenvironmentsroute53Reflect.getPrototypeOfio-tsjasmineextrapreprocessorownspinnersincludesforkfindupiterategetintrinsicES2017sqsfsfpsruntimevarsObject.fromEntriesfastifyexecfileSymbol.toStringTagtypeofInt8ArraypromisetypesafeECMAScript 2016mochaES2021point-freesameValueZerodefineuser-streamslookpicomatchdomSystem.globalvpcutil.inspectxhrrouteintrinsicminimalmonorepokoreanemojiECMAScript 2023helperwhatwgtranspileglacierreadablestreamuninstallpostcsslruasciibeanstalkObservablestexttypedarraymulti-packagerequestSymbolsymboltraversecallbindsortoffsetbinsubprocessmkdirdescriptionglobal this valueinreal-timecalldebughooksUnderscoreenvironmentglobalThisregular expressionsimportexportfetchshellairbnbgitignoretrimRightes5ArraythreesafeweakmaprecursivebyteOffsetfastbindstyleguidecolorkarmastabledeep-copyspinnerrfc4122rssjQueryTypeBoxvariablesRxcallbackES2023mruECMAScript 6call-boundmapreduceterminalpostcss-pluginfull-widthcallboundzxoptionbabelconfigshimpyyamlselflibphonenumberPushjsxmake dircompareresolveprotobufbuffersregularistanbulFloat64ArrayagentexpressionendpointbrowserslistWeakSetistostringtagregular-expressionfast-deep-copypropertyregexpArray.prototype.containscode pointsrulesassertionlocationchannelfast-deep-clonesuperagentjoiwarningspringreducerArrayBufferObject.entriesframeworkECMAScript 2020es2017fnmatchzerolockfilerapidartinstrumentationfromjson-schema-validatornodejs256guidprunePromisechromesidecoreCSStc39moverouterURLtouchwritedeleteprivatenpmignorepinoeffect-tsgetPrototypeOfvisualtermcore-jsES2020propnegativedateECMAScript 2017objtestinglistenersdependenciesmatchMaptypescriptreactinstallereventDispatcherprotocol-buffersclonebundlerfile systempopmotioneveryvalidcodesRegExp.prototype.flagspositivermspeedlogcliES7react-testing-librarytoStringTagfast-cloneecmascriptloggerjsonutils_.extendtelephonesharedarraybuffer[[Prototype]]setdynamodbyupcharactersUint8ClampedArrayES2015cloudwatchwidthboundjsdiffgettermergeindicatoruuidfeedtoSortedcachestringmanagera11yfpcreatecryptonegative zeroRegExp#flagstrimLefttoArrayoptimizerWebSocketsbannerhasOwnPropertyimmutableeventEmitterunicodeassigntransportcomputed-typesmomentfunctionssuperstructcommand-lineglobalsECMAScript 7loadbalancingArrayBuffer#slicedotenvsyntaxtransformvalidatehookformoptimistBigInt64Array0japanesechildreact-hookscolumnsBigUint64Arrayes2016dataamazonelb6to5TypeScriptpatchquerystringdayjsmanipulationes-abstract.envjshintespreejsdomflat@@toStringTagcopyrdswaitclientdescriptorsflagsmobilewindowwafebsomitproxychromiumObject.issetPrototypeOfworkerinternal slotgraphqles-shim APIreadreadableArray.prototype.filterdeterministicCSSStyleDeclarationfunction.lengthObject.getPrototypeOfstylingbundlingschemasesReactiveXRxJScolourfastclonees6Object.definePropertytddECMAScript 5look-upfunctionalperformanceefficientpackage.jsonredactelasticachetacitremoveArray.prototype.includesvalidationhttpautoscalingredirectquerysinatraECMAScript 2022iteratorfolderharmonyisConcatSpreadableloadingbusydependency managerString.prototype.matchAllclassnamesclassnameObject.keyssimpledbES8react posesearchpluginiamreversedpatharrayajaxqueuewalkingfileeslintStyleSheetviewcurlelectronUint32Arrayavatestdiffformattingform-validationawesomesaucecolorsquoteECMAScript 2019Object.valuesimportsharedtakeserializationec2filterSetlocalcircularregular expressionvareslintpluginhttpsAsyncIteratorcolumnsyntaxerrordroptapenameECMAScript 2018helpersswfcloudfrontshrinkwrapglobalstoragegatewayMicrosoftpipecssInt16Arraylastcloudtrailwgetcharacteracorneslint-pluginrmdirenvstyled-componentsYAMLinstallES2016reduxvalidatorcensoronceequalexecgrouptypedserializerwaapiprototypextermspeclengthhardlinkstslibprocessttystreamsdebuggertypeenumerablekeyl10nStreamsdirframerutilityflagidramdaassertsprogresstimeJSONexpressarktype__proto__collectionstylesfigletinputarrayscommandupshebangconfigurabletrimargumenttypedarraysinspectdeepcopysliceURLSearchParamsjavascriptforEachsettingsparserconsolecommanderkeysRFC-6455languageimmerfast-copy3ds3zodslottyped arraysymlinkscompilerendersetImmediateaccessibilityfindasynctoolkithaswhichArray.prototype.flatmodulesbyterestcjkprotoreversecollection.es6objectletes-shimsequalityReactiveExtensionsbdddefinePropertyparentargsidlereact-hook-formgesturesbabel-coreposeES6testermapfindLastgenericsFunction.prototype.nametrimStart$.extendmatchAllECMAScript 2015TypedArrayFloat32Arraymoduleformatemrjsonschemaparentsvestfixed-widthxmldirectoryesformcall-bindgroupByfantasy-landescapewebapolloestreeWeakMapspawniepackagepolyfillbyteLengthcloudformationformsdescriptorECMAScript 2021phoneECMAScript 3urlprettymkdirpwalkdeepclone
2.6.72

11 months ago

2.6.71

11 months ago

2.6.70

12 months ago

2.6.69

12 months ago

2.6.68

12 months ago

2.6.67

12 months ago

2.6.66

12 months ago

2.5.66

12 months ago

2.5.65

12 months ago

2.5.64

12 months ago

2.5.63

12 months ago

2.5.62

12 months ago

2.5.61

12 months ago

2.4.61

12 months ago

2.4.60

12 months ago

2.4.59

12 months ago

2.4.58

12 months ago

2.4.57

12 months ago

2.4.56

12 months ago

2.3.56

12 months ago

2.2.56

12 months ago

2.2.55

12 months ago

2.2.54

1 year ago

2.1.54

1 year ago

2.1.53

1 year ago

1.1.53

1 year ago

1.1.52

1 year ago

1.1.51

1 year ago

1.1.50

1 year ago

1.1.49

1 year ago

1.1.48

1 year ago

1.1.47

1 year ago

1.1.46

1 year ago

1.1.45

1 year ago

1.1.44

1 year ago

1.1.43

1 year ago

1.1.42

1 year ago

1.1.41

1 year ago

1.1.40

1 year ago

1.1.39

1 year ago

1.1.38

1 year ago

1.1.37

1 year ago

1.1.36

1 year ago

1.1.35

1 year ago

1.1.34

1 year ago

1.0.34

1 year ago

1.0.33

1 year ago

1.0.32

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

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