2.7.159 • Published 9 months ago

@firanorg/cupiditate-veniam-ut v2.7.159

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

@firanorg/cupiditate-veniam-ut Version Badge

github actions coverage License Downloads

npm badge

Is this value a JS DataView? This module works cross-realm/iframe, does not depend on instanceof or mutable properties, and despite ES6 Symbol.toStringTag.

Example

var isDataView = require('@firanorg/cupiditate-veniam-ut');
var assert = require('assert');

assert.equal(false, isDataView(undefined));
assert.equal(false, isDataView(null));
assert.equal(false, isDataView(false));
assert.equal(false, isDataView(true));
assert.equal(false, isDataView([]));
assert.equal(false, isDataView({}));
assert.equal(false, isDataView(/a/g));
assert.equal(false, isDataView(new RegExp('a', 'g')));
assert.equal(false, isDataView(new Date()));
assert.equal(false, isDataView(42));
assert.equal(false, isDataView(NaN));
assert.equal(false, isDataView(Infinity));
assert.equal(false, isDataView(new Number(42)));
assert.equal(false, isDataView('foo'));
assert.equal(false, isDataView(Object('foo')));
assert.equal(false, isDataView(function () {}));
assert.equal(false, isDataView(function* () {}));
assert.equal(false, isDataView(x => x * x));
assert.equal(false, isDataView([]));
assert.equal(false, isDataView(new Int8Array()));
assert.equal(false, isDataView(new Uint8Array()));
assert.equal(false, isDataView(new Uint8ClampedArray()));
assert.equal(false, isDataView(new Int16Array()));
assert.equal(false, isDataView(new Uint16Array()));
assert.equal(false, isDataView(new Int32Array()));
assert.equal(false, isDataView(new Uint32Array()));
assert.equal(false, isDataView(new Float32Array()));
assert.equal(false, isDataView(new Float64Array()));
assert.equal(false, isDataView(new BigInt64Array()));
assert.equal(false, isDataView(new BigUint64Array()));

assert.ok(isDataView(new DataView(new ArrayBuffer(0))));

Tests

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

reduxmixinsuuidmobilecode pointsArray.prototype.filterES5chaicheckvalidatestoragegatewayECMAScript 2023readablestreamnopepackage managerECMAScript 7@@toStringTagrecursiveWebSocketsstylesfastcloneworkflowlivewget[[Prototype]]fromsigintescapeECMAScript 3ES2021dataViewtrimeslintRxutilitiesbuffersettingshttpsconfigxhrES6ES3dependencieschannelstatemonorepofunctionalnodecommandmatchparsefinduprobustloggerformattingflatremoveprivateispackagefoldervariables in cssmimetypestaskSymbol.toStringTagRegExp.prototype.flagsindicatorWeakMaptapeString.prototype.trimencryptionclass-validatorcompilerexit-codedescriptorcall-boundconfigurableebstoSortedObject.keysparserreact-hook-formcss-in-jsauthentication__proto__opendescriptionstarterInt16ArrayextensiontypeerrorassertbyteLengthjsontostringtagperformantcreatestablecompile lesspredictablesymlinkyupassignless compilertslibkeyspasswordendpointidleeslint-pluginlistenersFloat32ArrayswfUint32Arraybrowserslistmakeroutingfsirqregular expressionsESjeststyleguidegdpres8filterhaskinesisconcatInt32ArrayhasOwnenvironmentparentCSSwaithttparrayStreamInt8ArraybyteOffsetautoscalingcsslinktddbytegradients cssworkspace:*deepcomputed-typesTypedArraytestingwatchasyncregexpzerol10nsortnegativePromisecryptprototypecensormomentgeturlcommand-linesqsinstallsomeglacierObject.valuesproponcepatchArray.prototype.flatprefixgrouplookmodulesjasmineES2022styleschemaBigInt64Arraycallbackserializerterminalsignales2017figletdatastructuremochaintrinsicrequiretapArrayBuffer#sliceroute53react-testing-libraryextracommanderfastifywidthawaittypescript_.extendajaxlogec2idvalidcolumnoutputstringifierfixed-widthsettervpcRegExp#flagsECMAScript 2016extendwhiches2018columnscorsArrayBufferttyargparseinternal slotcontainsargscallboundpropertyclassesregexJSON-SchemaTypeBoxcss lessES8codesObservableloadbalancingtypanionautoprefixerprotocol-bufferselectrontc39offsetdeepclonehandlerstyped arraybluebirdJSONpreprocessorinvariantprogressstyled-componentswordwrapECMAScript 2017readablefasteventEmittermatchesgroupByrequestsinatraReactiveXcore-jssigtermvaluemulti-packagetypeoftoobjecteventsairbnbpositiveimmutableawesomesauceefficientsliceshellPushkeyspecpostcss-pluginmacosECMAScript 2015elblengthhookformStyleSheetwindowsjapanesetypedpropertiesutiltypedarraybrowser.envconcatMapslotschemelessuninstallfilebuffersarrayslibphonenumbertakecloudfrontentriesfetchECMAScript 2019deep-copytesterbreaksuperagentbusyjwtassertsartdiffgetintrinsicsetPrototypeOfdynamodbarraybufferpushargumentemrcacheES2016mkdircollectionSeterror-handlingFunction.prototype.namewhatwgmergeavasetecmascriptIteratorwritablerouterflagsyntaxerrorjsobjectquerystringcurlsimpledbeventDispatcherlrucall-bindmkdirphardlinksbootstrap csswebmake dirtestendertrimEndFloat64Arraypackage.jsonnameECMAScript 2018fullzodcloudwatchbatchelasticacheimmerwalkArray.prototype.includeslesscssphoneArray.prototype.flatMapless.jsestreereuseES2015ObservablesfullwidthObject.fromEntriessearchObject.assigntoolsprettyrangeerrorcopythroatpreserve-symlinksvalidationfunctionbundlingtelephoneascii256emitiesuperstructjQueryerrorstreamcolorsforEachpromiseTypeScriptAsyncIteratorconsoleconnectwatchingponyfillflattenhas-ownstreamsdescriptorslanguagecorecircularappsesworkerkarmaclassnameObject.getPrototypeOfredactfindLastcharactershooksscheme-validationimportfile systemdom-testing-libraryStreamssameValueZeromkdirsformslockfilehelpersexpressbundlerstylesheetoptimistruntimeserializationless mixinsratelimitpackagesrateelmauthArray.prototype.findLastIndexmodulebrowserlistomitcryptoes5find-upparsingprivate dataweakmapjsxregular expressioniamstructuredClonesyntaxtextshimcoerciblepnpm9Uint8ClampedArrayargvdayjsdirectoryhigher-orderglobmoveserializeyamlprotobufReactiveExtensionsregularcss nestingrestfulkoreanObjecttrimStartexpressiones-abstractduplexaccessibilitydotenvArray.prototype.flattenperformancevestObject.definePropertystringclijavascriptapioptimizerMapmime-dbinterruptscoloriterationrm -rfcloneECMAScript 2020wordbreakHyBifast-copypathnodejsframeworkparentsgenericsi18nlook-updomfindLastIndextypedarraysMicrosoftqueueMicrotaskes20150$.extendchromemetadataECMAScript 5qsstylingquotegetPrototypeOfformarktypefastcopyjoidroppromisestoStringTagtoArrayplugindeepcopyobjequalitytypesafeeslintpluginspinnerdeep-cloneprotomapshamcallthrottlesharedchromiumbootstrap lesstermnameswalkingenvcallbinddefinePropertyObject.isreadsymbolArray.prototype.containsfull-widthwritespeedlintastsharedarraybuffersymbolsweaksettypereducebddwatchFileroutevisualpersistentlazydataviewassertionjsdiffajvunicodereal-timeinWebSocketUint8Arrayloadingdependency managerless cssObject.entriesinspectfast-deep-copysideequaloperating-systemoptionhasOwnPropertyaccessorsnstimeeslintconfig-0mapreducesafestatusECMAScript 2022rfc4122chineseUint16ArraytrimLeftform-validationRxJStspicomatchvariablesreducerstatelessfluxtouchES2023iteratorpyyamlmatchAlleveryredux-toolkitenumerableinferencextermbeanstalkgetOwnPropertyDescriptorbindnativeinternalflatMapdatafindexitwafclassnameshotECMAScript 2021a11yinputcss variablepipeshebangURLSearchParamshasheast-asian-widthbannerconcurrencyiteratefast-clonedeterministiccolourreactcjkES2019stdlibs3installerArrayBuffer.prototype.slicesignalsstreams2gradients css3resolveexecnpmrdsrapidES7ownprocessflagsES2018valuesutilitywrapBigUint64ArraySymbolString.prototype.matchAlldebuggerURLpostcssgetoptESnextYAMLnegative zerotraversefast-deep-clonecloudsearchlinuximportexportlimitedRFC-6455rmdirio-tstoolkitqueuefpsdirincludessortednumbercharacteremojiloggingreact-hooksECMAScript 6queryrmtypesdebugtrimRightsequencelimitcollection.es6mrupruneamazonsetImmediateguiddateproxyisConcatSpreadableArrayrandomdeletemiddlewaresymlinksconsumemimeupes2016polyfillstringifylinewrapformat
2.7.159

9 months ago

2.7.158

9 months ago

2.6.150

10 months ago

2.6.149

10 months ago

2.6.147

10 months ago

2.6.148

10 months ago

2.6.141

10 months ago

2.6.142

10 months ago

2.6.145

10 months ago

2.6.146

10 months ago

2.6.143

10 months ago

2.6.144

10 months ago

2.7.157

9 months ago

2.7.153

9 months ago

2.7.154

9 months ago

2.5.141

10 months ago

2.7.155

9 months ago

2.7.156

9 months ago

2.7.150

10 months ago

2.7.151

9 months ago

2.7.152

9 months ago

2.5.139

10 months ago

2.5.140

10 months ago

2.5.137

10 months ago

2.5.138

10 months ago

2.5.136

10 months ago

2.5.129

10 months ago

2.5.130

10 months ago

2.5.131

10 months ago

2.5.132

10 months ago

2.5.133

10 months ago

2.5.134

10 months ago

2.5.135

10 months ago

2.5.128

10 months ago

2.5.127

10 months ago

2.5.126

10 months ago

2.5.123

10 months ago

2.5.124

10 months ago

2.5.125

10 months ago

2.5.122

11 months ago

2.5.120

11 months ago

2.5.121

11 months ago

2.5.119

11 months ago

2.5.118

11 months ago

2.5.117

11 months ago

2.5.116

11 months ago

2.5.115

11 months ago

2.5.114

11 months ago

2.5.113

11 months ago

2.5.112

11 months ago

2.5.111

11 months ago

2.4.70

1 year ago

2.4.79

12 months ago

2.4.76

12 months ago

2.4.75

12 months ago

2.4.78

12 months ago

2.2.51

1 year ago

2.4.77

12 months ago

2.4.72

1 year ago

2.4.71

1 year ago

2.2.50

1 year ago

2.4.74

12 months ago

2.4.73

1 year ago

2.4.81

12 months ago

2.4.80

12 months ago

2.4.87

12 months ago

2.4.86

12 months ago

2.4.89

12 months ago

2.4.88

12 months ago

2.4.83

12 months ago

2.4.82

12 months ago

2.4.85

12 months ago

2.4.84

12 months ago

2.4.90

12 months ago

2.4.92

12 months ago

2.4.91

12 months ago

2.1.18

1 year ago

2.1.19

1 year ago

2.1.27

1 year ago

2.1.28

1 year ago

2.1.25

1 year ago

2.1.26

1 year ago

2.1.23

1 year ago

2.1.24

1 year ago

2.1.21

1 year ago

2.1.22

1 year ago

2.1.20

1 year ago

2.4.94

11 months ago

2.4.93

12 months ago

2.1.29

1 year ago

2.1.38

1 year ago

2.1.39

1 year ago

2.1.36

1 year ago

2.1.37

1 year ago

2.5.100

11 months ago

2.1.34

1 year ago

2.5.101

11 months ago

2.1.35

1 year ago

2.5.102

11 months ago

2.1.32

1 year ago

2.5.103

11 months ago

2.1.33

1 year ago

2.3.53

1 year ago

2.1.30

1 year ago

2.3.52

1 year ago

2.1.31

1 year ago

2.3.55

1 year ago

2.3.54

1 year ago

2.3.51

1 year ago

2.5.104

11 months ago

2.5.105

11 months ago

2.5.106

11 months ago

2.5.107

11 months ago

2.5.108

11 months ago

2.5.109

11 months ago

2.1.47

1 year ago

2.5.110

11 months ago

2.1.45

1 year ago

2.1.46

1 year ago

2.1.43

1 year ago

2.1.44

1 year ago

2.1.41

1 year ago

2.1.42

1 year ago

2.1.40

1 year ago

2.5.98

11 months ago

2.5.99

11 months ago

2.5.94

11 months ago

2.5.95

11 months ago

2.5.96

11 months ago

2.5.97

11 months ago

2.4.58

1 year ago

2.4.57

1 year ago

2.4.59

1 year ago

2.4.56

1 year ago

2.4.55

1 year ago

2.2.48

1 year ago

2.2.49

1 year ago

2.4.69

1 year ago

2.4.68

1 year ago

2.2.47

1 year ago

2.4.65

1 year ago

2.4.64

1 year ago

2.4.67

1 year ago

2.4.66

1 year ago

2.4.61

1 year ago

2.4.60

1 year ago

2.4.63

1 year ago

2.4.62

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

2.1.14

1 year ago

2.1.15

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.1.4

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago