1.0.0 • Published 1 year ago

@ryniaubenpm/quaerat-quo-voluptates v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@ryniaubenpm/quaerat-quo-voluptates Version Badge

github actions coverage License Downloads

npm badge

ES Object-related atoms: Object, ToObject, RequireObjectCoercible.

Example

const assert = require('assert');

const $Object = require('@ryniaubenpm/quaerat-quo-voluptates');
const ToObject = require('@ryniaubenpm/quaerat-quo-voluptates/ToObject');
const RequireObjectCoercible = require('@ryniaubenpm/quaerat-quo-voluptates/RequireObjectCoercible');

assert.equal($Object, Object);
assert.throws(() => ToObject(null), TypeError);
assert.throws(() => ToObject(undefined), TypeError);
assert.throws(() => RequireObjectCoercible(null), TypeError);
assert.throws(() => RequireObjectCoercible(undefined), TypeError);

assert.deepEqual(RequireObjectCoercible(true), true);
assert.deepEqual(ToObject(true), Object(true));

const obj = {};
assert.equal(RequireObjectCoercible(obj), obj);
assert.equal(ToObject(obj), obj);

Tests

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

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.

byteArray.prototype.includesObject.valuesECMAScript 2020wordwraptypescriptajvArray.prototype.flatcompile lessnopechinesescheme-validationpureStreamsutility[[Prototype]]testfull-widthshebangjsbddbreakexpressenderaccessorECMAScript 2019jasminemaketrimEndwindowsdefinePropertyinspectgraphqlECMAScript 2022groupBysharedarraybufferArray.prototype.flattenObservablelanguagecall-boundInt32ArraysetImmediateregexpio-tsbcrypttelephonecore-jsString.prototype.matchAlltoolsjavascriptbrowserlistUint8ClampedArraystructuredClonetoobjectstreamfromObservablescompareArray.prototype.findLastmkdirsmimetypestddjson-schema-validationruntimebluebirdformattingupprettyES2023collectionmochaassignObject.assignFloat64Arrayreact posecommanddragespropertyminimalmetadataweakmapInt16ArraysliceReactiveXbrowserwrapArrayes-abstractfunctionscodesStyleSheetwatchersymlinkreduxwatchFilebundlingPromiseqsObject.entriesESreactsortrfc4122ArrayBufferconsthookspoint-freeomitRxJSgetreact-hook-formratelimittraversepromisebufferqueryparsemixinslogfigletutilitiesresolveprototypereact-hooksdiffwritablesettingsJSONtrimRightdatebusysanitizeprivate dataES6concatMappasswordserializationUint32Arrayfantasy-landiterateterminalInt8Arrayjsonsafeassertfastcopyboundwordbreakairbnbeventsclassnamefind-upRegExp.prototype.flagsECMAScript 2015findLaststableiterationchromeArray.prototype.flatMapincludesstringmomentwaapiTypeScriptlinkcoreasyncschemewebpicomatchfast-deep-copyarrayes8copyinterruptsinputstyleguideescapeimmerschemaES8extendfinduppositivejsxfullwidthECMAScript 7deep-clonewalkhasOwnvarclireducereast-asian-widthtsiedeepclonethreelesscssshimgradients css3nodel10nyamlhigher-ordercolorsparentsdatasomeYAMLdom-testing-librarypnpm9pathstylesstreams2sigtermvalidator256superstructglobtapedomintrinsicdescriptionhashObjectthrottlefoldernumberformsameValueZeroMaptyped arrayharmonyparentlistenersmake dirdataviewjsonpatheslintconfig__proto__ECMAScript 3less mixinsimmutableemojiinstallinstallercryptgettercoerciblebindlinuxexecsetterfastifyimportprotocallbackoutputxsswalkingsignalsxhrES2016flattengetOwnPropertyDescriptorcircularform-validationtypedarraypolyfillzeroviewstyled-componentsgetintrinsicUint16Arrayworkspace:*commanderlockfileansieventEmittertrimLeftpackage.jsonutilsbrowserslistbyteLengthvalidposerobustecmascriptauthenticationmonorepogenericsconfig0recursiveRxconcurrencypersistenthasdirartthroatnegativehookformIteratorlook-up.envsyntaxmkdirpcommand-linewhatwgquerystringfindastES2022takedebugger
1.0.0

1 year ago