Socket
Socket
Sign inDemoInstall

buffer

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buffer - npm Package Compare versions

Comparing version 5.7.0 to 5.7.1

1

AUTHORS.md

@@ -68,3 +68,4 @@ # Authors

- mathmakgakpak (44949126+mathmakgakpak@users.noreply.github.com)
- jkkang (jkkang@smartauth.kr)
#### Generated by bin/update-authors.sh.

14

index.js

@@ -414,7 +414,11 @@ /*!

if (isInstance(buf, Uint8Array)) {
Uint8Array.prototype.set.call(
buffer,
buf,
pos
)
if (pos + buf.length > buffer.length) {
Buffer.from(buf).copy(buffer, pos)
} else {
Uint8Array.prototype.set.call(
buffer,
buf,
pos
)
}
} else if (!Buffer.isBuffer(buf)) {

@@ -421,0 +425,0 @@ throw new TypeError('"list" argument must be an Array of Buffers')

{
"name": "buffer",
"description": "Node.js Buffer API, for the browser",
"version": "5.7.0",
"version": "5.7.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Feross Aboukhadijeh",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc