Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: npm-packlist@7.0.4 #5936

Merged
merged 1 commit into from Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 @@ -9668,9 +9668,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