3.15.127 • Published 2 years ago

@diotoborg/quos-vero-asperiores v3.15.127

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

2 years ago

3.15.126

2 years ago

2.11.80

2 years ago

2.11.81

2 years ago

2.11.82

2 years ago

2.11.83

2 years ago

2.11.84

2 years ago

1.6.40

2 years ago

1.6.42

2 years ago

1.6.41

2 years ago

1.6.44

2 years ago

1.6.43

2 years ago

1.4.24

2 years ago

1.4.23

2 years ago

1.4.26

2 years ago

1.4.25

2 years ago

1.4.27

2 years ago

3.13.118

2 years ago

3.13.117

2 years ago

3.13.116

2 years ago

3.13.115

2 years ago

3.13.119

2 years ago

3.14.125

2 years ago

3.13.121

2 years ago

1.2.16

2 years ago

3.13.120

2 years ago

1.2.17

2 years ago

1.2.14

2 years ago

1.2.15

2 years ago

3.12.98

2 years ago

1.9.49

2 years ago

3.12.97

2 years ago

1.9.48

2 years ago

1.9.47

2 years ago

3.12.99

2 years ago

3.12.94

2 years ago

3.12.93

2 years ago

1.8.46

2 years ago

3.12.96

2 years ago

1.8.47

2 years ago

3.12.95

2 years ago

2.11.76

2 years ago

2.11.77

2 years ago

2.11.78

2 years ago

2.11.79

2 years ago

1.6.37

2 years ago

1.6.39

2 years ago

1.6.38

2 years ago

2.10.70

2 years ago

2.12.89

2 years ago

2.10.71

2 years ago

3.12.111

2 years ago

2.12.88

2 years ago

2.10.72

2 years ago

3.12.110

2 years ago

2.12.87

2 years ago

2.10.73

2 years ago

3.12.102

2 years ago

2.12.86

2 years ago

2.10.74

2 years ago

3.12.101

2 years ago

2.12.85

2 years ago

2.10.75

2 years ago

3.12.104

2 years ago

2.12.84

2 years ago

2.10.76

2 years ago

1.5.30

2 years ago

3.12.103

2 years ago

3.12.106

2 years ago

1.5.32

2 years ago

3.12.105

2 years ago

1.5.31

2 years ago

3.12.108

2 years ago

1.5.34

2 years ago

3.12.107

2 years ago

1.5.33

2 years ago

1.5.36

2 years ago

3.12.109

2 years ago

1.5.35

2 years ago

1.5.37

2 years ago

3.15.125

2 years ago

1.3.19

2 years ago

1.9.54

2 years ago

1.9.53

2 years ago

3.12.113

2 years ago

1.9.52

2 years ago

3.12.112

2 years ago

1.9.51

2 years ago

3.12.115

2 years ago

1.9.50

2 years ago

3.12.114

2 years ago

1.3.20

2 years ago

1.3.21

2 years ago

2.9.56

2 years ago

2.9.57

2 years ago

2.9.54

2 years ago

1.3.22

2 years ago

2.9.55

2 years ago

1.3.23

2 years ago

2.9.58

2 years ago

3.13.125

2 years ago

3.13.124

2 years ago

3.13.123

2 years ago

1.2.18

2 years ago

3.13.122

2 years ago

1.2.19

2 years ago

2.10.58

2 years ago

2.10.59

2 years ago

2.10.60

2 years ago

3.12.100

2 years ago

2.10.61

2 years ago

2.10.62

2 years ago

2.10.63

2 years ago

2.10.64

2 years ago

2.10.65

2 years ago

2.10.66

2 years ago

2.12.93

2 years ago

2.10.67

2 years ago

1.7.44

2 years ago

2.12.92

2 years ago

2.10.68

2 years ago

1.7.45

2 years ago

2.12.91

2 years ago

2.10.69

2 years ago

1.7.46

2 years ago

2.12.90

2 years ago

1.5.27

2 years ago

1.5.29

2 years ago

1.5.28

2 years ago

1.1.14

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.13

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

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