1.0.0 • Published 1 year ago

@landmineaknpm/facilis-ea-asperiores v1.0.0

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

@landmineaknpm/facilis-ea-asperiores Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Truly private storage, akin to the JS spec’s concept of internal slots.

Uses a WeakMap when available; a Map when not; and a regular object in even older engines. Performance and garbage collection behavior will reflect the environment’s capabilities accordingly.

Example

var SLOT = require('@landmineaknpm/facilis-ea-asperiores');
var assert = require('assert');

var o = {};

assert.throws(function () { SLOT.assert(o, 'foo'); });

assert.equal(SLOT.has(o, 'foo'), false);
assert.equal(SLOT.get(o, 'foo'), undefined);

SLOT.set(o, 'foo', 42);

assert.equal(SLOT.has(o, 'foo'), true);
assert.equal(SLOT.get(o, 'foo'), 42);

assert.doesNotThrow(function () { SLOT.assert(o, 'foo'); });

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.

isstringifysetPrototypeOfECMAScript 2018sidermdirexecdeep-copycommand-linereactdeeppackageObject.keystoobjectmodulestypedarraysless mixinsdescriptorasyncelectronajvfastcopyreuseparserjasmineECMAScript 5utilitiescryptoassignwordwrapcmddatees5bannerspecuuidsymlinkspopmotionparentspicomatchlinuxbindslotinstall-0lintwebsiteequalcontainsdeepcopypropbcrypttyped arrayArray.prototype.flattenreact poseserializerserializelesstslibdebugcurrieddomformatlinkjsonzodjson-schema-validatorcacheequalitycloneArrayBuffervestshellcurlrobustreduceUint8Arraycallbindfantasy-landinvariantfullwidthtimepersistentstatusSetuser-streamsbufferBigUint64ArraylimitedstreamsgetintrinsiclinewrapsignalmomentObject.isxdg-openWebSocketsfetchpreprocessorassertionUint8ClampedArrayjavascriptfast-deep-cloneajaxarraybufferES2023regular expressiones8less csslruconfigurablerecursiveefficientsignalscopypyyamlinputreadvalidatorinterruptscss-in-jspurexssgraphqlwebsortwalkes-shimstermerror-handlingeslint-pluginnameTypeScriptfull-widthfast-deep-copyperformanceinspectfind-upHyBi6to5propertiesdeterministicjsdiffforEachplugintakees2016nopetoolsoptionreact-hook-formqscolourArraymkdirpasciijson-schema-validationcensorlanguagecollection.es6classnamepatchcolorsnodejsformstoSortedstyled-componentscreateexepushtrimStartfpencryptionmetadataruntimeeditortapArray.prototype.flatthroatrgbtestcollectionchromereadableStreamsYAMLes6watchFilebabelauthdayjsbreakdefinewhichapptypesafecall-bindoptimizerES7statelessvarUnderscoreyuptelephonejQueryconcatjoitoArrayWeakMapmimeupreact-hookskoreansymlinkhooksInt32ArrayramdaclientoncenumberwatchingnpmRegExp#flagsschemelastanimationbundlingprocessthreeglobdependency manageres2015ES8commanderwarningArrayBuffer#slicetypescriptAsyncIteratorminimalECMAScript 2016isConcatSpreadableexit-codereact-testing-libraryutilopenerstructuredCloneReactiveXurlloggingArray.prototype.findLastchromiumreduxopenpromisedom-testing-library
1.0.0

1 year ago