Skip to content

build(deps): upgrade webpack-dev-server to v5.2.4#4274

Open
erickzhao wants to merge 2 commits into
mainfrom
claude/adoring-faraday-T5BFT
Open

build(deps): upgrade webpack-dev-server to v5.2.4#4274
erickzhao wants to merge 2 commits into
mainfrom
claude/adoring-faraday-T5BFT

Conversation

@erickzhao
Copy link
Copy Markdown
Member

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • The changes are appropriately documented (if applicable).
  • The changes have sufficient test coverage (if applicable).
  • The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:

Upgrades webpack-dev-server from v4.0.0 to v5.2.4 in both the root and webpack plugin package dependencies.

Changes:

  • Updated webpack-dev-server dependency to v5.2.4 in package.json and packages/plugin/webpack/package.json
  • Added ESLint disable comments in Config.ts and WebpackPlugin.ts to handle webpack-dev-server v5's CommonJS export pattern (export =), which requires the import/default rule to be disabled when esModuleInterop is enabled

The import statement changes are necessary because webpack-dev-server v5 uses CommonJS export = syntax rather than ES module exports, which can cause linting issues with the import/default rule.

Test Plan:

Existing tests pass with the updated dependency. The webpack plugin functionality remains unchanged as the public API of webpack-dev-server v5 is compatible with how it's being used in this codebase.

https://claude.ai/code/session_01BJULCvPjRZzh6voenUU4gN

dependabot Bot and others added 2 commits May 21, 2026 22:10
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.15.2 to 5.2.4.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/main/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v4.15.2...v5.2.4)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-version: 5.2.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
webpack-dev-server v5 ships as CommonJS with `export = Server` and no
ES default export. The default import still works under esModuleInterop
(tsc and runtime both resolve it), but eslint-plugin-import's
`import/default` rule flags the missing default. Suppress that rule on
the import lines so the lint-and-build CI job passes.

https://claude.ai/code/session_01BJULCvPjRZzh6voenUU4gN
@erickzhao erickzhao requested a review from a team as a code owner May 22, 2026 00:34
@erickzhao erickzhao changed the title Upgrade webpack-dev-server to v5.2.4 build(deps): bump webpack-dev-server from 4.15.2 to 5.2.4 May 22, 2026
@erickzhao erickzhao changed the title build(deps): bump webpack-dev-server from 4.15.2 to 5.2.4 build(deps): upgrade webpack-dev-server to v5.2.4 May 22, 2026
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedwebpack-dev-server@​4.15.2 ⏵ 5.2.494 +1100 +410091100

View full report

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.

3 participants