6.6.100 • Published 12 months ago

@patrtorg/repellat-quam v6.6.100

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

@patrtorg/repellat-quam Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

Example

var isWeakMap = require('@patrtorg/repellat-quam');
assert(!isWeakMap(function () {}));
assert(!isWeakMap(null));
assert(!isWeakMap(function* () { yield 42; return Infinity; });
assert(!isWeakMap(Symbol('foo')));
assert(!isWeakMap(1n));
assert(!isWeakMap(Object(1n)));

assert(!isWeakMap(new Set()));
assert(!isWeakMap(new WeakSet()));
assert(!isWeakMap(new Map()));

assert(isWeakMap(new WeakMap()));

class MyWeakMap extends WeakMap {}
assert(isWeakMap(new MyWeakMap()));

Tests

Simply clone the repo, npm install, and run npm test

cjkcharacterRxECMAScript 2018JSONcloneintrinsicdeleteESnexttelephonestylingbundlingcall-boundECMAScript 7pathamazonhelperprefixES2020bindclassnameformpyyamlexecuteES2021settingsprettyfast-cloneauthcontainsbrowserslistreadableurlelasticachetrimRightencryptionjsdomqsrangeerrorinferencehttpsTypeBoxautoprefixerservicepatchimportenvironmentconfigurableartreact-hooksrandomtypesafecss lessObject.fromEntriesswflinttypaniongetintrinsicfpMicrosoftcreate@@toStringTagObject.getPrototypeOffilterrgbdomjoiinputawsawesomesaucestarterl10nECMAScript 2022forEachsymbolpropertieschannelbrowserlisttypedarraysrecursiveES7internaltranspileYAMLHyBiobjectgdprcore-jsio-tsreact-hook-formString.prototype.trimenumerablevariables in cssJSON-SchemaWeakMapexitiepluginpromiseeventEmittertddjshintremoveshimruntimefigleteast-asian-widthfullObject.isshrinkwrapselfajvoptimizeriteratewriteproxyasyncfpsBigInt64Arraysignedcachedataviewexpressiondayjsarktypeclientreact poseworkerwritableoptionauthenticationsideRxJShas-ownnativenpmignorelockfileArray.prototype.containsjavascriptObjectkeyquotehotobjprivate datatypescriptcommandjson-schemabrowsereslintspeedES2023eventsbddtoSortedsesviewmapreduceAsyncIteratornpmES50fullwidthentriesbinariesiteratorreduceshamcssinternal slotes6elbregexpcss variableworkflowprunesequenceexit-codefantasy-landelmloggingvaluetypeofnested csssubprocessletwidthcryptotranspilerbcryptexpressECMAScript 2021persistentclassnameswaapiasciieffect-tsmobileTypedArrayjapanesegesturesgitignoreES2016descriptorscolorArray.prototype.findLasta11yredirectfast-deep-clonecensorES2022nodestoragegatewayzodi18nSymbolpreserve-symlinksconcatMapframerutilitymetadataprivatemkdirpReflect.getPrototypeOfsymlinkswindowArrayBuffer#sliceFloat32ArraypropertyefficientvalidecmascriptSetglobal objecthandlersec2TypeScriptbinaryIteratorfetchlinkwafmruparserpolyfillomitrapidincludeslibphonenumberservercircularemitdaterulesmonorepoMapregularimmutablecurriedgetponyfilllocationfast-copyhookformback-endstylepredictableargvECMAScript 2023chinesewindowsutilajaxarraybuffermulti-packageargumentlrucoerciblezeroeslintpluginsigint256columnsPushUnderscoreownuser-streamsmkdirsBigUint64Arraypositivecall-bindES8wgetsymbolscomputed-typeslivetyperedux-toolkitSymbol.toStringTagObject.keysreact-testing-librarycommanderStreamsfastcopylessstringifierenderbuffersexecfileteststructuredClonelazycopyInt32Arraymake dirunicodespawnless.jsperformancestreamstringvariablesperformantArray.prototype.findLastIndexutilsInt8Arraypnpm9colorsRegExp#flagsprototypedirectoryqueueMicrotaskpreprocessorkoreandynamodbsetImmediatestyleguidepackage managerform-validationqueuestreamsfile systemuninstalllogflatgetPrototypeOfdataViewxhrsymlinkfilearraygradients css3sharedes2015autoscaling_.extendlastglobal this valueexecfunctionalaccessores5chromiummixinssomeproto$.extendglobalshardlinkserrorbundlerdeterministiccss nestingconcatdefinePropertydeepclonewhichtakepostcss-pluginpackagesfluxelectroncryptidlepopmotionapollogetoptformattingargsslotwalkassignhasOwnECMAScript 3weaksetmakemoveassertvalidateendpointcurlgroupreadablestreamES2017collectionmatchthreebabeltesterequalityURLUint16Arrayebsdataspinnersredactregular expressionforkPromiselistenersdirless mixinscloudsearchsignalses2016deep-copyECMAScriptbootstrap cssenvironmentsdragmacosutil.inspectscheme-validationxtermstatelessgetOwnPropertyDescriptorgraphqlesfindcallreplaybufferes2018diffmapArrayBufferes2017Array.prototype.flattrimsetstyled-componentsserializerassertsflagskinesisUint8ClampedArrayvaluesSystem.globalObject.assignflagObject.valuescloudformationUint32ArrayweakmapharmonyimmerissignalrequireanimationStyleSheetvardeepcopyprocesspackage.jsonextraagentjwtvpcObservableestreeramdaschemecoretslibcheckpasswordroutingtypeerrorparseformatpicomatchtyped arrayes7momentterminal__proto__hasOwnPropertyfastjson-schema-validationreduxECMAScript 56to5querystringFunction.prototype.nametrimEndhandlersafetostringtagpostcssoutputtacitmodule[[Prototype]]escapeflatMapWeakSetArray.prototype.flattenpurebannergroupBychaistable.gitignoreWebSocketstringifyglaciermkdirECMAScript 2019point-freeresolvecloudtrailprotobufgetterloggerbeanstalkzxcollection.es6interruptses-shimspushes-abstractgenericsdom-testing-librarybyteOffsetapiloadingerror-handlingFloat64ArrayjsxdescriptorconfigignoreboundjsECMAScript 2016function.lengthjsdiffkeysReactiveXglobalreadtransportbintypesES3fnmatchspringcallbind
6.6.100

12 months ago

6.6.99

12 months ago

6.6.98

12 months ago

6.6.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

5.5.90

1 year ago

5.5.89

1 year ago

5.5.88

1 year ago

5.5.87

1 year ago

5.5.86

1 year ago

5.5.85

1 year ago

5.5.84

1 year ago

5.5.83

1 year ago

5.5.82

1 year ago

5.5.81

1 year ago

5.5.80

1 year ago

5.5.79

1 year ago

5.5.78

1 year ago

5.5.77

1 year ago

5.5.76

1 year ago

5.5.75

1 year ago

5.5.74

1 year ago

5.4.74

1 year ago

5.4.73

1 year ago

5.4.72

1 year ago

5.4.71

1 year ago

5.4.70

1 year ago

5.4.69

1 year ago

5.4.68

1 year ago

5.4.67

1 year ago

5.4.66

1 year ago

5.4.65

1 year ago

5.4.64

1 year ago

5.4.63

1 year ago

5.4.62

1 year ago

4.4.62

1 year ago

4.4.61

1 year ago

4.4.60

1 year ago

4.4.59

1 year ago

4.4.58

1 year ago

4.4.57

1 year ago

4.4.56

1 year ago

4.4.55

1 year ago

4.4.54

1 year ago

4.4.53

1 year ago

4.4.52

1 year ago

3.4.52

1 year ago

3.4.51

1 year ago

3.4.50

1 year ago

3.4.49

1 year ago

3.4.48

1 year ago

3.4.47

1 year ago

3.4.46

1 year ago

3.4.45

1 year ago

3.4.44

1 year ago

3.4.43

1 year ago

3.4.42

1 year ago

3.4.41

1 year ago

3.4.40

1 year ago

3.3.40

1 year ago

3.3.39

1 year ago

3.2.39

1 year ago

3.2.38

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.2.31

1 year ago

2.2.30

1 year ago

2.2.29

1 year ago

2.2.28

1 year ago

2.2.27

1 year ago

2.2.26

1 year ago

2.2.25

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

2.2.22

1 year ago

2.2.21

1 year ago

2.2.20

1 year ago

2.1.20

1 year ago

2.1.19

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

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