1.2.1 • Published 12 days ago

@teamteanpm2024/assumenda-mollitia-temporibus v1.2.1

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

@teamteanpm2024/assumenda-mollitia-temporibus Version Badge

github actions coverage License Downloads

npm badge

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

Example

const assert = require('assert');

const $Object = require('@teamteanpm2024/assumenda-mollitia-temporibus');
const ToObject = require('@teamteanpm2024/assumenda-mollitia-temporibus/ToObject');
const RequireObjectCoercible = require('@teamteanpm2024/assumenda-mollitia-temporibus/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.

graphqlloggingObject.fromEntrieswatchFileArray.prototype.findLastfastpackage managerArray.prototype.containsStreamsserializationcryptocolourboundcompile lessdiffargses5removefseventsoptimizerwhichmimetypespreprocessorflatqueueconcatpackage.jsonnopestyled-componentsrecursiveeslint-pluginconsumetapearktypeloadingslotECMAScript 3fastifyurlsconfigurablecss variableviewreadopenerconsolecore-jsdescriptorslanguagerandomenderdropgesturesmacosWebSocketsutilstypetoolschromees2018poseplugintestereast-asian-widthopensUnderscorepurenamemobilelruES7formsregularECMAScript 2017accessorfantasy-landcontainsObject.entriesframertoolkitcollectionfunctionsextendextra3dpreserve-symlinkshookformURLSearchParamsconcatMapruntimeutilityyamlbabeloutputcomparepersistentArray.prototype.findLastIndexl10ninspectdirmiddlewareinstallmoduleskarmafast-copybannerbyteOffsetthroatObject.assignzeroclass-validatornpmentriescacheRxfullwidthrobustpolyfillisless compilerquerystringTypedArraygetPrototypeOfreact animationmake dirpatheverychildsymlinkscallbindpicomatchmruperformancejson-schemacheckUint32Arraystreamsflattenless.jscollection.es6domratelimitRFC-6455BigUint64Arraystylesfull-widthes-abstractgdprwaitterminalstructuredClonekoreanstartapisortwalkfigletparserreactes-shimsisConcatSpreadablezodrm -rfSymbolpretty0timeString.prototype.trimclassnamestarterauthenticationArray.prototype.flatMapponyfilles2015typescolumnsES2016protobufspeedsameValueZerobluebirdRegExp.prototype.flagsstringrm -frjsdifftypesafetrimutil.inspect[[Prototype]]syntaxerroresconstpostcssreducerlengthObject.istaskmoduleESnextargvdefaultemitSymbol.toStringTagimmutableconnectassertsvisualiejson-schema-validatorrapidnegative zerowindowsparseecmascriptES5descriptionguidajvsignalES6libphonenumberpopmotionsafebreakexpressionHyBiES2018nativeReactiveXtypaniontslibchineseextensionprocesslesscssmkdirpipereact poseES2021schematypescriptRegExp#flagsttylintflatMaptrimLefterrorform-validationfastcopyECMAScript 2018censorES2015pruneECMAScript 5lockfileformattingpostcss-pluginsetImmediatefolderWeakSetawesomesauceflagsvaluecallcmdstatusJSONbrowserslistes2016BigInt64ArrayclassesprefixharmonyvalidationPushpackagearttypedyupbundlerArrayeventDispatcherprototyperegular expressionsES2020dayjsmime-dbregular expressionstylesheetsymbolmovestringifierreact-testing-libraryAsyncIteratorautoprefixerArrayBuffer#slicebabel-corereadablewhatwgenvmetadatalinewrapsharedarraybufferlinuxbyteLengthreact-hook-formsignalsclientspawnfromwgetcoredependenciesequalityfetchwalkingRxJSpropertyCSStestmergeless mixinsinvariantdeepthreegradients css3validaccessibilitysettingsjasminedefinedeterministicarraybuffereslintpluginnodetakeprotocol-buffersredactwarningwordbreakutilEScharacterassigncompilertoArrayshimawaitUint16ArrayInt32Arraylook-upshrinkwrapfindLastjesttoStringTagfast-deep-clonecss nestingES2023typed arrayfind-upregexpminimalECMAScript 2020fast-cloneprivatecoercibleES2017uninstallgetoptdom-testing-libraryperformantsanitizationprotoinferenceletsigintstyleguidedefinePropertyreact-hooksxterm$.extendcjkdatees-shim APIdeletejapanesedeep-copyelectronapollobcryptpositiveworkernumbereventsObjectexeclookhasimportunicodeObservablematchesforEachlistenersbinddeepcopyoptionvalidatees6enumerableasyncxdg-openspeccomputed-typesobjIteratoreditormkdirpMapincludesvariables in cssqueryoffsetrmastmatchAlliterationasciidebuggerECMAScript 2021directorymapkeysquotewidthframeworkcommanderECMAScript 2019propertiessuperstructcolorES8multi-packageuser-streamspushpasswordanimationObject.valueserror-handlingscheme-validationvalidatorglobexitexpressrequesthttpes2017call-boundtdddebugbufferinterruptsECMAScript 2023dotenvconfigescapesearchargumentsTypeBoxslicehardlinkscolumnmixinsrfc4122javascriptCSSStyleDeclarationclonelimitsigtermfixed-widthmatchimmerString.prototype.matchAlljwtarraypoint-freeirqredux256xdgformatramdalaunchvarexetoobjectURLflagStyleSheetbatchdataviewrmdirweakset_.extendjsdompatchInt16ArrayexecutablefunctionalUint8ClampedArraylazyintrinsicparentdatastructurereadablestreamsharednegativeloggernamesArray.prototype.flatcallboundstringifyspring
1.1.1

13 days ago

1.2.1

12 days ago

1.0.1

14 days ago

1.0.0

14 days ago