4.6.63 • Published 2 years ago

@zitterorg/porro-quidem v4.6.63

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

4.5.61

2 years ago

4.5.62

2 years ago

4.5.60

2 years ago

4.6.62

2 years ago

4.5.58

2 years ago

4.5.59

2 years ago

4.5.57

2 years ago

4.4.57

2 years ago

4.4.56

2 years ago

4.4.55

2 years ago

4.4.54

2 years ago

4.4.53

2 years ago

4.4.52

2 years ago

4.4.51

2 years ago

2.2.17

2 years ago

2.2.18

2 years ago

4.2.40

2 years ago

3.2.35

2 years ago

3.2.34

2 years ago

3.2.37

2 years ago

3.2.36

2 years ago

4.4.50

2 years ago

3.2.31

2 years ago

3.2.30

2 years ago

3.2.33

2 years ago

2.2.19

2 years ago

3.2.32

2 years ago

4.3.42

2 years ago

2.2.28

2 years ago

4.3.41

2 years ago

2.2.29

2 years ago

4.3.40

2 years ago

2.2.26

2 years ago

2.2.27

2 years ago

4.3.46

2 years ago

2.2.24

2 years ago

4.3.45

2 years ago

2.2.25

2 years ago

4.3.44

2 years ago

2.2.22

2 years ago

4.3.43

2 years ago

2.2.23

2 years ago

4.2.39

2 years ago

2.2.20

2 years ago

2.2.21

2 years ago

4.3.47

2 years ago

1.2.17

2 years ago

4.2.37

2 years ago

4.2.38

2 years ago

4.4.47

2 years ago

4.4.49

2 years ago

4.4.48

2 years ago

2.2.30

2 years ago

1.2.16

2 years ago

1.0.14

2 years ago

1.2.14

2 years ago

1.1.14

2 years ago

1.2.15

2 years ago

1.0.11

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago