Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/solution/node.js/ex_14/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.17.1"
"express": "^4.22.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lock file not updated, vulnerability remains for npm ci

The package.json is updated to Express 4.22.0, but the existing package-lock.json still pins Express 4.17.1 and the vulnerable qs version 6.7.0. When npm ci is used (common in CI/CD pipelines), the lock file takes precedence, causing the old vulnerable version to be installed. The security vulnerability this PR aims to fix (SNYK-JS-QS-14724253) will remain present unless the lock file is also regenerated and committed.

Fix in Cursor Fix in Web

}
}