9.11.125 • Published 11 months ago

@patrtorg/molestiae-nulla-architecto v9.11.125

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

@patrtorg/molestiae-nulla-architecto 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('@patrtorg/molestiae-nulla-architecto');

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

dependency managercontainsspringpropertynumbermkdirsrandomgroupenvflattenArray.prototype.filternodejsReflect.getPrototypeOfprefixworkspace:*csshttpclisliceflatMapObject.definePropertyiteratequeueMicrotaskeverypatchstdlibiteratores-shim APImodulecommandfindLastlocationawesomesauceappfunctionArrayBufferunicodepropertiesqueryjoifull-widthqueueinternalInt32ArraypathtypedarraysterminalwordbreakdeterministiccolorfolderlengtharraysuninstallUint16ArraytestconsoleprotobufparsetrimStartes6command-lineredirectBigUint64ArrayECMAScript 2020react-hook-formURLSearchParamsES2016nopequerystringexeces7typaniones2016fpsxdg-openESECMAScript 2018file systemextraregexpString.prototype.trimjsprogresskarmaprivate dataregularcjkwarningrfc4122cachei18ncensormapnodesyntaxbyteextensioncomparetoArrayespreemulti-packagebrowserlistmakereducerprettypersistenttoobjectdirectoryString.prototype.matchAlltestingreactcss-in-jsInt16ArraystableArray.prototype.flatMapforEachemojiglobautoprefixerparentquotetyped arraytapeloadbalancingassertES6setImmediateasciimkdirpaccessormomenttypescriptimportexportfast-copybuffers3genericsflatplugindeeptrimRightarraybuffer@@toStringTaglibphonenumbervariables$.extendutilitiesidreadablemake dirFloat64Arrayregular expressions-0bluebirdpostcssArray.prototype.findLastIndexTypeScriptgettertakepopmotioncharsetcurlassertionbyteOffsetlanguagechromiumajaxfullwidthapollopnpm9limitedserializationdom-testing-librarynpmObject.entriesperformancethrottleproxyutil.inspectRxJSjsonpathhelpertaskenumerableWeakSetarktypeeventEmitterObject.valuesreact-hooksInt8ArraycallworkflowidlestylingconfigurabledefinePropertystreams2metadataslotWeakMapbannerutilityscheme-validationshrinkwrapgroupByfast-cloneESnextdynamodboptimizergetPrototypeOfTypedArrayroutecharacterbusyawaitdependenciesloggershebangargumentsparsingreadablestreamwaitdefineworkereditorhasOwnECMAScript 6ECMAScript 2019packageObject.getPrototypeOfrequireairbnbcall-boundperformantpropmatchAllES3jQueryoptimistfastifyeslintconfigtraverseaccessibilityopensassertscallbackIteratorprunetoStringTagshamECMAScript 5tddinferencergbescapedeleteconvertnegativeargvcloudwatchObservableswhichpositivestreamasyncmochaES2017cryptostyled-componentsiamstringifyhardlinksdeep-clonechineseES5findupiterationspinnersTypeBoxES2020fetchchaiAsyncIteratoremitcallboundwebSymbol.toStringTagagentconcatbeanstalkUint8ArrayopenanimationlistenersmodulesschemaduplexsidemobilefunctionsECMAScript 2021rmdirObject.isJSON.envfromes2018jsxl10nchildremovecomputed-typespackageseslintplugindeepcopyfastcopyFunction.prototype.namegraphqlredactjsdomwritable__proto__tselectronES2022tostringtagdateequalpackage managerstyleframeworkcoreCSSwalkingmatchwriteArray.prototype.findLastpolyfillwhatwgtaptimeexeapioptionrm -rfoncevalidationsettingswordwrapvalueYAMLbuffersStyleSheetES2019viewtslibfilterincludesmonorepohelpersratelimittrimprototypesetterprocessec2objectReactiveXjestsnsparserpicomatchWebSocketvalidatethreewidthStreamECMAScript 7core-jsequalityyamllockfilesortedruntimeeast-asian-widthbundlerserializeentriessyntaxerrorlintES8dataViewgetoptspeca11yfind[[Prototype]]ttycodesshellcharactersdayjsebstesterrecursiveutilstatelessform-validationdebuggersesawsrobustReactiveExtensionsObjectMicrosoftcallbindglobalserializercode pointsformtelephonecompilermime-dbexecutabledataArray.prototype.includesinvariantglobalsframerObservableRxtypeenderreadopenerguidfindLastIndexdomyuptypeerrorfastcloneBigInt64Arraylogrm -frzodObject.fromEntriesfigletPushnativees-abstractsortlazyansijapanesestyleguidereduxhas-ownjasmineArrayBuffer#sliceES2018look-upzeromoveECMAScript 2016getUint32ArraykoreanmrulimitArray.prototype.flatteneslintexpressionsqslinkJSON-SchemajavascriptvisualcloudfrontRFC-6455fast-deep-clonewalkrequestECMAScript 2015call-bindwrapconsumeES7urlstoolkitemrpromisetrimEndtoSortedweakmapformattingpyyaml_.extendRegExp#flagscolorsartmimeECMAScript 2022installerkeyshasOwnPropertyfastspawnbreakenvironmentECMAScript 2023immutableposegetOwnPropertyDescriptorponyfillshimboundcolumnsiconvcloudformationxhres2017protocol-buffersES2023validcloudtraildiffbundlingrmtrimLeft3disConcatSpreadabletermgdprlaunchclientdeep-copyes2015importbatchcopyschemedescriptorajvreal-timestringifierdataviewstarterpipeclonechromecheckdebugnamesestreeqsregular expressionelbidentifiersurlresolveclass-validatorimmerdropWebSocketswaapiArrayBuffer.prototype.slicefullvpcsharedarraybufferhttpshasownfast-deep-copybrowserslistendpointcollection.es6react-testing-librarysuperagentObject.keysgetintrinsicrapidsomeindicatorrdsloadinglastwgetwebsiteArray.prototype.flatgesturesio-tstypedarrayarraysearchdeepcloneecmascriptflagsstoragegatewayconcatMappreserve-symlinksmkdirtypedxdgcolourjshintchannelweaksetsuperstructtypesafeObject.assignES2015Streamsdragcloudsearchcolumnloggingeslint-pluginbrowserroute53eventsSetformatvestcreatevaluesdescriptionphonemimetypestc39cmdinstallfind-upargssameValueZeroexpressECMAScript 3dotenvautoscalingjsdiffcollectionRegExp.prototype.flagssymlinkregexsetPrototypeOfbindFloat32ArrayformssafePromiseArray.prototype.containsstylesreuserateicuSymbollruoutputArrayspinnerenvironmentsefficientcirculardescriptorssymbolwafstringreact animationfixed-widthtypeof
9.11.123

11 months ago

9.11.124

11 months ago

9.11.125

11 months ago

3.4.40

1 year ago

3.4.41

1 year ago

8.10.100

12 months ago

8.10.101

11 months ago

8.10.102

11 months ago

8.10.103

11 months ago

8.10.104

11 months ago

4.6.48

1 year ago

2.3.24

1 year ago

4.6.49

1 year ago

2.3.23

1 year ago

4.6.46

1 year ago

4.6.47

1 year ago

2.3.20

1 year ago

2.3.22

1 year ago

2.3.21

1 year ago

5.6.83

1 year ago

5.6.80

1 year ago

5.6.82

1 year ago

5.6.81

1 year ago

1.2.14

1 year ago

8.10.99

12 months ago

3.6.46

1 year ago

8.10.98

12 months ago

6.6.88

12 months ago

6.6.89

12 months ago

8.10.97

12 months ago

4.6.62

1 year ago

4.6.63

1 year ago

4.6.60

1 year ago

4.6.61

1 year ago

4.6.66

1 year ago

4.6.67

1 year ago

4.6.64

1 year ago

6.6.83

1 year ago

4.6.65

1 year ago

6.6.84

1 year ago

6.6.85

1 year ago

6.6.86

1 year ago

4.6.68

1 year ago

6.6.87

12 months ago

4.6.69

1 year ago

5.6.77

1 year ago

5.6.79

1 year ago

5.6.78

1 year ago

3.4.37

1 year ago

3.4.38

1 year ago

3.4.39

1 year ago

9.11.105

11 months ago

9.11.106

11 months ago

9.11.107

11 months ago

7.8.96

12 months ago

4.6.51

1 year ago

4.6.52

1 year ago

4.6.50

1 year ago

6.8.92

12 months ago

4.6.55

1 year ago

4.6.56

1 year ago

4.6.53

1 year ago

4.6.54

1 year ago

4.6.59

1 year ago

4.6.57

1 year ago

4.6.58

1 year ago

6.8.96

12 months ago

6.8.95

12 months ago

6.8.94

12 months ago

6.8.93

12 months ago

9.11.111

11 months ago

3.3.35

1 year ago

9.11.112

11 months ago

3.3.36

1 year ago

9.11.113

11 months ago

3.3.37

1 year ago

9.11.114

11 months ago

9.11.115

11 months ago

9.11.116

11 months ago

9.11.117

11 months ago

9.11.118

11 months ago

3.3.30

1 year ago

3.3.31

1 year ago

3.3.32

1 year ago

3.3.33

1 year ago

9.11.110

11 months ago

3.3.34

1 year ago

2.2.15

1 year ago

7.10.96

12 months ago

2.2.14

1 year ago

7.10.97

12 months ago

9.11.108

11 months ago

9.11.109

11 months ago

9.11.122

11 months ago

4.6.70

1 year ago

4.6.73

1 year ago

4.6.74

1 year ago

9.11.120

11 months ago

4.6.71

1 year ago

9.11.121

11 months ago

4.6.72

1 year ago

6.6.91

12 months ago

4.6.77

1 year ago

6.6.92

12 months ago

4.6.75

1 year ago

4.6.76

1 year ago

9.11.119

11 months ago

6.6.90

12 months ago

7.9.96

12 months ago

6.7.92

12 months ago

9.10.105

11 months ago

9.10.104

11 months ago

3.3.24

1 year ago

3.5.46

1 year ago

3.3.25

1 year ago

3.5.45

1 year ago

3.3.26

1 year ago

3.5.44

1 year ago

3.3.27

1 year ago

3.5.43

1 year ago

3.3.28

1 year ago

3.5.42

1 year ago

3.3.29

1 year ago

3.5.41

1 year ago

2.3.17

1 year ago

2.3.16

1 year ago

2.3.19

1 year ago

2.3.18

1 year ago

2.3.15

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.0.9

1 year ago

1.0.8

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