Skip to content

Commit

Permalink
deps: npm-packlist@7.0.4 (#5936)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Dec 7, 2022
1 parent 372d158 commit 2f2b146
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions node_modules/npm-packlist/lib/index.js
Expand Up @@ -384,6 +384,11 @@ class PackWalker extends IgnoreWalker {

// get a reference to the node we're bundling
const node = this.tree.edgesOut.get(dep).to
// if there's no node, this is most likely an optional dependency that hasn't been
// installed. just skip it.
if (!node) {
continue
}
// we use node.path for the path because we want the location the node was linked to,
// not where it actually lives on disk
const path = node.path
Expand Down
2 changes: 1 addition & 1 deletion node_modules/npm-packlist/package.json
@@ -1,6 +1,6 @@
{
"name": "npm-packlist",
"version": "7.0.3",
"version": "7.0.4",
"description": "Get a list of the files to add from a folder into an npm package",
"directories": {
"test": "test"
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json
Expand Up @@ -168,7 +168,7 @@
"@npmcli/template-oss": "4.11.0",
"licensee": "^9.0.0",
"nock": "^13.2.4",
"npm-packlist": "^7.0.3",
"npm-packlist": "^7.0.4",
"remark": "^14.0.2",
"remark-gfm": "^3.0.1",
"remark-github": "^11.2.4",
Expand Down Expand Up @@ -9669,9 +9669,9 @@
}
},
"node_modules/npm-packlist": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.3.tgz",
"integrity": "sha512-a/TxELNw489Y7ZzXe7lRoXhKErNNgguYgBdW8nPXLcPMnMOCANiEjCwC1XDH6/5K6hkjuTrEkwtoT9C/zX3jRg==",
"version": "7.0.4",
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.4.tgz",
"integrity": "sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q==",
"inBundle": true,
"dependencies": {
"ignore-walk": "^6.0.0"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -201,7 +201,7 @@
"@npmcli/template-oss": "4.11.0",
"licensee": "^9.0.0",
"nock": "^13.2.4",
"npm-packlist": "^7.0.3",
"npm-packlist": "^7.0.4",
"remark": "^14.0.2",
"remark-gfm": "^3.0.1",
"remark-github": "^11.2.4",
Expand Down

0 comments on commit 2f2b146

Please sign in to comment.