1.0.0 • Published 1 year ago

@saoviettest/occaecati-adipisci-mollitia-itaque v1.0.0

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

@saoviettest/occaecati-adipisci-mollitia-itaque 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('@saoviettest/occaecati-adipisci-mollitia-itaque');
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.

cjkqueryframeworkmimetypestypesfetchserializeremovemkdirpUint16ArrayregexObject.keysprototypeelmpackageconcatMapreduceFloat32ArrayJSONkoreanmkdirssharedarraybufferstreamsdependency managerjQueryfile systeminternaleventsfastspinnersFunction.prototype.nameweakmapflattenoffsetdataViewformgetOwnPropertyDescriptorenvironmenturl_.extendautoscalingterm.envtraversestyled-componentscheckdomcallexpressnumbernested csslognodeRegExp#flagsviewtelephoneapiTypeBoxdiffgenericsa11yECMAScript 7watchregularfast-deep-copyenderredux-toolkitvisualHyBiesweaksethasOwnnodejscloudformationdescriptori18nIteratorargumentjsdiffArray.prototype.flatMapwgetintrinsicString.prototype.trimprogressmonorepoxhrownecmascriptmime-dbhigher-ordercolumnssymlinksbyteLengthfunctionsrmminimalregexpstringifierarraysfiltertrimStartfindpostcssfull-widthwatcherstructuredClonebufferstdlibhttpstreams2Uint8ClampedArrayqueuepasswordnpmimmutablestylingdirectorycss variablestringifyArray.prototype.findLasttextdropschemeispyyamlredirectpathpnpm9shebangjwtbyteObservablesformsnopeObservabletypeerrorcreateutil.inspectassertscorsauthenticationPushartscheme-validationebsObject.valuesgettertc39bddkeysymbolsstyleguideairbnbcommandforEachbannerreadablemapreal-time$.extendvestes2016encryptionsafedatastructureflaghas-ownrfc4122xtermtrimEndfluxpluginconsoleUint8Arraywordwrapdom-testing-libraryES2017cloudtrailes8private datacallboundprivatees7codesdependenciestapeiterateeslintpluginvaluesmatchfpsWebSocketmimequerystringsequencestablesetterAsyncIteratortypedarraysless cssmakeserializationarktypewordbreakrangeerrorgdprdescriptorscorebcryptclientcharacterpostcss-pluginratelimitECMAScript 5pushlistenersless.jsinstallerspinnerInt16ArrayES5dotenvgroupsortarrayterminalassignrm -rfzerotypedarraycoerciblesettingssetcloneomitwafimmerfilelazyCSSStyleDeclarationiteratorworkflowreact-testing-librarydescriptionelectronexpressionavakeystoStringTagES3ES2023dateespreewhatwgvariables in cssdirmake dirinstallsortedvalideast-asian-widthdeep-copycligradients cssflagsmatchAlldeepcloneArray.prototype.filterRFC-6455apolloECMAScript 2019asciiobjtrimLeftES8unicodecss-in-jsmomenthardlinkses6configECMAScript 6csspackage managerregular expressionsperformancecurlECMAScript 2016flatMapless mixinswriteperformantTypeScriptcollection.es6eslint-plugintypeECMAScript 2020quoteObjectRxJSbindrapidprotobufMapcloudsearchpreserve-symlinksprettymapreduceArrayBufferStreameverytrimassertionfromnativeserializershelllimitstringmatcheslinktestinvariantimportsymboliejsxjapaneseduplexBigInt64ArrayreuseupObject.fromEntriesUnderscorepackage.jsonmochagroupBypipeutilitywidthcore-jsthroataccessorhasOwnPropertyrobustloggingconfigurableentriesshrinkwrapoptimistamazonflatsliceArrayBuffer#slicechromiumcharactersURLcensorchailesscssfastifyStreamsmovecolorsincludessymlinkreactschemaArray.prototype.findLastIndexpredictableArray.prototype.flattenutilitieswatchFilesimpledbyupgetPrototypeOfopenpropertytoolkitresolveSetequalsqsECMAScript 2022cloudfrontRegExp.prototype.flagsjoicall-boundcacheawsReactiveXchinesermdirbluebirdthrottle-0classnamevariablestesterbyteOffsetmiddlewaretypaniontoSortedfseventscss lessspeedspecjsObject.iseslintconfigfindupStyleSheetraterdsargsrandomemojireducertasklook-upnameauthformatting256mkdirURLSearchParamscompile lesswebvalidateqsawesomesaucefolderString.prototype.matchAllArray.prototype.containssuperagentES7propwhichinspectWeakMapstylesheetonceawaitgetoptwrapargparseisConcatSpreadableUint32Arrayless compilerWeakSetcode pointsreact-hook-formES2018gradients css3tstypesafehassetPrototypeOfReactiveExtensionses2017es5css nestingES2022functiondebuggerstreamcommanderdeepcopyglacierdeep-cloneeventEmitterlinewrapObject.definePropertystoragegatewaywalkingchannelemitconnectdataswfECMAScript 2017figletqueueMicrotaskfindLastIndexES2015WebSockets[[Prototype]]fullwidthtyped arrayloadingprotoaccessibilitygloblockfiles3toobjectTypedArraydeleteyamlprotocol-buffersobjectbusyES6Object.getPrototypeOfponyfilllintshammodule
1.0.0

1 year ago