
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
typed-array-buffer
Advanced tools
Get the ArrayBuffer out of a TypedArray, 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 TypedArray.prototype.buffer
has been deleted after this module has loaded.
const typedArrayBuffer = require('typed-array-buffer');
const assert = require('assert');
const arr = new Uint8Array(0);
assert.equal(arr.buffer, typedArrayBuffer(arr));
Simply clone the repo, npm install
, and run npm test
v1.0.3 - 2024-12-18
aca9484
fcdcb05
5f5a406
f45042c
@ljharb/eslint-config
, @ljharb/tsconfig
, @types/object-inspect
, @types/tape
, auto-changelog
, es-value-fixtures
, object-inspect
, tape
0c937e7
call-bound
directly cf4aba4
aud
with npm audit
a3abb73
@types/tape
548ffdc
is-typed-array
3b5deb1
call-bind
02cbc0c
postlint
f6daa66
c9faf2a
FAQs
Get the ArrayBuffer out of a TypedArray, robustly.
The npm package typed-array-buffer receives a total of 28,284,447 weekly downloads. As such, typed-array-buffer popularity was classified as popular.
We found that typed-array-buffer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket investigates hidden protestware in npm packages that blocks user interaction and plays the Ukrainian anthem for Russian-language visitors.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.