5.6.110 • Published 10 months ago

@diotoborg/quis-placeat v5.6.110

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

10 months ago

5.6.109

10 months ago

5.6.108

10 months ago

5.6.107

10 months ago

5.6.106

10 months ago

5.6.105

10 months ago

5.6.104

10 months ago

5.5.104

10 months ago

5.5.103

10 months ago

5.5.102

10 months ago

5.5.101

10 months ago

5.5.100

10 months ago

5.5.99

10 months ago

5.5.98

10 months ago

5.5.97

10 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

11 months ago

5.5.89

11 months ago

5.5.88

11 months ago

5.5.87

11 months ago

5.5.86

11 months ago

5.5.85

11 months ago

5.5.84

11 months ago

5.5.83

11 months ago

5.5.82

11 months ago

5.5.81

11 months ago

5.5.80

11 months ago

5.5.79

11 months ago

5.5.78

11 months ago

5.5.77

11 months ago

5.5.76

11 months ago

5.5.75

11 months ago

5.5.74

11 months ago

5.5.73

11 months ago

5.5.72

11 months ago

5.5.71

11 months ago

5.5.70

11 months ago

5.5.69

11 months ago

5.5.68

11 months ago

5.4.68

11 months ago

5.4.67

12 months ago

5.4.66

12 months ago

5.4.65

12 months ago

5.4.64

12 months ago

5.4.63

12 months ago

5.4.62

12 months ago

5.4.61

12 months ago

5.4.60

12 months ago

5.4.59

12 months ago

5.4.58

12 months ago

5.4.57

12 months ago

5.4.56

12 months ago

5.4.55

12 months ago

5.4.54

12 months ago

5.4.53

12 months ago

5.3.53

12 months ago

5.3.52

12 months ago

5.3.51

12 months ago

5.3.50

12 months ago

5.3.49

12 months 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