Socket
Socket
Sign inDemoInstall

tiny-inflate

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

LICENSE

2

package.json
{
"name": "tiny-inflate",
"version": "1.0.2",
"version": "1.0.3",
"description": "A tiny inflate implementation",

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

@@ -45,3 +45,3 @@ var inflate = require('../');

it('should inflate some data', function() {
var out = new Buffer(uncompressed.length);
var out = Buffer.alloc(uncompressed.length);
inflate(compressed, out);

@@ -52,3 +52,3 @@ assert.deepEqual(out, uncompressed);

it('should slice output buffer', function() {
var out = new Buffer(uncompressed.length + 1024);
var out = Buffer.alloc(uncompressed.length + 1024);
var res = inflate(compressed, out);

@@ -60,3 +60,3 @@ assert.deepEqual(res, uncompressed);

it('should handle uncompressed blocks', function() {
var out = new Buffer(uncompressed.length);
var out = Buffer.alloc(uncompressed.length);
inflate(noCompression, out);

@@ -67,3 +67,3 @@ assert.deepEqual(out, uncompressed);

it('should handle fixed huffman blocks', function() {
var out = new Buffer(uncompressed.length);
var out = Buffer.alloc(uncompressed.length);
inflate(fixed, out);

@@ -70,0 +70,0 @@ assert.deepEqual(out, uncompressed);

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