From 3a008075a388814f291b3fd6ed03d24304493e59 Mon Sep 17 00:00:00 2001 From: Gar Date: Mon, 19 Jun 2023 07:47:06 -0700 Subject: [PATCH] chore: tar@6.1.15 --- node_modules/tar/lib/normalize-unicode.js | 2 +- node_modules/tar/lib/path-reservations.js | 2 +- node_modules/tar/lib/unpack.js | 2 +- node_modules/tar/package.json | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/node_modules/tar/lib/normalize-unicode.js b/node_modules/tar/lib/normalize-unicode.js index 43dc406ecedb9..79e285ab30d57 100644 --- a/node_modules/tar/lib/normalize-unicode.js +++ b/node_modules/tar/lib/normalize-unicode.js @@ -6,7 +6,7 @@ const normalizeCache = Object.create(null) const { hasOwnProperty } = Object.prototype module.exports = s => { if (!hasOwnProperty.call(normalizeCache, s)) { - normalizeCache[s] = s.normalize('NFKD') + normalizeCache[s] = s.normalize('NFD') } return normalizeCache[s] } diff --git a/node_modules/tar/lib/path-reservations.js b/node_modules/tar/lib/path-reservations.js index ef380cab685e3..8d349d584513f 100644 --- a/node_modules/tar/lib/path-reservations.js +++ b/node_modules/tar/lib/path-reservations.js @@ -123,7 +123,7 @@ module.exports = () => { // effectively removing all parallelization on windows. paths = isWindows ? ['win32 parallelization disabled'] : paths.map(p => { // don't need normPath, because we skip this entirely for windows - return normalize(stripSlashes(join(p))).toLowerCase() + return stripSlashes(join(normalize(p))).toLowerCase() }) const dirs = new Set( diff --git a/node_modules/tar/lib/unpack.js b/node_modules/tar/lib/unpack.js index e341ad0c7239e..fa46611c0a19f 100644 --- a/node_modules/tar/lib/unpack.js +++ b/node_modules/tar/lib/unpack.js @@ -105,7 +105,7 @@ const uint32 = (a, b, c) => // Note that on windows, we always drop the entire cache whenever a // symbolic link is encountered, because 8.3 filenames are impossible // to reason about, and collisions are hazards rather than just failures. -const cacheKeyNormalize = path => normalize(stripSlash(normPath(path))) +const cacheKeyNormalize = path => stripSlash(normPath(normalize(path))) .toLowerCase() const pruneCache = (cache, abs) => { diff --git a/node_modules/tar/package.json b/node_modules/tar/package.json index 943c8b4d06b94..f59f54ae837bd 100644 --- a/node_modules/tar/package.json +++ b/node_modules/tar/package.json @@ -2,7 +2,7 @@ "author": "GitHub Inc.", "name": "tar", "description": "tar for node", - "version": "6.1.14", + "version": "6.1.15", "repository": { "type": "git", "url": "https://github.com/isaacs/node-tar.git" diff --git a/package-lock.json b/package-lock.json index 47b54422e6ff1..ab7cbf5ab31c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -143,7 +143,7 @@ "sigstore": "^1.6.0", "ssri": "^10.0.4", "supports-color": "^9.3.1", - "tar": "^6.1.14", + "tar": "^6.1.15", "text-table": "~0.2.0", "tiny-relative-date": "^1.3.0", "treeverse": "^3.0.0", @@ -14176,9 +14176,9 @@ } }, "node_modules/tar": { - "version": "6.1.14", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.14.tgz", - "integrity": "sha512-piERznXu0U7/pW7cdSn7hjqySIVTYT6F76icmFk7ptU7dDYlXTm5r9A6K04R2vU3olYgoKeo1Cg3eeu5nhftAw==", + "version": "6.1.15", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.15.tgz", + "integrity": "sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A==", "inBundle": true, "dependencies": { "chownr": "^2.0.0", diff --git a/package.json b/package.json index 66698231fbd25..d9a86c039de50 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ "sigstore": "^1.6.0", "ssri": "^10.0.4", "supports-color": "^9.3.1", - "tar": "^6.1.14", + "tar": "^6.1.15", "text-table": "~0.2.0", "tiny-relative-date": "^1.3.0", "treeverse": "^3.0.0",