3.15.127 • Published 11 months ago

@diotoborg/quos-vero-asperiores v3.15.127

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

11 months ago

3.15.126

11 months ago

2.11.80

1 year ago

2.11.81

1 year ago

2.11.82

1 year ago

2.11.83

1 year ago

2.11.84

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

11 months ago

3.13.117

11 months ago

3.13.116

11 months ago

3.13.115

11 months ago

3.13.119

11 months ago

3.14.125

11 months ago

3.13.121

11 months ago

1.2.16

1 year ago

3.13.120

11 months ago

1.2.17

1 year ago

1.2.14

1 year ago

1.2.15

1 year ago

3.12.98

12 months ago

1.9.49

1 year ago

3.12.97

12 months ago

1.9.48

1 year ago

1.9.47

1 year ago

3.12.99

12 months ago

3.12.94

12 months ago

3.12.93

12 months ago

1.8.46

1 year ago

3.12.96

12 months ago

1.8.47

1 year ago

3.12.95

12 months ago

2.11.76

1 year ago

2.11.77

1 year ago

2.11.78

1 year ago

2.11.79

1 year ago

1.6.37

1 year ago

1.6.39

1 year ago

1.6.38

1 year ago

2.10.70

1 year ago

2.12.89

12 months ago

2.10.71

1 year ago

3.12.111

11 months ago

2.12.88

12 months ago

2.10.72

1 year ago

3.12.110

11 months ago

2.12.87

12 months ago

2.10.73

1 year ago

3.12.102

12 months ago

2.12.86

1 year ago

2.10.74

1 year ago

3.12.101

12 months ago

2.12.85

1 year ago

2.10.75

1 year ago

3.12.104

12 months ago

2.12.84

1 year ago

2.10.76

1 year ago

1.5.30

1 year ago

3.12.103

12 months ago

3.12.106

11 months ago

1.5.32

1 year ago

3.12.105

12 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

11 months ago

1.3.19

1 year ago

1.9.54

1 year ago

1.9.53

1 year ago

3.12.113

11 months ago

1.9.52

1 year ago

3.12.112

11 months ago

1.9.51

1 year ago

3.12.115

11 months ago

1.9.50

1 year ago

3.12.114

11 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

11 months ago

3.13.124

11 months ago

3.13.123

11 months ago

1.2.18

1 year ago

3.13.122

11 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

12 months ago

2.10.61

1 year ago

2.10.62

1 year ago

2.10.63

1 year ago

2.10.64

1 year ago

2.10.65

1 year ago

2.10.66

1 year ago

2.12.93

12 months ago

2.10.67

1 year ago

1.7.44

1 year ago

2.12.92

12 months ago

2.10.68

1 year ago

1.7.45

1 year ago

2.12.91

12 months ago

2.10.69

1 year ago

1.7.46

1 year ago

2.12.90

12 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