8.17.143 • Published 11 months ago

@firanorg/pariatur-officia-placeat v8.17.143

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

@firanorg/pariatur-officia-placeat Version Badge

github actions coverage License Downloads

npm badge

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

Example

var isWeakSet = require('@firanorg/pariatur-officia-placeat');
assert(!isWeakSet(function () {}));
assert(!isWeakSet(null));
assert(!isWeakSet(function* () { yield 42; return Infinity; });
assert(!isWeakSet(Symbol('foo')));
assert(!isWeakSet(1n));
assert(!isWeakSet(Object(1n)));

assert(!isWeakSet(new Set()));
assert(!isWeakSet(new WeakMap()));
assert(!isWeakSet(new Map()));

assert(isWeakSet(new WeakSet()));

class MyWeakSet extends WeakSet {}
assert(isWeakSet(new MyWeakSet()));

Tests

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

argsstartermkdirpchecklookexecString.prototype.matchAllmetadatadatabannermobileutilslotjsdomreplaydebugstatuscss-in-jscolorhttpquotestatekarmasignaltypeerrorserializationdiffutil.inspectmake dirprogressvariables in cssoptimistpropertiesless.jsnumberjsdiffsortwritesortedisperformanthashimportexporthookseslintconfigfastECMAScript 2018l10nbrowserlistbytesigtermlockfiletrimStartsigintfast-deep-clonewhatwgfetchunicodeEStoStringTagawesomesaucelanguageoperating-systemenvclassesES2019regexpcolumngetOwnPropertyDescriptorTypedArraykeysES2016internal slotfsobjtelephoneaccessibilityregexHyBideepcopylessString.prototype.trimjsmacosCSScomparecharactersspinnerskoreanbufferglobcall-boundReflect.getPrototypeOfeslintcolourextraruntimeansimimetypesgroupBybcryptsymbolsreduxcore-jswatchnodejsmochaflattenglobalsfindLastIndexcloudwatchflagtypeofqueueSetextendirqiterationagentwhichpostcss-pluginArrayBuffer#sliceclass-validatorrobustguides7negative zero.envspeedauthUint32ArrayfunctionallistenerssqsdescriptiontouchArraysharedarraybufferclonetslibformFloat32Arraydotenvdeep-cloneelasticachetypedmakestoragegatewayasyncjapanesecallbackvpcfpschinesesearchaccessorrmentriesESnextPromisestylesheetroutercompilerjwtawsMicrosoftmonorepomoduleReactiveXstringifyfastifypreserve-symlinksclassnameshellarktypeamazontimeReactiveExtensionsspeccss lessFunction.prototype.namerestfulspinnerBigUint64ArraytypesURLSearchParamsgradients csspatchcodeslogwebvisualoncecall-bindlazysafemimeididleroute53tapimmutableiteratecommanderchromereuseshrinkwrapstyled-componentsES2023corearrayes5deletearraysdescriptorsforEachTypeScriptwalkcolorsbundlingscheme-validationfileloggingYAMLratelimitcollectiones-shimsfindLasthandlersmruObject.fromEntriesworkspace:*privateObjecttostringtagES2017preprocessorshamWeakSetwalkingsymlinksprotobufJSON-SchemawatchFilerates3swfrdsbootstrap lessartbuffersES2021concatMapcensorec2variablesjasminetypedarrayscachedataviewglobalminimalcryptoimmercloudfrontlengthtoolsrm -fres8less compiler__proto__prunereducerfile systemArray.prototype.includesebsloggerphoneECMAScript 2017regular expressioneslint-pluginWebSocketslruhelpersstructuredClonemomenthasOwnECMAScript 3expressiondescriptorsymbolpackagevalidnamedayjsArrayBuffer.prototype.slicereact-hooksgradients css3processes2016Array.prototype.containsvestserialize-0assertterminalemitfixed-widthchromiumjQuerypyyamlfullwidthiamecmascriptECMAScript 2015upStyleSheetpathhigher-orderi18narraybuffereverystdlibencryptionredux-toolkit256wgetinternalfseventsbindfastcloneArrayBufferoffsetBigInt64Arraycoerciblecompile lessSymbol.toStringTagsideescapeieeventEmitterES2018iteratorautoscalingtestparsercircularwidthtypesafebyteLengthtraverseshebangArray.prototype.filterES7negativebootstrap csspackage managervalueURLweaksettestingAsyncIteratorstylingUint8ArrayrapidqueueMicrotaskECMAScript 6qsequales-shim APIgroupreact-hook-formbddinferencecss variablecss nestingworkerECMAScript 5hardlinksschememiddlewaresetPrototypeOfrecursive@@toStringTagglacierremoveloadbalancingtapeappECMAScript 2022StreamsECMAScript 2021polyfillshimidentifiersendpointRxJScallbindstylesignalseventsproxynested cssUint16ArrayvalidatepositivepropgetoptreactObject.definePropertyloadingtermexit-codetddWeakMapawaitconfigpassworddependenciesrequirebundlerstatelessfind-upoutputreadablestreamschemainterruptsWebSocketinurlconfigurablefull-widthSymbolstringifiera11yfastcopynodeless mixinsgettypaniondynamodbInt16Arrayttycallbound0Int8ArrayperformancebrowserslistwafdeterministicparentsjoisliceelectroncreateresolveargparseinstallervaluesstringvalidationArray.prototype.findLastObject.valuespnpm9esfolderrfc4122definePropertydom-testing-librarywordwrapconcurrencypersistentFloat64ArrayweakmapObject.keyscommandtc39environmentparsingmapreduceconnectregular expressionswarningairbnbsetArray.prototype.flatMapnativecharacterlibphonenumberECMAScript 2020postcssimportmatchdirdomparentauthenticationhookform_.extendqueryeslintpluginthroatdefineestreepicomatchpropertyprivate datacopyvarsjshintprototypeenvironmentskinesisTypeBoxtoobjectwatchingobjectlesscssxtermdebuggerstreams2channelautoprefixerpromisepackagescollection.es6ES5setImmediatematchestaskerror-handlinglinuxmergejavascriptpromiseselbwatcherES2022fast-clonehotstablehasOwnPropertypredictablegenericsObject.getPrototypeOfendermodulesroutingtoolkitprettyenumerableflagstextObject.assigncloudformationsettingsinputprotocol-buffersthrottlegetPrototypeOfprotoowntrimRightStreamreact-testing-librarycolumnses2018readableemrsyntaxtrimEndbatchRegExp.prototype.flagsindicatormixinsviewserializerECMAScript 2016$.extendRegExp#flagsefficientbusyrandomlimiterrorJSONmatchAllObject.isapies2017toArrayform-validationcloudtrailfigletcorsjsxinspectcalleventDispatcherelmajaxuninstalllinkdataViewfromnamescomputed-typesreadIteratoremojidependency managersimpledb[[Prototype]]wordbreakregularrequestexitECMAScript 2019isConcatSpreadableconsumegetterwritablebreakes2015functioninstallreducestylesformatexpresssameValueZerojestObservablebyteOffsetfindlinewraprm -rfformsreal-timeclassnamesprefixsequencebeanstalkcloudsearchflatRFC-6455rangeerrorbrowserES8sesutilitiesintrinsicajvextensionio-tstypeMaptypescriptsymlinklimitedUnderscoreformattinghas-ownpluginnopedeepclonesuperstructArray.prototype.flatwrapes-abstractroutecurlparseES6lastdeepdroptrimLeftsharedcontainshttpslivemkdiroptimizerhasCSSStyleDeclarationfilterES2020tsconcatavasyntaxerrorES2015PushassertskeyfinduptoSortedsomesuperagentmovelook-upassignpackage.jsondirectorypipeObservablesmulti-packageassertionfunctionsmaplintomiteast-asian-widthfullcryptasciiRxless cssboundponyfillzerostreamdatastructureECMAScript 2023trimuuides6duplexbluebirdECMAScript 7ES3waitfast-deep-copyfast-copystyleguidedeep-copycode pointscommand-linefluxtyped arrayjsonpathstreamssetterUint8ClampedArrayopenastzoddatergbframeworkmkdirsgdprcjkObject.entriesargvpushworkflowquerystring
8.17.143

11 months ago

8.17.142

11 months ago

8.17.141

11 months ago

8.15.128

11 months ago

8.15.127

11 months ago

8.15.129

11 months ago

8.16.141

11 months ago

8.16.140

11 months ago

8.16.138

11 months ago

8.16.137

11 months ago

8.16.136

11 months ago

8.16.135

11 months ago

8.16.139

11 months ago

8.15.131

11 months ago

8.15.130

11 months ago

8.15.132

11 months ago

8.14.127

11 months ago

8.14.126

11 months ago

8.16.134

11 months ago

8.16.133

11 months ago

8.16.132

11 months ago

8.14.125

12 months ago

8.14.124

12 months ago

8.13.124

12 months ago

8.13.123

12 months ago

8.13.122

12 months ago

8.13.120

12 months ago

8.13.121

12 months ago

8.13.117

12 months ago

8.13.116

12 months ago

8.13.119

12 months ago

8.13.118

12 months ago

8.13.115

12 months ago

8.13.114

12 months ago

7.13.114

12 months ago

7.13.113

12 months ago

7.13.112

12 months ago

7.12.112

12 months ago

7.12.111

12 months ago

7.12.110

12 months ago

7.12.109

12 months ago

7.12.108

1 year ago

7.12.107

1 year ago

7.12.106

1 year ago

7.12.105

1 year ago

7.12.104

1 year ago

7.12.103

1 year ago

7.12.102

1 year ago

7.12.101

1 year ago

7.12.100

1 year ago

7.12.99

1 year ago

5.10.70

1 year ago

3.7.35

1 year ago

3.7.36

1 year ago

3.7.33

1 year ago

3.7.34

1 year ago

6.12.81

1 year ago

6.12.82

1 year ago

4.8.61

1 year ago

6.12.80

1 year ago

4.8.60

1 year ago

4.8.62

1 year ago

6.12.89

1 year ago

6.12.87

1 year ago

6.12.88

1 year ago

6.12.85

1 year ago

6.12.86

1 year ago

6.12.83

1 year ago

6.12.84

1 year ago

1.4.24

1 year ago

1.4.23

1 year ago

1.4.26

1 year ago

1.4.25

1 year ago

1.4.28

1 year ago

1.4.27

1 year ago

4.8.50

1 year ago

4.8.52

1 year ago

3.5.29

1 year ago

4.8.51

1 year ago

4.8.54

1 year ago

4.8.53

1 year ago

6.12.78

1 year ago

4.8.56

1 year ago

6.12.79

1 year ago

4.8.55

1 year ago

6.12.76

1 year ago

4.8.58

1 year ago

6.12.77

1 year ago

4.8.57

1 year ago

4.8.59

1 year ago

5.9.65

1 year ago

3.4.29

1 year ago

5.11.71

1 year ago

5.11.70

1 year ago

6.12.92

1 year ago

6.12.93

1 year ago

6.12.90

1 year ago

6.12.91

1 year ago

2.4.29

1 year ago

2.4.28

1 year ago

6.12.98

1 year ago

6.12.99

1 year ago

6.12.96

1 year ago

6.12.97

1 year ago

6.12.94

1 year ago

6.12.95

1 year ago

5.11.72

1 year ago

3.8.47

1 year ago

3.8.48

1 year ago

3.8.45

1 year ago

3.8.46

1 year ago

3.8.43

1 year ago

3.8.44

1 year ago

3.8.41

1 year ago

3.8.42

1 year ago

3.8.40

1 year ago

1.3.17

1 year ago

1.3.18

1 year ago

5.8.63

1 year ago

5.8.64

1 year ago

5.8.65

1 year ago

1.3.19

1 year ago

3.6.33

1 year ago

3.6.32

1 year ago

3.6.31

1 year ago

5.8.62

1 year ago

3.6.30

1 year ago

1.3.20

1 year ago

1.3.21

1 year ago

1.3.22

1 year ago

1.3.23

1 year ago

5.12.72

1 year ago

3.5.30

1 year ago

4.8.49

1 year ago

4.8.48

1 year ago

5.12.73

1 year ago

5.12.74

1 year ago

5.12.75

1 year ago

5.12.76

1 year ago

3.8.38

1 year ago

3.8.39

1 year ago

3.8.36

1 year ago

3.8.37

1 year ago

5.10.69

1 year ago

5.10.68

1 year ago

5.10.65

1 year ago

5.10.67

1 year ago

5.10.66

1 year ago

1.3.16

1 year ago

1.3.14

1 year ago

1.2.13

1 year ago

1.3.15

1 year ago

1.2.14

1 year ago

1.2.12

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