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

byte-data-stream

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

byte-data-stream - npm Package Compare versions

Comparing version 0.0.7-rokka0 to 0.0.8-rokka0

2

package.json
{
"name": "byte-data-stream",
"version": "0.0.7-rokka0",
"version": "0.0.8-rokka0",
"description": "Readable & writable byte data stream",

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

@@ -118,9 +118,7 @@ const var_int = require('signed-varint');

len = (this.i+len)-this.buf.byteLength;
let buf = [...new Uint8Array(this.buf)];
this.buf = new ArrayBuffer(buf.length+len);
let v = new Uint8Array(this.buf);
for(let i in buf){
v[i] = buf[i];
}
this.view = new DataView(this.buf);
if(len <= 0) return;
let buf = new ArrayBuffer(buf.length+len);
new Uint8Array(buf).set(this.buf);
delete this.buf;
this.buf = buf;
}

@@ -127,0 +125,0 @@

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