Release notes
*Sourced from [webpack's releases](https://github.com/webpack/webpack/releases).*
> ## v4.32.2
> # Bugfixes
>
> * fix some weird schema validation messages
> * fix problem in production mode (sideEffects + concatenation) which caused reexported values to become undefined (bug since 4.32.0)
>
> ## v4.32.1
> # Bugfixes
>
> * reverts some changes from 4.32.0 which accidentally disabled some CommonJs features when using `node: false`.
>
> ## v4.32.0
> # Features
>
> * Added `this.mode` to the loader API, to allow loaders to choose defaults by `mode` similar to webpacks options
> * Stack Trace for Errors in rejected Promises from `import()` now includes the stack from where the `import()` was called
>
> # Bugfixes
>
> * The Parser can now analyse identifiers in rest patterns too
> * `const { a, ...rest } = obj`, where `rest` conflicts with an imported binding etc.
> * `node: false` now correctly disables `__dirname` and `__filename` too
> * `__dirname` and `__filename` now no longer evaluates to something when `node: false` or `node.__file/dirname: false` is set
> * `if(__dirname !== "")` is no longer replaced with `if(true)` in such scenarios
> * prefetching chunks is no executed **after** the initial module evaluation
> * This allows to override i. e. `__webpack_public_path__` for prefetching too
> * fixes a runtime crash when using side-effect-free modules with the DllPlugin
>
> # Contribute
>
> * CI tests node.js 12 now too
> * webpack-bot now merges dependabot PRs automatically when status checks succeed
>
>
> ## v4.31.0
> # Features
>
> * add `errors-warnings` stats preset
>
> # Bugfixes
>
> * allow top-level return in non-ESM modules
Commits
- [`5d3004c`](https://github.com/webpack/webpack/commit/5d3004cccd3dd5af2721c39a7a8a27b12b3d0c19) 4.32.2
- [`689ee4c`](https://github.com/webpack/webpack/commit/689ee4c638cd52d2754c5e341f02354679ee7ec3) Merge pull request [#9176](https://github-redirect.dependabot.com/webpack/webpack/issues/9176) from webpack/bugfix/issue-9159
- [`fec26a9`](https://github.com/webpack/webpack/commit/fec26a9503375650a57c24851ff9b30e62653201) fix concatenated version of reexport dependency for sideEffects
- [`6ca9167`](https://github.com/webpack/webpack/commit/6ca9167e9ed0b66e971f9510fe5ea40b364be1b7) Merge pull request [#9135](https://github-redirect.dependabot.com/webpack/webpack/issues/9135) from webpack/dependabot/npm_and_yarn/terser-webpack-...
- [`9b368f6`](https://github.com/webpack/webpack/commit/9b368f6d6da03c2119bb5c489f8021ccbc94350c) update snapshot
- [`7ccad38`](https://github.com/webpack/webpack/commit/7ccad38013f478cc782423fbf23659ef95aa05b9) chore(deps): bump terser-webpack-plugin from 1.2.3 to 1.2.4
- [`d3ef632`](https://github.com/webpack/webpack/commit/d3ef63256fc5b153443e29d1f1210a75f421d7f9) Merge pull request [#9167](https://github-redirect.dependabot.com/webpack/webpack/issues/9167) from webpack/refactor/validation
- [`a4406ff`](https://github.com/webpack/webpack/commit/a4406ff187e09e701ff77c6b2ecfafab98e09f10) improve validation errors
- [`0963d74`](https://github.com/webpack/webpack/commit/0963d744e9bbfbec52e32d1663df03ff0b0ba339) add test case for enum validation
- [`f1df013`](https://github.com/webpack/webpack/commit/f1df013150585841dbee829cdbfe68a6ba34b4d5) refactor Validation test for snapshots
- Additional commits viewable in [compare view](https://github.com/webpack/webpack/compare/v4.30.0...v4.32.2)
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps webpack from 4.30.0 to 4.32.2.
Release notes
*Sourced from [webpack's releases](https://github.com/webpack/webpack/releases).* > ## v4.32.2 > # Bugfixes > > * fix some weird schema validation messages > * fix problem in production mode (sideEffects + concatenation) which caused reexported values to become undefined (bug since 4.32.0) > > ## v4.32.1 > # Bugfixes > > * reverts some changes from 4.32.0 which accidentally disabled some CommonJs features when using `node: false`. > > ## v4.32.0 > # Features > > * Added `this.mode` to the loader API, to allow loaders to choose defaults by `mode` similar to webpacks options > * Stack Trace for Errors in rejected Promises from `import()` now includes the stack from where the `import()` was called > > # Bugfixes > > * The Parser can now analyse identifiers in rest patterns too > * `const { a, ...rest } = obj`, where `rest` conflicts with an imported binding etc. > * `node: false` now correctly disables `__dirname` and `__filename` too > * `__dirname` and `__filename` now no longer evaluates to something when `node: false` or `node.__file/dirname: false` is set > * `if(__dirname !== "")` is no longer replaced with `if(true)` in such scenarios > * prefetching chunks is no executed **after** the initial module evaluation > * This allows to override i. e. `__webpack_public_path__` for prefetching too > * fixes a runtime crash when using side-effect-free modules with the DllPlugin > > # Contribute > > * CI tests node.js 12 now too > * webpack-bot now merges dependabot PRs automatically when status checks succeed > > > ## v4.31.0 > # Features > > * add `errors-warnings` stats preset > > # Bugfixes > > * allow top-level return in non-ESM modulesCommits
- [`5d3004c`](https://github.com/webpack/webpack/commit/5d3004cccd3dd5af2721c39a7a8a27b12b3d0c19) 4.32.2 - [`689ee4c`](https://github.com/webpack/webpack/commit/689ee4c638cd52d2754c5e341f02354679ee7ec3) Merge pull request [#9176](https://github-redirect.dependabot.com/webpack/webpack/issues/9176) from webpack/bugfix/issue-9159 - [`fec26a9`](https://github.com/webpack/webpack/commit/fec26a9503375650a57c24851ff9b30e62653201) fix concatenated version of reexport dependency for sideEffects - [`6ca9167`](https://github.com/webpack/webpack/commit/6ca9167e9ed0b66e971f9510fe5ea40b364be1b7) Merge pull request [#9135](https://github-redirect.dependabot.com/webpack/webpack/issues/9135) from webpack/dependabot/npm_and_yarn/terser-webpack-... - [`9b368f6`](https://github.com/webpack/webpack/commit/9b368f6d6da03c2119bb5c489f8021ccbc94350c) update snapshot - [`7ccad38`](https://github.com/webpack/webpack/commit/7ccad38013f478cc782423fbf23659ef95aa05b9) chore(deps): bump terser-webpack-plugin from 1.2.3 to 1.2.4 - [`d3ef632`](https://github.com/webpack/webpack/commit/d3ef63256fc5b153443e29d1f1210a75f421d7f9) Merge pull request [#9167](https://github-redirect.dependabot.com/webpack/webpack/issues/9167) from webpack/refactor/validation - [`a4406ff`](https://github.com/webpack/webpack/commit/a4406ff187e09e701ff77c6b2ecfafab98e09f10) improve validation errors - [`0963d74`](https://github.com/webpack/webpack/commit/0963d744e9bbfbec52e32d1663df03ff0b0ba339) add test case for enum validation - [`f1df013`](https://github.com/webpack/webpack/commit/f1df013150585841dbee829cdbfe68a6ba34b4d5) refactor Validation test for snapshots - Additional commits viewable in [compare view](https://github.com/webpack/webpack/compare/v4.30.0...v4.32.2)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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.