Skip to content

[Snyk] Security upgrade webpack-dev-server from 4.15.2 to 6.0.0 - #3369

Open
lizardruss wants to merge 1 commit into
mainfrom
snyk-fix-bfb15e14ea961c94b84db028d6d2f6b6
Open

lizardruss wants to merge 1 commit into
mainfrom
snyk-fix-bfb15e14ea961c94b84db028d6d2f6b6

Conversation

@lizardruss

Copy link
Copy Markdown
Collaborator

snyk-top-banner

Snyk has created this PR to fix 3 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • ui/package.json
  • ui/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Uncaught Exception
SNYK-JS-WEBSOCKETDRIVER-23745886
  828  
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-WEBSOCKETDRIVER-23745889
  828  
medium severity Improper Neutralization
SNYK-JS-GLOB-23745862
  708  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Uncaught Exception
🦉 Allocation of Resources Without Limits or Throttling

@lizardruss

Copy link
Copy Markdown
Collaborator Author

Merge Risk: High

This is a major version upgrade from webpack-dev-server v4 to v5, which introduces significant breaking changes requiring configuration and environment updates. The target version 6.0.0 has not been released; this analysis covers the upgrade to the v5.x line.

Key Breaking Changes (v4 → v5):

  • Environment Requirements:

    • Node.js: The minimum required Node.js version is now 18.12.0.
    • webpack: The minimum required webpack version is 5.0.0.
  • Configuration (webpack.config.js):

    • Server Options: The https and http2 options have been removed. You must migrate your HTTPS configuration to the new server object.
    • Proxy Configuration: The proxy option syntax has changed from an object to an array of objects. This will require refactoring any existing proxy setup.
    • Node.js API: For users of the Node.js API, the constructor arguments have been swapped from new Server(compiler, options) to new Server(options, compiler).
    • Removed Options: The magicHtml option has been removed entirely.

Source: Official v4 to v5 Migration Guide

Recommendation: Developers must carefully review the official migration guide and update their webpack.config.js and Node.js environment. The changes to server and proxy configuration are mandatory and will break existing setups.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@netlify

netlify Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for devspace-docs canceled.

Name Link
🔨 Latest commit e1e16eb
🔍 Latest deploy log https://app.netlify.com/projects/devspace-docs/deploys/6b13f72c8749c9cca0063331

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants