3.14.109 • Published 10 months ago

@diotoborg/eius-pariatur v3.14.109

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

10 months ago

3.14.109

10 months ago

3.14.107

10 months ago

3.14.106

10 months ago

3.13.106

10 months ago

3.13.105

10 months ago

3.13.104

10 months ago

3.12.104

10 months ago

3.12.103

10 months ago

3.12.102

10 months ago

3.12.101

10 months ago

3.12.100

10 months ago

3.12.99

10 months ago

3.12.98

10 months ago

3.12.97

10 months ago

3.12.96

10 months ago

3.12.95

10 months ago

3.12.94

10 months ago

3.12.93

10 months ago

3.12.92

10 months ago

3.12.91

10 months ago

3.12.90

10 months ago

3.11.90

11 months ago

3.11.89

11 months ago

3.10.89

11 months ago

3.10.88

11 months ago

3.10.87

11 months ago

3.10.86

11 months ago

3.10.85

11 months ago

3.10.84

11 months ago

3.10.83

11 months ago

3.10.82

11 months ago

2.10.82

11 months ago

2.10.81

11 months ago

2.10.80

11 months ago

2.10.79

11 months ago

2.10.78

11 months ago

2.10.77

11 months ago

2.10.76

11 months ago

2.10.75

11 months ago

2.10.74

11 months ago

2.10.73

11 months ago

2.10.72

11 months ago

2.9.72

11 months ago

2.9.71

11 months ago

2.9.70

11 months ago

2.9.69

11 months ago

2.9.68

11 months ago

2.9.67

11 months ago

2.9.66

11 months ago

2.9.65

11 months ago

2.8.65

11 months ago

2.8.64

12 months ago

2.8.63

12 months ago

2.8.62

12 months ago

2.8.61

12 months ago

2.8.60

12 months ago

2.8.59

12 months ago

2.8.58

12 months ago

2.7.58

12 months ago

2.7.57

12 months ago

2.7.56

12 months ago

2.7.55

12 months ago

2.7.54

12 months ago

2.7.53

12 months ago

2.7.52

12 months ago

2.7.51

12 months ago

2.7.50

12 months ago

2.7.49

12 months ago

2.6.49

12 months ago

2.6.48

12 months ago

2.6.47

12 months ago

2.6.46

1 year ago

2.6.45

1 year ago

2.6.44

1 year ago

2.6.43

1 year ago

2.6.42

1 year ago

2.6.41

1 year ago

2.5.41

1 year ago

2.5.40

1 year ago

2.5.39

1 year ago

2.4.39

1 year ago

2.4.38

1 year ago

2.4.37

1 year ago

2.4.36

1 year ago

2.4.35

1 year ago

2.4.34

1 year ago

2.4.33

1 year ago

2.4.32

1 year ago

2.4.31

1 year ago

2.4.30

1 year ago

2.4.29

1 year ago

2.4.28

1 year ago

2.4.27

1 year ago

2.3.27

1 year ago

2.3.26

1 year ago

2.3.25

1 year ago

2.3.24

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

2.2.22

1 year ago

2.1.22

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

2.1.19

1 year ago

2.1.18

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

1.1.11

1 year ago

1.1.10

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