Comparing version 5.7.0 to 5.7.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82527
1747