[AI CVE test] fix(deps): update Node.js dependencies and resolve CVEs#6080
[AI CVE test] fix(deps): update Node.js dependencies and resolve CVEs#6080fxiang1 wants to merge 1 commit intostolostron:mainfrom
Conversation
- Upgraded lint-staged to v16 (root) to resolve micromatch ReDoS and yaml stack overflow - Upgraded @octokit/rest 19.0.13 → 20.1.2 to resolve ReDoS in request/paginate-rest/request-error - Upgraded @sentry/browser 6.19.7 → 7.120.4 to resolve prototype pollution (GHSA-593m-55hh-j8gv) - Upgraded storybook 8.0.9 → 8.6.18 to resolve esbuild, ip SSRF, and transitive CVEs - Upgraded i18next-http-backend 1.4.5 → 3.0.6 to resolve path traversal (GHSA-q89c-q3h5-w34g) - Upgraded compression-webpack-plugin, copy-webpack-plugin, css-minimizer-webpack-plugin to resolve serialize-javascript RCE (GHSA-5c6j-r48x-rmvq) - Added tar override (7.5.13) to fix 6 path traversal CVEs in storybook CLI chain - Removed deprecated webpack-dev-server https option (replaced by server.type in v5) - Applied non-breaking npm audit fix across root, frontend, and backend - Root: 0 vulnerabilities (was 5) - Backend: 0 vulnerabilities (was 7) - Frontend: 25 remaining (was 71), all in devDependency transitive chains (uuid, merge, js-yaml, vue-template-compiler, @tootallnate/once) - Backend build, lint, and tests pass - Frontend lint and tests pass (5341/5342, 1 pre-existing flaky test) Signed-off-by: fxiang <fxiang@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
📝 WalkthroughWalkthroughMultiple dependency version updates across the project: Storybook, webpack plugins, Octokit, Sentry, i18next-http-backend, and lint-staged packages are upgraded. An npm override pins tar to version 7.5.13. The webpack dev server configuration removes a deprecated flag while keeping HTTPS protocol configuration. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fxiang1 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@fxiang1: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Closing, as the AI didn't make sure check fix is working. |
📝 Summary
Ticket Summary (Title):
Testing changes made to https://github.com/stolostron/cve-prompts to support React / Node.js packages.
Ticket Link:
Type of Change:
✅ Checklist
General
ACM-12340 Fix bug with...)If Feature
If Bugfix
🗒️ Notes for Reviewers
Summary by CodeRabbit