Socket
Socket
Sign inDemoInstall

tar

Package Overview
Dependencies
18
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

.travis.yml

4

package.json

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

"description": "tar for node",
"version": "0.1.3",
"version": "0.1.4",
"repository": {

@@ -21,3 +21,3 @@ "type": "git",

"block-stream": "*",
"fstream": "0.1"
"fstream": "~0.1.3"
},

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

@@ -109,5 +109,3 @@ var tap = require("tap")

depth: 0,
size: 306,
linkpath: undefined,
nlink: 9 },
linkpath: undefined },
{ path: '/200-hard',

@@ -125,3 +123,3 @@ mode: '100644',

size: 200,
linkpath: '/Users/isaacs/dev-src/js/node-tar/test/tmp/extract-test/200-hard',
linkpath: path.join(target, '200-hard'),
nlink: 2 },

@@ -153,5 +151,3 @@ { path: '/200LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL',

depth: 1,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e',

@@ -161,5 +157,3 @@ mode: '40755',

depth: 2,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a',

@@ -169,5 +163,3 @@ mode: '40755',

depth: 3,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l',

@@ -177,5 +169,3 @@ mode: '40755',

depth: 4,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l',

@@ -185,5 +175,3 @@ mode: '40755',

depth: 5,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y',

@@ -193,5 +181,3 @@ mode: '40755',

depth: 6,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-',

@@ -201,5 +187,3 @@ mode: '40755',

depth: 7,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d',

@@ -209,5 +193,3 @@ mode: '40755',

depth: 8,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e',

@@ -217,5 +199,3 @@ mode: '40755',

depth: 9,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e',

@@ -225,5 +205,3 @@ mode: '40755',

depth: 10,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p',

@@ -233,5 +211,3 @@ mode: '40755',

depth: 11,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-',

@@ -241,5 +217,3 @@ mode: '40755',

depth: 12,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f',

@@ -249,5 +223,3 @@ mode: '40755',

depth: 13,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o',

@@ -257,5 +229,3 @@ mode: '40755',

depth: 14,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l',

@@ -265,5 +235,3 @@ mode: '40755',

depth: 15,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d',

@@ -273,5 +241,3 @@ mode: '40755',

depth: 16,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e',

@@ -281,5 +247,3 @@ mode: '40755',

depth: 17,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r',

@@ -289,5 +253,3 @@ mode: '40755',

depth: 18,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-',

@@ -297,5 +259,3 @@ mode: '40755',

depth: 19,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p',

@@ -305,5 +265,3 @@ mode: '40755',

depth: 20,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a',

@@ -313,5 +271,3 @@ mode: '40755',

depth: 21,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t',

@@ -321,5 +277,3 @@ mode: '40755',

depth: 22,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h',

@@ -329,5 +283,3 @@ mode: '40755',

depth: 23,
size: 102,
linkpath: undefined,
nlink: 3 },
linkpath: undefined },
{ path: '/r/e/a/l/l/y/-/d/e/e/p/-/f/o/l/d/e/r/-/p/a/t/h/cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc',

@@ -421,3 +373,3 @@ mode: '100644',

t.equivalent(found, wanted, "unpacked file " + ef + " " + wanted.path)
t.has(found, wanted, "unpacked file " + ef + " " + wanted.path)

@@ -424,0 +376,0 @@ entry.on("entry", foundEntry)

@@ -19,3 +19,3 @@ var tap = require("tap")

// Also, dev/ino values differ across machines, so that's not
// included. Rather than use
// included.
[ [ 'globalExtendedHeader',

@@ -66,5 +66,2 @@ { path: 'PaxHeader/',

gid: gid,
size: 402,
mtime: new Date('Thu, 27 Oct 2011 03:41:08 GMT'),
cksum: 13492,
type: 'x',

@@ -95,4 +92,2 @@ linkpath: '',

size: 200,
mtime: new Date('Thu, 27 Oct 2011 03:41:08 GMT'),
cksum: 13475,
type: '0',

@@ -119,4 +114,2 @@ linkpath: '',

size: 257,
mtime: new Date('Mon, 24 Oct 2011 22:04:11 GMT'),
cksum: 5114,
type: '0',

@@ -138,4 +131,2 @@ linkpath: '',

size: 512,
mtime: new Date('Mon, 24 Oct 2011 22:07:59 GMT'),
cksum: 5122,
type: '0',

@@ -157,4 +148,2 @@ linkpath: '',

size: 513,
mtime: new Date('Wed, 26 Oct 2011 01:10:58 GMT'),
cksum: 5119,
type: '0',

@@ -176,4 +165,2 @@ linkpath: '',

size: 513,
mtime: new Date('Wed, 26 Oct 2011 01:11:02 GMT'),
cksum: 5222,
type: '0',

@@ -195,4 +182,2 @@ linkpath: '',

size: 4,
mtime: new Date('Fri, 21 Oct 2011 21:19:29 GMT'),
cksum: 5211,
type: '0',

@@ -214,4 +199,2 @@ linkpath: '',

size: 200,
mtime: new Date('Tue, 15 Nov 2011 03:10:09 GMT'),
cksum: 5554,
type: '0',

@@ -233,4 +216,2 @@ linkpath: '',

size: 0,
mtime: new Date('Tue, 15 Nov 2011 03:10:09 GMT'),
cksum: 7428,
type: '1',

@@ -252,4 +233,2 @@ linkpath: 'fixtures/hardlink-1',

size: 2,
mtime: new Date('Fri, 21 Oct 2011 21:19:29 GMT'),
cksum: 5537,
type: '0',

@@ -287,4 +266,2 @@ linkpath: '',

size: 2,
mtime: new Date('Mon, 14 Nov 2011 21:42:24 GMT'),
cksum: 6440,
type: '0',

@@ -306,4 +283,2 @@ linkpath: '',

size: 54081,
mtime: new Date("Sun, 06 May 2007 13:25:06 GMT"),
cksum: 6566,
type: '0',

@@ -324,5 +299,2 @@ linkpath: '',

gid: gid,
size: 213,
mtime: new Date('Mon, 14 Nov 2011 21:39:39 GMT'),
cksum: 7306,
type: 'x',

@@ -353,4 +325,2 @@ linkpath: '',

size: 2,
mtime: new Date('Mon, 14 Nov 2011 21:39:39 GMT'),
cksum: 6297,
type: '0',

@@ -377,4 +347,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 4789,
type: '5',

@@ -396,4 +364,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 4937,
type: '5',

@@ -415,4 +381,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 5081,
type: '5',

@@ -434,4 +398,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 5236,
type: '5',

@@ -453,4 +415,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 5391,
type: '5',

@@ -472,4 +432,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 5559,
type: '5',

@@ -491,4 +449,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 5651,
type: '5',

@@ -510,4 +466,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 5798,
type: '5',

@@ -529,4 +483,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 5946,
type: '5',

@@ -548,4 +500,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 6094,
type: '5',

@@ -567,4 +517,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 6253,
type: '5',

@@ -586,4 +534,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 6345,
type: '5',

@@ -605,4 +551,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 6494,
type: '5',

@@ -624,4 +568,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 6652,
type: '5',

@@ -643,4 +585,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 6807,
type: '5',

@@ -662,4 +602,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 6954,
type: '5',

@@ -681,4 +619,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 7102,
type: '5',

@@ -700,4 +636,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 7263,
type: '5',

@@ -719,4 +653,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 7355,
type: '5',

@@ -738,4 +670,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 7514,
type: '5',

@@ -757,4 +687,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 7658,
type: '5',

@@ -776,4 +704,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:42:46 GMT'),
cksum: 7821,
type: '5',

@@ -795,4 +721,2 @@ linkpath: '',

size: 0,
mtime: new Date('Thu, 27 Oct 2011 03:43:23 GMT'),
cksum: 7967,
type: '5',

@@ -814,4 +738,2 @@ linkpath: '',

size: 100,
mtime: new Date('Thu, 27 Oct 2011 03:43:23 GMT'),
cksum: 17821,
type: '0',

@@ -829,8 +751,5 @@ linkpath: '',

{ path: 'fixtures/symlink',
mode: 493,
uid: uid,
gid: gid,
size: 0,
mtime: new Date('Tue, 15 Nov 2011 19:57:48 GMT'),
cksum: 6337,
type: '2',

@@ -851,5 +770,2 @@ linkpath: 'hardlink-1',

gid: gid,
size: 204,
mtime: new Date('Thu, 27 Oct 2011 17:51:49 GMT'),
cksum: 6399,
type: 'x',

@@ -880,4 +796,2 @@ linkpath: '',

size: 2,
mtime: new Date('Thu, 27 Oct 2011 17:51:49 GMT'),
cksum: 5392,
type: '0',

@@ -917,2 +831,11 @@ linkpath: '',

function alphasort (a, b) {
return a === b ? 0
: a.toLowerCase() > b.toLowerCase() ? 1
: a.toLowerCase() < b.toLowerCase() ? -1
: a > b ? 1
: -1
}
function runTest (t, doGH) {

@@ -923,2 +846,3 @@ var reader = Reader({ path: input

}
, sort: alphasort
})

@@ -943,3 +867,6 @@

// console.error("PACK DATA")
t.equal(c.length, 512, "parser should emit data in 512byte blocks")
if (c.length !== 512) {
// this one is too noisy, only assert if it'll be relevant
t.equal(c.length, 512, "parser should emit data in 512byte blocks")
}
parse.write(c)

@@ -977,2 +904,3 @@ })

t.equal(ev, wanted[0], "event type should be "+wanted[0])
// if (ev !== wanted[0] || e.path !== wanted[1].path) {

@@ -983,6 +911,11 @@ // console.error(wanted)

// }
t.has(e.props, wanted[1], "properties "+wanted[1].path)
if (wanted[2]) {
e.on("end", function () {
t.has(e.fields, wanted[2], "should get expected fields")
if (!e.fields) {
t.ok(e.fields, "should get fields")
} else {
t.has(e.fields, wanted[2], "should get expected fields")
}
})

@@ -989,0 +922,0 @@ }

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