Socket
Socket
Sign inDemoInstall

unbzip2-stream

Package Overview
Dependencies
5
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.10 to 1.0.11

6

lib/bzip2.js

@@ -42,3 +42,3 @@ /*

bzip2.crcTable =
bzip2.crcTable =
[

@@ -211,3 +211,3 @@ 0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9,

var length = new Uint8Array(MAX_SYMBOLS),
temp = new Uint8Array(MAX_HUFCODE_BITS+1);
temp = new Uint16Array(MAX_HUFCODE_BITS+1);

@@ -296,3 +296,3 @@ var hufGroup;

runPos = 0;
if (count + t >= bufsize) message.Error("Boom.");
if (count + t > bufsize) message.Error("Boom.");
uc = this.symToByte[this.mtfSymbol[0]];

@@ -299,0 +299,0 @@ this.byteCount[uc] += t;

{
"name": "unbzip2-stream",
"version": "1.0.10",
"description": "streaming unbzip2 implementatio in pure javascript for node and browsers",
"version": "1.0.11",
"description": "streaming unbzip2 implementation in pure javascript for node and browsers",
"keywords": [

@@ -15,5 +15,5 @@ "bzip",

"scripts": {
"prepublish": "rm test/fixtures/vmlinux.bin* || exit 0",
"prepublish": "rm test/fixtures/vmlinux.bin* || exit 0",
"browser-test": "browserify -t brfs test/simple.js | tape-run2 -b phantomjs",
"prepare-long-test": "dd if=/dev/urandom of=test/fixtures/vmlinux.bin bs=5m count=2 && cat test/fixtures/vmlinux.bin | bzip2 > test/fixtures/vmlinux.bin.bz2",
"prepare-long-test": "dd if=/dev/urandom of=test/fixtures/vmlinux.bin bs=50m count=2 && cat test/fixtures/vmlinux.bin | bzip2 > test/fixtures/vmlinux.bin.bz2",
"long-test": "tape test/extra/long.js",

@@ -20,0 +20,0 @@ "download-test": "beefy test/browser/long.js --open -- -t brfs",

@@ -5,3 +5,3 @@ [![npm version](https://badge.fury.io/js/unbzip2-stream.svg)](http://badge.fury.io/js/unbzip2-stream)

===
streaming bzip2 compresser in pure JS for Node and browserify.
streaming bzip2 decompressor in pure JS for Node and browserify.

@@ -8,0 +8,0 @@ Buffers

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc