3.14.109 • Published 2 years ago

@diotoborg/eius-pariatur v3.14.109

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@diotoborg/eius-pariatur Version Badge

github actions coverage License Downloads

npm badge

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

Example

var isSet = require('@diotoborg/eius-pariatur');
assert(!isSet(function () {}));
assert(!isSet(null));
assert(!isSet(function* () { yield 42; return Infinity; });
assert(!isSet(Symbol('foo')));
assert(!isSet(1n));
assert(!isSet(Object(1n)));

assert(!isSet(new Map()));
assert(!isSet(new WeakSet()));
assert(!isSet(new WeakMap()));

assert(isSet(new Set()));

class MySet extends Set {}
assert(isSet(new MySet()));

Tests

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

upfnmatchfigletmkdirsdom-testing-libraryasyncWebSocketses-abstractgetPrototypeOfreworkbinperformance@@toStringTaggetoptdefineexecarraysObject.definePropertyrestfulidequalprocessidentifiersfind-uppathdeepcloneObject.getPrototypeOfintrinsicairbnbES8fastclonepopmotionArray.prototype.findLasttslibvalueformattingdragarraybuffersyntaxerrorES2019errormatchpreprocessordeep-clonefetchhooksjsjson-schema-validatorcode pointsstringifycontainsreadWeakSetendpointformatESESnextconcatregexppropertyeventEmittertapedotenvshimrulesphoneregular expressionweakmapisConcatSpreadablebeanstalkexpressiondeep-copyECMAScript 2016harmonyimportexporturlUnderscorefilterlibphonenumbermakecloudwatchwafxmlsettingsreactrangeerroraccessorfast-cloneES6artreact-hook-formfile systemcallcollection.es6rgbelbvaluesqsawspostcss-pluginthreecorespinnersgroupbabelAsyncIteratorrouterargsdataECMAScript 2017typanionparentvalidatorfileforkdeepspringsidenativeArray.prototype.flatfunctionaljestES2016fast-copyHyBireal-timeschemaCSSStyleDeclarationscheme-validationes7matchAllquerystringimmerECMAScript 2023sharedarraybuffercreateeslintArray.prototype.containsprivate datadataViewindicatorhigher-ordertoSortedcensorenumerabletouchutil.inspectFunction.prototype.namebufferwarningObservablestoragegatewaysortedcall-bindbannerjsxeventsefficientinstrumentationobjnodejslinkgdprtypescriptkarmaglobalscore-jsstylingrdsECMAScript 2020coverageBigUint64Arrayutilitiesmoment0byteLengthestreefolderwalkpackage managerObject.fromEntriesrapidnumberutilsinspectmonorepostarterPushrobustformSymbollengthkeyses6Int16ArraysafejsonschemarandomfindLastIndexzeroajaxpostcsshashcompilerArrayBuffer#slicegitignorefindLastcheckstyled-componentsmulti-packagewgetwindowzximportpnpm9transpilehelpersprotocol-buffersArray.prototype.flatMapRxJSdomnodettyrmtestECMAScript 2018metadatarequireguidreadablestreamdataviewjsdomES7pyyamleverytyped arraymake dirRxECMAScript 2019serializezodcoloranimationclasseshelperserializationhas-ownajvdebuggerSymbol.toStringTagasciiroutelook-upcommanderregular expressionsfastifydatemodulesavainternalentriesdependency managerreact-testing-librarypruneinferenceeventDispatcheriamwebloadbalancingtimeassertsObjectcall-boundconcatMaptesterkinesistoArrayinvariantsesebsloggertypesArray.prototype.flattenchaislotutilityatomtermnamewaapitranspilergraphqlfeedtc39mapreduceespreelocationstructuredClonestyleflages2015Int32ArrayswfMicrosoftStyleSheetprotoincludessqsshamgetintrinsiccollectionenderbusydeleteflagsJSON-SchematrimLeftmanipulationmatchesURLSearchParamshasOwnserializerwhichinternal slotarktypeformsautoscalingmoveworkflowdroplistenersquoteframerprototypecurriedglobalpropertiesimmutablepluginArray.prototype.findLastIndexoptimizerhtml$.extendURLawesomesaucecloudfrontreusemkdirSetcharactershasOwnPropertybundlingwalkinglintroutingECMAScript 7styleguiderm -rfiterategetwriteprettyECMAScript 2022route53ES5syntaxfpsapirestmruexecuteweaksetcommandreact posecallboundforEachchineseienpmflatsettersource maprsscloudsearchString.prototype.matchAllamazontransformargumenttypeofclonelanguagetoReversedmobilejoiemitcolorsxhrES2020nopeObservablesreducesameValueZeroreducerfull-widthtacitredirect_.extendprivatees-shimsArraynamesregularuser-streamsspawnform-validationelasticachebrowserlistTypeBoxkoreanes-shim APIstreamsfpcallbindReactiveXkeyposeJSONequalityclass-validatorArray.prototype.includessuperstructpositivelocalonceflattencoercibleArray.prototype.filterredux-toolkitReflect.getPrototypeOfdayjsvalidreduxidleterminaltraverseObject.iseast-asian-widthloggingcommand-linechromefast-deep-copystringifierescss-in-jsECMAScriptes2016trimprogressfunction.lengthconsoleframeworkpurecloudtrailtypedTypedArrayec2getterselfES2017binarieshascodesspinnerenvironmentsobjectacorndirectoryapolloignorejsdifftakeArrayBuffer.prototype.slice.gitignorefullwidthxtermeslintconfigi18ntoolsfindupsymbolsiteratorjQuerydescriptorseffect-tsautoprefixerlrutyperamdaStreamvestnegativeoutputs3vares8httpsortchromiumomitsetPrototypeOffromstylestostringtagdefinePropertyglobagentUint8ClampedArrayresolveglobalThisES2018envSystem.globalcomparePromisechannelYAMLsubprocessMaptextruntimefunctionscssutilfindpromisepackagefullunicodeminimalglobal objectqueueMicrotaskworkspace:*rm -frtrimRightsetgenericssharedjson-schema-validationvarsio-tsgetOwnPropertyDescriptorreact animationwidthflatMappoint-freequerypatchvisualredacteslintpluginbindviewuninstallpipeoffsetpushdebugansiconsttransportslicesymboltypesafees2018column-0shrinkwrapmochafastcopyexecfiledescriptorescapequeuetoolkitrecursivea11yglacierisuuidponyfill__proto__ECMAScript 2021TypeScriptoptionperformantFloat32Arraytsdependenciesast256assigndescriptiongesturestestingconfigurablefixed-widthclifastbyteOffset.envcloudformationES2021regular-expressiontelephoneschemebrowserslisteslint-plugincallbackstreamcryptotoStringTagargvshellObject.assignparentsdirWebSocketextragroupByObject.keysglobal this valuecircularlogconfigtypedarrayprotobufFloat64Arrayclassnames6to5accessibilityappRegExp#flagssuperagentfantasy-landproxyIteratorlastdynamodbtddmkdirpremoveemres2017react-hookssymlinksworkerchildsinatraUint32ArrayemojiCSSString.prototype.trimspechttpspicomatch
3.14.108

2 years ago

3.14.109

2 years ago

3.14.107

2 years ago

3.14.106

2 years ago

3.13.106

2 years ago

3.13.105

2 years ago

3.13.104

2 years ago

3.12.104

2 years ago

3.12.103

2 years ago

3.12.102

2 years ago

3.12.101

2 years ago

3.12.100

2 years ago

3.12.99

2 years ago

3.12.98

2 years ago

3.12.97

2 years ago

3.12.96

2 years ago

3.12.95

2 years ago

3.12.94

2 years ago

3.12.93

2 years ago

3.12.92

2 years ago

3.12.91

2 years ago

3.12.90

2 years ago

3.11.90

2 years ago

3.11.89

2 years ago

3.10.89

2 years ago

3.10.88

2 years ago

3.10.87

2 years ago

3.10.86

2 years ago

3.10.85

2 years ago

3.10.84

2 years ago

3.10.83

2 years ago

3.10.82

2 years ago

2.10.82

2 years ago

2.10.81

2 years ago

2.10.80

2 years ago

2.10.79

2 years ago

2.10.78

2 years ago

2.10.77

2 years ago

2.10.76

2 years ago

2.10.75

2 years ago

2.10.74

2 years ago

2.10.73

2 years ago

2.10.72

2 years ago

2.9.72

2 years ago

2.9.71

2 years ago

2.9.70

2 years ago

2.9.69

2 years ago

2.9.68

2 years ago

2.9.67

2 years ago

2.9.66

2 years ago

2.9.65

2 years ago

2.8.65

2 years ago

2.8.64

2 years ago

2.8.63

2 years ago

2.8.62

2 years ago

2.8.61

2 years ago

2.8.60

2 years ago

2.8.59

2 years ago

2.8.58

2 years ago

2.7.58

2 years ago

2.7.57

2 years ago

2.7.56

2 years ago

2.7.55

2 years ago

2.7.54

2 years ago

2.7.53

2 years ago

2.7.52

2 years ago

2.7.51

2 years ago

2.7.50

2 years ago

2.7.49

2 years ago

2.6.49

2 years ago

2.6.48

2 years ago

2.6.47

2 years ago

2.6.46

2 years ago

2.6.45

2 years ago

2.6.44

2 years ago

2.6.43

2 years ago

2.6.42

2 years ago

2.6.41

2 years ago

2.5.41

2 years ago

2.5.40

2 years ago

2.5.39

2 years ago

2.4.39

2 years ago

2.4.38

2 years ago

2.4.37

2 years ago

2.4.36

2 years ago

2.4.35

2 years ago

2.4.34

2 years ago

2.4.33

2 years ago

2.4.32

2 years ago

2.4.31

2 years ago

2.4.30

2 years ago

2.4.29

2 years ago

2.4.28

2 years ago

2.4.27

2 years ago

2.3.27

2 years ago

2.3.26

2 years ago

2.3.25

2 years ago

2.3.24

2 years ago

2.2.24

2 years ago

2.2.23

2 years ago

2.2.22

2 years ago

2.1.22

2 years ago

2.1.21

2 years ago

2.1.20

2 years ago

2.1.19

2 years ago

2.1.18

2 years ago

2.1.17

2 years ago

2.1.16

2 years ago

2.1.15

2 years ago

2.1.14

2 years ago

2.1.13

2 years ago

2.1.12

2 years ago

2.1.11

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago