Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-08-11 22:37:10 +0300
committerGar <gar+gh@danger.computer>2021-08-11 22:37:10 +0300
commit5bebf280f228e818524f6989caab1cfba1ffaf90 (patch)
treef37fc390d40da2b06e8472476d34d97aef473236 /node_modules/tar/lib/unpack.js
parent47a3d1805021f675afe523c4b7eebda4ade6e790 (diff)
tar@6.1.8
Diffstat (limited to 'node_modules/tar/lib/unpack.js')
-rw-r--r--node_modules/tar/lib/unpack.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/node_modules/tar/lib/unpack.js b/node_modules/tar/lib/unpack.js
index 329501595..cf10d0734 100644
--- a/node_modules/tar/lib/unpack.js
+++ b/node_modules/tar/lib/unpack.js
@@ -220,6 +220,8 @@ class Unpack extends Parser {
const linkparts = normPath(entry.linkpath).split('/')
if (linkparts.length >= this.strip)
entry.linkpath = linkparts.slice(this.strip).join('/')
+ else
+ return false
}
}