Comparing version 1.5.0 to 1.5.1
{ | ||
"name": "tar-fs", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "filesystem bindings for tar-stream", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com:mafintosh/tar-fs.git" | ||
}, | ||
"dependencies": { | ||
@@ -38,3 +34,7 @@ "mkdirp": "^0.5.0", | ||
"author": "Mathias Buus", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/mafintosh/tar-fs.git" | ||
} | ||
} |
@@ -15,2 +15,4 @@ # tar-fs | ||
It doesn't gunzip for you, so if you want to extract a `.tar.gz` with this you'll need to use something like [gunzip-maybe](https://github.com/mafintosh/gunzip-maybe) in addition to this. | ||
``` js | ||
@@ -27,3 +29,3 @@ var tar = require('tar-fs') | ||
To ignore various files when packing or extracting add a ignore function to the options | ||
To ignore various files when packing or extracting add a ignore function to the options. `ignore` is also an alias for `filter`. | ||
@@ -75,3 +77,3 @@ ``` js | ||
mapStream: function(fileStream, header) { | ||
if (path.extname(header.file) === '.js') { | ||
if (path.extname(header.name) === '.js') { | ||
return fileStream.pipe(someTransform) | ||
@@ -85,3 +87,3 @@ } | ||
mapStream: function(fileStream, header) { | ||
if (path.extname(header.file) === '.js') { | ||
if (path.extname(header.name) === '.js') { | ||
return fileStream.pipe(someTransform) | ||
@@ -88,0 +90,0 @@ } |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
17896
126
1