1.0.17 • Published 1 year ago

@hishprorg/cupiditate-illo v1.0.17

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

@hishprorg/cupiditate-illo 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('@hishprorg/cupiditate-illo');
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

sortedchildassertURLcallboundgraphqlglobal this valueaccessorprotocol-buffersfastifyobjextraWebSockets[[Prototype]]coveragereadqueueMicrotaskeslintconfigrdssuperagentclassnamesjsdiffconfigurableIteratorspinners$.extendpackage.jsonfeedajaxglobalsa11yloadbalancingwgetcommandjson-schemamoduleseffect-tsECMAScript 2022form-validationobjectAsyncIteratorconsolewaapiindicatorelectrondefineflagsprettyrmlastimportgdprwriteserializemanagerargvRxArray.prototype.findLastUint16ArraymakenodeemojiCSSexpressMapprivate data3dreverseObservablewafwhatwgswfwindowawsvarssidefastclonepackagesefficientbabel-coreapppnpm9i18nwarningdeepObject.ischannelgetoptweakmapvalidObject.assignglobmochaconstintrinsiccoerciblepinofastreducematchjoiimmertranspilerFunction.prototype.namejasminetrimbrowserslistarktypeECMAScript 2018WebSocketbrowserspawnStreamUint8ClampedArrayECMAScript 2016querystringworkflowstreamidtapeawesomesaucecloudformationforEachcloudwatchES2017globalThispackage managercurriednativeruntimescheme-validationgetuser-streamsassignarrayreversedhastrimStartutilityuploggingchromeairbnbdataViewpyyamlkeyschaisetteranimationstreamsObservablesfetchshamcode pointscolourspinnerArrayBuffertextcall-bindesdependency managerflagECMAScripteveryproxynamesweaksethigher-orderregular expressionstypeofprefixhasOwnPropertyassertionmatchescallrecursiveeventEmitterhtmlsyntaxerrordragchineseregularrequestredux-toolkityupiteratorlanguagefpcomparejavascriptquotebddstyled-componentsperformantargsseshookformstyleguideES3datepolyfillPushoffsettypescriptrobusthttpfixed-widthArrayclass-validatortakepropertiesECMAScript 5circulartddwritablekoreanrfc4122vpclengthfunctionssubprocessspecreact-hook-formstructuredCloneparseArrayBuffer.prototype.slicefigletinstallzeronoperoutecloudsearchprivatees-abstract.envwhichfindLastObject.keyspluginredactbinariesECMAScript 2023superstructnegativewaittestingfast-deep-copyecmascriptatomkeyES2020harmonysafecolorgetintrinsicistanbulreact animationfunctionalsqsstyle
1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

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