3.13.129 • Published 10 months ago

@diotoborg/amet-cum-culpa v3.13.129

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

@diotoborg/amet-cum-culpa 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/amet-cum-culpa');
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

coloroffsetpersistentArray.prototype.flatMap.envArrayBufferkeycallboundFloat32Arraya11ychildES3css-in-jsprettyexeemreventDispatcherartmapreduceRegExp.prototype.flagsgroupByexecutablecallbackruntimerfc4122cssomittypesafereact pose_.extendshellcolourupgrouplastfigletmkdirsidentifierssuperstructECMAScript 6ratelimitcreatelanguageutil.inspectpackagesymbolautoscalingcollection.es6jshintvpcreducedataViewmrusharedarraybufferrgbfolderstructuredClonefromconfigurabletostringtagsliceObject.getPrototypeOfjoithreetrimRightstarterhashcacheTypedArrayrequestpropelbincludespopmotionreadmime-dbyupvarsinternalpositivebufferES2021gesturesagenteventEmitterhooksoutputrmtraverserequireponyfilliterationmkdirmetadataSymbol.toStringTagregexpcopykeysMicrosoftmake dirloadbalancingopenerURLSearchParamsdataviewdefinePropertyspeed-0JSONzodbrowseremojitoolkitUint32ArrayjsonajventriestypesjQuerytrimEndconfigtoArraycheckpolyfilllogclientvalidatetouchespreedefaultmakeregular expressionswalkinguuidweakmapdiffmodulestapquerystringflagsrobustcjkmulti-packageprotobufArray.prototype.flatteneslintpluginiconvtermrandomStreamsconcurrencyvestcollection3dintrinsicmomentES2015loggingmimegetOwnPropertyDescriptorutilitymatchestextserializesafetypedxhrsesio-tsargparseECMAScript 2016testingbundlerassertionvaluedatastructureargvES2017WebSocketscloudformationperformantparserurltrimLeftconcatMapstdlibtypestabledeep-copyArray.prototype.containsRegExp#flagsquerytslibcharsetpreserve-symlinksserializerECMAScript 2017Function.prototype.namedebug__proto__lazyapistylesprogresselasticachejavascriptdirfpsparentseslintconfigfindfunction.lengthECMAScript 2019genericsECMAScript 7deep-clonegetterpromiseunicodenodejscensortoStringTagmonorepodroptelephonefilelengthglobalhardlinksperformanceObject.definePropertyfsweaksetaccessibilityimportexportes2016utilendpointcurlvalidationtypedarraysinvariantfast-deep-clonewebcompilerECMAScript 2018ansiswfcolumnsjsdomfastdragcommandforEachairbnbroutingcryptostartjsdiffcoretypeofsyntaxcall-boundObject.entriesBigInt64Arraywaapidatecloudfrontdata@@toStringTagthroatflathasOwnasciiArray.prototype.findLastIndexwordbreakFloat64ArrayframerObjectwriteECMAScript 2021walkautoprefixerreducerstringifyiteratorregular expressionamazonStyleSheetcontainspromisesRxJSefficientcode pointseventsemitURLchromiumhttpclonereal-timeenumerablecommand-lineboundreact-hookssnsES6getoptmkdirpclideepclonekinesisvisualstreamcolorsYAMLstylingcloudtrailrangeerrorl10nes-abstractinconsumeformshookformes8expressionasyncworkflowwritablearrayReflect.getPrototypeOfdependency managernumberECMAScript 3waitwhatwgsettingstakeArrayBuffer#slicevaluesparsingoncesetPrototypeOfwhichimmersidebyteOffsetchinesematchqueuetaskparentscheme-validationes2017full-widthtypanionfastifyrapidchannelapolloString.prototype.matchAllbeanstalkqsspinnerfunctiontimeformatObject.istoobjectArray.prototype.filterinputlruArraywgetfast-copyredux-toolkitavaarraysinstallInt32Arrayi18nsettercharactersenvcallfunctionslimitArray.prototype.findLasteslint-pluginspringbrowserslistpnpm9es7shimdescriptorsform-validation[[Prototype]]react-testing-librarysymlinkfilterdeterministicESnextzerooptimistglobjasmines3ES2023setImmediatepyyamlbusyiestatelessxdg-openisConcatSpreadablesetbatchconsoletoolsawesomesaucehttpsgraphqlflattenprivatefetchdom-testing-libraryjsonpathformattingarraybufferobjectshamequalinstallersortendermodulepropertysortedpackage managerJSON-SchemaES7nativeguidIteratorbyteLengthAsyncIteratortypescriptArray.prototype.includesoptimizerconvertwarningnopevalidsearchkarmaphoneUint8ClampedArraystreamsremoveesxdgsuperagentinferenceeveryregexviewroutewordwrapescapeString.prototype.trimObject.fromEntriesreusegethelpergetintrinsicfullwidthlimitedcomputed-typesES2020spawnes5circularterminalwidthdefinetc39MapES2016npmfunctionalflagschemeObservablesredactastCSSrateObject.assignstreams2route53dynamodbjapanesejsxsqsextralinewrapxtermes-shimsnegativebuffershas-ownnodermdirtdddomObservablespeclintUint8ArraycloudsearchECMAScript 2023ECMAScript 2020sharedsymlinksreact-hook-formStreamtapeWeakSetloadingdotenvpatchTypeScriptWeakMapvariableshelpersBigUint64ArraysimpledbstringiddescriptionmochaECMAScript 5shebangArrayBuffer.prototype.sliceownjswebsitepostcss-pluginprefixUnderscorelibphonenumberarktypefindupreactES2022lookchaishrinkwraptypeerrordirectoryrecursivettypackagescloudwatchcolumnfastcopymapoptionpushcomparestyle
3.13.129

10 months ago

3.13.128

10 months ago

3.13.127

10 months ago

3.13.126

10 months ago

3.13.103

11 months ago

3.13.102

11 months ago

3.13.101

11 months ago

3.13.100

11 months ago

3.13.107

11 months ago

3.8.89

11 months ago

3.13.106

11 months ago

3.13.105

11 months ago

3.13.104

11 months ago

3.8.88

12 months ago

3.13.109

11 months ago

3.10.95

11 months ago

3.13.108

11 months ago

3.10.96

11 months ago

3.10.93

11 months ago

3.10.94

11 months ago

3.10.92

11 months ago

3.13.110

11 months ago

3.13.114

10 months ago

3.13.113

11 months ago

3.13.112

11 months ago

3.13.111

11 months ago

3.13.118

10 months ago

3.13.117

10 months ago

3.13.116

10 months ago

3.13.115

10 months ago

3.13.119

10 months ago

2.5.58

1 year ago

2.5.59

1 year ago

1.4.33

1 year ago

2.5.54

1 year ago

1.4.35

1 year ago

2.5.55

1 year ago

1.4.34

1 year ago

2.5.56

1 year ago

1.4.37

1 year ago

2.5.57

1 year ago

1.4.36

1 year ago

3.13.121

10 months ago

3.8.92

11 months ago

2.5.50

1 year ago

1.4.39

1 year ago

3.13.120

10 months ago

2.5.51

1 year ago

1.4.38

1 year ago

3.8.90

11 months ago

2.5.52

1 year ago

3.8.91

11 months ago

2.5.53

1 year ago

2.5.60

1 year ago

3.12.98

11 months ago

3.12.97

11 months ago

3.12.99

11 months ago

1.5.50

1 year ago

2.5.69

1 year ago

1.3.31

1 year ago

1.3.32

1 year ago

3.12.96

11 months ago

1.3.30

1 year ago

2.5.65

1 year ago

2.5.66

1 year ago

2.7.86

12 months ago

2.5.67

1 year ago

1.3.33

1 year ago

2.5.68

1 year ago

2.5.61

1 year ago

2.5.62

1 year ago

2.5.63

1 year ago

2.5.64

1 year ago

2.5.70

1 year ago

2.5.71

1 year ago

2.5.76

12 months ago

2.5.77

12 months ago

2.5.78

12 months ago

2.5.72

1 year ago

2.5.73

12 months ago

2.5.74

12 months ago

2.5.75

12 months ago

1.3.13

1 year ago

1.3.14

1 year ago

1.3.17

1 year ago

1.3.18

1 year ago

1.3.15

1 year ago

3.9.92

11 months ago

1.3.16

1 year ago

1.3.19

1 year ago

1.3.20

1 year ago

1.3.21

1 year ago

1.5.47

1 year ago

1.3.24

1 year ago

2.8.88

12 months ago

1.3.25

1 year ago

2.8.87

12 months ago

1.5.49

1 year ago

1.3.22

1 year ago

2.8.86

12 months ago

1.5.48

1 year ago

1.3.23

1 year ago

1.3.28

1 year ago

1.3.29

1 year ago

1.3.26

1 year ago

1.3.27

1 year ago

3.13.125

10 months ago

3.13.124

10 months ago

3.13.123

10 months ago

3.13.122

10 months ago

1.4.40

1 year ago

1.4.42

1 year ago

1.4.41

1 year ago

1.4.44

1 year ago

1.4.43

1 year ago

1.4.46

1 year ago

2.6.78

12 months ago

1.4.45

1 year ago

2.6.79

12 months ago

1.4.47

1 year ago

2.6.80

12 months ago

2.6.81

12 months ago

2.6.82

12 months ago

2.6.83

12 months ago

3.11.96

11 months ago

3.12.100

11 months ago

2.6.84

12 months ago

2.6.85

12 months ago

2.6.86

12 months ago

1.2.13

1 year ago

1.2.9

1 year ago

1.2.12

1 year ago

1.2.10

1 year ago

1.2.11

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.1.6

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

1.0.0

1 year ago