3.14.109 • Published 12 months ago

@diotoborg/eius-pariatur v3.14.109

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

12 months ago

3.14.109

12 months ago

3.14.107

12 months ago

3.14.106

12 months ago

3.13.106

12 months ago

3.13.105

1 year ago

3.13.104

1 year ago

3.12.104

1 year ago

3.12.103

1 year ago

3.12.102

1 year ago

3.12.101

1 year ago

3.12.100

1 year ago

3.12.99

1 year ago

3.12.98

1 year ago

3.12.97

1 year ago

3.12.96

1 year ago

3.12.95

1 year ago

3.12.94

1 year ago

3.12.93

1 year ago

3.12.92

1 year ago

3.12.91

1 year ago

3.12.90

1 year ago

3.11.90

1 year ago

3.11.89

1 year ago

3.10.89

1 year ago

3.10.88

1 year ago

3.10.87

1 year ago

3.10.86

1 year ago

3.10.85

1 year ago

3.10.84

1 year ago

3.10.83

1 year ago

3.10.82

1 year ago

2.10.82

1 year ago

2.10.81

1 year ago

2.10.80

1 year ago

2.10.79

1 year ago

2.10.78

1 year ago

2.10.77

1 year ago

2.10.76

1 year ago

2.10.75

1 year ago

2.10.74

1 year ago

2.10.73

1 year ago

2.10.72

1 year ago

2.9.72

1 year ago

2.9.71

1 year ago

2.9.70

1 year ago

2.9.69

1 year ago

2.9.68

1 year ago

2.9.67

1 year ago

2.9.66

1 year ago

2.9.65

1 year ago

2.8.65

1 year ago

2.8.64

1 year ago

2.8.63

1 year ago

2.8.62

1 year ago

2.8.61

1 year ago

2.8.60

1 year ago

2.8.59

1 year ago

2.8.58

1 year ago

2.7.58

1 year ago

2.7.57

1 year ago

2.7.56

1 year ago

2.7.55

1 year ago

2.7.54

1 year ago

2.7.53

1 year ago

2.7.52

1 year ago

2.7.51

1 year ago

2.7.50

1 year ago

2.7.49

1 year ago

2.6.49

1 year ago

2.6.48

1 year ago

2.6.47

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