1.0.0 • Published 12 days ago

@osjwnpm/amet-quasi-culpa v1.0.0

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

@osjwnpm/amet-quasi-culpa 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('@osjwnpm/amet-quasi-culpa');

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

findLastIndexes7interruptsmacosguidyamlpropertiesawesomesauceredacttoSortedsymlinkeast-asian-widthajaxqueryemitkarmaauthbootstrap lessbyteOffsetsameValueZerocolumnsideschema0parserfantasy-landECMAScript 5styled-componentswaitcmdString.prototype.matchAllinvarianteslintpluginvalidationmatchesglobcompile lesstouchlazychanneltostringtagfile systemES2015toobjectlimitexit-codeparentspostcss-pluginhookssignalassigntypanionastjQuerystartermovetacitcreatedescriptorcolorratecheckregexpsuperstructfpconcattermeslint-pluginInt8Arraycsstelephonematchlogginggesturesexpressprotocol-bufferscolourstylingtypeofReflect.getPrototypeOfcallcollectionURLdeletewgetindicatorlogspringescapeinstaller__proto__passworduuidgetOwnPropertyDescriptorweaksetmulti-packagestylesi18nrecursiveirqwindowsSymbol.toStringTagES6objectbootstrap cssestreecopyweakmapmetadatacallbindcryptlintvalueslanguagejsonpathminimaldeepemojirfc4122wordbreakECMAScript 2018es-shimsidautoprefixerString.prototype.trimtddinspecteveryworkerwaapisharedarraybufferCSSarraybufferoncestylenopetssignalsa11yArrayBuffer#sliceobjYAMLrandomURLSearchParamsparentdeterministicinputMapgetoptwalkratelimitshebangdependency manageres6commanddataviewObject.getPrototypeOftypesafeconcatMaploggerfast-copypoint-freejsxhasOwndropObject.isObject.assignsuperagentStyleSheetbusysetPrototypeOframdaES2019immutableECMAScript 2016characterArrayBufferpipeFunction.prototype.nameidlenegativegradients css3setmkdirpECMAScript 3getintrinsicgetPrototypeOfqueueMicrotaskES2016timeentriesgraphqllookchromeviewstyleguidereact-hooksairbnbframeworkESprotobufdatescheme-validationObject.valuesInt16Arraypackage.jsonanimationTypedArrayformatnativesyntaxreact animationdefinePropertyequalxhrslicecss variablewatchinges2016zodES2020bcryptdeepcopylistenersrequestspectyped arrayiexdg-openfseventsObject.fromEntriescjkes-abstractgradients cssfastifyUnderscoredeep-clonebddtypeformTypeScriptreadablefastIteratorvalidateflatMapperformantrmRegExp.prototype.flagsbabel-corefsstreamtakedirtypedinternalmimeruntimecommand-linetypedarrayshardlinksbrowserlistcurlcode pointsshimclassestoArrayeditorsortedframerspawnserializationgroupzeroreact-testing-libraryclonefind-upwebpopmotioncss-in-jswritefolderreal-timeutilitiesbrowserslistpicomatchthrottleserializermixinsbundlingcomputed-typesArray.prototype.flattenserializeless mixinsquotextermtty256propertyES2018finddom-testing-librarysharedprocessreact posetslibfixed-widthoptimizerrgbfromlinuxoutputstatelessArraybabelforEachFloat32ArrayAsyncIteratordataViewjapaneseqsargparsees8form-validationassertionpathaccessorECMAScript 7bufferBigUint64Arraynamepuretesterpackage managerrapidtraverseeventEmittercollection.es6assertjavascriptplugindeepclonesearchcolorsless compilerprotocore-jskoreantoStringTagextensionbrowserrm -rfsymlinksfilterprefixTypeBoxappArray.prototype.findLastIndexfindupextendecmascriptenderkeyshelpersReactiveXArray.prototype.flatMapoffsetconsumepropdebugpreserve-symlinksfindLastextraFloat64Arraynpmtc39promisesnegative zeroauthenticationStreamincludescallboundflagconcurrencypreprocessorbyteLengthES7.envwhatwgfunctionalvalueutil.inspectcall-bindl10ndeep-copyECMAScript 2019electronmkdirsduplexArrayBuffer.prototype.slicetestcryptoObject.keysreadablestreamcharactersvariables in cssArray.prototype.findLastmoduleRFC-6455structuredCloneStreamserrorPromiseECMAScript 2022removecss lesspersistentinternal slotESnextfast-deep-cloneSetenvironmentlinkcallbackECMAScript 2021sortencryptionbuffersmkdirqueueprogressfull-widthrangeerrortranspiler-0prettytrimStartstatusposexdgjsmime-dbcontainsbundleromitMicrosoftHyBiCSSStyleDeclarationerror-handlinglockfilewatchcss nestingexitmochaes-shim APIclassnameUint16Arrayparsedefaultsymbolsflagsregular expressionArray.prototype.containsdependenciesvariablesbatchutilpruneapollocurriedflattenenvdayjs
@osjwnpm/voluptatum-illum-alias@osjwnpm/delectus-sequi-eveniet@osjwnpm/dignissimos-eaque-excepturi@osjwnpm/dolores-aspernatur-et@osjwnpm/ducimus-culpa-tempora@osjwnpm/ducimus-qui-deserunt@osjwnpm/eaque-consequatur-beatae@osjwnpm/earum-iure-quam@osjwnpm/error-fugiat-nobis@osjwnpm/esse-culpa-dolorum@osjwnpm/est-fugiat-neque@osjwnpm/et-debitis-officia@osjwnpm/explicabo-consequatur-dolore@osjwnpm/harum-occaecati-quae@osjwnpm/hic-accusantium-dolores@osjwnpm/inventore-dolore-dolor@osjwnpm/ipsum-facilis-rem@osjwnpm/iste-nam-omnis@osjwnpm/iste-quibusdam-deserunt@osjwnpm/aut-delectus-exercitationem@osjwnpm/autem-eum-corporis@osjwnpm/corporis-excepturi-sed@osjwnpm/culpa-vitae-totam@osjwnpm/delectus-at-et@osjwnpm/adipisci-corrupti-accusamus@osjwnpm/alias-voluptatibus-id@osjwnpm/atque-quod-voluptas@osjwnpm/iure-qui-fugit@osjwnpm/iusto-ullam-consectetur@osjwnpm/maiores-sequi-eum@osjwnpm/mollitia-quae-magni@osjwnpm/nam-laboriosam-quibusdam@osjwnpm/nesciunt-voluptatum-libero@osjwnpm/nihil-recusandae-error@osjwnpm/nisi-accusantium-sequi@osjwnpm/non-possimus-numquam@osjwnpm/sequi-earum-amet@osjwnpm/sunt-praesentium-quod@osjwnpm/sunt-ullam-molestiae@osjwnpm/tenetur-dicta-deserunt@osjwnpm/vel-expedita-quasi@osjwnpm/vel-qui-libero@osjwnpm/veniam-esse-impedit@osjwnpm/veritatis-quis-nemo@osjwnpm/vero-officiis-ut@osjwnpm/voluptatem-omnis-aut@osjwnpm/nostrum-repudiandae-dolorum@osjwnpm/numquam-voluptas-quisquam@osjwnpm/occaecati-debitis-illo@osjwnpm/occaecati-reprehenderit-dolor@osjwnpm/odit-eveniet-dolores@osjwnpm/odit-ipsum-fugit@osjwnpm/officia-vitae-ratione@osjwnpm/officiis-dolorem-dolore@osjwnpm/placeat-dolores-nihil@osjwnpm/placeat-illo-exercitationem@osjwnpm/placeat-nulla-deserunt@osjwnpm/praesentium-voluptate-qui@osjwnpm/provident-labore-impedit@osjwnpm/quas-debitis-praesentium@osjwnpm/quibusdam-ab-consequatur@osjwnpm/voluptatum-ipsam-eveniet@osjwnpm/quibusdam-dolorem-aperiam@osjwnpm/quibusdam-exercitationem-ab@osjwnpm/quibusdam-fugiat-magnam@osjwnpm/quod-quasi-cum@osjwnpm/rem-fugiat-et
1.0.0

12 days ago