Socket
Socket
Sign inDemoInstall

arbundles

Package Overview
Dependencies
26
Maintainers
2
Versions
89
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.3 to 0.5.5

2

package.json
{
"name": "arbundles",
"version": "0.5.3",
"version": "0.5.5",
"description": "Arweave bundling library",

@@ -5,0 +5,0 @@ "author": "Josh Benaron <joshbenaron@gmail.com>",

@@ -96,4 +96,2 @@ "use strict";

bytes = bytes.subarray(8);
console.log(bytes.length);
console.log(tagsBytesLength);
bytes = await hasEnough(reader, bytes, tagsBytesLength);

@@ -178,7 +176,9 @@ const tagsBytes = bytes.subarray(0, tagsBytesLength);

return buffer;
const next = (await reader.next()).value;
if (next)
let next = (await reader.next()).value;
while (next) {
buffer = Buffer.concat([buffer, next]);
if (buffer.byteLength >= length)
return buffer;
if (buffer.byteLength >= length)
return buffer;
next = (await reader.next()).value;
}
throw new Error("Bundle stream not valid");

@@ -185,0 +185,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc