10.7.124 • Published 10 months ago

@diotoborg/eum-unde-sint v10.7.124

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

@diotoborg/eum-unde-sint Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS ArrayBuffer? 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 isArrayBuffer = require('@diotoborg/eum-unde-sint');

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

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

assert(isArrayBuffer(new ArrayBuffer()));

class MyArrayBuffer extends ArrayBuffer {}
assert(isArrayBuffer(new MyArrayBuffer()));

Tests

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

folderlocationdroptoobjectes6starter256ES2019cloudfrontreact-hooksworkflowprotocol-buffersrate3dtestingES5zodprunejapanesewaitawsregularemitsettingsrequiregraphql-clientStreamflatMapnodejsjshintartroutingwhatwgqueueMicrotaskgraphqles2017trimEndES2018ES2021dynamodbstartlazyhasOwnPropertydeepcloneRegExp.prototype.flagsuuidratelimitcolorresolvevisualregexbyteOffsetreact-hook-formurlsdataviewregular expressionstypedarrayl10nvalueserializegroupautoprefixerfigletES8stringifiergesturesESnextviewRximmersesvpcparenttranspileremrshebangmochapositiveincludesmatcheselbsnsTypedArraysequenceajvcharacterfastcloneECMAScript 2016binaryfindLastIteratorrmslotfromfpsgroupByhardlinkspromisemergemime-db0amazonapolloloadbalancingfunctionalcircularintrinsiccensortypanionnpmbluebirdArray.prototype.includespromisesinternaltestconfigprivate databoundlintsameValueZerooptimizerescapeMicrosoftcloudtrailnegativeextensionajaxzerogetOwnPropertyDescriptorJSON-Schemaansiwaapiagentjsxfast-copykeysreusebusymobilelrucloudwatchfast-clonesyntaxproxynegative zerotrimStartassertstelephoneasciiString.prototype.matchAllnumbervestdebugfile systemsettersqsprotobufrapidAsyncIteratorstatelessenderpackage.jsonjsdiffxmlCSSrdsstylesdeeptoStringTagtypeofdependenciesrm -frUint32Arraycallbindserializerinstallins3immutableformsbeanstalkparserfastcopyECMAScript 2019internal slotchromiumecmascriptES2020package manageryamljsqueuesymbolmimetypestesterslicecloneregular expressiondom-testing-librarybuffersonceconsolejavascriptes2015ReactiveExtensionscomputed-typesopenernopettyio-tsvarssharedarraybufferwritelastdirectorydefinecss-in-jssortedtskeyECMAScript 2020ArrayBuffer.prototype.slicemakedebuggerpreserve-symlinksUint16Arraycjkfind-uppropTypeScriptECMAScript 2015globpatchforkpyyamlassignmapreduceiamroute53dotenvremovesham$.extendquerystringTypeBoxReactiveXestreestructuredClonecachePushaccessibilityimportexportargvperformanceprettyarrayhasmkdirECMAScript 2022rgbcolumnspnpm9traversefsObject.fromEntriesreal-timeInt8Arrayeast-asian-widthtypesJSONwalkbyteutilcolumnObjectbrowserslisttapserializationenvcall-boundhas-ownFunction.prototype.namewidth__proto__Int32Arraygenericsloggerthroatreducerloggingxdglook-upsymbolshelperslaunchpreprocessorstableforEachcorekarmaprotoes-abstractexecutableefficientBigInt64Arraysetglobalsutil.inspectairbnbargumentseslintconfigfullwidthspeedxtermtypeerrorcompareconsumeArray.prototype.findLasttrimLeftObject.valuesreduxmulti-packageenumerablestylingYAMLendpointawaitprivateES7getoptdescriptors_.extendhttpreact poseArray.prototype.findLastIndexWebSocketObject.entriescodesunicodepropertylockfileURLBigUint64ArraysubprocessjoibinInt16ArrayavatoSortedchineseObservableapitc39RegExp#flagssetPrototypeOfgetintrinsicdataViewurlmetadatakinesistermwalkingcallboundtrimRightES2023getObject.definePropertypushlanguagepathshimclass-validatorexecfileECMAScript 3wrapexpressionisConcatSpreadableRFC-6455iteratetoArrayhelpertypescripteveryprocessxhrcallzxdeepcopycreateatomstyleguidereadableargsdirvalidcolourdragsharednamearktypeoffsetstringfileemojimatchlookarraysfixed-widthassertduplexindicatoroptimistexecutefastifyinstallereslint-pluginsomeObject.assigna11yfastthreecloudsearchhasOwnrangeerrorlengthparsingflattensafegetPrototypeOfsetImmediateerroridentifiersWebSocketsObject.is[[Prototype]]function.lengthtaskmrucompilerconfigurableposerecursiveschemai18ndiffredactmapbufferequaleditorcolors
10.7.124

10 months ago

10.7.123

10 months ago

4.3.53

1 year ago

4.1.30

1 year ago

4.3.52

1 year ago

4.1.31

1 year ago

4.3.51

1 year ago

4.1.32

1 year ago

4.3.50

1 year ago

4.3.57

1 year ago

4.3.56

1 year ago

4.3.55

1 year ago

4.3.54

1 year ago

5.4.78

12 months ago

4.3.59

1 year ago

5.4.79

12 months ago

4.3.58

1 year ago

5.4.77

12 months ago

5.6.84

11 months ago

5.6.83

11 months ago

9.7.120

10 months ago

5.6.86

11 months ago

5.6.85

11 months ago

9.7.121

10 months ago

5.6.82

11 months ago

4.3.42

1 year ago

4.3.41

1 year ago

4.1.20

1 year ago

4.3.40

1 year ago

4.1.21

1 year ago

4.1.22

1 year ago

4.3.46

1 year ago

4.3.45

1 year ago

4.3.44

1 year ago

4.3.43

1 year ago

7.6.101

11 months ago

4.1.27

1 year ago

7.6.100

11 months ago

4.3.49

1 year ago

4.1.28

1 year ago

4.3.48

1 year ago

4.1.29

1 year ago

4.3.47

1 year ago

5.6.88

11 months ago

4.1.23

1 year ago

5.6.87

11 months ago

4.1.24

1 year ago

4.1.25

1 year ago

5.6.89

11 months ago

4.1.26

1 year ago

6.6.89

11 months ago

4.3.60

1 year ago

4.3.64

12 months ago

4.3.63

1 year ago

4.3.62

1 year ago

4.3.61

1 year ago

10.7.122

10 months ago

4.3.68

12 months ago

10.7.121

10 months ago

4.3.67

12 months ago

4.3.66

12 months ago

4.3.65

12 months ago

4.3.69

12 months ago

8.7.103

11 months ago

3.1.12

1 year ago

8.7.102

11 months ago

3.1.11

1 year ago

8.7.101

11 months ago

5.5.82

11 months ago

8.7.109

10 months ago

8.7.108

10 months ago

8.7.107

10 months ago

8.7.106

10 months ago

8.7.105

11 months ago

3.1.10

1 year ago

8.7.104

11 months ago

4.4.69

12 months ago

3.1.9

1 year ago

8.7.114

10 months ago

8.7.113

10 months ago

8.7.112

10 months ago

8.7.111

10 months ago

8.7.110

10 months ago

7.7.101

11 months ago

8.7.118

10 months ago

7.6.99

11 months ago

8.7.117

10 months ago

7.6.98

11 months ago

8.7.116

10 months ago

7.6.97

11 months ago

8.7.115

10 months ago

7.6.96

11 months ago

6.6.91

11 months ago

6.6.92

11 months ago

4.2.32

1 year ago

6.6.93

11 months ago

4.2.33

1 year ago

6.6.94

11 months ago

4.2.34

1 year ago

6.6.95

11 months ago

6.6.96

11 months ago

4.2.35

1 year ago

6.6.90

11 months ago

9.7.119

10 months ago

9.7.118

10 months ago

4.3.35

1 year ago

4.3.39

1 year ago

4.1.16

1 year ago

4.3.38

1 year ago

4.1.17

1 year ago

4.3.37

1 year ago

4.1.18

1 year ago

4.3.36

1 year ago

4.1.19

1 year ago

4.1.12

1 year ago

4.1.13

1 year ago

4.1.14

1 year ago

4.1.15

1 year ago

5.4.81

12 months ago

5.4.82

11 months ago

5.4.80

12 months ago

4.4.72

12 months ago

4.4.71

12 months ago

4.4.70

12 months ago

4.4.76

12 months ago

4.4.75

12 months ago

4.4.74

12 months ago

4.4.73

12 months ago

4.4.77

12 months ago

2.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

2.1.8

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