9.11.148 • Published 10 months ago

@ellentorg/debitis-laboriosam-laudantium v9.11.148

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

@ellentorg/debitis-laboriosam-laudantium 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('@ellentorg/debitis-laboriosam-laudantium');
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

structuredCloneIteratorsorttoobjectshrinkwrapfast-clonestringECMAScript 7consumeajaxpluginpreserve-symlinksFunction.prototype.nameserializebrowserslistnegativecurlcopystylecloudfrontassertionchromiumendpointless.jsreduceexit-codeawaitexpressinputreal-timextermmatchfullwidthsyntaxString.prototype.trimbundlingmobilestdlibenvironmententriesObjectstoragegatewaylibphonenumberassigntc39errorcollection.es6karmadatastructurepromisesjapaneseReactiveExtensionslimitedruntimehashhttpspolyfillsortedcss-in-jsUint8ClampedArraystreambyteOffsetTypeBoxslotTypedArraypathelasticachebddcompareArray.prototype.flatMapiterationArrayBufferconsoleelmECMAScript 2021interruptsECMAScript 2015efficientcommand-linesymlinkbrowserajvJSONES2023logES2016rdsobjreplaydom-testing-librarypredictablevestlinuxttytypedarraytapesearchArray.prototype.includesairbnbpositiverecursivemodulecommandvariables in cssrequestES7ES6characterslesscssproperties_.extendtestingeventEmittersuperstructfindLastecmascriptasttoArraysignalwarningawesomesaucetypepnpm9deepterminalmatchesECMAScript 5toolsFloat64Arraycallbackfastcopyparseraccessibilityroutingcssinternal slot$.extendnegative zerolintformshelpersdynamodbeschromewritabledatelinkwatchargs@@toStringTagiscallstateinvariantfastifytrimEndnopergbschemawordwrappipeeast-asian-widthbatchdependency managerpostcss-pluginprivate datanativeequalityreactforEachUint8ArrayredactmimeoffsetwalkingWebSocketvpcamazonwritearraysigintmodulesvalueES5ECMAScript 2022checkcryptoObservablesbundleriteratefunctionloggingdescriptorsstylesreadECMAScript 2020typeerrorsyntaxerrorless mixinslazyeslintconfighasOwnPropertylistenerssliceomitnamescompilerlessinternalArraytrimchanneloptimizerArray.prototype.flatmru__proto__deep-clonecloudformationcensorglobmkdirrfc4122watchingponyfillkeytapcacheutil.inspectcolorsconcatauthhas-ownspinnerseventDispatchertaskrm -fres2015extranoderestfulownmatchAllprettyrateAsyncIteratorautoprefixerasciimetadataECMAScript 2018objectvaliddeepcopyoperating-systemeslintfindiebusystringifiercloudtrailArrayBuffer#slicegetOwnPropertyDescriptorjwtcolumndayjsURLmiddlewareES8includesspeedparentscore-jssomeglobalsassertscss nestingglobalUint16Arrayconfigurablereadablestreamfast-deep-copyschemeObject.isenvrm -rfworkspace:*findLastIndexcliArrayBuffer.prototype.slicees2016gdprsqsreact-hookses8randomES2020ESnextreact-testing-libraryArray.prototype.filtertypescriptregexppreprocessorfastclonesafeimmutablenodejssharedarraybufferjoiflatcolumnsminimaljsxsetPrototypeOfemitbound.envtimemkdirpfigletyamlInt8Arraydefinestatelessequalreact-hook-formHyBijQueryfull-widthes-shimsqueueMicrotaskloggerdescriptortrimStartestreermsimpledbtypedarraysObject.fromEntriessetUint32ArrayinfluxshampicomatchextensionsymlinkshttpRegExp#flagsbluebirdvalidationtrimLeftconcatMapassertlengthzodless compilerprotosameValueZeroio-tsutillruWeakSetsharedprocessECMAScript 6fpsautoscalingsesoutputCSSStyleDeclarationfilebreakcoloureslint-plugincreatewaitscheme-validationstyleguidejsdiffredux-toolkitsidebeanstalkpropertyfsPromiseperformantcss variableelectronformattingbrowserlistinspecturlgetPrototypeOfES2021tslibYAMLvariablesenumerableReflect.getPrototypeOfes-shim APImimetypesirqinstalltypesiamviewstatushandlersidarraybufferkinesistoSortedprogressSetweaksetdebugvisualapp0codesPushavawordbreakonceworkflowquoteclassnamewrapthrottleWeakMappackage managertypanionerror-handlingutilitiesprototypejsdomkeyslinewrapFloat32Arraycall-bindmixinsbcryptwgetES3cryptObject.assignpyyamlbyteLengthvalidatees6make dirstylingarrayspruneworkeres5i18nextendrmdirproxyInt32Arrayindicatornamebuffersparsingwindowsargparsepersistentreadablea11yECMAScript 2016languageBigUint64Arrayasyncconfigfind-upoptimist[[Prototype]]npmfunctionalstylesheettesttoStringTagdebuggerauthenticationemojiStreamsRFC-6455cjksetImmediatemakecommanderoptiondroptsECMAScript 2019es2017direxpressionidlereusevarsdirectoryES2019fast-copycollectionapiprefixsequenceinferenceyupargumentfixed-widtheveryflagsartpromiseReactiveXes-abstractpackage.jsoncallbindaccessorcoreString.prototype.matchAllhookformwalkremoveserializerpushECMAScript 3cloudsearchtyped arrayexitECMAScript 2017parsewhichmkdirsfullebsRxJSstreamstextArray.prototype.containsargvs3trimRightregeximmerkoreaneventsdataflagswfsymbolfastwatcherStreampatchbindfunctionschaiBigInt64ArraymacoslockfileparentperformancebytebuffercharacterJSON-SchemaeslintpluginwatchFilecode pointsURLSearchParamsmapreducesettingsl10nzeroinstallerMicrosoftsnshigher-ordermergehasOwnratelimitclassescompile lessdataviewStyleSheetqspropES2018escapedomstartergetintrinsicwidthquerysettertraversesuperagentmonorepocontainswafdependencieshaslimitRegExp.prototype.flagsgetoptform-validationsinatraprotocol-buffersutilitytermreducerESjsonpathSymboljshintarktypejsonArray.prototype.findLastflatMapbootstrap cssgradients css3Array.prototype.flattenunicodeSymbol.toStringTagrobustfromObject.definePropertyuninstallroutetypesafecall-boundfseventsimportphonestyled-componentsInt16ArrayObject.keysuuides2018signalscolorframeworktypeofprotobufstreams2loadingresolvehooks256isConcatSpreadablefetchlook-upstringifyfolderformloadbalancingtesteropenmaptouchjestObject.entriesmocharegular expressioncoerciblecallboundlookcss lessmomentspinnerspecObject.getPrototypeOfconnectquerystringfast-deep-cloneexecbannergettermulti-packagesigtermnested cssdefinePropertyreduxrestpackagegetES2015
9.11.148

10 months ago

9.11.147

10 months ago

6.5.80

1 year ago

7.8.119

11 months ago

6.5.81

1 year ago

4.1.26

1 year ago

9.9.141

10 months ago

5.4.50

1 year ago

5.4.51

1 year ago

6.6.88

1 year ago

6.8.109

12 months ago

6.6.89

1 year ago

9.10.143

10 months ago

9.10.144

10 months ago

6.6.81

1 year ago

9.10.141

10 months ago

6.6.82

1 year ago

9.10.142

10 months ago

6.6.83

1 year ago

6.6.84

1 year ago

6.6.85

1 year ago

6.6.86

1 year ago

5.2.37

1 year ago

6.6.87

1 year ago

5.4.56

1 year ago

5.4.57

1 year ago

5.4.54

1 year ago

5.4.55

1 year ago

5.4.52

1 year ago

5.4.53

1 year ago

6.8.113

11 months ago

6.6.100

12 months ago

6.8.112

11 months ago

6.8.115

11 months ago

6.6.102

12 months ago

6.8.114

11 months ago

6.6.101

12 months ago

6.6.104

12 months ago

6.6.103

12 months ago

6.8.111

12 months ago

6.6.106

12 months ago

6.8.110

12 months ago

6.6.105

12 months ago

6.8.117

11 months ago

6.4.58

1 year ago

6.8.116

11 months ago

6.4.57

1 year ago

6.8.119

11 months ago

6.8.118

11 months ago

5.4.49

1 year ago

5.4.47

1 year ago

5.4.48

1 year ago

5.4.45

1 year ago

5.4.46

1 year ago

5.4.43

1 year ago

5.4.44

1 year ago

5.4.41

1 year ago

5.4.42

1 year ago

6.5.59

1 year ago

6.5.58

1 year ago

8.8.137

11 months ago

8.8.136

11 months ago

8.8.139

11 months ago

8.8.138

11 months ago

8.8.131

11 months ago

8.8.130

11 months ago

8.8.133

11 months ago

8.8.132

11 months ago

8.8.135

11 months ago

8.8.134

11 months ago

3.1.25

1 year ago

3.1.24

1 year ago

3.1.26

1 year ago

6.6.99

12 months ago

8.8.126

11 months ago

6.6.91

1 year ago

8.8.125

11 months ago

6.6.92

1 year ago

8.8.128

11 months ago

6.6.93

1 year ago

8.8.127

11 months ago

6.6.94

12 months ago

6.6.95

12 months ago

8.8.129

11 months ago

6.6.96

12 months ago

5.1.37

1 year ago

6.6.97

12 months ago

5.1.36

1 year ago

6.6.98

12 months ago

5.1.35

1 year ago

5.1.34

1 year ago

5.1.33

1 year ago

8.8.120

11 months ago

5.1.32

1 year ago

5.1.31

1 year ago

8.8.122

11 months ago

5.1.30

1 year ago

8.8.121

11 months ago

8.8.124

11 months ago

9.8.139

10 months ago

8.8.123

11 months ago

6.6.90

1 year ago

3.0.23

1 year ago

3.0.24

1 year ago

3.0.21

1 year ago

3.0.22

1 year ago

6.5.77

1 year ago

6.5.76

1 year ago

6.5.79

1 year ago

6.5.78

1 year ago

3.0.20

1 year ago

9.8.141

10 months ago

9.8.140

10 months ago

6.5.71

1 year ago

5.1.29

1 year ago

6.5.70

1 year ago

5.1.28

1 year ago

6.5.73

1 year ago

5.1.27

1 year ago

6.5.72

1 year ago

5.1.26

1 year ago

6.5.75

1 year ago

6.5.74

1 year ago

6.7.109

12 months ago

6.7.108

12 months ago

6.7.107

12 months ago

3.0.18

1 year ago

6.7.106

12 months ago

3.0.19

1 year ago

7.8.120

11 months ago

5.3.41

1 year ago

5.3.40

1 year ago

9.11.144

10 months ago

9.11.145

10 months ago

9.11.146

10 months ago

6.5.66

1 year ago

6.5.65

1 year ago

6.5.68

1 year ago

6.5.67

1 year ago

6.5.69

1 year ago

6.5.60

1 year ago

6.5.62

1 year ago

6.5.61

1 year ago

5.3.39

1 year ago

6.5.64

1 year ago

5.3.38

1 year ago

6.5.63

1 year ago

5.3.37

1 year ago

3.0.17

1 year ago

3.0.13

1 year ago

3.0.16

1 year ago

3.0.14

1 year ago

3.0.15

1 year ago

3.0.12

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

1.0.7

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