webpack/webpack
### [`v5.77.0`](https://togithub.com/webpack/webpack/releases/tag/v5.77.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.3...v5.77.0)
#### New Features
- Add a new output option, `output.workerPublicPath` by [@thomastay](https://togithub.com/thomastay) in [https://github.com/webpack/webpack/pull/16671](https://togithub.com/webpack/webpack/pull/16671)
#### Developer Experience
- Improve `resolve.extensions` error message to suggest when `"."` is missing before the extension by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16807](https://togithub.com/webpack/webpack/pull/16807)
#### Contributor Experience
- Enable GitHub Copilot for PR's into default Pull Request Template by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16881](https://togithub.com/webpack/webpack/pull/16881)
#### New Contributors
- [@thomastay](https://togithub.com/thomastay) made their first contribution in [https://github.com/webpack/webpack/pull/16671](https://togithub.com/webpack/webpack/pull/16671)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.3...v5.77.0
### [`v5.76.3`](https://togithub.com/webpack/webpack/releases/tag/v5.76.3)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.2...v5.76.3)
#### Bugfixes
- Non-javascript files will correctly **not** be imported when using `experiments.outputModule` (ES Module Output) by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16809](https://togithub.com/webpack/webpack/pull/16809)
- Limit console output progress bar length to 40 when no columns provided by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16810](https://togithub.com/webpack/webpack/pull/16810)
- Add missing NodeJS Builtin Modules support for `inspector/promises`, `readline/promises`, and `stream/consumers` by [@ShenHongFei](https://togithub.com/ShenHongFei) in [https://github.com/webpack/webpack/pull/16841](https://togithub.com/webpack/webpack/pull/16841)
- webpack bin/cli now properly respects `NODE_PATH` env variable by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16808](https://togithub.com/webpack/webpack/pull/16808)
- Improve typos in `resolveResourceErrorHints` by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16806](https://togithub.com/webpack/webpack/pull/16806)
- Add missing `loaders` token support to `moduleFilenameTemplate` function call by [@pgoldberg](https://togithub.com/pgoldberg) in [https://github.com/webpack/webpack/pull/16756](https://togithub.com/webpack/webpack/pull/16756)
- Add gaurd condition for `enabledLibraryTypes` in internal `ContainerPlugin` by [@PengBoUESTC](https://togithub.com/PengBoUESTC) in [https://github.com/webpack/webpack/pull/16635](https://togithub.com/webpack/webpack/pull/16635)
#### New Contributors
- [@ShenHongFei](https://togithub.com/ShenHongFei) made their first contribution in [https://github.com/webpack/webpack/pull/16841](https://togithub.com/webpack/webpack/pull/16841)
- [@pgoldberg](https://togithub.com/pgoldberg) made their first contribution in [https://github.com/webpack/webpack/pull/16756](https://togithub.com/webpack/webpack/pull/16756)
- [@PengBoUESTC](https://togithub.com/PengBoUESTC) made their first contribution in [https://github.com/webpack/webpack/pull/16635](https://togithub.com/webpack/webpack/pull/16635)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.2...v5.76.3
### [`v5.76.2`](https://togithub.com/webpack/webpack/releases/tag/v5.76.2)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.1...v5.76.2)
#### Bugfixes
- Fix bug where a missing semicolon in generated bundle output for `publicPathRuntime` would cause concatenated runtime errors by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16811](https://togithub.com/webpack/webpack/pull/16811)
- Remove redundant semicolons generated in bundle runtime code after `onScriptComplete` function by [@ahaoboy](https://togithub.com/ahaoboy) in [https://github.com/webpack/webpack/pull/16347](https://togithub.com/webpack/webpack/pull/16347)
- Fix bug where `RealContentHashPlugin` was not respecting `output.hashSalt`'s ability to cause a force recalculation of `[contenthash]` for emitted assets by [@dmichon-msft](https://togithub.com/dmichon-msft) [#16789](https://togithub.com/webpack/webpack/issues/16789)
#### Performance
- Improve memory and runtime performance of sourcemaps via hoisting Regular Expression literals to stored variables by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/15722](https://togithub.com/webpack/webpack/pull/15722)
- Correct v8 deoptimization in `ModuleGraph` due to instance property declarations occurring outside of constructor by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16830](https://togithub.com/webpack/webpack/pull/16830)
#### Developer Experience
- Improved internal typings to match `webpack-sources` typings for `Source` instances by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16805](https://togithub.com/webpack/webpack/pull/16805)
- Update repo examples to include missing quotation by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16812](https://togithub.com/webpack/webpack/pull/16812)
#### New Contributors
- [@ahaoboy](https://togithub.com/ahaoboy) made their first contribution in [https://github.com/webpack/webpack/pull/16347](https://togithub.com/webpack/webpack/pull/16347)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.1...v5.76.2
### [`v5.76.1`](https://togithub.com/webpack/webpack/releases/tag/v5.76.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.0...v5.76.1)
#### Fixed
- Added `assert/strict` built-in to `NodeTargetPlugin`
#### Revert
- Improve performance of `hashRegExp` lookup by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16759](https://togithub.com/webpack/webpack/pull/16759)
### [`v5.76.0`](https://togithub.com/webpack/webpack/releases/tag/v5.76.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.75.0...v5.76.0)
#### Bugfixes
- Avoid cross-realm object access by [@Jack-Works](https://togithub.com/Jack-Works) in [https://github.com/webpack/webpack/pull/16500](https://togithub.com/webpack/webpack/pull/16500)
- Improve hash performance via conditional initialization by [@lvivski](https://togithub.com/lvivski) in [https://github.com/webpack/webpack/pull/16491](https://togithub.com/webpack/webpack/pull/16491)
- Serialize `generatedCode` info to fix bug in asset module cache restoration by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16703](https://togithub.com/webpack/webpack/pull/16703)
- Improve performance of `hashRegExp` lookup by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16759](https://togithub.com/webpack/webpack/pull/16759)
#### Features
- add `target` to `LoaderContext` type by [@askoufis](https://togithub.com/askoufis) in [https://github.com/webpack/webpack/pull/16781](https://togithub.com/webpack/webpack/pull/16781)
#### Security
- [CVE-2022-37603](https://togithub.com/advisories/GHSA-3rfm-jhwj-7488) fixed by [@akhilgkrishnan](https://togithub.com/akhilgkrishnan) in [https://github.com/webpack/webpack/pull/16446](https://togithub.com/webpack/webpack/pull/16446)
#### Repo Changes
- Fix HTML5 logo in README by [@jakebailey](https://togithub.com/jakebailey) in [https://github.com/webpack/webpack/pull/16614](https://togithub.com/webpack/webpack/pull/16614)
- Replace TypeScript logo in README by [@jakebailey](https://togithub.com/jakebailey) in [https://github.com/webpack/webpack/pull/16613](https://togithub.com/webpack/webpack/pull/16613)
- Update actions/cache dependencies by [@piwysocki](https://togithub.com/piwysocki) in [https://github.com/webpack/webpack/pull/16493](https://togithub.com/webpack/webpack/pull/16493)
#### New Contributors
- [@Jack-Works](https://togithub.com/Jack-Works) made their first contribution in [https://github.com/webpack/webpack/pull/16500](https://togithub.com/webpack/webpack/pull/16500)
- [@lvivski](https://togithub.com/lvivski) made their first contribution in [https://github.com/webpack/webpack/pull/16491](https://togithub.com/webpack/webpack/pull/16491)
- [@jakebailey](https://togithub.com/jakebailey) made their first contribution in [https://github.com/webpack/webpack/pull/16614](https://togithub.com/webpack/webpack/pull/16614)
- [@akhilgkrishnan](https://togithub.com/akhilgkrishnan) made their first contribution in [https://github.com/webpack/webpack/pull/16446](https://togithub.com/webpack/webpack/pull/16446)
- [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) made their first contribution in [https://github.com/webpack/webpack/pull/16703](https://togithub.com/webpack/webpack/pull/16703)
- [@piwysocki](https://togithub.com/piwysocki) made their first contribution in [https://github.com/webpack/webpack/pull/16493](https://togithub.com/webpack/webpack/pull/16493)
- [@askoufis](https://togithub.com/askoufis) made their first contribution in [https://github.com/webpack/webpack/pull/16781](https://togithub.com/webpack/webpack/pull/16781)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
5.75.0
->5.77.0
Release Notes
webpack/webpack
### [`v5.77.0`](https://togithub.com/webpack/webpack/releases/tag/v5.77.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.3...v5.77.0) #### New Features - Add a new output option, `output.workerPublicPath` by [@thomastay](https://togithub.com/thomastay) in [https://github.com/webpack/webpack/pull/16671](https://togithub.com/webpack/webpack/pull/16671) #### Developer Experience - Improve `resolve.extensions` error message to suggest when `"."` is missing before the extension by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16807](https://togithub.com/webpack/webpack/pull/16807) #### Contributor Experience - Enable GitHub Copilot for PR's into default Pull Request Template by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16881](https://togithub.com/webpack/webpack/pull/16881) #### New Contributors - [@thomastay](https://togithub.com/thomastay) made their first contribution in [https://github.com/webpack/webpack/pull/16671](https://togithub.com/webpack/webpack/pull/16671) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.3...v5.77.0 ### [`v5.76.3`](https://togithub.com/webpack/webpack/releases/tag/v5.76.3) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.2...v5.76.3) #### Bugfixes - Non-javascript files will correctly **not** be imported when using `experiments.outputModule` (ES Module Output) by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16809](https://togithub.com/webpack/webpack/pull/16809) - Limit console output progress bar length to 40 when no columns provided by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16810](https://togithub.com/webpack/webpack/pull/16810) - Add missing NodeJS Builtin Modules support for `inspector/promises`, `readline/promises`, and `stream/consumers` by [@ShenHongFei](https://togithub.com/ShenHongFei) in [https://github.com/webpack/webpack/pull/16841](https://togithub.com/webpack/webpack/pull/16841) - webpack bin/cli now properly respects `NODE_PATH` env variable by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16808](https://togithub.com/webpack/webpack/pull/16808) - Improve typos in `resolveResourceErrorHints` by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16806](https://togithub.com/webpack/webpack/pull/16806) - Add missing `loaders` token support to `moduleFilenameTemplate` function call by [@pgoldberg](https://togithub.com/pgoldberg) in [https://github.com/webpack/webpack/pull/16756](https://togithub.com/webpack/webpack/pull/16756) - Add gaurd condition for `enabledLibraryTypes` in internal `ContainerPlugin` by [@PengBoUESTC](https://togithub.com/PengBoUESTC) in [https://github.com/webpack/webpack/pull/16635](https://togithub.com/webpack/webpack/pull/16635) #### New Contributors - [@ShenHongFei](https://togithub.com/ShenHongFei) made their first contribution in [https://github.com/webpack/webpack/pull/16841](https://togithub.com/webpack/webpack/pull/16841) - [@pgoldberg](https://togithub.com/pgoldberg) made their first contribution in [https://github.com/webpack/webpack/pull/16756](https://togithub.com/webpack/webpack/pull/16756) - [@PengBoUESTC](https://togithub.com/PengBoUESTC) made their first contribution in [https://github.com/webpack/webpack/pull/16635](https://togithub.com/webpack/webpack/pull/16635) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.2...v5.76.3 ### [`v5.76.2`](https://togithub.com/webpack/webpack/releases/tag/v5.76.2) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.1...v5.76.2) #### Bugfixes - Fix bug where a missing semicolon in generated bundle output for `publicPathRuntime` would cause concatenated runtime errors by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16811](https://togithub.com/webpack/webpack/pull/16811) - Remove redundant semicolons generated in bundle runtime code after `onScriptComplete` function by [@ahaoboy](https://togithub.com/ahaoboy) in [https://github.com/webpack/webpack/pull/16347](https://togithub.com/webpack/webpack/pull/16347) - Fix bug where `RealContentHashPlugin` was not respecting `output.hashSalt`'s ability to cause a force recalculation of `[contenthash]` for emitted assets by [@dmichon-msft](https://togithub.com/dmichon-msft) [#16789](https://togithub.com/webpack/webpack/issues/16789) #### Performance - Improve memory and runtime performance of sourcemaps via hoisting Regular Expression literals to stored variables by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/15722](https://togithub.com/webpack/webpack/pull/15722) - Correct v8 deoptimization in `ModuleGraph` due to instance property declarations occurring outside of constructor by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16830](https://togithub.com/webpack/webpack/pull/16830) #### Developer Experience - Improved internal typings to match `webpack-sources` typings for `Source` instances by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16805](https://togithub.com/webpack/webpack/pull/16805) - Update repo examples to include missing quotation by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16812](https://togithub.com/webpack/webpack/pull/16812) #### New Contributors - [@ahaoboy](https://togithub.com/ahaoboy) made their first contribution in [https://github.com/webpack/webpack/pull/16347](https://togithub.com/webpack/webpack/pull/16347) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.1...v5.76.2 ### [`v5.76.1`](https://togithub.com/webpack/webpack/releases/tag/v5.76.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.0...v5.76.1) #### Fixed - Added `assert/strict` built-in to `NodeTargetPlugin` #### Revert - Improve performance of `hashRegExp` lookup by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16759](https://togithub.com/webpack/webpack/pull/16759) ### [`v5.76.0`](https://togithub.com/webpack/webpack/releases/tag/v5.76.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.75.0...v5.76.0) #### Bugfixes - Avoid cross-realm object access by [@Jack-Works](https://togithub.com/Jack-Works) in [https://github.com/webpack/webpack/pull/16500](https://togithub.com/webpack/webpack/pull/16500) - Improve hash performance via conditional initialization by [@lvivski](https://togithub.com/lvivski) in [https://github.com/webpack/webpack/pull/16491](https://togithub.com/webpack/webpack/pull/16491) - Serialize `generatedCode` info to fix bug in asset module cache restoration by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16703](https://togithub.com/webpack/webpack/pull/16703) - Improve performance of `hashRegExp` lookup by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16759](https://togithub.com/webpack/webpack/pull/16759) #### Features - add `target` to `LoaderContext` type by [@askoufis](https://togithub.com/askoufis) in [https://github.com/webpack/webpack/pull/16781](https://togithub.com/webpack/webpack/pull/16781) #### Security - [CVE-2022-37603](https://togithub.com/advisories/GHSA-3rfm-jhwj-7488) fixed by [@akhilgkrishnan](https://togithub.com/akhilgkrishnan) in [https://github.com/webpack/webpack/pull/16446](https://togithub.com/webpack/webpack/pull/16446) #### Repo Changes - Fix HTML5 logo in README by [@jakebailey](https://togithub.com/jakebailey) in [https://github.com/webpack/webpack/pull/16614](https://togithub.com/webpack/webpack/pull/16614) - Replace TypeScript logo in README by [@jakebailey](https://togithub.com/jakebailey) in [https://github.com/webpack/webpack/pull/16613](https://togithub.com/webpack/webpack/pull/16613) - Update actions/cache dependencies by [@piwysocki](https://togithub.com/piwysocki) in [https://github.com/webpack/webpack/pull/16493](https://togithub.com/webpack/webpack/pull/16493) #### New Contributors - [@Jack-Works](https://togithub.com/Jack-Works) made their first contribution in [https://github.com/webpack/webpack/pull/16500](https://togithub.com/webpack/webpack/pull/16500) - [@lvivski](https://togithub.com/lvivski) made their first contribution in [https://github.com/webpack/webpack/pull/16491](https://togithub.com/webpack/webpack/pull/16491) - [@jakebailey](https://togithub.com/jakebailey) made their first contribution in [https://github.com/webpack/webpack/pull/16614](https://togithub.com/webpack/webpack/pull/16614) - [@akhilgkrishnan](https://togithub.com/akhilgkrishnan) made their first contribution in [https://github.com/webpack/webpack/pull/16446](https://togithub.com/webpack/webpack/pull/16446) - [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) made their first contribution in [https://github.com/webpack/webpack/pull/16703](https://togithub.com/webpack/webpack/pull/16703) - [@piwysocki](https://togithub.com/piwysocki) made their first contribution in [https://github.com/webpack/webpack/pull/16493](https://togithub.com/webpack/webpack/pull/16493) - [@askoufis](https://togithub.com/askoufis) made their first contribution in [https://github.com/webpack/webpack/pull/16781](https://togithub.com/webpack/webpack/pull/16781) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.