Update dependency webpack to v5.76.0 [SECURITY]
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| webpack | 5.70.0 -> 5.76.0 |
GitHub Vulnerability Alerts
CVE-2023-28154
Webpack 5 before 5.76.0 does not avoid cross-realm object access. ImportParserPlugin.js mishandles the magic comment feature. An attacker who controls a property of an untrusted object can obtain access to the real global object.
Release Notes
webpack/webpack (webpack)
v5.76.0
Bugfixes
- Avoid cross-realm object access by @Jack-Works in https://github.com/webpack/webpack/pull/16500
- Improve hash performance via conditional initialization by @lvivski in https://github.com/webpack/webpack/pull/16491
- Serialize
generatedCodeinfo to fix bug in asset module cache restoration by @ryanwilsonperkin in https://github.com/webpack/webpack/pull/16703 - Improve performance of
hashRegExplookup by @ryanwilsonperkin in https://github.com/webpack/webpack/pull/16759
Features
- add
targettoLoaderContexttype by @askoufis in https://github.com/webpack/webpack/pull/16781
Security
Repo Changes
- Fix HTML5 logo in README by @jakebailey in https://github.com/webpack/webpack/pull/16614
- Replace TypeScript logo in README by @jakebailey in https://github.com/webpack/webpack/pull/16613
- Update actions/cache dependencies by @piwysocki in https://github.com/webpack/webpack/pull/16493
New Contributors
- @Jack-Works made their first contribution in https://github.com/webpack/webpack/pull/16500
- @lvivski made their first contribution in https://github.com/webpack/webpack/pull/16491
- @jakebailey made their first contribution in https://github.com/webpack/webpack/pull/16614
- @akhilgkrishnan made their first contribution in https://github.com/webpack/webpack/pull/16446
- @ryanwilsonperkin made their first contribution in https://github.com/webpack/webpack/pull/16703
- @piwysocki made their first contribution in https://github.com/webpack/webpack/pull/16493
- @askoufis made their first contribution in https://github.com/webpack/webpack/pull/16781
Full Changelog: https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0
v5.75.0
Bugfixes
-
experiments.*normalize tofalsewhen opt-out - avoid
NaN% - show the correct error when using a conflicting chunk name in code
- HMR code tests existance of
windowbefore trying to access it - fix
eval-nosources-*actually exclude sources - fix race condition where no module is returned from processing module
- fix position of standalong semicolon in runtime code
Features
- add support for
@importto extenal CSS when using experimental CSS in node - add
i64support to the deprecated WASM implementation
Developer Experience
- expose
EnableWasmLoadingPlugin - add more typings
- generate getters instead of readonly properties in typings to allow overriding them
v5.74.0
Features
- add
resolve.extensionAliasoption which allows to alias extensions- This is useful when you are forced to add the
.jsextension to imports when the file really has a.tsextension (typescript +"type": "module")
- This is useful when you are forced to add the
- add support for ES2022 features like static blocks
- add Tree Shaking support for
ProvidePlugin
Bugfixes
- fix persistent cache when some build dependencies are on a different windows drive
- make order of evaluation of side-effect-free modules deterministic between concatenated and non-concatenated modules
- remove left-over from debugging in TLA/async modules runtime code
- remove unneeded extra 1s timestamp offset during watching when files are actually untouched
- This sometimes caused an additional second build which are not really needed
- fix
shareScopeoption forModuleFederationPlugin - set
"use-credentials"also for same origin scripts
Performance
- Improve memory usage and performance of aggregating needed files/directories for watching
- This affects rebuild performance
Extensibility
- export
HarmonyImportDependencyfor plugins
v5.73.0
Features
- add options for default
dynamicImportModeand prefetch and preload - add support for
import { createRequire } from "module"in source code
Bugfixes
- fix code generation of e. g.
return"field"in Module - fix performance of large JSON modules
- fix performance of async modules evaluation
Developer Experience
- export
PathDatain typings - improve error messages with more details
v5.72.1
Bugfixes
- fix
__webpack_nonce__with HMR - fix
inoperator in some cases - fix json parsing error messages
- fix module concatenation with using
this.importModule - upgrade enhanced-resolve
v5.72.0
Features
- make cache warnings caused by build errors less verbose
- Allow banner to be placed as a footer with the BannerPlugin
- allow to concatenate asset modules
Bugfixes
- fix RemoteModules when using HMR (Module Federation + HMR)
- throw error when using module concatenation and cacheUnaffected
- fix
inoperator with nested exports
v5.71.0
Features
- choose smarter default for
uniqueNamewhen using aoutput.librarywhich includes placeholders - add support for expressions with
inof a imported binding - generate UMD code with arrow functions when possible
Bugfixes
- fix source map source names for ContextModule to be relative
- fix
chunkLoadingoption in module module - fix edge case where
evaluateExpressionreturnsnull - retain optional chaining in imported bindings
- include runtime code for the base URI even if not using chunk loading
- don't throw errors in persistent caching when importing node.js builtin modules via ESM
- fix crash when using
lazy-onceContext modules - improve handling of context modules with multiple contexts
- fix race condition HMR chunk loading when importing chunks during HMR updating
- handle errors in
runAsChildcallback
Configuration
📅 Schedule: Branch creation - "" (UTC), 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.
Deploying badges with
Cloudflare Pages
| Latest commit: |
4050ce9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9edbd09d.badges.pages.dev |
| Branch Preview URL: | https://renovate-npm-webpack-vulnera.badges.pages.dev |
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (5.76.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.