Comparing version 4.4.7 to 4.4.8
@@ -181,2 +181,8 @@ 'use strict' | ||
entry.path = parts.slice(this.strip).join('/') | ||
if (entry.type === 'Link') { | ||
const linkparts = entry.linkpath.split(/\/|\\/) | ||
if (linkparts.length >= this.strip) | ||
entry.linkpath = linkparts.slice(this.strip).join('/') | ||
} | ||
} | ||
@@ -183,0 +189,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "tar for node", | ||
"version": "4.4.7", | ||
"version": "4.4.8", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -111,3 +111,3 @@ # node-tar | ||
['some', 'files', 'and', 'folders'] | ||
).pipe(fs.createWriteStream('my-tarball.tgz') | ||
).pipe(fs.createWriteStream('my-tarball.tgz')) | ||
``` | ||
@@ -114,0 +114,0 @@ |
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
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
133288
2976