5.6.110 • Published 11 months ago

@diotoborg/quis-placeat v5.6.110

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

@diotoborg/quis-placeat Version Badge

github actions coverage License Downloads

npm badge

Get the byteOffset out of a DataView, robustly.

This will work in node <= 0.10 and < 0.11.4, where there's no prototype accessor, only a nonconfigurable own property. It will also work in modern engines where DataView.prototype.byteOffset has been deleted after this module has loaded.

Example

const dataViewByteOffset = require('@diotoborg/quis-placeat');
const assert = require('assert');

const ab = new ArrayBuffer(42);
const dv = new DataView(ab, 2);
assert.equal(dataViewByteOffset(dv), 2);

Tests

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

ECMAScript 6gitignorefull-widthoptionnpmignorehasOwnPropertyformsshebangvpctelephonemake dirnamesconsumeexpresslookdeep-copyttyregular expressionsendpointtoobjectfast-copyloadbalancinginputeffect-tstransportstableinferenceqsvalidationes-abstractisConcatSpreadablelocalterminalponyfilleslintmoveagentespreecryptocharactertaptextexpressionUint8ClampedArraydependenciesreadableparsetranspileparentsstoragegatewaywebsearchpostcssoutputreal-timexmlarraysomecharactersaccessibilityjapanesevalidatorl10ndragargvvaluesgetterfunction.lengthpyyamlStyleSheetconstwaapischeme-validationUint8ArrayInt32ArraypushArrayBuffer#slicetoolkitinternal slotregular-expressionroutinges-shim APIYAMLqueueMicrotaskamazonserializercommand-lineloggingmobilequeuechromiumreadablestreamsinatraclassestrimappcall-boundgetintrinsicprefixdropdynamodblocationreact-hooksfindLastIndexcompilerECMAScript 2023xhrworkspace:*joieventEmitter__proto__MaphooksclassnameconfigphonefindupdeepclonereduceemrECMAScript 5chromeidleieiteratoristanbulES2015gdprsesmodulesES2017TypeScriptcollection.es6dataViewbufferserrori18nESnextWebSocketeslintpluginmkdirsloggermkdirES2020jsdomWebSocketsECMAScript 2017call-bindredux-toolkitstylesdataviewpoint-freevarlinkreusecloudwatchpluginweaksetregularlanguagemanagerurlUint32Arrayomitminimalreact-testing-libraryprettyECMAScriptintrinsicECMAScript 2022yuprestserializationglobal objectsymboldirectoryimmerPromiseenvlibphonenumberlintfile systemtermwhichpropertysymbolseslint-pluginperformanceargumenttyped arraygetdescriptorsES8fullSymbol.toStringTagArrayBuffer.prototype.slicefunctionalunicodeconsoleES6elbquotefeedprocessglobal this valueio-tsprotobabelES2023multi-packagechildinstrumentationObservableasterisksnativeairbnbsortedpreprocessorutilFloat64ArrayECMAScript 2018rmdirsharedchineseArray.prototype.findLastcachechaihas-owncss-in-jsstylecolorviewArray.prototype.flatcensorassertmrueswaitsetImmediatesuperagentreact poseframernodejsECMAScript 2019compareWeakMaparktype3dvarsreact animationreact-hook-formtoolsWeakSetcontainsyamlxtermemojiformatec2flattenrulessnsrequeststringifyincludestoArraycreateprotocol-bufferses2016cloudfrontArray.prototype.flattenArray.prototype.findLastIndexserializetoSortedutilitiesdescriptorcssuser-streamsrm -rfsetter.gitignorenegativetsreactweakmap6to5globalsanimationharmonypopmotionObservablesremoveidECMAScript 2016argsapiformcloudformationJSON-Schemafssortbrowserapollobines2017internalnopebytewhatwgasciiatomenvironmentsrapidpnpm9System.globalStreamswalkingrobustishttpcurriedfpsArray.prototype.containsObject.getPrototypeOfobjectshrinkwrapgraphqloptimizernpmforktddPushmochacallbindloadingbusyincolourparentjQueryfilterset.enves-shimsrdsresolvesqszxextendhookformimmutableURLSearchParamspositiverestfulrmawesomesauceutilityrouterObjectwalkeslintconfigroute53touch[[Prototype]]posepathutilspinodayjsfastcloneemiteverydom-testing-libraryvalidclonehelperbabel-coregesturescore-jszeroES2018SymbolbrowserlistTypeBoxRFC-6455karmawafgetPrototypeOfartmonorepopackagesjson-schemagetoptHyBiwarningcallquerystringaccessortrimRightignoreregexjson-schema-validationdependency managerlrurecursivejestObject.entriesescapemapreduceprunefastcopywritablesource mapfunctiones7eventsredirectspeedbinarywritebeanstalkramdainstallglobalThisansiuuidcjkownCSSStyleDeclarationsafepackage.jsoniterateentriestapeelasticacheURLuninstallvisualasynconceUnderscoresyntaxECMAScript 2015ArrayBufferfnmatchenumerablelaststarteroffsettoReversedautoprefixerconcatgenericsECMAScript 2021manipulationreversepromisespawntacitStreamvaluees6defineregular expressionArray.prototype.includesparserReactiveExtensionslockfileMicrosoftkoreanBigInt64Arrayexecnumberclass-validatordateES5channelObject.isspinnerES3typedarraystoStringTagreadformattingpostcss-pluginselfshamtypesafesuperstructzodclienttypanionglobpackagenamespringinvariant@@toStringTagfixed-widthimportstyled-componentscommanderhasmatchAllfiletypescriptreworkprivate datapipepatchstreamswindowmergeRegExp#flagssymlinkscoveragedataReflect.getPrototypeOflook-upfromTypedArrayastfantasy-landtakeruntimecurlexecfiledeeprouterfc4122bannerES2022callboundFunction.prototype.namematches8debugreduxReactiveXthreelogcloudsearchprototypegroupBysetPrototypeOfestreeArrayschemafigletSetrgbpureCSSmatchesjsdiffs3code pointshigher-orderes2018propertiesassertionequalitymkdirpclifetchES7styleguidedebuggerstringifierlistenersrssbundlerletjsxjsonschemadescriptiontypeimportexportfindLastrm -frsettingsqueryjshintprivateworkflow0Float32ArrayboundlengthInt8ArrayshimframeworkES2019reducerautoscalingslotECMAScript 7buffercircularajvcoercibleES2016fullwidthjson-schema-validatorjasminecodesguidequalES2021requiresidearraysinspectacorntrimStarttimeeast-asian-widthdefinePropertytc39Rxdeep-clonefunctionsnegative zerobyteLengthflatgetOwnPropertyDescriptorspec
5.6.110

11 months ago

5.6.109

11 months ago

5.6.108

11 months ago

5.6.107

11 months ago

5.6.106

11 months ago

5.6.105

11 months ago

5.6.104

11 months ago

5.5.104

11 months ago

5.5.103

11 months ago

5.5.102

11 months ago

5.5.101

11 months ago

5.5.100

11 months ago

5.5.99

11 months ago

5.5.98

11 months ago

5.5.97

11 months ago

5.5.96

11 months ago

5.5.95

11 months ago

5.5.94

11 months ago

5.5.93

11 months ago

5.5.92

11 months ago

5.5.91

11 months ago

5.5.90

12 months ago

5.5.89

12 months ago

5.5.88

12 months ago

5.5.87

12 months ago

5.5.86

12 months ago

5.5.85

12 months ago

5.5.84

12 months ago

5.5.83

12 months ago

5.5.82

12 months ago

5.5.81

12 months ago

5.5.80

12 months ago

5.5.79

12 months ago

5.5.78

12 months ago

5.5.77

12 months ago

5.5.76

12 months ago

5.5.75

12 months ago

5.5.74

12 months ago

5.5.73

12 months ago

5.5.72

12 months ago

5.5.71

12 months ago

5.5.70

1 year ago

5.5.69

1 year ago

5.5.68

1 year ago

5.4.68

1 year ago

5.4.67

1 year ago

5.4.66

1 year ago

5.4.65

1 year ago

5.4.64

1 year ago

5.4.63

1 year ago

5.4.62

1 year ago

5.4.61

1 year ago

5.4.60

1 year ago

5.4.59

1 year ago

5.4.58

1 year ago

5.4.57

1 year ago

5.4.56

1 year ago

5.4.55

1 year ago

5.4.54

1 year ago

5.4.53

1 year ago

5.3.53

1 year ago

5.3.52

1 year ago

5.3.51

1 year ago

5.3.50

1 year ago

5.3.49

1 year ago

5.3.48

1 year ago

5.3.47

1 year ago

5.3.46

1 year ago

5.3.45

1 year ago

5.3.44

1 year ago

5.3.43

1 year ago

5.3.42

1 year ago

5.3.41

1 year ago

5.3.40

1 year ago

5.3.39

1 year ago

5.3.38

1 year ago

5.3.37

1 year ago

5.3.36

1 year ago

5.3.35

1 year ago

5.3.34

1 year ago

5.3.33

1 year ago

5.3.32

1 year ago

5.3.31

1 year ago

5.3.30

1 year ago

5.3.29

1 year ago

5.2.29

1 year ago

5.2.28

1 year ago

5.2.27

1 year ago

5.2.26

1 year ago

5.2.25

1 year ago

4.2.25

1 year ago

4.2.24

1 year ago

4.2.23

1 year ago

4.2.22

1 year ago

4.2.21

1 year ago

4.2.20

1 year ago

4.2.19

1 year ago

4.2.18

1 year ago

4.2.17

1 year ago

4.2.16

1 year ago

4.2.15

1 year ago

4.2.14

1 year ago

4.2.13

1 year ago

4.2.12

1 year ago

4.2.11

1 year ago

3.2.11

1 year ago

3.2.10

1 year ago

3.2.9

1 year ago

3.2.8

1 year ago

3.2.7

1 year ago

3.2.6

1 year ago

3.2.5

1 year ago

3.2.4

1 year ago

3.1.4

1 year ago

3.1.3

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

2.0.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago