Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

tar

Package Overview
Dependencies
18
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.19 to 0.1.20

examples/packer.js

7

lib/parse.js

@@ -40,2 +40,3 @@

me.position = 0
me._ended = false

@@ -122,9 +123,9 @@ me._stream.on("error", function (e) {

if (zero) {
this._ended = this._eofStarted
if (this._eofStarted)
this._ended = true
this._eofStarted = true
} else {
this._ended = this._eofStarted = false
this._eofStarted = false
this._startEntry(c)
}
}

@@ -131,0 +132,0 @@

@@ -5,3 +5,3 @@ {

"description": "tar for node",
"version": "0.1.19",
"version": "0.1.20",
"repository": {

@@ -16,5 +16,5 @@ "type": "git",

"dependencies": {
"inherits": "2",
"block-stream": "*",
"fstream": "~0.1.8"
"fstream": "~0.1.28",
"inherits": "2"
},

@@ -21,0 +21,0 @@ "devDependencies": {

@@ -22,2 +22,4 @@ # node-tar

This only works with directories, it does not work with individual files.
The optional `properties` object are used to set properties in the tar

@@ -24,0 +26,0 @@ 'Global Extended Header'.

@@ -0,1 +1,4 @@

// Set the umask, so that it works the same everywhere.
process.umask(parseInt('22', 8))
var tap = require("tap")

@@ -117,2 +120,9 @@ , tar = require("../tar.js")

nlink: 2 },
{ path: '/200LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL',
mode: '120755',
type: 'SymbolicLink',
depth: 1,
size: 200,
linkpath: '200ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc',
nlink: 1 },
{ path: '/200ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc',

@@ -125,9 +135,2 @@ mode: '100644',

nlink: 2 },
{ path: '/200LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL',
mode: '120777',
type: 'SymbolicLink',
depth: 1,
size: 200,
linkpath: '200ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc',
nlink: 1 },
{ path: '/c.txt',

@@ -285,2 +288,8 @@ mode: '100644',

tap.test("preclean", function (t) {
require("rimraf").sync(__dirname + "/tmp/extract-test")
t.pass("cleaned!")
t.end()
})
tap.test("extract test", function (t) {

@@ -287,0 +296,0 @@ var extract = tar.Extract(target)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc