tar
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -80,6 +80,7 @@ "use strict"; | ||
// See https://github.com/npm/node-tar/pull/187 | ||
// Apply global before local, so it overrides | ||
if (gex) | ||
this.#slurp(gex, true); | ||
if (ex) | ||
this.#slurp(ex); | ||
if (gex) | ||
this.#slurp(gex, true); | ||
// old tar versions marked dirs as a file with a trailing / | ||
@@ -143,3 +144,5 @@ const t = decString(buf, off + 156, 1); | ||
v === undefined || | ||
(k === 'path' && gex)); | ||
(k === 'path' && gex) || | ||
(k === 'linkpath' && gex) || | ||
(k === 'global')); | ||
}))); | ||
@@ -146,0 +149,0 @@ } |
@@ -54,6 +54,7 @@ // parse a 512-byte header block to a data object, or vice-versa | ||
// See https://github.com/npm/node-tar/pull/187 | ||
// Apply global before local, so it overrides | ||
if (gex) | ||
this.#slurp(gex, true); | ||
if (ex) | ||
this.#slurp(ex); | ||
if (gex) | ||
this.#slurp(gex, true); | ||
// old tar versions marked dirs as a file with a trailing / | ||
@@ -117,3 +118,5 @@ const t = decString(buf, off + 156, 1); | ||
v === undefined || | ||
(k === 'path' && gex)); | ||
(k === 'path' && gex) || | ||
(k === 'linkpath' && gex) || | ||
(k === 'global')); | ||
}))); | ||
@@ -120,0 +123,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "tar for node", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1192165
11521
0