1.0.0 • Published 14 days ago

@f1stnpm2/eaque-eligendi-nulla v1.0.0

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

@f1stnpm2/eaque-eligendi-nulla 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/eaque-eligendi-nulla');
const ToObject = require('@f1stnpm2/eaque-eligendi-nulla/ToObject');
const RequireObjectCoercible = require('@f1stnpm2/eaque-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.

String.prototype.matchAllUint16Arrayexecsetterchildprotobufcollection.es6classesnpmasyncpackageshookformECMAScript 3ECMAScript 2017inspectwritablegetintrinsicinternal slotWebSocketflatMapqueryastformxdg-openenderObjectshebangvalidationfunctionstimeio-tsbindpropstylesearchpropertiesextendinternalfullregularcolorsclass-validatorsortedisStreamassignrapiddatereact posepostcss-plugincircularrfc4122rm -rflinewrapdayjsharmonytostringtagutilsthrottleexecutablecode pointsECMAScript 2021PromiseArrayBuffer#sliceeventEmitterwalkingECMAScript 2018loadingslotparentscompile lesses2017columnscallboundartcommand-lineincludeshashHyBiMapRFC-6455streams2shellJSONquotesigtermbufferstermtypesgenericsserializationconsolevalidObservableargvsanitizationArray.prototype.includeslistenerscollectionspawnprettybytelengthsameValueZerocopydataVieweslintdatastructurepreprocessoreveryBigInt64Arrayless.jsrmdirbuffercloneargparsereducerworkspace:*pipesliceES2017extraInt8Arraysignalsbabel-coremapwordwrapcomputed-typestypepasswordintrinsicdeepexittc39nodejsbusyschemesuperagentdirvalidateeditordefineclassnamesdescriptionSymboldommergejsdiffi18nReactiveXArray.prototype.findLastIndexsharedarraybufferbyteLengthjsxdebugwindowsutilitywalkdependency managerfastifynodewebequalmimetypesobjeslint-pluginieparsermiddlewareuninstallarrayssequenceomitjson-schemaObject.entriesdeepclonemonorepocachefindLastmove$.extendRxJSextensioncoerciblelinuxcensorcurllimitedfolderreact animationmakeES2018byteOffsetimmutableratelimitsanitizeglobansixssdeep-clonejapanesecss nestingsyntaxtoStringTagcodestypeerrorrangeerrortestingweakmap0full-widthString.prototype.trimmatchlockfileurlspathlogpopmotionArray.prototype.findLastECMAScript 5WeakSetObject.fromEntriespositiveframerfsrecursiveconfigjQueryvarassertsiterationES6writeeventsfixed-widthECMAScript 2020ES2015jasminetapebrowserlisttypedarrayspreserve-symlinkscjkreadreact-hookschinesesafeIteratorBigUint64ArrayformslibphonenumberdependenciesqueueMicrotaskArray.prototype.filtersettingsrandominputjavascriptfastcopybundlerprotogettergetoptviewArray.prototype.containstoSortedecmascriptReactiveExtensionsopensshimbatchassertionflatuser-streamsprivate datastringifyfantasy-landreact-hook-formduplexspeedcolorawaiteslintpluginprototypepicomatchUint32Arraycall-bindpromiseESnextapptoolkitECMAScript 6valueserror-handlinghasOwnasciixtermexit-codequerystringwebsitesortoptimistflattenmetadatarmfast-deep-copyMicrosoftESregular expressionselectronstartermobilepnpm9openhasdescriptorsencryptionframeworktslibdeep-copylasttextmacospushmulti-packagelimitgraphqlreusewatchFilelook-uphttpRegExp#flagsanimation@@toStringTagprocesscreatelookes-shim APIes-abstractObject.iswatchingregexpapiES2016concatMaplessregexgroupByWeakMapflagsqueuetypedarray__proto__-0posetoArrayreal-timeFloat32Arrayhandlerslintgdprflagrobustrequirees6symlinksfasttrimStartinferenceconcatpoint-freetrimRighthigher-orderdebuggererrorstyled-componentsindicatorcompareprivatematchAlldatanumberES7yamlenumerablecorsmruttypromisesthroatoperating-systemtranspilereadablestreamReflect.getPrototypeOfiterateresolvemoduleoptiontraversecoremkdirES2021ECMAScript 2015consumenativeforEachObject.valuesonceprotocol-buffersvariablesES2020cryptosignalargumentchromedataviewwaapiexpressioncallbacksuperstructkeystsunicodehelpersECMAScript 2023jsnegativereadabledom-testing-libraryajaxutilES5packagesetfunctionaltoobjectkeyenvironmentwarningidexpressbrowsercss lessreacttelephonenameauthnopecallpluginpropertysyntaxerrorwidthremoveeast-asian-widthloggingsetPrototypeOf.envemojiStyleSheetUint8ArraywhichinterruptslesscssfastclonetacitxdggetOwnPropertyDescriptorspinnerWebSocketsconcurrencystyleguideesfpargsoutputObject.definePropertyworkermatchesboundfetches-shimsTypeScriptpolyfillArrayBuffersharedarraycsses2018call-boundterminaltypeofhttpscallbindtestexeES3phoneObject.assigngetimportRxinstallershrinkwraplrumixinscss-in-jsjson-schema-validatorlanguage
1.0.0

14 days ago