Socket
Socket
Sign inDemoInstall

tar-stream

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tar-stream - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

16

package.json
{
"name": "tar-stream",
"version": "0.4.4",
"version": "0.4.5",
"description": "tar-stream is a streaming tar parser and generator and nothing else. It is streams2 and operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.",

@@ -14,13 +14,13 @@ "repository": {

"dependencies": {
"bl": "~0.8.1",
"end-of-stream": "~0.1.3",
"readable-stream": "~1.0.26-4",
"xtend": "~3.0.0"
"bl": "^0.9.0",
"end-of-stream": "^1.0.0",
"readable-stream": "^1.0.27-1",
"xtend": "^4.0.0"
},
"devDependencies": {
"tap": "~0.4.6",
"concat-stream": "~1.2.1"
"concat-stream": "^1.4.6",
"tape": "^2.14.0"
},
"scripts": {
"test": "tap test/*.js"
"test": "tape test/*.js"
},

@@ -27,0 +27,0 @@ "keywords": [

@@ -9,6 +9,10 @@ # tar-stream

# Usage
## Usage
tar-stream exposes two streams, [pack](https://github.com/mafintosh/tar-stream#packing) which creates tarballs and [extract](https://github.com/mafintosh/tar-stream#extracting) which extracts tarballs. To [modify an existing tarball](https://github.com/mafintosh/tar-stream#modifying-existing-tarballs) use both.
## Related
If you want to pack/unpack directories on the file system check out [tar-fs](https://github.com/mafintosh/tar-fs) which provides file system bindings to this module.
## Packing

@@ -65,3 +69,3 @@

The header object using in `entry` should contain the following properties.
Most of these values can be found by stating a file.
Most of these values can be found by stat'ing a file.

@@ -68,0 +72,0 @@ ``` js

@@ -1,2 +0,2 @@

var test = require('tap').test;
var test = require('tape');
var tar = require('../index');

@@ -3,0 +3,0 @@ var fixtures = require('./fixtures');

@@ -1,2 +0,2 @@

var test = require('tap').test;
var test = require('tape');
var tar = require('../index');

@@ -3,0 +3,0 @@ var fixtures = require('./fixtures');

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