Socket
Socket
Sign inDemoInstall

zip-stream

Package Overview
Dependencies
Maintainers
1
Versions
50
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.4.0 to 0.4.1

2

package.json
{
"name": "zip-stream",
"version": "0.4.0",
"version": "0.4.1",
"description": "a streaming zip archive generator.",

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

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

# zip-stream v0.4.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.4.1 [![Build Status](https://travis-ci.org/ctalkington/node-zip-stream.svg?branch=master)](https://travis-ci.org/ctalkington/node-zip-stream)

@@ -38,3 +38,3 @@ zip-stream is a streaming zip archive generator based on the `ZipArchiveOutputStream` prototype found in the [compress-commons](https://www.npmjs.org/package/compress-commons) project.

if (err) throw err;
archive.finalize();
archive.finish();
});

@@ -46,2 +46,6 @@ });

#### getBytesWritten()
Returns the current number of bytes written to this stream.
#### entry(input, data, callback(err, data))

@@ -51,5 +55,5 @@

#### finalize()
#### finish()
Finalizes the instance. You should listen to the destination stream's `end`/`close`/`finish` event to know when all output has been safely consumed.
Finalizes the instance. You should listen to the destination stream's `end`/`close`/`finish` event to know when all output has been safely consumed. (`finalize` is aliased for back-compat)

@@ -62,6 +66,2 @@ ### Instance Options

#### forceUTC `boolean`
If true, forces the entry date to UTC. Helps with testing across timezones.
#### store `boolean`

@@ -68,0 +68,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