Bump webpack-dev-server from 4.11.1 to 5.2.6 - #1582
Conversation
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.11.1 to 5.2.6. - [Release notes](https://github.com/webpack/webpack-dev-server/releases) - [Changelog](https://github.com/webpack/webpack-dev-server/blob/v5.2.6/CHANGELOG.md) - [Commits](webpack/webpack-dev-server@v4.11.1...v5.2.6) --- updated-dependencies: - dependency-name: webpack-dev-server dependency-version: 5.2.6 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
PR SummaryMedium Risk Overview There are no application or webpack config edits in this diff—only the declared versions and lockfile. Local block dev ( Reviewed by Cursor Bugbot for commit 531cc42. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 531cc42. Configure here.
| "webpack-assets-manifest": "^5.1.0", | ||
| "webpack-bundle-analyzer": "^4.8.0", | ||
| "webpack-dev-server": "^4.11.1", | ||
| "webpack-dev-server": "^5.2.6", |
There was a problem hiding this comment.
CORP header breaks cross-origin loading
High Severity
webpack-dev-server 5.2.4+ sets Cross-Origin-Resource-Policy: same-origin by default. Existing devServer configs still only set CORS (Access-Control-Allow-Origin: *), so browsers will block cross-origin script loads of locally served blocks. That breaks the intended block-dev workflow that embeds blocks from localhost into other origins.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 531cc42. Configure here.
| "webpack-assets-manifest": "^5.1.0", | ||
| "webpack-bundle-analyzer": "^4.8.0", | ||
| "webpack-dev-server": "^4.11.1", | ||
| "webpack-dev-server": "^5.2.6", |
There was a problem hiding this comment.
Node engines below required version
Medium Severity
webpack-dev-server 5 requires Node.js >=18.12.0, but block-scripts still declares engines as ^14.15.0 || >=16.13.0, and the monorepo root allows >=16.14.0. Installs or runs on those older Node versions that the packages claim to support will fail after this bump.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 531cc42. Configure here.


Bumps webpack-dev-server from 4.11.1 to 5.2.6.
Release notes
Sourced from webpack-dev-server's releases.
... (truncated)
Changelog
Sourced from webpack-dev-server's changelog.
... (truncated)
Commits
8a37b0echore(release): new release (#5697)f21ed0ffix: handle malformed Host and Origin headers (#5699)80cd9eefix: reject cross-site requests to open-editor and invalidate endpoints (#5698)308e853fix: handle undefined options in Server constructor (#5695)8b2b915chore: update branch references from v4 to v5 in workflow configuration870ed22chore: add v5 branch to release workflow triggersc3ee325chore(release): new release (#5682)60173befeat: add changeset validation and release workflow (#5680)948d5e6fix(proxy): match the HMR upgrade path exactly like the ws server (#5678)93e8996fix: skip HMR websocket path when forwarding upgrades to user-defined proxies...Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for webpack-dev-server since your current version.
Install script changes
This version modifies
preparescript that runs during installation. Review the package contents before updating.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.