webpack/webpack
### [`v5.21.2`](https://togithub.com/webpack/webpack/releases/v5.21.2)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.21.1...v5.21.2)
### Bugfixes
- json with `constructor` property now caches correctly
- json generation with object prototype property now works correctly
- tree shaking json array when accessing `length` property now works correctly
- fix incorrect call context when calling properties on imports from CommonJS modules
### [`v5.21.1`](https://togithub.com/webpack/webpack/releases/v5.21.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.21.0...v5.21.1)
### Bugfixes
- fix a crash when using colors in stats
### [`v5.21.0`](https://togithub.com/webpack/webpack/releases/v5.21.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.20.2...v5.21.0)
### Features
- add `__webpack_base_uri__` to change base URI at runtime
- add `stats.errorDetails: "auto"` to show error details automatically when there are only 1 or 2 errors
### Bugfixes
- fix a hanging build when using the persistent cache without a package.json in cwd
### Developer Experience
- add typings for the stats JSON
- change default for `stats.errorDetails` to `"auto"` when using `toString`
- Highlight important text in error message with colors
- e. g. `Did you mean ...?` and similar hints are shown in green
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
5.20.2
->5.21.2
Release Notes
webpack/webpack
### [`v5.21.2`](https://togithub.com/webpack/webpack/releases/v5.21.2) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.21.1...v5.21.2) ### Bugfixes - json with `constructor` property now caches correctly - json generation with object prototype property now works correctly - tree shaking json array when accessing `length` property now works correctly - fix incorrect call context when calling properties on imports from CommonJS modules ### [`v5.21.1`](https://togithub.com/webpack/webpack/releases/v5.21.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.21.0...v5.21.1) ### Bugfixes - fix a crash when using colors in stats ### [`v5.21.0`](https://togithub.com/webpack/webpack/releases/v5.21.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.20.2...v5.21.0) ### Features - add `__webpack_base_uri__` to change base URI at runtime - add `stats.errorDetails: "auto"` to show error details automatically when there are only 1 or 2 errors ### Bugfixes - fix a hanging build when using the persistent cache without a package.json in cwd ### Developer Experience - add typings for the stats JSON - change default for `stats.errorDetails` to `"auto"` when using `toString` - Highlight important text in error message with colors - e. g. `Did you mean ...?` and similar hints are shown in greenRenovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.