1.0.0 • Published 6 months ago
@erboladaiteas/nostrum-soluta v1.0.0
@erboladaiteas/nostrum-soluta
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('@erboladaiteas/nostrum-soluta');
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
classessuperagentminimalroutingBigUint64Arrayprocessserverreact-testing-libraryform-validationtypees-shimsStreamspackage managertoReversedStyleSheetawsmulti-packageletlogger[[Prototype]]callbackfastcopyawesomesaucetrimmergeeslintArray.prototype.flattentacitfixed-widthstylingglobaldatenumberschemacontainspackagesstoragegatewaylintenderreadableserializationeslintpluginframersuperstructwebrssappxtermuuidprefixzxcurrieduninstallflattenkey parclil10ntakefunctionsdragsymbolsscheme-validationfunction.lengthnpmignoreharmonyshrinkwrapflagsnegative zerorequireutil.inspectWeakSetReactiveXchromiumprettypropertiesrm -freventDispatcherzodjavascriptcreateinternal slotreact-hooksstyleguidetc39UnderscorettyfigletcsslistenersisConcatSpreadablevalidintrinsictrimLeft0i18ntypescriptcjkconsume.gitignoreoptiones2016enumerabletoolsmapstreamsmapreduceprogressdiffrandomanimationpnpm9traverseES2022syntaxownmomentcircularRxJSsource mapswfECMAScript 6flatdebugconfigurablermaccessibilityautoprefixereveryapifullwidthkarmacore-js-0serializertimeclassnamesagentArraydeterministictddjsonweaksetimmerbyteOffsetmockingECMAScript 2017airbnbObject.iswaittoolkittypeerrorwidthvisualconcatpinoCSSStyleDeclarationregular-expressionES2021dataviewtypedwritefrom@@toStringTagaccessorentriespropertyES5es-abstracttranspilermkdirpmanipulationquerystringArray.prototype.containstoSortedArray.prototype.flatMapback-endhasOwnPropertypopmotioncallmkdirsbrowserslistassertpathtrimRightflatMaptoStringTagsortUint32ArrayWeakMapexecredactargumenttypanionmovemonorepoECMAScript 2020performancecomputed-typeses-shim APIcheckgettersetterasciiprotobufschemeemitstructuredCloneclientspeedgroupByreacteast-asian-widthemojiexpressrestfuleventEmittercoreObject.keysoptimizerclassnameidlebundlingcolorhelperhardlinkshttpseffect-tsfetchcolumnTypeBoxUint16ArrayfpsInt32Arrayreact poserangeerrorgrouptestchinesecodeswgetRFC-6455Object.definePropertyjsdomcensorparentcommand-linelinkpackage.jsonqstypeofcolorsconfiglanguageelectronstreamECMAScript 2015charactersFunction.prototype.nameURLkey valuejestformatArray.prototype.findLastIndexweakmapqueueMicrotaskunicodestartertostringtagdotenvsafeReflect.getPrototypeOfprunefnmatchec2matchAllArray.prototype.findLastsimpledbieramdadropforEachstyled-componentsrfc4122avapicomatchString.prototype.matchAllObject.fromEntriesacornthreetransportnodejstypedarraycloneiteratorreduxes6xmles2015installerrestdayjsatomviewgitignoreArrayBuffer.prototype.sliceES6consolevalidateesdeepcopycopymake dirsessqsinvariantidrulesvestbusylockfileloadingUint8ClampedArrayes2018styleamazonIteratorvariables.envfeedloggingiterateajaxassertionestreedynamodbflagfast-copyspawn$.extendcompilerclass-validatorprivate datareversecharacterObject.assignconstObjectpreprocessoryupReactiveExtensionsrgbsetcloudwatchwaapitypedarrayshas-owntesterpackageignoreinferencecoerciblereduceutilstapeECMAScript 2019asteriskses2017findupa11yterminalprivateUint8ArraycallboundES2016fileenvironmentwalkingmodulereworkmrues7immutablesymlinksECMAScript 2023ES2019iamES8file systems3deepclonegetOwnPropertyDescriptordataViewnamessortedlook-upjson cacheES2017warningECMAScript 2016coveragearrayspringoptimistlengthcall-bindformsnstelephoneArrayBuffergestureschaigetintrinsicrmdirdirrequestyamlidentifiersastinstallerrorservicematchartvalueObject.entriesformattingcloudformationmobileString.prototype.trimparserlocationcommandECMAScript 5columnsworkernopeio-tsequalitymodulescryptoposetextpushrm -rfreadreusespecindicatorpyyamlmochareversedmetadatadomcode pointsiscloudtrailtrimEndhasbrowsernativeMapURLSearchParamsfastTypeScriptrobustansiecmascriptregexpmkdirutilitiesESloadbalancingkoreanInt16Arrayvarespreewalksimple cacheES2020guidmocklocalpolyfillredirectkeyECMAScript 2021whichjapaneseSetpropfile cachecloudfrontslotnodestringjasmineomitrapidArrayBuffer#slice3dbinaryefficientprotoparseWebSocketpurepoint-freefind-uphookformenvspinneroutputxhrMicrosoftjoioffsetes5Array.prototype.includesglobponyfillsetPrototypeOfruntimefast-clonereal-timestableautoscalingfullRxincludesqueuepatchbabelfindfastifyapolloargvbyteLengthtsYAMLparentstypesafeTypedArrayinternaleslint-plugindeep-cloneutilbinariesistanbul256curlchannelfantasy-landspinnersslicebindcommanderelasticachetranspilebrowserlistdebuggerpostcss-plugin_.extendsetImmediatecloudsearchRegExp.prototype.flagsdefinePropertyhttpimportsinatrardsbufferstypesdatavpcassertskeysformsfront-endreduceroncejsxbeanstalkzerosideexecuteshimmanagerajvuser-streamsBigInt64Arraysyntaxerror6to5descriptorsarraysmatchesregular expressionsameValueZerodescriptorprotocol-buffersobjectFloat32ArrayObservableECMAScript 3graphqlES2015fpglaciersomepipeextraroute53removepostcsssubprocesscolourStreambddfindLastIndexserializefilterdefineresolvequote__proto__react-hook-formArray.prototype.flatelbESnextHyBiES7binObject.valuesexpressionroutegetAsyncIteratorgdprSymbol.toStringTagpromise
@dramateas/facilis-quae-omnis-consequatur@dramateas/magni-explicabo-esse-magnam@dramateas/quis-nisi-error-quos@dramateas/quos-aut-natus-odit@dramateas/recusandae-molestiae-mollitia-modi@dramateas/recusandae-perferendis-accusantium-architecto@dramateas/unde-porro-quidem-distinctio@dramateas/ut-distinctio-aliquam-est@erboladaiteas/accusantium-nobis-amet@erboladaiteas/aperiam-vitae-accusamus-fugiat@erboladaiteas/architecto-modi-illo-dolorum@erboladaiteas/at-officiis-nostrum-odit@erboladaiteas/corporis-iusto-autem-voluptate@erboladaiteas/culpa-est-magnam-autem@erboladaiteas/dolorem-quasi-provident-expedita@erboladaiteas/earum-non-facere-mollitia@erboladaiteas/enim-saepe-aliquid-perspiciatis@erboladaiteas/esse-labore-ea-facere@erboladaiteas/ex-excepturi-neque-perferendis@erboladaiteas/id-quas-adipisci-velit@erboladaiteas/illum-odio-impedit@erboladaiteas/in-cum-autem-corporis@erboladaiteas/ipsa-officiis-eaque-provident@erboladaiteas/itaque-quidem-inventore@erboladaiteas/mollitia-vero-consequatur-nihil@erboladaiteas/nostrum-aut-dignissimos-in@erboladaiteas/numquam-beatae-illum-explicabo@erboladaiteas/odio-consequuntur-at-atque@erboladaiteas/omnis-at-facilis@erboladaiteas/perferendis-fugit-ad-facere@erboladaiteas/quasi-ullam-placeat-consequuntur@erboladaiteas/recusandae-possimus-blanditiis-nemo@erboladaiteas/sequi-ullam-est@erboladaiteas/tempore-repudiandae-ullam-nulla@erboladaiteas/voluptas-reiciendis-veritatis-suscipit@juiggitea/aperiam-facilis-molestias-mollitia@juiggitea/corporis-doloribus-alias-voluptas@juiggitea/possimus-impedit-est-sint@juiggitea/possimus-quos-sint-dolorem@juiggitea/praesentium-porro-voluptates-officiis@juiggitea/sapiente-soluta-minima-fuga@juiggitea/ut-nostrum-temporibus-autem@kollusietea/ad-commodi-temporibus-ex@kollusietea/consequuntur-nam-tempora-expedita@kollusietea/incidunt-veniam-maxime-dicta@kollusietea/neque-officiis-molestias-a@kollusietea/quidem-enim-ad-numquam@kollusietea/saepe-iure-soluta-facilis@kollusietea/vero-fugit-voluptatem-accusamus@kollusietea/voluptate-porro-magnam-et@swenkertrea/asperiores-suscipit-saepe-hic@swenkertrea/corporis-consequuntur-qui-esse@swenkertrea/fugiat-consequatur-et-occaecati@swenkertrea/id-earum-blanditiis-ullam@swenkertrea/sed-ducimus-consectetur-maxime@swenkertrea/ut-illo-aliquid-illum@zittertea/aliquam-asperiores-veritatis-totam@zittertea/dignissimos-harum-sint-alias@zittertea/minima-nisi-placeat-cupiditate@zittertea/rerum-totam-officia-laudantium
1.0.0
6 months ago