3.15.127 • Published 10 months ago

@diotoborg/quos-vero-asperiores v3.15.127

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

@diotoborg/quos-vero-asperiores Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS SharedArrayBuffer? This module works cross-realm/iframe, does not depend on instanceof or mutable properties, and despite ES6 Symbol.toStringTag.

Example

var assert = require('assert');
var isSharedArrayBuffer = require('@diotoborg/quos-vero-asperiores');

assert(!isSharedArrayBuffer(function () {}));
assert(!isSharedArrayBuffer(null));
assert(!isSharedArrayBuffer(function* () { yield 42; return Infinity; });
assert(!isSharedArrayBuffer(Symbol('foo')));
assert(!isSharedArrayBuffer(1n));
assert(!isSharedArrayBuffer(Object(1n)));

assert(!isSharedArrayBuffer(new Set()));
assert(!isSharedArrayBuffer(new WeakSet()));
assert(!isSharedArrayBuffer(new Map()));
assert(!isSharedArrayBuffer(new WeakMap()));
assert(!isSharedArrayBuffer(new WeakRef({})));
assert(!isSharedArrayBuffer(new FinalizationRegistry(() => {})));
assert(!isSharedArrayBuffer(new ArrayBuffer()));

assert(isSharedArrayBuffer(new SharedArrayBuffer()));

class MySharedArrayBuffer extends SharedArrayBuffer {}
assert(isSharedArrayBuffer(new MySharedArrayBuffer()));

Tests

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

namesmapinstallSymbolloadbalancingfindLastIndexECMAScript 2019appresolvedescriptorECMAScript 7iterationrecursivetermpostcss-pluginmulti-packagespinnerssimpledbpackage managerArrayBuffer.prototype.slicetddasyncstableserializeindicatorec2dateeventEmitterconcurrencyjestcircularchildECMAScript 5findupl10nwordbreakenvironmentsfunction.lengthtostringtagdirECMAScript 6reducercurlarraysfile system[[Prototype]]bytebluebirdglobals$.extendcallbindopenownenderArrayelasticacheArrayBuffer#slicepromiseselbmime-dbArray.prototype.includesregular expressionsutilityfromfast-deep-copyframeworkreducepositiveinternalserializationmovegetintrinsicjshintsameValueZerolrusyntaxerrorbundlerObjectcontainsweaksetkarmaduplexUint32Arrayawses-abstractes2018eslintconfigeventsStreamObject.assigncall-boundinternal slotshellfilterstoragegatewayschemeES3ES2015cloudfrontECMAScript 2023es2015toobjecttextincompilereslintworkflowebskinesisequalitysymlinksutilitiessidetoolkitUnderscorefastifybrowserenvironmentsliceObject.definePropertyvaluecallsettingsargumentapiES7arraybufferBigUint64ArrayhttpcompareinferenceposecollectiongraphqlsetPrototypeOfWebSocketwrapdeterministictyped arrayTypedArrayWeakSetparentspersistentbannerfunctionsrategetterES8jsxnumberawesomesauceaccessorcallbackquerystringweakmapinvariantkeysObject.entrieschainodeReactiveExtensionsperformantdependencieskoreanstreamsdirectoryratelimiteast-asian-widthscheme-validationtapObject.isassertsform-validationmatch__proto__ES2020characterajvESnextdragfpsformattingbddinspectAsyncIteratorworkspace:*debuggernativemrubreakTypeScriptruntimetimejsdiffgestureswgetcall-bindsharedrmefficientloadingidlecopyregular expressiontestercomputed-typesbundlingrequirextermsetCSSStyleDeclarationfind-uppostcssagentreal-timeiconvesyamlhttpsclientrangeerrortrimLeftlistenershelperscodeseslint-plugindebugcolumnsonce.envconfigjsformautoprefixerutilidentifierssyntaxflagsfixed-widthfast-cloneflatMapglobi18nprivate datatoArraymoduleasciihasOwnPropertyflaggetoptterminalajaxstartanimationRxoptionforEachexecutablepackagefastoffsetextendfullwidthtestreadableES2023helperwordwrapglobalflattenreactcacheECMAScript 2016toolstouchisConcatSpreadablestatelessroutingconsumerobustpropconcatMapURLSearchParamsvalidationCSSregexHyBispringreact animationmatchAlltypanionjsonpathObject.keysObject.fromEntriestapepnpm9sqsphoneslotdataArray.prototype.findLastIndexloggerYAMLiteratemimetypesreact-hook-formobjIteratorassertxdg-openMicrosoftprefixoptimistMapstreams2Uint16Arrayxdgstylesdeep-copylengthnegativeES2019zeroexectrimfast-copytypedarrayscloneroute53linewraploggingFloat64ArraygroupvpcECMAScript 2018minimaldescriptorsrapidthroatstringifymakesetImmediatedeep-clonespawnespreeenumerabledefinePropertyiteratorWebSockets-0pushReflect.getPrototypeOfprettywebtypedprogressimmutableparentmimesymbollockfilejapanesefunctionrouteargvReactiveXcolumnemojiredirectqscloudsearchstringifierreact posetrimRightarktypeschemapolyfilllazyargsobjectfastcopyfullassignObject.valuesformattestingunicodecolour_.extenddataViewdiffrequesttypesafeJSON-SchemainputmkdircloudformationRegExp.prototype.flagstoStringTagbufferswafcensorcoreelectronthreechineseredactlook-upurlrfc4122valuescmdsnsquotepropertyestreesortnodejsString.prototype.matchAllECMAScript 2022browserslistlocationtaskpluginchromiumtypeerrorES2021searchdom-testing-librarybatchextrawritables30getOwnPropertyDescriptorecmascriptuuidcharsetwidthsafebrowserlistmapreducehooksboundarraydependency managerartapollosesObject.getPrototypeOfInt32ArraytakejsonwhichtoSortedpath@@toStringTagArray.prototype.flatisECMAScript 2017PushjsdommkdirsinstallerdescriptionpromisesortedregexppicomatchflatES2022ObservableimportcharactersoptimizerfastclonedeepqueuestylevalidatelastentriesECMAScript 2021dotenvgetPrototypeOfRxJSperformanceescapecallboundendpointlimitthrottlereademrerroruptsArrayBuffermetadatareusemake dirmergenegative zerocommand-lineyuphigher-orderjQuerydeletedomtypedarrayStreamspipetrimEndcloudwatchURLInt8ArrayUint8Arraycollection.es6channeltypefetchio-tsassertioncore-jsECMAScript 2015ieArray.prototype.containsgetfindLastconvertreact-testing-libraryPromiseStyleSheetqueueMicrotaskexpressionargumentsfast-deep-clonea11yhasOwnbyteOffsetenvBigInt64ArrayswfgroupByFloat32Arraynopees8waapieslintplugindefaultdatastructureString.prototype.trimpopmotionprotocol-bufferspropertieses5awaitdeepcopystdlibES6uninstallES2017clivisualgdprspecES2018openerrm -frcolorssuperagentastredux-toolkitwhatwgbusyArray.prototype.findLastes-shim APIlinklanguageargparsecryptourlsrandomES5launchfolderes-shimscheckopenspreserve-symlinkstc39matchesproxymonoreporgbrmdiriddataviewimportexportincludesparseArray.prototype.filterkeyECMAScript 2020zodremovetypeofpackagesvalidTypeBoxRegExp#flagslogmomentcloudtrailframerwarningwalkingstreamcode pointsstructuredClonepatchponyfillbeanstalkfilespeedshrinkwrapcreatetslibpruneworkerrm -rfairbnbFunction.prototype.nametelephoneexpressconcatshames2016deepclonehas-ownstyled-componentstypescriptserializeromitexeObservablesavaes7functionalbindcsslookeveryconsoleconfigurablestarter256prototypetrimStartmkdirpfindsetter3dintrinsicstring
3.15.127

10 months ago

3.15.126

10 months ago

2.11.80

12 months ago

2.11.81

12 months ago

2.11.82

12 months ago

2.11.83

11 months ago

2.11.84

11 months ago

1.6.40

1 year ago

1.6.42

1 year ago

1.6.41

1 year ago

1.6.44

1 year ago

1.6.43

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

1 year ago

3.13.118

10 months ago

3.13.117

10 months ago

3.13.116

10 months ago

3.13.115

10 months ago

3.13.119

10 months ago

3.14.125

10 months ago

3.13.121

10 months ago

1.2.16

1 year ago

3.13.120

10 months ago

1.2.17

1 year ago

1.2.14

1 year ago

1.2.15

1 year ago

3.12.98

11 months ago

1.9.49

1 year ago

3.12.97

11 months ago

1.9.48

1 year ago

1.9.47

1 year ago

3.12.99

11 months ago

3.12.94

11 months ago

3.12.93

11 months ago

1.8.46

1 year ago

3.12.96

11 months ago

1.8.47

1 year ago

3.12.95

11 months ago

2.11.76

12 months ago

2.11.77

12 months ago

2.11.78

12 months ago

2.11.79

12 months ago

1.6.37

1 year ago

1.6.39

1 year ago

1.6.38

1 year ago

2.10.70

12 months ago

2.12.89

11 months ago

2.10.71

12 months ago

3.12.111

10 months ago

2.12.88

11 months ago

2.10.72

12 months ago

3.12.110

11 months ago

2.12.87

11 months ago

2.10.73

12 months ago

3.12.102

11 months ago

2.12.86

11 months ago

2.10.74

12 months ago

3.12.101

11 months ago

2.12.85

11 months ago

2.10.75

12 months ago

3.12.104

11 months ago

2.12.84

11 months ago

2.10.76

12 months ago

1.5.30

1 year ago

3.12.103

11 months ago

3.12.106

11 months ago

1.5.32

1 year ago

3.12.105

11 months ago

1.5.31

1 year ago

3.12.108

11 months ago

1.5.34

1 year ago

3.12.107

11 months ago

1.5.33

1 year ago

1.5.36

1 year ago

3.12.109

11 months ago

1.5.35

1 year ago

1.5.37

1 year ago

3.15.125

10 months ago

1.3.19

1 year ago

1.9.54

1 year ago

1.9.53

1 year ago

3.12.113

10 months ago

1.9.52

1 year ago

3.12.112

10 months ago

1.9.51

1 year ago

3.12.115

10 months ago

1.9.50

1 year ago

3.12.114

10 months ago

1.3.20

1 year ago

1.3.21

1 year ago

2.9.56

1 year ago

2.9.57

1 year ago

2.9.54

1 year ago

1.3.22

1 year ago

2.9.55

1 year ago

1.3.23

1 year ago

2.9.58

1 year ago

3.13.125

10 months ago

3.13.124

10 months ago

3.13.123

10 months ago

1.2.18

1 year ago

3.13.122

10 months ago

1.2.19

1 year ago

2.10.58

1 year ago

2.10.59

1 year ago

2.10.60

1 year ago

3.12.100

11 months ago

2.10.61

1 year ago

2.10.62

1 year ago

2.10.63

1 year ago

2.10.64

12 months ago

2.10.65

12 months ago

2.10.66

12 months ago

2.12.93

11 months ago

2.10.67

12 months ago

1.7.44

1 year ago

2.12.92

11 months ago

2.10.68

12 months ago

1.7.45

1 year ago

2.12.91

11 months ago

2.10.69

12 months ago

1.7.46

1 year ago

2.12.90

11 months ago

1.5.27

1 year ago

1.5.29

1 year ago

1.5.28

1 year ago

1.1.14

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.13

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

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