Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

b4a

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

b4a - npm Package Compare versions

Comparing version 1.6.3 to 1.6.4

17

browser.js

@@ -95,9 +95,12 @@ const ascii = require('./lib/ascii')

buffers.reduce(
(offset, buffer) => {
result.set(buffer, offset)
return offset + buffer.byteLength
},
0
)
let offset = 0
for (const buffer of buffers) {
if (offset + buffer.byteLength > result.byteLength) {
const sub = buffer.subarray(0, result.byteLength - offset)
result.set(sub, offset)
return result
}
result.set(buffer, offset)
offset += buffer.byteLength
}

@@ -104,0 +107,0 @@ return result

{
"name": "b4a",
"version": "1.6.3",
"version": "1.6.4",
"description": "Bridging the gap between buffers and typed arrays",

@@ -5,0 +5,0 @@ "main": "index.js",

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