5.8.98 • Published 12 months ago

@diotoborg/temporibus-id v5.8.98

Weekly downloads
-
License
MIT
Repository
github
Last release
12 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

12 months ago

5.8.97

12 months ago

5.7.97

12 months ago

5.6.97

12 months ago

5.6.96

12 months ago

5.6.95

1 year ago

5.6.94

1 year ago

5.6.93

1 year ago

5.6.92

1 year ago

5.6.91

1 year ago

5.6.90

1 year ago

4.6.90

1 year ago

4.6.89

1 year ago

4.6.88

1 year ago

4.6.87

1 year ago

4.5.87

1 year ago

4.5.86

1 year ago

4.5.85

1 year ago

4.5.84

1 year ago

4.5.83

1 year ago

4.5.82

1 year ago

4.5.81

1 year ago

4.5.80

1 year ago

4.5.79

1 year ago

4.5.78

1 year ago

4.5.77

1 year ago

4.5.76

1 year ago

4.5.75

1 year ago

4.5.74

1 year ago

4.5.73

1 year ago

4.5.72

1 year ago

4.5.71

1 year ago

4.5.70

1 year ago

4.5.69

1 year ago

4.5.68

1 year ago

4.4.68

1 year ago

3.4.68

1 year ago

3.4.67

1 year ago

3.3.67

1 year ago

3.3.66

1 year ago

3.3.65

1 year ago

3.3.64

1 year ago

3.3.63

1 year ago

3.3.62

1 year ago

3.2.62

1 year ago

3.2.61

1 year ago

3.2.60

1 year ago

3.2.59

1 year ago

3.2.58

1 year ago

3.2.57

1 year ago

3.2.56

1 year ago

3.2.55

1 year ago

3.2.54

1 year ago

3.2.53

1 year ago

3.2.52

1 year ago

3.2.51

1 year ago

2.2.51

1 year ago

2.2.50

1 year ago

2.2.49

1 year ago

2.2.48

1 year ago

2.2.47

1 year ago

2.2.46

1 year ago

2.2.45

1 year ago

2.2.44

1 year ago

2.2.43

1 year ago

2.2.42

1 year ago

2.2.41

1 year 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