6.12.112 • Published 10 months ago

@taktikorg/expedita-assumenda-temporibus v6.12.112

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

@taktikorg/expedita-assumenda-temporibus 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('@taktikorg/expedita-assumenda-temporibus');

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

schemascheme-validationyup256inputuninstallES8util.inspectfunctionsargumentscreateYAMLlimittslibspinnersroutingStyleSheetdefaultsortedObservableMicrosoftenumerablewaapireuseescapefastoncetesthttpString.prototype.matchAllextensionInt32ArraycallbindES2016RegExp#flagstddsymbolsargsdescriptionArray.prototype.flattenchildfulldayjshashtypedarraycommanderfast-deep-cloneindicatorassertionArray.prototype.flatMaploga11ystylesyntaxerrorkinesisjsdomqsvarsstructuredCloneES2022copyArrayBuffer#slicees7TypeBoxTypeScriptstoragegatewaycontainsObject.definePropertydependenciesrgbposeoptionsimpledbstylessharedarraybuffercharacterlintcompilerreact-hook-formdomieset[[Prototype]]sqsconsumefinduptoSortedargparsefolderviewasciiduplexruntimerandomes-shimseast-asian-widthlimitedobjmonorepomulti-packagewordbreakcloneframeworktakehasOwnsortglaciergetlibphonenumberpicomatchReflect.getPrototypeOfsliceparentsshamreact animationObject.keysassertsrfc4122ecmascriptstringifyvalidObject.entrieses2018look-upArrayArrayBuffer.prototype.slicechecktoolkitdatastructuregenericsimmutableendpointwordwraprapidcolumnhookstype.envpackagecolorrmutilitypromiseshelperconfigawaitspawnio-tsupwalkparseastUint8Arrayinternalhigher-ordercallboundfixed-widthfast-copyflagsoutputreactsyntaxestreeopenereslint-pluginmergegetterrm -rfinternal slotECMAScript 2015$.extendreact poseJSON-Schemachromiumnopeappdeepcopyextraemojicollection.es6process-0spinnerbeanstalkdeepclonefsCSSmovepyyamllazyworkspace:*busyfpslistenersECMAScript 3resolveagenttrimrm -frreducerdataViewstdlibpatchjsdiffECMAScript 6descriptorsreadableWebSocketregularkarmaES2021Uint32ArrayArray.prototype.containshasbufferstextsymlinkpackage.jsonmoduleseveryshrinkwrapObject.isparentflattennegative zeroECMAScript 2019opensgestureswebajaxbrowserslistMapchaixhrArray.prototype.findLastObject.fromEntriesttyWeakSetcoreglobdataviewamazonESavahelpersfetchargumentspeedArrayBufferzodmapreducedeterministicbddWebSocketscommandstringifierUint8ClampedArraytrimRightgdprtrimLeftgetintrinsicconcattypedarraysRFC-6455launchmetadatacloudformationECMAScript 2018toolsECMAScript 2016optimistform-validationhttpsterminaliterateopenes2016es2017formattingquoteeventEmitterthreewebsitetrimEndECMAScript 7code pointses-shim APIECMAScript 2022apiincludesl10nArray.prototype.filterObjectECMAScript 2020asynctrimStartSetcloudfronthardlinkscomparecjkclientvaluespipediffroute53ECMAScript 2017iamnpmbreaktapegroupsuperstructtypesafes3iterationreadkeysettingsES2017artyamlprivate datacryptoRxJSInt8Arraytypedes6flagintrinsicdirec2apolloes8arraysflatregexwgetnodejsprogresstask_.extendratebyteLengthsymboltouchredirectcallbacktermchineseownprotoES6inferenceframermimetypesstreamsxdg-opendefinePropertyredactponyfillECMAScript 5browserlistfastcloneaccessorformssequencewriteshared0byteOffsetredux-toolkitcharactersstatelessproptoobjectobjectmochawritablepositiveoptimizerES2018ES2023numberES7querystringserializerobustgetoptfastifytoStringTagconcatMapisConcatSpreadablextermchannelidlelengthstyled-componentses-abstractparsingweakmapsearchinvarianttsdirectoryObservablescloudwatchprotocol-buffersfindLastIndexInt16ArraymakepropertythroatSymbolshellmime-dbeventDispatcher__proto__waitreact-hooksmatchesWeakMapdatanativekeysfull-widtheslintconfiges5jestvpcsetImmediatemaprdsJSONgroupByhookformbundlingdeep-cloneURLpersistentsymlinksspringbyteworkflowsetterimmersideconvertjasminefindseshas-ownmkdirpidebslanguagepackage managerdom-testing-libraryArray.prototype.findLastIndextelephoneutilitieskoreanplugincloudtrailurlStreamstypeofpathjQueryECMAScript 2021veststylingtesterES2015fast-clonecodesdeepremovenegativefrompackageslocationcurllookforEachES2020prototypearraybuffereslintbatchstreamfindLastexpresscoercibleenvunicodeloggingjavascriptflatMapHyBifast-deep-copyPromisetypaniontypesassertglobalformatvalidatefilegraphqleditorconfigurablewidthreact-testing-libraryvalidationdeep-copyArray.prototype.includesRxajvfiltersomecolorsawssnsjsxassignoffsetgetOwnPropertyDescriptorcensordebuggermrutypescriptreduxexesafedeleteenvironmentscloudsearchautoprefixeremrjshintinstallfunctionreducemobiletypeerrorserializationbindpromisejsonpathautoscalingidentifiersconcurrencytraverseloadbalancingObject.valuesrangeerrorbundlerimportnodetostringtagurlsregexpextendfullwidthIteratorsameValueZerofunction.lengthFunction.prototype.namerequireimportexportnameespreeguiddynamodblinkdateFloat64ArrayexecjoicolumnsweaksetiteratormkdirECMAScript 2023circularperformanceboundaccessibilityfile systemspecUnderscoreeventsdependency manageringetPrototypeOfesexpressionbrowserpreserve-symlinkszerojsprotobufpnpm9electronAsyncIterator@@toStringTagmomentmodulestarttestingstarterslotpolyfillfind-upglobalsdebugomitfastcopymatchAllwafconsolejapaneseReactiveXprivateproxycharsetfigletelbvisualESnext
5.9.86

11 months ago

5.9.87

11 months ago

5.9.88

11 months ago

5.9.89

11 months ago

4.8.63

1 year ago

4.8.62

1 year ago

4.8.65

12 months ago

4.8.64

12 months ago

4.8.67

12 months ago

4.8.66

12 months ago

4.8.69

12 months ago

4.8.68

12 months ago

3.7.48

1 year ago

3.7.49

1 year ago

3.7.46

1 year ago

3.7.47

1 year ago

3.7.44

1 year ago

3.7.45

1 year ago

3.7.43

1 year ago

4.8.81

12 months ago

4.8.80

12 months ago

4.8.83

12 months ago

4.8.82

12 months ago

2.4.18

1 year ago

2.4.17

1 year ago

2.4.19

1 year ago

2.4.16

1 year ago

2.4.15

1 year ago

2.6.31

1 year ago

6.11.101

11 months ago

6.11.102

11 months ago

6.11.103

11 months ago

6.11.100

11 months ago

4.8.70

12 months ago

4.8.72

12 months ago

4.8.71

12 months ago

4.8.74

12 months ago

4.8.73

12 months ago

4.8.76

12 months ago

4.8.75

12 months ago

4.8.78

12 months ago

4.8.77

12 months ago

4.8.79

12 months ago

1.4.13

1 year ago

2.4.20

1 year ago

1.4.15

1 year ago

1.4.14

1 year ago

4.7.53

1 year ago

6.9.93

11 months ago

4.7.56

1 year ago

6.9.92

11 months ago

4.7.57

1 year ago

6.9.91

11 months ago

4.7.54

1 year ago

6.9.90

11 months ago

4.7.55

1 year ago

4.7.58

1 year ago

4.7.59

1 year ago

6.9.94

11 months ago

2.7.39

1 year ago

6.10.96

11 months ago

2.7.38

1 year ago

6.10.95

11 months ago

6.10.94

11 months ago

2.7.33

1 year ago

6.9.89

11 months ago

2.7.32

1 year ago

2.7.31

1 year ago

2.7.37

1 year ago

2.7.36

1 year ago

2.7.35

1 year ago

2.7.34

1 year ago

2.7.40

1 year ago

3.7.53

1 year ago

6.12.108

10 months ago

6.12.109

10 months ago

6.12.106

11 months ago

6.12.107

11 months ago

6.12.104

11 months ago

6.12.105

11 months ago

2.5.29

1 year ago

6.11.99

11 months ago

6.12.111

10 months ago

6.11.98

11 months ago

6.12.112

10 months ago

6.11.97

11 months ago

6.11.96

11 months ago

2.5.25

1 year ago

6.12.110

10 months ago

2.5.26

1 year ago

2.5.27

1 year ago

2.5.28

1 year ago

3.7.51

1 year ago

2.5.21

1 year ago

3.7.52

1 year ago

2.7.43

1 year ago

2.5.22

1 year ago

2.7.42

1 year ago

2.5.23

1 year ago

3.7.50

1 year ago

2.7.41

1 year ago

2.5.24

1 year ago

2.5.20

1 year ago

4.7.60

1 year ago

4.9.84

11 months ago

4.9.83

11 months ago

4.9.86

11 months ago

4.9.85

11 months ago

4.7.61

1 year ago

4.7.62

1 year ago

6.12.103

11 months ago

2.5.30

1 year ago

2.5.31

1 year ago

1.4.11

1 year ago

1.4.12

1 year ago

1.2.9

1 year ago

1.3.11

1 year ago

1.2.10

1 year ago

1.2.11

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

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