webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.20.2 to 5.21.0
1 release in betweenevery note read
Security
2 advisories still affect 5.21.0
- Webpack's AutoPublicPathRuntimeModule has a DOM Clobbering Gadget that leads to XSSmoderate · GHSA-4vvj-4cpr-p986
- Cross-realm object access in Webpack 5critical · GHSA-hc6q-2mpp-qw7j
Upgrading to 5.94.0 clears them.
Release by release
- New
Add
__webpack_base_uri__to change base URI at runtime - New
Add
stats.errorDetails: "auto"to show error details automatically when there are only 1 or 2 errors - New
Add typings for the stats JSON
- Fixed
Fix a hanging build when using the persistent cache without a package.json in cwd
- New
2 other lines we could not sort, mostly version bumps
- 5.21.0
Change default for
stats.errorDetailsto"auto"when usingtoString - 5.21.0
Highlight important text in error message with colors
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.