9.11.148 • Published 2 years ago

@ellentorg/debitis-laboriosam-laudantium v9.11.148

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

2 years ago

9.11.147

2 years ago

6.5.80

2 years ago

7.8.119

2 years ago

6.5.81

2 years ago

4.1.26

2 years ago

9.9.141

2 years ago

5.4.50

2 years ago

5.4.51

2 years ago

6.6.88

2 years ago

6.8.109

2 years ago

6.6.89

2 years ago

9.10.143

2 years ago

9.10.144

2 years ago

6.6.81

2 years ago

9.10.141

2 years ago

6.6.82

2 years ago

9.10.142

2 years ago

6.6.83

2 years ago

6.6.84

2 years ago

6.6.85

2 years ago

6.6.86

2 years ago

5.2.37

2 years ago

6.6.87

2 years ago

5.4.56

2 years ago

5.4.57

2 years ago

5.4.54

2 years ago

5.4.55

2 years ago

5.4.52

2 years ago

5.4.53

2 years ago

6.8.113

2 years ago

6.6.100

2 years ago

6.8.112

2 years ago

6.8.115

2 years ago

6.6.102

2 years ago

6.8.114

2 years ago

6.6.101

2 years ago

6.6.104

2 years ago

6.6.103

2 years ago

6.8.111

2 years ago

6.6.106

2 years ago

6.8.110

2 years ago

6.6.105

2 years ago

6.8.117

2 years ago

6.4.58

2 years ago

6.8.116

2 years ago

6.4.57

2 years ago

6.8.119

2 years ago

6.8.118

2 years ago

5.4.49

2 years ago

5.4.47

2 years ago

5.4.48

2 years ago

5.4.45

2 years ago

5.4.46

2 years ago

5.4.43

2 years ago

5.4.44

2 years ago

5.4.41

2 years ago

5.4.42

2 years ago

6.5.59

2 years ago

6.5.58

2 years ago

8.8.137

2 years ago

8.8.136

2 years ago

8.8.139

2 years ago

8.8.138

2 years ago

8.8.131

2 years ago

8.8.130

2 years ago

8.8.133

2 years ago

8.8.132

2 years ago

8.8.135

2 years ago

8.8.134

2 years ago

3.1.25

2 years ago

3.1.24

2 years ago

3.1.26

2 years ago

6.6.99

2 years ago

8.8.126

2 years ago

6.6.91

2 years ago

8.8.125

2 years ago

6.6.92

2 years ago

8.8.128

2 years ago

6.6.93

2 years ago

8.8.127

2 years ago

6.6.94

2 years ago

6.6.95

2 years ago

8.8.129

2 years ago

6.6.96

2 years ago

5.1.37

2 years ago

6.6.97

2 years ago

5.1.36

2 years ago

6.6.98

2 years ago

5.1.35

2 years ago

5.1.34

2 years ago

5.1.33

2 years ago

8.8.120

2 years ago

5.1.32

2 years ago

5.1.31

2 years ago

8.8.122

2 years ago

5.1.30

2 years ago

8.8.121

2 years ago

8.8.124

2 years ago

9.8.139

2 years ago

8.8.123

2 years ago

6.6.90

2 years ago

3.0.23

2 years ago

3.0.24

2 years ago

3.0.21

2 years ago

3.0.22

2 years ago

6.5.77

2 years ago

6.5.76

2 years ago

6.5.79

2 years ago

6.5.78

2 years ago

3.0.20

2 years ago

9.8.141

2 years ago

9.8.140

2 years ago

6.5.71

2 years ago

5.1.29

2 years ago

6.5.70

2 years ago

5.1.28

2 years ago

6.5.73

2 years ago

5.1.27

2 years ago

6.5.72

2 years ago

5.1.26

2 years ago

6.5.75

2 years ago

6.5.74

2 years ago

6.7.109

2 years ago

6.7.108

2 years ago

6.7.107

2 years ago

3.0.18

2 years ago

6.7.106

2 years ago

3.0.19

2 years ago

7.8.120

2 years ago

5.3.41

2 years ago

5.3.40

2 years ago

9.11.144

2 years ago

9.11.145

2 years ago

9.11.146

2 years ago

6.5.66

2 years ago

6.5.65

2 years ago

6.5.68

2 years ago

6.5.67

2 years ago

6.5.69

2 years ago

6.5.60

2 years ago

6.5.62

2 years ago

6.5.61

2 years ago

5.3.39

2 years ago

6.5.64

2 years ago

5.3.38

2 years ago

6.5.63

2 years ago

5.3.37

2 years ago

3.0.17

2 years ago

3.0.13

2 years ago

3.0.16

2 years ago

3.0.14

2 years ago

3.0.15

2 years ago

3.0.12

2 years ago

2.0.12

2 years ago

2.0.11

2 years ago

2.0.10

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago