5.8.98 • Published 10 months ago

@diotoborg/temporibus-id v5.8.98

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

@diotoborg/temporibus-id 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('@diotoborg/temporibus-id');
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.

gesturesframermacossuperagentreal-timeRegExp#flagsarraybuffersuperstructdefinePropertyfull-widthfromform-validationfixed-widthutilitysigtermregular expressioniamES2023reuseawesomesaucecurriedcachetsfunctionalsameValueZerobrowserlistlanguagebundlerclass-validatorFunction.prototype.nameconcatMapfilterwriteimportexportgraphqlES5zxuser-streamsclientchineseescapeprogresstoStringTagECMAScript 7trimStart0polyfillpromiseless mixinsroutenested cssstringtypeerrorsymlink256ownmergeES7regular-expressionstableec2tc39equalityUint16Arraypoint-freeextraassertsnumberhastakejsonhas-ownignoreelmthreenodejscollection.es6descriptionbyteOffsetTypeScriptcrypttoolstranspilertyped arraywalkasciiclone@@toStringTagchromiumflagsStreamslinturlinferencegradients cssenumerableObject.keysuploadES2017Array.prototype.containsRFC-6455windowsmkdirpless cssshimtransporttypefigletgetintrinsicauthpostcss-pluginYAMLfullwidthglobaleslintswfshebang$.extendsnsbinaryredactenvbinmanagerloadbalancingstateglobharmonyglacierInt32Arrayserializerpostcsscall-bindanimationcoreieboundbrowserslistsetImmediatecjkObject.entriesglobal objecttypescriptarktypeauthenticationwritableconstfast-deep-clonees2015spinnersclitermfindjQuerybinariesECMAScript 6JSONmake dirschemeassignserializeregexprapidECMAScript 2016hardlinksoperating-systemhasOwnPropertyflattenes6filecodeserror-handlingespreerecursiveutilitiestimecommanddeep-copygetoptpackage.json_.extendmapreducesesSymbol.toStringTagasteriskscopyapollocallbindbufferassertObject.isviewartarrayparsepruneECMAScript 5bindES3busyoutputinspectArray.prototype.flatMapefficientansiyupfindLastfastcopylesscssl10nfunctionscurleslintplugindotenvgdprbannertoArrayphonescheme-validationecmascriptObject.getPrototypeOfgroupmodulesfront-endbyteLengthmakefetchArray.prototype.filternamestreamArrayBuffernameslocationminimalkoreanirqstyleguideRegExp.prototype.flagsregexconsolemockdeepes2016zoddeepcopyreadablehttpspasswordprotoutil.inspectmkdirrandomtrimEndcloudfrontestreelruprivatejestmatchemitpositivecollectionjson-schemaroutingmomentpathObservablesmatchesairbnbinternal slotsimpledbArray.prototype.findLastdataviewES6UnderscoredropnativeFloat64Arrays3TypeBoxlastpinotextpackage managersignalgroupBycloudtrailspawnwhichCSSStyleDeclarationArrayBuffer.prototype.slicettykinesisArray.prototype.flatjshintvpcPromisevalidatevalidationES2018logginggetformatcolumntddUint8ArraycryptoObject.definePropertynegative zerofastifysetterURLWeakMapjsxindicatoriterateutilsredirectelasticachemonoreposharedarraybufferequalbcryptglobalThisfpsxtermES8signalsapisymbolajaxloadingendpointESprivate dataomithelperquerystringawsgitignoremapdeepcloneoptimizerflatInt16ArrayObservablevaluechanneles8json-schema-validationtrimLeftconfigurableObjecthasOwnstylesheetassertionless.jsreactclassnamesenderreact-hooksreadsetkeysrulesregulareventDispatcheragentperformantastdescriptorbddHyBihandlerinputslotqsWebSocketcolumnsdatelivecomputed-typesroute53jwtbootstrap lesssymlinkstelephoneCSSdirectorygetOwnPropertyDescriptorgradients css3dataViewtypesjson-schema-validatorreact animationshellmetadatatypedarraysdependenciesstyleeast-asian-widthObject.assignsigintselfforEachamazonspecmixinsstringifyfast-copyservicefunction.lengthcloudsearchcallexpress.envsqsStreamproxysubprocessfindLastIndexcallboundvarresolvecreateconfigBigUint64Arrayjselectronlesscss variablepackagesuninstallcertificatesargsexecfiletypanionpersistent.gitignorea11yvisualexpressionwindowString.prototype.matchAlljsdiffglobal this valueless compileryamlrangeerrorsyntaxtrimRightvaluesspinnergetPrototypeOftypesafeprototypeenvironmentsruntimechildvalidimmerAsyncIteratordeleteredux-toolkitpicomatchdynamodbECMAScript 3extendmoduledirtypedremovecommanderlocalproprequestWeakSetES2022widthcssshrinkwrapexecutetraversegenericsstateless
5.8.98

10 months ago

5.8.97

10 months ago

5.7.97

10 months ago

5.6.97

10 months ago

5.6.96

10 months ago

5.6.95

10 months ago

5.6.94

10 months ago

5.6.93

10 months ago

5.6.92

10 months ago

5.6.91

10 months ago

5.6.90

10 months ago

4.6.90

10 months ago

4.6.89

10 months ago

4.6.88

10 months ago

4.6.87

10 months ago

4.5.87

10 months ago

4.5.86

10 months ago

4.5.85

11 months ago

4.5.84

11 months ago

4.5.83

11 months ago

4.5.82

11 months ago

4.5.81

11 months ago

4.5.80

11 months ago

4.5.79

11 months ago

4.5.78

11 months ago

4.5.77

11 months ago

4.5.76

11 months ago

4.5.75

11 months ago

4.5.74

11 months ago

4.5.73

11 months ago

4.5.72

11 months ago

4.5.71

11 months ago

4.5.70

11 months ago

4.5.69

11 months ago

4.5.68

11 months ago

4.4.68

11 months ago

3.4.68

11 months ago

3.4.67

11 months ago

3.3.67

11 months ago

3.3.66

11 months ago

3.3.65

11 months ago

3.3.64

11 months ago

3.3.63

11 months ago

3.3.62

11 months ago

3.2.62

11 months ago

3.2.61

11 months ago

3.2.60

11 months ago

3.2.59

12 months ago

3.2.58

12 months ago

3.2.57

12 months ago

3.2.56

12 months ago

3.2.55

12 months ago

3.2.54

12 months ago

3.2.53

12 months ago

3.2.52

12 months ago

3.2.51

12 months ago

2.2.51

12 months ago

2.2.50

12 months ago

2.2.49

12 months ago

2.2.48

12 months ago

2.2.47

12 months ago

2.2.46

12 months ago

2.2.45

12 months ago

2.2.44

12 months ago

2.2.43

12 months ago

2.2.42

12 months ago

2.2.41

12 months ago

2.2.40

1 year ago

2.2.39

1 year ago

2.2.38

1 year ago

2.2.37

1 year ago

2.2.36

1 year ago

2.2.35

1 year ago

2.2.34

1 year ago

2.2.33

1 year ago

2.2.32

1 year ago

2.1.32

1 year ago

2.1.31

1 year ago

2.1.30

1 year ago

2.0.30

1 year ago

2.0.29

1 year ago

2.0.28

1 year ago

2.0.27

1 year ago

2.0.26

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago