Licence
MIT
Version
1.0.0
Deps
9
Size
18 kB
Vulns
0
Weekly
0
@xdanangelxoqenpm/aliquam-eligendi-nulla 
ES Object-related atoms: Object, ToObject, RequireObjectCoercible.
Example
const assert = require('assert');
const $Object = require('@xdanangelxoqenpm/aliquam-eligendi-nulla');
const ToObject = require('@xdanangelxoqenpm/aliquam-eligendi-nulla/ToObject');
const RequireObjectCoercible = require('@xdanangelxoqenpm/aliquam-eligendi-nulla/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.
Keywords
startjsonpathviewphonedescriptorsio-tsexittoArraycliunicoderegularSymbol.toStringTagjson-schemagetoptmatchesreal-timemergedayjsreact animationtoolsbundlerECMAScript 5pushInt16ArrayES2015macosnamesuperstructRegExp#flagsiterationdatespeedmovees2017Array.prototype.flattenObject.definePropertyreduxapollofindLastanimationJSON-SchemawordwraphasOwntypeerrorfile systemvalidES2020reducernodepostcsscommand-lineparentmime-dbestreesharedstreamscorefastcopysuperagentloggingfast-deep-clonewriteformattingjwtargvdefaultfindupl10nxhrsetterprotocol-buffersmochasafecomputed-typesshelllesssigtermECMAScript 2019postcss-pluginfullES2023String.prototype.matchAllcompilerpyyamlflattencodesgetPrototypeOfString.prototype.trim3dcallboundopensenumerablefsvariablescoerciblelinkpropertieslazydir6to5lruSetsanitizesidepackage managerimmerprivateframernegativestringifierxsspreprocessorloadingless.jsiteratorfast-cloneECMAScript 2015websitebddbabelqueryexecutableutil.inspectECMAScript 2023monorepoemojiFloat32ArrayObject.valuesjapanesehelpersgesturesReactiveXtranspileredux-toolkiteditorStreamsmkdirArray.prototype.findLastIndexwhatwgchildcallbackObservablesdirectoryglobencryptioninferencequeueMicrotaskawesomesaucereact pose-0terminalRegExp.prototype.flags0iecss-in-jstypeofdom-testing-library[[Prototype]]testingterm.envttyvarstylescircularprotoArray.prototype.includesUnderscorereadjsdomwalkingBigUint64ArraylimitECMAScript 2022symlinkdatastructureHyBieslintpluginsignalsargsoperating-systemObject.iswatchingless cssdataviewstyled-componentses6tc39byteOffsettoolkitES5arktypebootstrap lessdomeverynegative zerouuidECMAScript 7classnamewindowsfullwidthlockfilejQueryspinnersresolveweaksettacitpatchconnectclassesvaluesrequireassignfromajaxcolorsnativetrimcharactersendergroupBytouchInt8ArrayoptimistauthenticationthroatsignalES2021TypeBoxES2018deep-copysearcheast-asian-widthzodmakesetPrototypeOfomitreadableObservablegradients csslimitedsymbolconcatMapmake dirthreermdirconsumeelectronreusemiddlewarestringifymulti-packagetostringtagconstmimeECMAScript 2017picomatchArraywgetkeysrmtsdeterministicprototypelanguagejestclientArray.prototype.flatlooklistenersoptiongetterarraybufferthrottlemimetypesES2016remove256lengthcommanderfindwatchFilereact-testing-librarytextes8importdeletehttpsxdg__proto__buffersstylesheetpathless compileridpropertyStreamES2017jseslint-pluginposearraysmetadataexpresscallbindcss nestingstylingbundlingsymlinksflagajvansiECMAScript 6clonescheme-validationdropdotenvsameValueZeroyupserializecall-boundslotgetintrinsicES7ES3urlairbnbmodulesdataViewcolumnbatchcorsoptimizerInt32ArrayrequestmoduleES2019graphqlbrowserquotewarningbytepromiseassertclassnamessortedvalidateredactlook-upinstallsliceshebangrobustvisualletschemaparserinstallerclass-validatorjsones5CSSdatamobileapiharmonyURLgdprcode pointspnpm9babel-corewaiterrorECMAScript 2020Mapnumberrm -rfformssharedarraybufferindicatorregular expressionobjectpackagesintrinsicparentscontainsoncejoiawaitvestURLSearchParamsstatelessfind-upqueueplugines2016asynctypesafeFunction.prototype.nametelephoneidlejasminecall-bindcollectionhooksfetchregexexecWeakSetECMAScript 3extendcheckjavascriptefficientinterruptsstringhandlersloggerreact-hook-form@@toStringTagcopyUint8ClampedArrayshimstreamrandominternal slottrimStartES6emitpreserve-symlinksuser-streamsflagspipelogprotobufObjectpersistentnodejs_.extendprunetrimEndchinesevaluetrimLeftlastfull-widthurlsmomentoutputistddminimalfast-deep-copyqsboundtypedcoloursetImmediateRxless mixinstypescriptjsdiffspawnform-validationeventDispatchertrimRightBigInt64ArraysortserializationsomewebReflect.getPrototypeOfpoint-freeecmascriptYAMLworkerconcurrencyhookformmkdirsutilitiesequalityframeworktoStringTagprocessfseventspopmotionObject.assignformatutilsdebuggerArray.prototype.filterWebSocketutilrangeerrorchromecryptcollection.es6fastcloneargparseTypedArraybreakopenMicrosoftAsyncIteratorreactcomparecore-jsweakmapkarmaeventsobjfileeslinteslintconfigCSSStyleDeclarationperformantrgbratewatchshamavalesscssstarterdeepObject.entriesprettytypaniona11ypromises$.extendconcatlintbufferstructuredClonenpmECMAScript 2021polyfillentriesequalStyleSheetdeepcloneprogressObject.fromEntriescmdfpformECMAScript 2016typedarrayflatcurriedtslibrfc4122mapaccessorgetOwnPropertyDescriptorsanitizationerror-handlingwalkduplexvalidatorsymbolsutilityinspectchaiwhichirqArrayBuffer#sliceautoprefixerfolderworkspace:*Float64ArrayisConcatSpreadablecss variablepositivematchAlles-abstractasciiramdaes-shim APIoffsetexeesyamlcachebrowserlistgenericstypefilteres2018typesconfigurableObject.keysdependency managerappconfigenvfunctiondefinePropertykoreanfunctionsrecursivejson-schema-validationcss lessArrayBuffer.prototype.sliceschemeRFC-6455assertsstatusarrayprefixRxJSjson-schema-validatordefinepackagegroupmkdirpxtermlinuxcharacterdiffratelimitcryptowidthauthfindLastIndexargumentslibphonenumberreact-hookstyped arrayES8WeakMapSymbolstablePushfunctionalbannerlinewrapdragparsesyntaxerrorhashdescriptionescapebluebirdxdg-opentestchromiumrm -frdeep-cloneinternalwaapivalidationcreategettoSortedtimeReactiveExtensionsforEachlaunchsettingstranspilerbindObject.getPrototypeOfjsonschemapackage.jsonwordbreakstreams2
