Skip to content

[Snyk] Security upgrade webpack-dev-server from 4.15.2 to 5.2.3 - #3307

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

[Snyk] Security upgrade webpack-dev-server from 4.15.2 to 5.2.3#3307
lizardruss wants to merge 1 commit into
mainfrom
snyk-fix-0721a355ea73690a2dc3c75b0cf1cb92

Conversation

@lizardruss

Copy link
Copy Markdown
Collaborator

snyk-top-banner

Snyk has created this PR to fix 1 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 Improper Verification of Cryptographic Signature
SNYK-JS-NODEFORGE-19635204
  721  

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@lizardruss

Copy link
Copy Markdown
Collaborator Author

Merge Risk: High

This major version upgrade from webpack-dev-server v4 to v5 introduces significant breaking changes that require configuration and potentially code modifications.

Key Breaking Changes:

  • Node.js Requirement: The minimum supported Node.js version has been raised to 18.12.0.
  • Programmatic API: The Server constructor arguments have been swapped. It is now new Server(options, compiler). The .listen() method has been removed in favor of the new asynchronous await devServer.start() method.
  • Proxy Configuration: The devServer.proxy option format has changed. It now requires an array of objects, each with a context property, instead of an object where keys are the paths to be proxied.
  • HTTPS/HTTP2 Configuration: The top-level https and http2 options have been removed. This functionality is now configured via the devServer.server option.
  • CLI Flags: The --open-app and --web-socket-server flags have been renamed to --open-app-name and --web-socket-server-type respectively.

Recommendation:
Developers must update their webpack.config.js to align with the new configuration schema, especially for proxy and server options. If using the programmatic API, scripts must be updated to reflect the new constructor signature and server start method. Ensure your environment is running Node.js v18.12.0 or later.

Source: Migration Guide v5

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 Sep 6, 2026

Copy link
Copy Markdown

Deploy Preview for devspace-docs canceled.

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

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