10.7.124 • Published 11 months ago

@diotoborg/eum-unde-sint v10.7.124

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

11 months ago

10.7.123

11 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

1 year ago

4.3.59

1 year ago

5.4.79

1 year ago

4.3.58

1 year ago

5.4.77

1 year ago

5.6.84

1 year ago

5.6.83

1 year ago

9.7.120

11 months ago

5.6.86

1 year ago

5.6.85

1 year ago

9.7.121

11 months ago

5.6.82

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

12 months ago

4.1.27

1 year ago

7.6.100

12 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

12 months ago

4.1.23

1 year ago

5.6.87

12 months ago

4.1.24

1 year ago

4.1.25

1 year ago

5.6.89

12 months ago

4.1.26

1 year ago

6.6.89

12 months ago

4.3.60

1 year ago

4.3.64

1 year ago

4.3.63

1 year ago

4.3.62

1 year ago

4.3.61

1 year ago

10.7.122

11 months ago

4.3.68

1 year ago

10.7.121

11 months ago

4.3.67

1 year ago

4.3.66

1 year ago

4.3.65

1 year ago

4.3.69

1 year ago

8.7.103

11 months ago

3.1.12

1 year ago

8.7.102

12 months ago

3.1.11

1 year ago

8.7.101

12 months ago

5.5.82

1 year ago

8.7.109

11 months ago

8.7.108

11 months ago

8.7.107

11 months ago

8.7.106

11 months ago

8.7.105

11 months ago

3.1.10

1 year ago

8.7.104

11 months ago

4.4.69

1 year ago

3.1.9

1 year ago

8.7.114

11 months ago

8.7.113

11 months ago

8.7.112

11 months ago

8.7.111

11 months ago

8.7.110

11 months ago

7.7.101

12 months ago

8.7.118

11 months ago

7.6.99

12 months ago

8.7.117

11 months ago

7.6.98

12 months ago

8.7.116

11 months ago

7.6.97

12 months ago

8.7.115

11 months ago

7.6.96

12 months ago

6.6.91

12 months ago

6.6.92

12 months ago

4.2.32

1 year ago

6.6.93

12 months ago

4.2.33

1 year ago

6.6.94

12 months ago

4.2.34

1 year ago

6.6.95

12 months ago

6.6.96

12 months ago

4.2.35

1 year ago

6.6.90

12 months ago

9.7.119

11 months ago

9.7.118

11 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

1 year ago

5.4.82

1 year ago

5.4.80

1 year ago

4.4.72

1 year ago

4.4.71

1 year ago

4.4.70

1 year ago

4.4.76

1 year ago

4.4.75

1 year ago

4.4.74

1 year ago

4.4.73

1 year ago

4.4.77

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