Skip to content

Commit 06aa3cb

Browse files
chore(deps): update dependency webpack to v5.103.0 (#506)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [webpack](https://redirect.github.com/webpack/webpack) | [`5.99.9` -> `5.103.0`](https://renovatebot.com/diffs/npm/webpack/5.99.9/5.103.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/webpack/5.103.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/webpack/5.99.9/5.103.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>webpack/webpack (webpack)</summary> ### [`v5.103.0`](https://redirect.github.com/webpack/webpack/releases/tag/v5.103.0) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.102.1...v5.103.0) ##### Features - Added `DotenvPlugin` and top level `dotenv` option to enable this plugin - Added `WebpackManifestPlugin` - Added support the `ignoreList` option in devtool plugins - Allow to use custom javascript parse function - Added `import.meta.env` support for environment variables - Added support for `import.meta.dirname` and `import.meta.filename` - Added support `import.defer()` for statistical path - Handle import.meta.main - Added suport to setup named exports for JSON modules and disable usage named export for `import file from "./file.json" with { type: "json" }` - Added support `__dirname`/`__filename`/`import.meta.dirname`/`import.meta.filename` for universal target - \[CSS] Added the `exportType` option with `link` (by default), "text" and `css-style-sheet` values - \[CSS] Added support for `composes` properties ##### Fixes - The `dependOn` chunk must be loaded before the common chunk - Return to namespace import when the external request includes a specific export - No runtime extra runtime code for module libraries - Delay HMR accept dependencies to preserve import attributes - Properly handle external presets for universal target - Fixed incorrect identifier of import binding for module externals - Fixed when defer import and dynamic default export mixed - Reduce generated output when `globalThis` supported - Fixed loading async modules in defer import - Reexport module for default import when no used exports for systemjs library - Rename HarmonyExportDependencyParserPlugin exported id to CompatibilityPlugin tagged id - Handle `__dirname` and `__filename` for ES modules - Rename single nested `__webpack_export__` and `__webpack_require__` in already bundled code - \[Types] webpack function type - \[Types] NormalModule type - \[Types] Multi compiler configuration type - \[Types] Fixed regression in custom `hashDigest` type - \[CSS] No extra runtime for initial chunk - \[CSS] Fixed a lot of CSS modules bugs ### [`v5.102.1`](https://redirect.github.com/webpack/webpack/releases/tag/v5.102.1) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.102.0...v5.102.1) ##### Fixes - Supported `extends` with `env` for `browserslist` - Supported `JSONP` fragment format for web workers. - Fixed dynamic import support in workers using `browserslist`. - Fixed default defer import mangling. - Fixed default import of `commonjs` externals for `SystemJS` format. - Fixed context modules to the same file with different import attributes. - Fixed typescript types. - Improved `import.meta` warning messages to be more clear when used directly. - \[CSS] Fixed CC\_UPPER\_U parsing (E -> U) in tokenizer. ### [`v5.102.0`](https://redirect.github.com/webpack/webpack/releases/tag/v5.102.0) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.101.3...v5.102.0) ##### Features - Added static analyze for dynamic imports - Added support for `import file from "./file.ext" with { type: "bytes" }` to get the content as `Uint8Array` (look at [example](https://redirect.github.com/webpack/webpack/tree/main/examples/asset)) - Added support for `import file from "./file.ext" with { type: "text" }` to get the content as text (look at [example](https://redirect.github.com/webpack/webpack/tree/main/examples/asset)) - Added the `snapshot.contextModule` to configure snapshots options for context modules - Added the `extractSourceMap` option to implement the capabilities of loading source maps by comment, you don't need `source-map-loader` (look at [example](https://redirect.github.com/webpack/webpack/tree/main/examples/source-mapping-url)) - The `topLevelAwait` experiment is now stable (you can remove `experiments.topLevelAwait` from your `webpack.config.js`) - The `layers` experiment is now stable (you can remove `experiments.layers` from your `webpack.config.js`) - Added function matcher support in rule options ##### Fixes - Fixed conflicts caused by multiple concatenate modules - Ignore import failure during HMR update with ES modules output - Keep render module order consistent - Prevent inlining modules that have `this` exports - Removed unused `timeout` attribute of script tag - Supported UMD chunk format to work in web workers - Improved CommonJs bundle to ES module library - Use `es-lexer` for `mjs` files for build dependencies - Fixed support `__non_webpack_require__` for ES modules - Properly handle external modules for CSS - AssetsByChunkName included assets from `chunk.auxiliaryFiles` - Use `createRequire` only when output is ES module and target is node - Typescript types ##### Performance Improvements - Avoid extra calls for snapshot - A avoid extra jobs for build dependencies - Move import attributes to own dependencies ### [`v5.101.3`](https://redirect.github.com/webpack/webpack/releases/tag/v5.101.3) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.101.2...v5.101.3) ##### Fixes - Fixed resolve execution order issue from extra await in async modules - Avoid empty block for unused statement - Collect only specific expressions for destructuring assignment ### [`v5.101.2`](https://redirect.github.com/webpack/webpack/releases/tag/v5.101.2) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.101.1...v5.101.2) ##### Fixes - Fixed syntax error when comment is on the last line - Handle var declaration for `createRequire` - Distinguish free variable and tagged variable ### [`v5.101.1`](https://redirect.github.com/webpack/webpack/releases/tag/v5.101.1) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.101.0...v5.101.1) ##### Fixes - Filter deleted assets in `processAdditionalAssets` hook - HMR failure in defer module - Emit assets even if invalidation occurs again - Export types for serialization and deserialization in plugins and export the `ModuleFactory` class - Fixed the failure export of internal function for ES module chunk format - Fixed `GetChunkFilename` failure caused by `dependOn` entry - Fixed the import of missing dependency chunks - Fixed when entry chunk depends on the runtime chunk hash - Fixed `module.exports` bundle to ESM library - Adjusted the time of adding a group depending on the fragment of execution time - Fixed circle dependencies when require `RawModule` and condition of `isDeferred` - Tree-shakable module library should align preconditions of `allowInlineStartup` ### [`v5.101.0`](https://redirect.github.com/webpack/webpack/releases/tag/v5.101.0) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.100.2...v5.101.0) ##### Fixes - Fixed concatenate optimization for ESM that caused undefined export - Respect the `output.environment.nodePrefixForCoreModules` option everywhere - Respect the `output.importMetaName` option everywhere - Fixed await async dependencies when accepting them during HMR - Better typescript types ##### Features - Added colors helpers for CLI - Enable tree-shaking for ESM external modules with named imports - Added the `deferImport` option to parser options ##### Performance Improvements - Fixed a regression in module concatenation after implementing deferred import support - Fixed a potential performance issue in CleanPlugin - Avoid extra `require` in some places ### [`v5.100.2`](https://redirect.github.com/webpack/webpack/releases/tag/v5.100.2) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.100.1...v5.100.2) ##### Fixes - Keep consistent CSS order - Dependency without the source order attribute must keep their original index - Keep module traversal consistent across reexport scenarios ##### Performance Improvements - Extend `importPhasesPlugin` only when enable `deferImport` ([#&#8203;19689](https://redirect.github.com/webpack/webpack/issues/19689)) ### [`v5.100.1`](https://redirect.github.com/webpack/webpack/releases/tag/v5.100.1) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.100.0...v5.100.1) ##### Fixes - Tree-shaking unused ignored modules - \[Types] Compatibility with old Node.js versions ### [`v5.100.0`](https://redirect.github.com/webpack/webpack/releases/tag/v5.100.0) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.99.9...v5.100.0) ##### Fixes - Fixed the case where an ES modules entry chunk depends on the runtime chunk hash - Handle function exports in webpack module wrapper - Ensure dependent chunks are imported before startup & fix duplicate export of 'default' - Generate lose closing brace when exports are unprovided - CleanPlugin doesn't unlink same file twice - Fixed unexpected error codes from fs.unlink on Windows - Typescript types ##### Features - HMR support for ES modules output - ES module output mode now fully supports `splitChunks` when external variables and runtimeChunk are not set. - Added support `using` keyword - Implemented tc39 [Defer Module Evaluation](https://redirect.github.com/tc39/proposal-defer-import-eval) (experiment) - Support dynamic template literals expressions for `new URL(...)` - Enable ES modules worker chunk loading for Node.js targets - Improved support for destructing in DefinePlugin - Added [VirtualUrlPlugin](https://redirect.github.com/webpack/webpack/tree/main/examples/virtual-modules) to support `virtual:` scheme ##### Performance Improvements - Remove useless startup entrypoint runtime for ES modules output - Cache `new URL(...)` evaluate expression </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/openedx/edx-ui-toolkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xOS45IiwidXBkYXRlZEluVmVyIjoiNDIuMTkuOSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 683aed8 commit 06aa3cb

File tree

1 file changed

+88
-50
lines changed

1 file changed

+88
-50
lines changed

package-lock.json

Lines changed: 88 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)