From 280b7a445e4a83d70980cf3c436745a1faa50c67 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Wed, 7 Dec 2022 10:25:40 -0700 Subject: [PATCH] deps: npm-packlist@7.0.3 Closes #5918 --- node_modules/npm-packlist/lib/index.js | 2 ++ node_modules/npm-packlist/package.json | 6 +++--- package-lock.json | 7 ++++--- package.json | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/node_modules/npm-packlist/lib/index.js b/node_modules/npm-packlist/lib/index.js index 91606e4faa5e6..2d6504d743021 100644 --- a/node_modules/npm-packlist/lib/index.js +++ b/node_modules/npm-packlist/lib/index.js @@ -300,6 +300,8 @@ class PackWalker extends IgnoreWalker { file = file.slice(1) } else if (file.startsWith('./')) { file = file.slice(2) + } else if (file.endsWith('/*')) { + file = file.slice(0, -2) } const inverse = `!${file}` try { diff --git a/node_modules/npm-packlist/package.json b/node_modules/npm-packlist/package.json index ffbd9dda852c0..c3ad7d2c26a3e 100644 --- a/node_modules/npm-packlist/package.json +++ b/node_modules/npm-packlist/package.json @@ -1,6 +1,6 @@ { "name": "npm-packlist", - "version": "7.0.2", + "version": "7.0.3", "description": "Get a list of the files to add from a folder into an npm package", "directories": { "test": "test" @@ -18,7 +18,7 @@ "devDependencies": { "@npmcli/arborist": "^6.0.0 || ^6.0.0-pre.0", "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.7.1", + "@npmcli/template-oss": "4.10.0", "mutate-fs": "^2.1.1", "tap": "^16.0.1" }, @@ -55,6 +55,6 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.7.1" + "version": "4.10.0" } } diff --git a/package-lock.json b/package-lock.json index c76202a3efb4d..9eafe4f2185b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -168,7 +168,7 @@ "@npmcli/template-oss": "4.10.0", "licensee": "^9.0.0", "nock": "^13.2.4", - "npm-packlist": "^7.0.1", + "npm-packlist": "^7.0.3", "remark": "^14.0.2", "remark-gfm": "^3.0.1", "remark-github": "^11.2.4", @@ -9534,9 +9534,10 @@ } }, "node_modules/npm-packlist": { - "version": "7.0.2", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.3.tgz", + "integrity": "sha512-a/TxELNw489Y7ZzXe7lRoXhKErNNgguYgBdW8nPXLcPMnMOCANiEjCwC1XDH6/5K6hkjuTrEkwtoT9C/zX3jRg==", "inBundle": true, - "license": "ISC", "dependencies": { "ignore-walk": "^6.0.0" }, diff --git a/package.json b/package.json index b3ae1b9e00d73..d268856710af2 100644 --- a/package.json +++ b/package.json @@ -201,7 +201,7 @@ "@npmcli/template-oss": "4.10.0", "licensee": "^9.0.0", "nock": "^13.2.4", - "npm-packlist": "^7.0.1", + "npm-packlist": "^7.0.3", "remark": "^14.0.2", "remark-gfm": "^3.0.1", "remark-github": "^11.2.4",