diff options
Diffstat (limited to 'node_modules/zip-stream')
-rw-r--r-- | node_modules/zip-stream/README.md | 8 | ||||
-rw-r--r-- | node_modules/zip-stream/index.js | 2 | ||||
-rw-r--r-- | node_modules/zip-stream/package.json | 9 |
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 [](https://travis-ci.org/archiverjs/node-zip-stream) [](https://ci.appveyor.com/project/ctalkington/node-zip-stream/branch/master)
+# ZipStream v1.1.1 [](https://travis-ci.org/archiverjs/node-zip-stream) [](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"
},
|