2.7.159 • Published 1 year ago

@firanorg/cupiditate-veniam-ut v2.7.159

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

1 year ago

2.7.158

1 year ago

2.6.150

1 year ago

2.6.149

1 year ago

2.6.147

1 year ago

2.6.148

1 year ago

2.6.141

1 year ago

2.6.142

1 year ago

2.6.145

1 year ago

2.6.146

1 year ago

2.6.143

1 year ago

2.6.144

1 year ago

2.7.157

1 year ago

2.7.153

1 year ago

2.7.154

1 year ago

2.5.141

1 year ago

2.7.155

1 year ago

2.7.156

1 year ago

2.7.150

1 year ago

2.7.151

1 year ago

2.7.152

1 year ago

2.5.139

1 year ago

2.5.140

1 year ago

2.5.137

1 year ago

2.5.138

1 year ago

2.5.136

1 year ago

2.5.129

1 year ago

2.5.130

1 year ago

2.5.131

1 year ago

2.5.132

1 year ago

2.5.133

1 year ago

2.5.134

1 year ago

2.5.135

1 year ago

2.5.128

1 year ago

2.5.127

1 year ago

2.5.126

1 year ago

2.5.123

1 year ago

2.5.124

1 year ago

2.5.125

1 year ago

2.5.122

1 year ago

2.5.120

1 year ago

2.5.121

1 year ago

2.5.119

1 year ago

2.5.118

1 year ago

2.5.117

1 year ago

2.5.116

1 year ago

2.5.115

1 year ago

2.5.114

1 year ago

2.5.113

1 year ago

2.5.112

1 year ago

2.5.111

1 year ago

2.4.70

1 year ago

2.4.79

1 year ago

2.4.76

1 year ago

2.4.75

1 year ago

2.4.78

1 year ago

2.2.51

1 year ago

2.4.77

1 year ago

2.4.72

1 year ago

2.4.71

1 year ago

2.2.50

1 year ago

2.4.74

1 year ago

2.4.73

1 year ago

2.4.81

1 year ago

2.4.80

1 year ago

2.4.87

1 year ago

2.4.86

1 year ago

2.4.89

1 year ago

2.4.88

1 year ago

2.4.83

1 year ago

2.4.82

1 year ago

2.4.85

1 year ago

2.4.84

1 year ago

2.4.90

1 year ago

2.4.92

1 year ago

2.4.91

1 year ago

2.1.18

2 years ago

2.1.19

2 years ago

2.1.27

2 years ago

2.1.28

2 years ago

2.1.25

2 years ago

2.1.26

2 years ago

2.1.23

2 years ago

2.1.24

2 years ago

2.1.21

2 years ago

2.1.22

2 years ago

2.1.20

2 years ago

2.4.94

1 year ago

2.4.93

1 year ago

2.1.29

2 years 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

1 year ago

2.1.34

1 year ago

2.5.101

1 year ago

2.1.35

1 year ago

2.5.102

1 year ago

2.1.32

2 years ago

2.5.103

1 year ago

2.1.33

1 year ago

2.3.53

1 year ago

2.1.30

2 years ago

2.3.52

1 year ago

2.1.31

2 years ago

2.3.55

1 year ago

2.3.54

1 year ago

2.3.51

1 year ago

2.5.104

1 year ago

2.5.105

1 year ago

2.5.106

1 year ago

2.5.107

1 year ago

2.5.108

1 year ago

2.5.109

1 year ago

2.1.47

1 year ago

2.5.110

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

1 year ago

2.5.99

1 year ago

2.5.94

1 year ago

2.5.95

1 year ago

2.5.96

1 year ago

2.5.97

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

2 years ago

2.1.16

2 years ago

2.1.14

2 years ago

2.1.15

2 years ago

2.1.13

2 years ago

2.1.12

2 years ago

2.1.11

2 years ago

2.1.10

2 years ago

2.1.9

2 years ago

2.1.8

2 years ago

2.1.7

2 years ago

2.1.6

2 years ago

2.1.5

2 years ago

2.1.4

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago