2.2.13 • Published 7 months ago

@dramaorg/delectus-pariatur v2.2.13

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@dramaorg/delectus-pariatur 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('@dramaorg/delectus-pariatur');
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.

jsoninspectbddCSSpluginfast-deep-copyslicelanguagetypedFloat32ArrayiteratorpatchpicomatchgetintrinsicimportwebbinaryreaddropsharedfolderfindLastbinPromiseparentownclassnamesfinduphookformmapsnscallbackexpressiamrmjapanesephonebeanstalktypeofelbslotwarningnegativeglobalThisgroupES3symbolsfetchasserturldeletegdprterminalECMAScript 6ECMAScript 2021mkdirpprivatelintsymlinksconcatMapregular-expressionArray.prototype.includescomparevaluesshebangmochatypespositiveinputserializervalidatorhastostringtagexecsestransformprocessassertionformattingRxreducerandomlastObject.fromEntriesprefixjsreverse__proto__jsxWebSocketStreamtapecallbindsidecollectiontoArrayemrdragdynamodbglobalscodestypanioninstalleres2017Iteratorfast-clone0guidstylingawesomesauceapollostyled-componentsdataviewa11ytesterstablespinnerInt16Arrayformsdatepoint-freeemojiargvMapjsdomsameValueZeroclass-validatorcallboundpopmotionendpointmatchessetterreact poseestreerangeerrorlocationforkutil.inspecttypedarraysmrumulti-packagerestful$.extendECMAScript 2018namesnopeimportexportwaapideterministictestsyntaxES2021deepcloneredirectanimationperformancecjkimmutablenpmignoredataquerySymbolflagsReflect.getPrototypeOfunicoderm -frsubprocessreactyuplinktextregularpnpm9eslintconfigxmltrimtslibdom-testing-librarylockfilebannerURLSearchParamsArray.prototype.findLastObject.keyselectronfindReactiveExtensionstypedarrayreact-testing-libraryBigUint64Arraypackage managereverytypescriptatomstarterbabelmake dirconfigexpressionhasOwnPropertyupprettytranspileridlesimpledbfullregexwhatwgtestingregular expressionsyamlzodconsumeelasticacheclonevariablescloudwatchcolumnses2018karmaomitRxJSRFC-6455serializationfpObject.valuesflatdescriptionsharedarraybufferistanbulenumerableidfastclonegetoptstreamnodejsjestcollection.es6espreetap-0ES7puresinatraglobal objecthardlinkspipeweakmapcolorarrayrobuststreamsTypeScriptvalidawscompileransihas-owndeepcopy[[Prototype]]dotenvtypestoragegatewaysettings6to5traverseArray.prototype.filterchaitrimLeftcall-boundemituser-streamsramdafunctionsquoteshrinkwraptoReversedajvagentpinorequestfullwidthreact animationstringifierpathspringinvariantcoerciblepreprocessorcontainstrimEndoptimizerutilsreal-timemakedayjsisConcatSpreadablecolorsprotocol-buffersbrowserlisttelephonesqsgitignoremanagerresolve
2.2.13

7 months ago

2.2.12

7 months ago

2.2.11

7 months ago

1.2.11

7 months ago

1.2.10

7 months ago

1.1.10

7 months ago

1.0.10

7 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago