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

tar

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tar - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

test/extract-move.js

9

package.json

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

"description": "tar for node",
"version": "1.0.0",
"version": "1.0.1",
"repository": {

@@ -17,10 +17,11 @@ "type": "git",

"block-stream": "*",
"fstream": "^1.0.0",
"fstream": "^1.0.2",
"inherits": "2"
},
"devDependencies": {
"tap": "0.x",
"rimraf": "1.x"
"graceful-fs": "^3.0.2",
"rimraf": "1.x",
"tap": "0.x"
},
"license": "BSD"
}

@@ -153,2 +153,34 @@ // This is exactly like test/pack.js, except that it's excluding

, [ 'entry',
{ path: 'fixtures/dir/',
mode: 488,
uid: uid,
gid: gid,
size: 0,
type: '5',
linkpath: '',
ustar: 'ustar\u0000',
ustarver: '00',
uname: '',
gname: '',
devmaj: 0,
devmin: 0,
fill: '' } ]
, [ 'entry',
{ path: 'fixtures/dir/sub/',
mode: 488,
uid: uid,
gid: gid,
size: 0,
type: '5',
linkpath: '',
ustar: 'ustar\u0000',
ustarver: '00',
uname: '',
gname: '',
devmaj: 0,
devmin: 0,
fill: '' } ]
, [ 'entry',
{ path: 'fixtures/foo.js',

@@ -827,3 +859,3 @@ mode: 420,

if (ev !== wanted[0] || e.path !== wanted[1].path) {
console.error(wanted)
console.error("wanted", wanted)
console.error([ev, e.props])

@@ -830,0 +862,0 @@ e.on("end", function () {

@@ -181,2 +181,35 @@

, [ 'entry',
{ path: 'fixtures/dir/',
mode: 488,
uid: uid,
gid: gid,
size: 0,
type: '5',
linkpath: '',
ustar: 'ustar\u0000',
ustarver: '00',
uname: '',
gname: '',
devmaj: 0,
devmin: 0,
fill: '' } ]
, [ 'entry',
{ path: 'fixtures/dir/sub/',
mode: 488,
uid: uid,
gid: gid,
size: 0,
type: '5',
linkpath: '',
ustar: 'ustar\u0000',
ustarver: '00',
uname: '',
gname: '',
devmaj: 0,
devmin: 0,
fill: '' } ]
, [ 'entry',
{ path: 'fixtures/foo.js',

@@ -872,8 +905,12 @@ mode: 420,

// if (ev !== wanted[0] || e.path !== wanted[1].path) {
// console.error(wanted)
// console.error([ev, e.props])
// throw "break"
// }
if (ev !== wanted[0] || e.path !== wanted[1].path) {
console.error("wanted", wanted)
console.error([ev, e.props])
e.on("end", function () {
console.error(e.fields)
throw "break"
})
}
t.has(e.props, wanted[1], "properties "+wanted[1].path)

@@ -880,0 +917,0 @@ if (wanted[2]) {

Sorry, the diff of this file is not supported yet

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