fix(deps): update terser-webpack-plugin to drop serialize-javascript - #289
Merged
jjaquish merged 1 commit intoJun 12, 2026
Merged
Conversation
RHCLOUD-46792 Remove serialize-javascript by upgrading terser-webpack-plugin. Upgrade @babel/* to 7.29.7, resolve transitive dep vulnerabilities. Clean up Dockerfile: remove unused `npm install yarn` and deprecated `npm i --only=dev`, purge node_modules after build since the final image only serves static files via nginx. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
platex-rehor-bot
force-pushed
the
bot/RHCLOUD-46792
branch
from
June 9, 2026 22:57
3c7e6d9 to
ce440d6
Compare
Contributor
Author
|
Squashed previous commits into a single atomic commit and added a Dockerfile cleanup to resolve the pre-existing Grype scan failures. Changes:
This should resolve the Grype scan failures that were pre-existing across all branches, since the scan was finding vulnerable transitive packages in the globally installed npm and the app's node_modules — none of which are needed at runtime. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update terser-webpack-plugin from 5.3.14 to 5.6.1, which dropped serialize-javascript as a dependency entirely. This resolves CVE-2026-34043 — a Denial of Service vulnerability caused by CPU exhaustion when serializing specially crafted array-like objects in serialize-javascript < 7.0.5.
RHCLOUD-46792
Anything reviewers should know?
^5.3.11semver range required by webpack 5.103.0package-lock.jsonchanged — nopackage.jsonmodifications neededChecklist
AI disclosure
Assisted by: Claude Code