aboutsummaryrefslogtreecommitdiff
path: root/node_modules/zip-stream
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-04-20 03:09:25 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-04-24 16:14:29 +0200
commit82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8 (patch)
tree965f6eb89b84d65a62b49008fd972c004832ccd1 /node_modules/zip-stream
parente6e0cbc387c2a77b48e4065c229daa65bf1aa0fa (diff)
downloadwallet-core-82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8.tar.xz
Reorganize module loading.
We now use webpack instead of SystemJS, effectively bundling modules into one file (plus commons chunks) for every entry point. This results in a much smaller extension size (almost half). Furthermore we use yarn/npm even for extension run-time dependencies. This relieves us from manually vendoring and building dependencies. It's also easier to understand for new developers familiar with node.
Diffstat (limited to 'node_modules/zip-stream')
-rw-r--r--node_modules/zip-stream/README.md8
-rw-r--r--node_modules/zip-stream/index.js2
-rw-r--r--node_modules/zip-stream/package.json9
3 files changed, 7 insertions, 12 deletions
diff --git a/node_modules/zip-stream/README.md b/node_modules/zip-stream/README.md
index 7169cdcef..ffc846a1e 100644
--- a/node_modules/zip-stream/README.md
+++ b/node_modules/zip-stream/README.md
@@ -1,4 +1,4 @@
-# zip-stream v1.1.0 [![Build Status](https://travis-ci.org/archiverjs/node-zip-stream.svg?branch=master)](https://travis-ci.org/archiverjs/node-zip-stream) [![Build status](https://ci.appveyor.com/api/projects/status/2sraarbaadwbtti2/branch/master?svg=true)](https://ci.appveyor.com/project/ctalkington/node-zip-stream/branch/master)
+# ZipStream v1.1.1 [![Build Status](https://travis-ci.org/archiverjs/node-zip-stream.svg?branch=master)](https://travis-ci.org/archiverjs/node-zip-stream) [![Build status](https://ci.appveyor.com/api/projects/status/2sraarbaadwbtti2/branch/master?svg=true)](https://ci.appveyor.com/project/ctalkington/node-zip-stream/branch/master)
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.
@@ -40,12 +40,6 @@ archive.entry('string contents', { name: 'string.txt' }, function(err, entry) {
});
```
-## Things of Interest
-
-- [Releases](https://github.com/archiverjs/node-zip-stream/releases)
-- [Contributing](https://github.com/archiverjs/node-zip-stream/blob/master/CONTRIBUTING.md)
-- [MIT License](https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE)
-
## Credits
Concept inspired by Antoine van Wel's [zipstream](https://npmjs.org/package/zipstream) module, which is no longer being updated. \ No newline at end of file
diff --git a/node_modules/zip-stream/index.js b/node_modules/zip-stream/index.js
index 71f9fc4e7..0c3248bf8 100644
--- a/node_modules/zip-stream/index.js
+++ b/node_modules/zip-stream/index.js
@@ -38,7 +38,7 @@ var ZipStream = module.exports = function(options) {
delete options.level;
}
- if (options.zlib.level && options.zlib.level === 0) {
+ if (typeof options.zlib.level === 'number' && options.zlib.level === 0) {
options.store = true;
}
diff --git a/node_modules/zip-stream/package.json b/node_modules/zip-stream/package.json
index 1fb2cf6fa..874dd0be5 100644
--- a/node_modules/zip-stream/package.json
+++ b/node_modules/zip-stream/package.json
@@ -1,6 +1,6 @@
{
"name": "zip-stream",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "a streaming zip archive generator.",
"homepage": "https://github.com/archiverjs/node-zip-stream",
"author": {
@@ -24,7 +24,7 @@
},
"scripts": {
"test": "mocha --reporter dot",
- "gendocs": "jsdoc -c jsdoc.json readme.md"
+ "jsdoc": "jsdoc -c jsdoc.json README.md"
},
"dependencies": {
"archiver-utils": "^1.3.0",
@@ -33,10 +33,11 @@
"readable-stream": "^2.0.0"
},
"devDependencies": {
+ "archiver-jsdoc-theme": "^1.0.0",
+ "jsdoc": "~3.4.0",
"chai": "^3.4.0",
- "jsdoc": "^3.4.0",
"minami": "^1.1.0",
- "mocha": "^2.3.3",
+ "mocha": "^3.2.0",
"rimraf": "^2.4.3",
"mkdirp": "^0.5.0"
},