Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
data-view-buffer
Advanced tools
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.
const dataViewBuffer = require('data-view-buffer');
const assert = require('assert');
const ab = new ArrayBuffer(0);
const dv = new DataView(ab);
assert.equal(dataViewBuffer(dv), ab);
Simply clone the repo, npm install
, and run npm test
v1.0.2 - 2024-12-19
f99dc3f
9ad8630
d3c66fb
@ljharb/eslint-config
, @ljharb/tsconfig
, @types/object-inspect
, @types/tape
, auto-changelog
, es-value-fixtures
, object-inspect
, tape
7dda732
call-bound
directly 5e124f9
call-bind
, is-data-view
73fb1a4
aud
with npm audit
64563a3
@ljharb/tsconfig
b842ce8
call-bind
bc89873
tape
b6ed8cb
ba96a94
FAQs
Get the ArrayBuffer out of a DataView, robustly.
The npm package data-view-buffer receives a total of 8,636,466 weekly downloads. As such, data-view-buffer popularity was classified as popular.
We found that data-view-buffer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.