Comparing version 1.0.0 to 1.0.1
@@ -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
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
149240
28
4360
3
21
Updatedfstream@^1.0.2