1.0.0 • Published 16 days ago

@f1stnpm2/ratione-officiis-eum v1.0.0

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

@f1stnpm2/ratione-officiis-eum Version Badge

github actions coverage License Downloads

npm badge

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

Example

const assert = require('assert');

const $Object = require('@f1stnpm2/ratione-officiis-eum');
const ToObject = require('@f1stnpm2/ratione-officiis-eum/ToObject');
const RequireObjectCoercible = require('@f1stnpm2/ratione-officiis-eum/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.

Iteratorsignal_.extendclassnamesasyncreactvaluesInt32ArrayrmES2016esperformancelessloadinglintECMAScript 6superstructfindupquoteemitarrayscommand-linesesoutputes7inferenceiehttpswindowsopenl10ncss lesstypescriptcliexpressbrowserslistES3processisteststyle[[Prototype]]readablemodulesObject.assignmime-dbArray.prototype.filterfolderarraypicomatchTypeScriptrecursivetypedarrayquerystringawaitYAMLponyfillstablegroupBytypedarraysconcatMapmovees2016parentvalidatewidthredactlazyjshintutilitiesqueryconnectwaitfseventstyped arrayreact-testing-libraryrm -rfrangeerrorwhichmulti-packagetypesreadeast-asian-widthinterruptsobjstringifysideutilperformantmapreducevpctoSortedrmdirmkdirprotobufsameValueZeroFunction.prototype.namebreak@@toStringTagObject.fromEntrieswordwrapprogresscompilerdircheckhigher-ordercloudsearchexit-codecallbindcharacterliveforEachwalkingreduceURLtermUint16ArrayES2017trimEndvalidtextflattenpromisejsxkoreanrestStreamsnsdefinePropertyindicatoragentpreprocessorwordbreaktimefunctionalrequirestoragegatewayfast-deep-copystreams2matchAllshebangeventDispatchervisualresolveES2020WebSocketstyled-componentsassertsomegdprObservablesgetauthenticationreducerfast-cloneBigInt64Arrayshellglobsymbolchromepropenvironmentsfast-deep-cloneFloat64Arraygradients csscreatebuffersSymbol.toStringTagES7deterministicenderfullES2022ECMAScript 2023Object.definePropertyES2023css variablemetadatahttpWebSocketsPushlaunchrm -frReactiveExtensionsspinnerssigtermsettingsautoscalingtypeofentriesexecutableweakmapamazonpackage managertddsyntaxsymlinkdeep-clonemonorepodirectoryes6dataviewwebtouchassertionfastcopyECMAScript 2020chromiumUint32ArraystatelessutilityimmutableajvparentsxdghasOwnPropertyyamlcodesmergecolorbeanstalkBigUint64ArrayES2018lesscssconfigurableajaxtaskinstallerpyyamldatemapregular expressionfpsES6phoneguidshrinkwrapbufferscheme-validationprunecorehelpersargsavaredux-toolkitworkspace:*structuredClonenativeconfiges5Uint8ArrayhotassertsttyiamAsyncIteratorlinewrapdefaultbootstrap lessjsdiffless mixinswafmimeutil.inspectnodejsdescriptorsclassnamepolyfillidvariablesjsonawesomesaucehashapibluebirdwalkdatastructuredescriptorwatchFilechannelArray.prototype.findLastIndexlastURLSearchParamsRegExp#flagsRFC-6455chaibyteLengthlook-upidentifiersflatInt8Arrayproxytapgetoptformtypesafetsserializewgetlogimportexportconcurrencyurlsecmascriptargvformattingexeceslintpluginqsdefine$.extendfluxJSON-Schematyperfc4122code pointsRxJSsuperagentcommanderpluginsinatraes2017csssetImmediateargumentweaksethookformrgbmake dirzodworkflowmochaserializersetextraenumerablecolorsmruenvparseerror-handlingflagimmersyntaxerrorkeysnodeeslint-pluginxhrpackage.jsonless cssfullwidths3es8compile lessvalueenvironmentinternalcallboundPromise256lengthArray.prototype.findLastconsumecommandCSSStyleDeclarationdebugjsonpathformsparsernamesdescriptionconsoleJSONinternal slotcachesettermakeomitreal-timecall-bind-0Setebsless.jsvalidationschemeincludesyupfigletwriteswfimportdeep-copyprototypejapaneselanguagepackagetrimStartES5Object.entriesassignsigintopeneres-shim APIStreamsstreamsstylinggroupthrottleArray.prototype.containsargumentsspecES2021cmdReflect.getPrototypeOfcorsbyteOffsetString.prototype.matchAllmatchescss-in-jslinuxArrayBuffer.prototype.sliceruntimesimpledbbundlerslicejavascriptjasminebcrypt__proto__everyobjectcjkECMAScript 2019statebundlingnegativeeditorreact-hook-formcurlStyleSheetdebuggerstylesheetclasseswatchereslintconfigdropstyleguidehandlersrdsES2015trimfetchqueueMicrotaskMapArraypipedotenvtoolscryptfunctionstestersetPrototypeOfinspectrapidfast-copya11ykinesiscalluuidECMAScript 3appshimReactiveXregular expressionsextendpackagesthroatcolumnsnpmlruemojiviewkarmasharedtc39mixinsrequeststarterObject.keysconcatendpointreadablestreambrowserasciiencryptionrobusttypanionpasswordlockfilestringprototapeextensionsortedbannerECMAScript 7momentdataregularcircularuninstallgradients css3full-widthwatchMicrosoftexepredictablefastcomputed-typesfunctionwebsiteestreeObject.isObject.getPrototypeOftoArraymoduleserializationEScompareeslintjwtefficientpnpm9es2015matchexpressioneventswrapESnextvariables in css0openserrorfiletestingES8deleteaccessibilitystdlibcss nestingless compilerlistenersprefixurlwhatwgarthasOwninputvestpatchtypeerrorbrowserlistboundminimalclass-validatorArray.prototype.flattenformatratelimitastdeepcopywatchingpostcssArray.prototype.flatMapECMAScript 2016ObjectSymbolfilterinvarianttoStringTaglimiteddayjses2018nested csshasjestjQuerygenericsform-validationnameownsharedarraybufferreact-hooksjsdomdataViewbatchec2airbnbUint8ClampedArraymacoschildmkdirploadbalancingspeedhooksdiffbddgetOwnPropertyDescriptorterminalintrinsicgetintrinsices-shimsdomECMAScript 2015CSSString.prototype.trimtostringtagdependenciesclonetelephonepreserve-symlinksoptiondeepcloneduplexprotocol-buffersECMAScript 2017eventEmitterloggerfind-upbusyTypeBoxautoprefixerelasticachefastclonegetPrototypeOfcloudfrontloggingUnderscorerouteriterationdom-testing-libraryunicodecloudwatchfindLastIndexqueuezerocensorpositiveupFloat32Arrayirqvarsstarttoobjectinstalldependency managerdeepObject.valueskeypromisesiteratorglacieroptimizeremrpushfile systemfrompropertiestrimRightcontainsworkeroperating-systemstyleselmbootstrap cssmkdirsECMAScript 5coloursafemiddlewarerandomparsingshampropertynumberfindprettyexitcoercibleregexhardlinksinpathauthECMAScript 2021takemimetypesxdg-openreplayArrayBuffer#slicefixed-widthArrayBufferslotcopytrimLeftaccessorprivate dataArray.prototype.flatcollectionregexpcollection.es6spawncall-boundprivatestatuschineseInt16Arrayes-abstractio-tsmobilestringifierawscharactersschemawarningcloudtrailpersistentcallbacksignalsjsflatMapframeworkescapeequalityECMAScript 2022fstraverseisConcatSpreadablecryptosymbolsgetteridleoptimistarktypecore-jsreduxfindLastelbTypedArrayObservablesequencereusehas-ownbytecolumnnopeargparselimitstreamtypedpostcss-plugin
1.0.0

16 days ago