unpack-stream
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
"use strict"; | ||
const crypto = require('crypto'); | ||
const gunzip = require('gunzip-maybe'); | ||
const decompress = require('decompress-maybe'); | ||
const tar = require('tar-fs'); | ||
@@ -46,3 +46,3 @@ function remote(stream, dest, opts) { | ||
stream | ||
.pipe(gunzip()).on('error', reject) | ||
.pipe(decompress()).on('error', reject) | ||
.pipe(tar.extract(dest, { strip: 1 })).on('error', reject) | ||
@@ -49,0 +49,0 @@ .on('finish', resolve); |
{ | ||
"name": "unpack-stream", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "Unpack a tarball stream", | ||
@@ -36,4 +36,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@types/node": "^6.0.45", | ||
"gunzip-maybe": "^1.3.1", | ||
"@types/node": "^7.0.0", | ||
"decompress-maybe": "^1.0.0", | ||
"tar-fs": "^1.14.0" | ||
@@ -40,0 +40,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7996
+ Addeddecompress-maybe@^1.0.0
+ Added@types/node@7.10.14(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedbzip2-maybe@1.0.0(transitive)
+ Addeddecompress-maybe@1.1.0(transitive)
+ Addedduplex-maker@1.0.0(transitive)
+ Addedduplexify@4.1.3(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedis-bzip2@1.0.0(transitive)
+ Addedis-zst@1.0.0(transitive)
+ Addedprocess-streams@1.0.3(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedpumpify@2.0.1(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsimple-zstd@1.4.2(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedthrough2@4.0.2(transitive)
+ Addedunbzip2-stream@1.4.3(transitive)
- Removedgunzip-maybe@^1.3.1
- Removed@types/node@6.14.13(transitive)
Updated@types/node@^7.0.0