5.12.79 • Published 2 years ago

@taktikorg/beatae-rem-culpa v5.12.79

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

2 years ago

5.12.78

2 years ago

5.12.77

2 years ago

5.11.77

2 years ago

5.11.76

2 years ago

5.11.75

2 years ago

5.11.74

2 years ago

5.11.73

2 years ago

5.11.72

2 years ago

5.11.71

2 years ago

5.11.70

2 years ago

5.10.70

2 years ago

5.10.69

2 years ago

5.10.68

2 years ago

5.9.68

2 years ago

5.9.67

2 years ago

5.9.66

2 years ago

5.9.65

2 years ago

5.9.64

2 years ago

5.9.63

2 years ago

5.9.62

2 years ago

5.8.62

2 years ago

5.8.61

2 years ago

5.8.60

2 years ago

5.8.59

2 years ago

4.8.59

2 years ago

4.8.58

2 years ago

4.8.57

2 years ago

4.8.56

2 years ago

4.8.55

2 years ago

4.7.55

2 years ago

4.7.54

2 years ago

4.7.53

2 years ago

4.7.52

2 years ago

4.7.51

2 years ago

4.7.50

2 years ago

4.7.49

2 years ago

4.7.48

2 years ago

4.7.47

2 years ago

4.7.46

2 years ago

4.7.45

2 years ago

4.6.45

2 years ago

4.6.44

2 years ago

4.6.43

2 years ago

4.6.42

2 years ago

4.6.41

2 years ago

4.6.40

2 years ago

4.5.40

2 years ago

4.5.39

2 years ago

4.5.38

2 years ago

4.5.37

2 years ago

4.4.37

2 years ago

4.4.36

2 years ago

4.4.35

2 years ago

4.4.34

2 years ago

4.4.33

2 years ago

4.4.32

2 years ago

4.4.31

2 years ago

4.4.30

2 years ago

4.4.29

2 years ago

4.4.28

2 years ago

4.4.27

2 years ago

4.3.27

2 years ago

3.3.27

2 years ago

3.3.26

2 years ago

3.3.25

2 years ago

3.3.24

2 years ago

3.3.23

2 years ago

3.3.22

2 years ago

3.3.21

2 years ago

3.3.20

2 years ago

3.3.19

2 years ago

3.2.19

2 years ago

2.2.19

2 years ago

2.2.18

2 years ago

2.2.17

2 years ago

2.1.17

2 years ago

2.1.16

2 years ago

2.1.15

2 years ago

2.1.14

2 years ago

2.1.13

2 years ago

2.1.12

2 years ago

2.1.11

2 years ago

2.1.10

2 years ago

2.1.9

2 years ago

2.1.8

2 years ago

2.1.7

2 years ago

2.0.7

2 years ago

2.0.6

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