Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Feb 16, 2025

This PR contains the following updates:

Package Change Age Confidence
webpack 5.97.15.104.1 age confidence

Release Notes

webpack/webpack (webpack)

v5.104.1

Compare Source

Patch Changes
  • 2efd21b: Reexports runtime calculation should not accessing WEBPACK_IMPORT_KEY decl with var.
  • c510070: Fixed a user information bypass vulnerability in the HttpUriPlugin plugin.

v5.104.0

Compare Source

Minor Changes
  • d3dd841: Use method shorthand to render module content in __webpack_modules__ object.
  • d3dd841: Enhance import.meta.env to support object access.
  • 4baab4e: Optimize dependency sorting in updateParent: sort each module only once by deferring to finishUpdateParent(), and reduce traversal count in sortWithSourceOrder by caching WeakMap values upfront.
  • 04cd530: Handle more at-rules for CSS modules.
  • cafae23: Added options to control the renaming of at-rules and various identifiers in CSS modules.
  • d3dd841: Added base64url, base62, base58, base52, base49, base36, base32 and base25 digests.
  • 5983843: Provide a stable runtime function variable __webpack_global__.
  • d3dd841: Improved localIdentName hashing for CSS.
Patch Changes
  • 22c48fb: Added module existence check for informative error message in development mode.
  • 50689e1: Use the fully qualified class name (or export name) for [fullhash] placeholder in CSS modules.
  • d3dd841: Support universal lazy compilation.
  • d3dd841: Fixed module library export definitions when multiple runtimes.
  • d3dd841: Fixed CSS nesting and CSS custom properties parsing.
  • d3dd841: Don't write fragment from URL to filename and apply fragment to module URL.
  • aab1da9: Fixed bugs for css/global type.
  • d3dd841: Compatibility import.meta.filename and import.meta.dirname with eval devtools.
  • d3dd841: Handle nested __webpack_require__.
  • 728ddb7: The speed of identifier parsing has been improved.
  • 0f8b31b: Improve types.
  • d3dd841: Don't corrupt debugId injection when hidden-source-map is used.
  • 2179fdb: Re-validate HttpUriPlugin redirects against allowedUris, restrict to http(s) and add a conservative redirect limit to prevent SSRF and untrusted content inclusion. Redirects failing policy are rejected before caching/lockfile writes.
  • d3dd841: Serialize HookWebpackError.
  • d3dd841: Added ability to use built-in properties in dotenv and define plugin.
  • 3c4319f: Optimizing the regular expression character class by specifying ranges for runtime code.
  • d3dd841: Reduce collision for local indent name in CSS.
  • d3dd841: Remove CSS link tags when CSS imports are removed.

v5.103.0

Compare Source

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

Compare Source

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

Compare Source

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)
  • Added support for import file from "./file.ext" with { type: "text" } to get the content as text (look at example)
  • 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)
  • 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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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 (#​19689)

v5.100.1

Compare Source

Fixes
  • Tree-shaking unused ignored modules
  • [Types] Compatibility with old Node.js versions

v5.100.0

Compare Source

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 (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 to support virtual: scheme
Performance Improvements
  • Remove useless startup entrypoint runtime for ES modules output
  • Cache new URL(...) evaluate expression

v5.99.9

Compare Source

Fixes
  • HMR might fail if there are new initial chunks
  • Destructuring namespace import with default
  • Destructuring namespace import with computed-property
  • Generate valid code for es export generation for multiple module entries
  • Fixed public path issue for ES modules
  • Asset modules work when lazy compilation used
  • Eliminate unused statements in certain scenarios
  • Fixed regression with location and order of dependencies
  • Fixed typescript types

v5.99.8

Compare Source

Fixes
  • Fixed type error with latest @types/node
  • Fixed typescript types

v5.99.7

Compare Source

Fixes
  • Don't skip export generation for default reexport (#​19463)
  • Fixed module library export generation for reexport (#​19459)
  • Avoid module concatenation in child compilation for module library (#​19457)
  • Ensure HMR recover gracefully when CSS module with error
  • Respect cause of any errors and errors of AggregateError in stats output
  • Added missing @types/json-schema in types

v5.99.6

Compare Source

Fixes
  • Respect public path for ES modules
  • Fixed generation of module for module library when mixing commonjs and esm modules
  • Always apply FlagDependencyExportsPlugin for libraries where it required
  • Faster logic for dead control flow
  • Typescript types

v5.99.5

Compare Source

Fixes
  • Control dead flow for labeled and blockless statements

v5.99.4

Compare Source

Fixes
  • Fixed terminated state for if/else

v5.99.3

Compare Source

Fixes
  • Fixed dead control flow with deep nested if/else

v5.99.2

Compare Source

Fixes
  • Dead control flow for exotic cases

v5.99.1

Compare Source

Fixes
  • Dead control flow for many cases

v5.99.0

Compare Source

Fixes
  • Fixed a lot of types
  • Fixed runtime error when using asset module as entrypoint and runtimeChunk
  • JSON generator now preserves __proto__ property
  • Fixed when entry module isn't executed when targeting webworker with a runtime chunk
  • Do not duplicate modules with import attributes and reexport
  • The module and module ESM libraries have been union and code generation has been improved
  • Use a valid output path for errored asset modules
  • Remove BOM from JavaScript and CSS files when loader was not used
  • Create export for externals for module/modern-module library
  • Export unprovided variables for commonjs-static library
  • Forward semicolons from meta.webpackAST
  • Use xxhash64 for cache.hashAlgorithm when experiments.futureDefaults enabled
  • [CSS] Fixed profiling plugin for CSS
  • [CSS] Avoid extra module.export output for CSS module
Features
  • Add dead control flow check
  • Handle new Worker(import.meta.url) and new Worker(new URL(import.meta.url)) syntax
  • Added ability to generate custom error content for generators
Performance Improvements
  • Fixed excessive calls of getAllReferences
  • Optimize loc for monomorphic inline caching
Chores
  • Switch on strict types for typescript

v5.98.0

Compare Source

Fixes
Performance Improvements
Chores
Features
Continuous Integration

New Contributors

Full Changelog: webpack/webpack@v5.97.1...v5.98.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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Dependency updates label Feb 16, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 7edec50 to ed49c34 Compare April 10, 2025 13:55
@renovate renovate bot changed the title Update dependency webpack to v5.98.0 Update dependency webpack to v5.99.0 Apr 10, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from ed49c34 to be6027f Compare April 11, 2025 00:57
@renovate renovate bot changed the title Update dependency webpack to v5.99.0 Update dependency webpack to v5.99.1 Apr 11, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from be6027f to f6c824b Compare April 11, 2025 08:30
@renovate renovate bot changed the title Update dependency webpack to v5.99.1 Update dependency webpack to v5.99.2 Apr 11, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from f6c824b to 0589a34 Compare April 11, 2025 17:52
@renovate renovate bot changed the title Update dependency webpack to v5.99.2 Update dependency webpack to v5.99.3 Apr 11, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 0589a34 to fa42a48 Compare April 11, 2025 20:39
@renovate renovate bot changed the title Update dependency webpack to v5.99.3 Update dependency webpack to v5.99.4 Apr 11, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from fa42a48 to 29b6968 Compare April 12, 2025 01:02
@renovate renovate bot changed the title Update dependency webpack to v5.99.4 Update dependency webpack to v5.99.5 Apr 12, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 29b6968 to 9458991 Compare April 21, 2025 13:02
@renovate renovate bot changed the title Update dependency webpack to v5.99.5 Update dependency webpack to v5.99.6 Apr 21, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch 2 times, most recently from 09cc643 to f28d20a Compare April 28, 2025 15:40
@renovate renovate bot changed the title Update dependency webpack to v5.99.6 Update dependency webpack to v5.99.7 Apr 28, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from f28d20a to bbe3edd Compare May 9, 2025 13:19
@renovate renovate bot changed the title Update dependency webpack to v5.99.7 Update dependency webpack to v5.99.8 May 9, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from bbe3edd to 548dc75 Compare May 23, 2025 13:43
@renovate renovate bot changed the title Update dependency webpack to v5.99.8 Update dependency webpack to v5.99.9 May 23, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 548dc75 to 444631e Compare July 12, 2025 15:33
@renovate renovate bot changed the title Update dependency webpack to v5.99.9 Update dependency webpack to v5.100.0 Jul 12, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 444631e to 4a8b8a6 Compare July 14, 2025 18:08
@renovate renovate bot changed the title Update dependency webpack to v5.100.0 Update dependency webpack to v5.100.1 Jul 14, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 4a8b8a6 to ad6e602 Compare July 18, 2025 17:41
@renovate renovate bot changed the title Update dependency webpack to v5.100.1 Update dependency webpack to v5.100.2 Jul 18, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from ad6e602 to 307f841 Compare July 31, 2025 23:14
@renovate renovate bot changed the title Update dependency webpack to v5.100.2 Update dependency webpack to v5.101.0 Jul 31, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 307f841 to 746f188 Compare August 15, 2025 15:08
@renovate renovate bot changed the title Update dependency webpack to v5.101.0 Update dependency webpack to v5.101.1 Aug 15, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 746f188 to 84d4666 Compare August 17, 2025 19:01
@renovate renovate bot changed the title Update dependency webpack to v5.101.1 Update dependency webpack to v5.101.2 Aug 17, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 84d4666 to fc5941d Compare August 21, 2025 20:56
@renovate renovate bot changed the title Update dependency webpack to v5.101.2 Update dependency webpack to v5.101.3 Aug 21, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from fc5941d to 7a8ba2d Compare September 25, 2025 17:27
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 7a8ba2d to 2b70280 Compare October 2, 2025 19:29
@renovate renovate bot changed the title Update dependency webpack to v5.101.3 Update dependency webpack to v5.102.0 Oct 2, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 2b70280 to 0e88ac2 Compare October 10, 2025 19:00
@renovate renovate bot changed the title Update dependency webpack to v5.102.0 Update dependency webpack to v5.102.1 Oct 10, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 0e88ac2 to e21c409 Compare October 21, 2025 20:04
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from e21c409 to 2c66b0a Compare November 10, 2025 22:07
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch 2 times, most recently from 55bef07 to 2203864 Compare November 21, 2025 11:41
@renovate renovate bot changed the title Update dependency webpack to v5.102.1 Update dependency webpack to v5.103.0 Nov 21, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 2203864 to 93b16bc Compare December 3, 2025 16:28
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 93b16bc to baba2bd Compare December 19, 2025 16:00
@renovate renovate bot changed the title Update dependency webpack to v5.103.0 Update dependency webpack to v5.104.0 Dec 19, 2025
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from baba2bd to 20ebdfc Compare December 21, 2025 14:59
@renovate renovate bot changed the title Update dependency webpack to v5.104.0 Update dependency webpack to v5.104.1 Dec 21, 2025
Dependency update (patch) :)
@renovate renovate bot force-pushed the renovate/webpack-5.x-lockfile branch from 20ebdfc to 79cd3e8 Compare December 31, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant