Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tar-fs

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tar-fs - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

12

package.json
{
"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 @@ }

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