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

zip-stream

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zip-stream - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

7

lib/zip-stream.js

@@ -82,2 +82,7 @@ /**

if (source.length === 0) {
data.store = true;
data.compressionMethod = 0;
}
self.write(headers.encode('file', data));

@@ -93,3 +98,3 @@

if (data.store || source.length === 0) {
if (data.store) {
data.uncompressedSize = source.length;

@@ -96,0 +101,0 @@ data.compressedSize = data.uncompressedSize;

2

package.json
{
"name": "zip-stream",
"version": "0.3.0",
"version": "0.3.1",
"description": "a streaming zip generator.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/ctalkington/node-zip-stream",

@@ -1,2 +0,2 @@

# zip-stream v0.3.0 [![Build Status](https://travis-ci.org/ctalkington/node-zip-stream.svg?branch=master)](https://travis-ci.org/ctalkington/node-zip-stream)
# zip-stream v0.3.1 [![Build Status](https://travis-ci.org/ctalkington/node-zip-stream.svg?branch=master)](https://travis-ci.org/ctalkington/node-zip-stream)

@@ -3,0 +3,0 @@ zip-stream is a streaming zip generator. It was built to be a successor to [zipstream](https://npmjs.org/package/zipstream). Dependencies are kept to a minimum through the use of many of node's built-in modules including the use of zlib module for compression.

@@ -199,3 +199,3 @@ /*global before,describe,it */

testStream.on('close', function() {
assert.equal(testStream.digest, '61ac99936f7dc99f38fbaa3789050b6b14900e47');
assert.equal(testStream.digest, '6ac3baa5e36a6ee0ec2fe06d760243c86645ed16');
done();

@@ -202,0 +202,0 @@ });

Sorry, the diff of this file is not supported yet

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