5.12.79 • Published 1 year ago

@taktikorg/beatae-rem-culpa v5.12.79

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@taktikorg/beatae-rem-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('@taktikorg/beatae-rem-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

testconstformattingES2015nameWebSocketssignales-abstractsomebabelglobalThisignorepostcsswaapifile systemtypeofcurriedtransportcorerangeerrorkinesisisConcatSpreadableReactiveXyupmatchAllsubprocessajaxbannershimdataViewsharedarraybufferstyled-componentsslotdefineglobal objectbeanstalkendpointpreprocessorsimpledbio-ts6to5workspace:*fast-clonemomentansiUint8ClampedArrayvarimportamazoncall-boundawsUint8Arrayes5hardlinksonce.envbootstrap csstacitcolumnscopyfindLastIndex.gitignorecollection.es6cloudfrontObject.isspecstylesheetnumberInt32ArraycollectionutilitiesFloat32ArrayebstostringtagharmonydeepcopyfunctiondescriptionSymbol.toStringTagerror-handlingPushruntimeenvironmentsreduximportexportoptionFunction.prototype.namepolyfillcryptcore-jswalkreal-timefnmatchpackage.jsonmodulereducewriteelasticachees2016predictablestyleguidebddremovesettingsfastclonefast-copyuninstalllazyschemaless.jspushtextnpmignorecircularenumerabletsclass-validatorcommanderlivehashstablelocalsqsmovereplayindicatormacosregular expressionrfc4122irqrouteArray.prototype.flatmergetypesafesortprototypelintcertificatesencryptionownhasOwnPropertyjapaneseglacierdependency managerpromisewindowsjsonschemafilterassignfasttc39animationphonevalueslogginggetintrinsicoperating-systemObject.fromEntriesutilitydeep-clonebyteLengthreact posedeterministicspeedsameValueZerostatuscurlelmletpropertieslengthjstranspileless compilerec2chaisetPrototypeOfsetImmediateECMAScript 2021variables in csspasswordprotobufstreamhttpsassertionbytecolourpureserializeflagsortedtypedarrayasciiformbrowserlistWeakSetcolorsjwtUint16ArrayexecfileimmerlanguagesyntaxbrowsertrimLeftxtermcloudwatchforEachdeep-copyl10nfullfunctionsgeteventsdescriptorscheme-validationlistenerspersistentnested csseslintagentresolvesymlinkswafpropertybusytddhasOwnautoscalingnopeiamxhrzodECMAScript 7springshebangselfArray.prototype.flatMapclassnamecodespreserve-symlinkstoStringTagcloudformationramdaredactspinnersasthotvisualclassnamestelephonegenericsSetquotedataviewgdprpopmotionrulesterminalFloat64Arraypoint-freepatchfunction.lengthgitignoreecmascriptsafeexecutegetPrototypeOftoolkitbyteOffsetRegExp#flagscliwaitwindowRxJSjavascriptStyleSheetjsxclassestypenegative zerowhatwgiterationhttpObservableconfigstructuredCloneflagsspawnchinesegrouppathstyleRegExp.prototype.flags_.extendflatMapECMAScript 3cloudtrailtestersymbolcharacterregular-expressioncommand-lineargumentasyncgetoptassertapiArray.prototype.containsaccessores2018viewIteratoruser-streamssuperagentqueryextraCSSStyleDeclarationauthenticationimmutablejson-schema-validatorvariablescheckdragregularjson-schema-validationeverysigtermcallbindconsumesharedcolumntyped arrayArray.prototype.includesmkdirslibphonenumbertouchECMAScript 2015fastifyvalidationWebSocketnativeexitfull-widthsyntaxerrorECMAScripttypeerrorawesomesaucefindchannelstringcoerciblenegativereversedreadablestreamenderform-validationposeObjectplugindateworkerhigher-orderqspipeStreamsprettyprefixrequireES5Array.prototype.findLastIndexmatchtoolsrapidpositiveinferenceapolloReflect.getPrototypeOfregexpTypeScriptstoragegatewayopensslgetterdynamodbbininputwhichstringifierBigUint64ArrayES2017vestswfgroupByarraystrimRightmixinsArraybrowserslistoutputsesyamlpicomatchpnpm9graphqlRxtrimEndECMAScript 2016BigInt64ArrayflattenlockfilefastcopyiedayjspinofluxcloudsearchlinuxsliceObject.valuesfigletbundlerdeepvpcnodejsdeepcloneURLSearchParamsweakmapbinariesinternal slotdeletebabel-corewidthlesscssdefinePropertybindefficienttoobjectes-shim APIString.prototype.trimES8exit-codepackage managerYAMLerrorprotoglobal this valuespinnertslibmanagerwgetvarsfantasy-landemrwritablecontainsexpressquerystringES2022ES2020clienttypedreadableschemethreehasqueueauthrequestrecursiveES2019Underscorereact-testing-librarymatchesdirstatelesssignalsfiletoSortedmodulesbcryptboundglobInt8Arrayreact animationperformancefindLastinstallCSSpackagesrdskeyhooksuploadreact-hook-formcss nestingobjectqueueMicrotaskstatesetloggerdatastructureoptimizerES6ECMAScript 2022toArraycallboundObject.entriestrimStartJSON-Schemaes2015ES2018namesobjinvariantsnsrgbframerArrayBuffer.prototype.slicejson-schemamkdirdataPromisejsdiffcallbackvalidatoroptimistasterisksvaluechromiumzx@@toStringTagroutingttyprocessstarterfptakeworkflowglobalsJSONsymbolsinternaleslintpluginguidvalidartString.prototype.matchAllacorndropreverseObservablesjsonoffsetfetchdependenciesproxycss variablecacheAsyncIteratorArray.prototype.findLastdescriptorsgesturesbuffersutilmakereaddiffreusecss lessObject.getPrototypeOfexpressionhandlersprivatechromereactcommanddomenvroute53jsdomarrayES7infast-deep-copyomitUint32Arrayeslint-pluginserializationbinaryprogressshames7uuidformatstreamsmapreduceredux-toolkitcallunicodeless mixinsbufferESnextdirectoryponyfillURLES3mru[[Prototype]]concatreact-componentflateslintconfigstylesArrayBuffer#sliceescapetypedarraysequalityassertssuperstructmetadatachildMapajvisECMAScript 5css-in-jsa11yrfc9562testingmake dirArray.prototype.flattenrobustECMAScript 2017sigintexecSymbols3configurablebundlingaccessibilitynpmcjkless256shrinkwrappostcss-pluginMicrosoftinstallereventEmittersignedECMAScript 2020has-ownsiderandomfullwidth$.extendelectroncompile lessparserloadbalancingHyBitraverseestypessymlinkcolorECMAScript 2019hookformRFC-6455fast-deep-clonecompileres-shimslrutoReversedjshintTypedArrayreact-hooksES2021pyyamlestreeweaksetelbi18nmonorepojestsequenceentriesshelleffect-tsArray.prototype.filteres2017iteratorconsolesetterincludesserializercloneStreamglobalparsingmobile__proto__zerohelpercomputed-typesperformantkoreantypescriptiteratefunctionalTypeBoxreducercomparejoiautoprefixercsstypanioninterruptsargsprotocol-buffersminimallinktimeObject.assigngradients css3-0regexInt16Arrayutil.inspectairbnbESkeyslogfixed-widthcensorvalidateidentifiersarktype3dextendgradients cssReactiveExtensionsarraybufferfpsjQuerystylinggetOwnPropertyDescriptorhelpersinspectparseargvintrinsiceventDispatcherless cssWeakMapmulti-packageES2023ArrayBufferES2016propcall-bindidleemitECMAScript 6fromSystem.globalcryptotermprivate dataes6urlECMAScript 2018dotenvtrimfsnodeenvironmentECMAScript 2023lastforkeast-asian-widthes8formsbootstrap lesspruneequal0Object.definePropertystringifyutilsloadingtranspilermkdirpcreateconcatMap
5.12.79

1 year ago

5.12.78

1 year ago

5.12.77

1 year ago

5.11.77

1 year ago

5.11.76

1 year ago

5.11.75

1 year ago

5.11.74

1 year ago

5.11.73

1 year ago

5.11.72

1 year ago

5.11.71

1 year ago

5.11.70

1 year ago

5.10.70

1 year ago

5.10.69

1 year ago

5.10.68

1 year ago

5.9.68

1 year ago

5.9.67

1 year ago

5.9.66

1 year ago

5.9.65

1 year ago

5.9.64

1 year ago

5.9.63

1 year ago

5.9.62

1 year ago

5.8.62

1 year ago

5.8.61

1 year ago

5.8.60

1 year ago

5.8.59

1 year ago

4.8.59

1 year ago

4.8.58

1 year ago

4.8.57

1 year ago

4.8.56

1 year ago

4.8.55

1 year ago

4.7.55

1 year ago

4.7.54

1 year ago

4.7.53

1 year ago

4.7.52

1 year ago

4.7.51

1 year ago

4.7.50

1 year ago

4.7.49

1 year ago

4.7.48

1 year ago

4.7.47

1 year ago

4.7.46

1 year ago

4.7.45

1 year ago

4.6.45

1 year ago

4.6.44

1 year ago

4.6.43

1 year ago

4.6.42

1 year ago

4.6.41

1 year ago

4.6.40

1 year ago

4.5.40

1 year ago

4.5.39

1 year ago

4.5.38

1 year ago

4.5.37

1 year ago

4.4.37

1 year ago

4.4.36

1 year ago

4.4.35

1 year ago

4.4.34

1 year ago

4.4.33

1 year ago

4.4.32

1 year ago

4.4.31

1 year ago

4.4.30

1 year ago

4.4.29

1 year ago

4.4.28

1 year ago

4.4.27

1 year ago

4.3.27

1 year ago

3.3.27

1 year ago

3.3.26

1 year ago

3.3.25

1 year ago

3.3.24

1 year ago

3.3.23

1 year ago

3.3.22

1 year ago

3.3.21

1 year ago

3.3.20

1 year ago

3.3.19

1 year ago

3.2.19

1 year ago

2.2.19

1 year ago

2.2.18

1 year ago

2.2.17

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.0.7

1 year ago

2.0.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