4.6.63 • Published 12 months ago

@zitterorg/porro-quidem v4.6.63

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

@zitterorg/porro-quidem Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES2017 spec-compliant Object.values shim. Invoke its "shim" method to shim Object.values 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 values = require('@zitterorg/porro-quidem');

var obj = { a: 1, b: 2, c: 3 };
var expected = [1, 2, 3];

if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') {
	// for environments with Symbol support
	var sym = Symbol();
	obj[sym] = 4;
	obj.d = sym;
	expected.push(sym);
}

assert.deepEqual(values(obj), expected);

if (!Object.values) {
	values.shim();
}

assert.deepEqual(Object.values(obj), expected);

Tests

Simply clone the repo, npm install, and run npm test

awesomesauceerrorjoidescriptorstrimStartfastifythreeprogresssimpledbsymlinkscensorslotdescriptorprophelpersUint8ClampedArrayHyBieventEmittercallboundmatchesmulti-packageroutedropdirectoryrmdirtoolssetPrototypeOfrsssearchformfunctioninternal slotWebSocketAsyncIteratorclassnamecompilerpostcss-plugintypesinspectmomentincludesaccessibilityECMAScript 2015toobjectcurlindicatorpyyamlES7ES2023babel-coreArray.prototype.filterReflect.getPrototypeOffeedbinariesbyteOffsetjsonES2020rmECMAScript 2018callbackreadablestreamdeep-copyinputstreamsArray.prototype.findLasttddextendchromejapaneseReactiveXhardlinkspinoObject.getPrototypeOfsymbolpackagesvariableshookformWebSocketsglobaleverychannelschemeReactiveExtensionsspinnersprivatelibphonenumberstylingfullwidtheslintconfigpipeautoprefixerwalkingcreateclass-validatorendera11yTypedArrayBigUint64Arraydatestylejsonschemahttpsobjectrm -rfArrayBuffer#sliceString.prototype.matchAllreducermapreduceastreact-hooksgrouptrimhigher-orderwebhandleroptimizerfastdeleterestfulcallbindECMAScript 7ownstructuredClonesharedarraybufferdebuggerObject.entriesMapinferencees-shim APIpicomatchendpointxtermserializer0toSortedoptionsliceyamlec2mrustringroutingqsieglobworkflowflagsfnmatchlocationfastcopypropertyemojiassertsmockingflattendependency manageroffsetefficientdebugnegativetypedarraydirvarsavabannerflagjsxeventscall-bindvalidationsuperagentprunereact-hook-formasciiStyleSheetspeccloudformationtypedenumerablearrayparseremovetimenpmlook-upatomjson-schemakeysexecfileajaxSymbol.toStringTagInt16Arrayes6WeakSetpushserializebrowserslistfpsunicodeargument3ddataexecpatchpolyfilllookECMAScript 2017regular expressionmonoreposameValueZeroflatMapterminalStreamstypeerrorprivate dataintrinsiccommanderartnodejsvisualshellforms_.extend$.extendexpressionfront-endtyped arrayTypeBoxdiffresolveprocesspreprocessorserializationapollooncefigletglobalsrecursive-0readableObject.fromEntriesspinnerconcatMapRegExp.prototype.flagsidledayjsgroupBycallelbshimexpressquerystringequalxmlinvarianttypeRxJSdefinefullpoint-freecloudsearchsortedasyncobjtrimLeftvalueajvgetOwnPropertyDescriptorhas-ownmoduleprototypeinstallshebanglanguagereadgraphqlutilscopydragcode pointsPromisecoveragees2018amazonvaluesparserbyteLengthredirectdeepcopytermcharacterswarningstreamhelperzodsorthastypescriptgetPrototypeOfconstUint8ArrayframerJSON-SchemaeventDispatchervalidatorreworkwaapiecmascript@@toStringTagshamECMAScript 2020keytranspilecloudtrailcolorseslint-pluginlengthswfObjectES5ES2015configoutputwritablemetadataguidperformancepackage managerchromiumurlstarterfindLastnamesCSSStyleDeclarationsyntaxstyleslistenersjasmineimmutable6to5setterenvironmentairbnbesentriesmanipulationanimationeslintcjkfpestreeisConcatSpreadabletapnpmignoreArray.prototype.flatMapIteratorbeanstalkparentsutil.inspectstringifiercolumnback-endgetoptyupconsoletoArraywriteStreamutilityreactdotenvextraschemaString.prototype.trimsyntaxerrorPushInt8Arraycall-boundconcatcollection.es6Function.prototype.nameECMAScript 3SymbolhashreversedSetfromES8.envarktypecore-jscharacterreducewaf.gitignoreemrregexrouterprettykinesisomitloggingexecutespringargsformatpopmotioni18nnopematchforEachES2018minimalpositivemodulessubprocessURLtelephonesafereversejson-schema-validatoristanbultrimEndreal-timeflatapizxweaksetECMAScript 2022jsdiffpropertieslrulockfilesetImmediatehtmlUnderscorecloudfrontjsUint32Arraystyleguidefunction.lengthparentWeakMapimportFloat32Arraystoragegatewaytestingregexpbundlingfast-deep-cloneuser-streamsObservablesglaciercurriedtslibassignbufferfast-cloneECMAScript 2021localfast-deep-copycontainsbyterobustArrayBuffercodeslastruntimeES2019regularcomputed-typeses8colorfile systemcloudwatchtoolkitoptimistURLSearchParamsuuidspeedObject.valueses7javascriptio-tsstableECMAScript 2019ignorenegative zerotypedarraysfunctionalmkdirpebstextchildansiuninstallprotocol-buffersperformantawsloggervalidatequeryelasticacheArray.prototype.flatpackagepromisesettingsfetches-shimses2016sidecollectionmkdirsutilitiespackage.jsonlinktraversehasOwninstrumentationfixed-widthvardynamodbcloneviewloadbalancingmoveimmerstringifyenvECMAScript 6rangeerrorqueuetouches5east-asian-widthrulesprotobufmaketransform[[Prototype]]hasOwnPropertyconfigurableredux-toolkitprotoacornreact posecoreES2022css-in-jsassertionemitrandomcheckeslintpluginworkspace:*classnamespureconsumereact animationinECMAScript 5hooksframeworkES2017xhrkarmabrowserECMAScript 2016jsdom256letrgbfindLastIndexaccessorbuffersArray.prototype.includessymbolsinstallerrequesttypeoffast-copycoloursharedharmonybintypesafebabelforkequalityCSSasterisksmake dirJSONregular expressionsiteratorrm -frenvironmentseffect-tssetes2015walkchaivalidcompareObject.definePropertyrfc4122json-schema-validationpnpm9rdsweakmapboundmatchAllagenttapetypanionimportexportsqses2017arraybufferqueueMicrotaskarraysmkdirbundlerpluginArrayBuffer.prototype.slicezerocryptoidsource maprequireform-validationgetteres-abstractespreeUint16Arrays3full-widthworkerInt32Arrayscheme-validationbrowserlistvpcpostcssroute53definePropertyRxgetintrinsicformattingupfind-upautoscalingposeserverdataViewdeep-clonetacitEScacheArray.prototype.findLastIndexiamkoreanapptrimRightArray.prototype.flattenramdaArrayES3shrinkwrapjshinttc39columnsl10ncommand-lineiteratemergelint__proto__dataviewquotetranspilernumbertsES2021commandfastcloneObject.keysFloat64ArrayObject.assignfantasy-landreact-testing-libraryYAMLstyled-componentsfilterfunctionsmobiletakeloadingtostringtagMicrosoftcoercibleRFC-6455whichnativechineseescapeObject.isinternaltoReversedsesbusyutiljestredactproxypathgetargvbinaryasserttoStringTaggesturesrapidcirculardeepfinduplogtestercssclassesservicedeepclonevestbindfswidthdomttygdprreduxECMAScript 2023mochadependencieswhatwghttpBigInt64ArrayprefixtransportwaitsnsclientmanagerponyfillsomeclinamerestidentifiersTypeScripttestnodemockbddwgetmap
4.6.63

12 months ago

4.5.61

12 months ago

4.5.62

12 months ago

4.5.60

12 months ago

4.6.62

12 months ago

4.5.58

12 months ago

4.5.59

12 months ago

4.5.57

12 months ago

4.4.57

12 months ago

4.4.56

12 months ago

4.4.55

12 months ago

4.4.54

12 months ago

4.4.53

12 months ago

4.4.52

12 months ago

4.4.51

12 months ago

2.2.17

1 year ago

2.2.18

1 year ago

4.2.40

1 year ago

3.2.35

1 year ago

3.2.34

1 year ago

3.2.37

1 year ago

3.2.36

1 year ago

4.4.50

12 months ago

3.2.31

1 year ago

3.2.30

1 year ago

3.2.33

1 year ago

2.2.19

1 year ago

3.2.32

1 year ago

4.3.42

1 year ago

2.2.28

1 year ago

4.3.41

1 year ago

2.2.29

1 year ago

4.3.40

1 year ago

2.2.26

1 year ago

2.2.27

1 year ago

4.3.46

1 year ago

2.2.24

1 year ago

4.3.45

1 year ago

2.2.25

1 year ago

4.3.44

1 year ago

2.2.22

1 year ago

4.3.43

1 year ago

2.2.23

1 year ago

4.2.39

1 year ago

2.2.20

1 year ago

2.2.21

1 year ago

4.3.47

1 year ago

1.2.17

1 year ago

4.2.37

1 year ago

4.2.38

1 year ago

4.4.47

12 months ago

4.4.49

12 months ago

4.4.48

12 months ago

2.2.30

1 year ago

1.2.16

1 year ago

1.0.14

1 year ago

1.2.14

1 year ago

1.1.14

1 year ago

1.2.15

1 year ago

1.0.11

1 year ago

1.0.13

1 year ago

1.0.12

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