2.1.17 • Published 1 year ago
@kollorg/deleniti-inventore v2.1.17
@kollorg/deleniti-inventore 
Get the ArrayBuffer 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.buffer
has been deleted after this module has loaded.
Example
const dataViewBuffer = require('@kollorg/deleniti-inventore');
const assert = require('assert');
const ab = new ArrayBuffer(0);
const dv = new DataView(ab);
assert.equal(dataViewBuffer(dv), ab);
Tests
Simply clone the repo, npm install
, and run npm test
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.0.10
1 year ago
2.0.9
1 year ago
2.0.8
1 year ago
2.0.7
1 year ago
2.0.6
1 year ago
2.0.5
1 year ago
2.0.4
1 year ago
2.0.3
1 year ago
2.0.2
1 year ago
2.0.1
1 year ago
2.0.0
1 year ago
1.0.0
1 year ago