Repository navigation
chore: π€ update dependency webpack to v5.111.1 - #740
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/webpack-5.x
branch
from
September 6, 2026 17:02
a6271bd to
c679106
Compare
renovate
Bot
force-pushed
the
renovate/webpack-5.x
branch
2 times, most recently
from
September 8, 2026 22:37
78e6e0e to
11001cb
Compare
renovate
Bot
force-pushed
the
renovate/webpack-5.x
branch
3 times, most recently
from
September 15, 2026 17:05
7bc2eb9 to
50e7f30
Compare
renovate
Bot
force-pushed
the
renovate/webpack-5.x
branch
2 times, most recently
from
September 21, 2026 15:44
930aa3a to
35cd733
Compare
renovate
Bot
force-pushed
the
renovate/webpack-5.x
branch
2 times, most recently
from
September 25, 2026 16:50
73fee7e to
ee24fe9
Compare
renovate
Bot
force-pushed
the
renovate/webpack-5.x
branch
2 times, most recently
from
October 5, 2026 21:48
17c624f to
8b1f8a7
Compare
renovate
Bot
force-pushed
the
renovate/webpack-5.x
branch
from
October 15, 2026 00:46
8b1f8a7 to
fae4230
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
5.105.4β5.111.1Release Notes
webpack/webpack (webpack)
v5.111.1Compare Source
Patch Changes
Throw on a write to an imported binding without losing concatenation. (by @βalexander-akait in #β22141)
Keep the
</html>a page was written with, whatever opened the element. (by @βaryanraj45 in #β22103)Look an attribute up by what its value decodes to, not how it was spelled. (by @βaryanraj45 in #β22107)
Minify HTML by what a value says rather than how it was spelled. (by @βalexander-akait in #β22154)
Follow HTML template form and frameset rules during tree construction. (by @βdependabot in #β22129)
Keep the whitespace
calc()needs around+and-in a custom property. (by @βalexander-akait in #β22150)Keep an attribute's delimiter and spell its value back where quoting is frozen. (by @βalexander-akait in #β22119)
Rewrite an attribute value the source spelled with character references. (by @βaryanraj45 in #β22110)
Unquote an HTML attribute value carrying a vertical tab. (by @βalexander-akait in #β22162)
Keep a shadow's spread and canonicalize a merged selector list. (by @βalexander-akait in #β22101)
Leave out an implied tag and merge adjacent runs on the first pass. (by @βaryanraj45 in #β22121)
Minify in one pass what a second pass of the CSS minifier used to find. (by @βalexander-akait in #β22106)
Cover the CSS lookup tables no stylesheet in the corpus reaches. (by @βaryanraj45 in #β22126)
Keep
initialwhere an engine reads the property's initial keyword apart. (by @βaryanraj45 in #β22128)Join the CSS rules a cut leaves adjacent, and keep a value an escape ate. (by @βalexander-akait in #β22108)
Drop the dead CSS a cut leaves, and join more of the blocks that print alike. (by @βalexander-akait in #β22111)
Run the printer equivalence suite against Firefox as well as Chrome. (by @βaryanraj45 in #β22151)
Finish in one CSS pass the joins, drops and collapses left to a second. (by @βalexander-akait in #β22117)
Move the context module sources into
lib/context/. (by @βalexander-akait in #β22115)Declare loader context types in JSDoc instead of hand-written
.d.tsfiles. (by @βalexander-akait in #β22116)Emit a failing module's stack relative, and name what a tap failed with. (by @βalexander-akait in #β22122)
Finish in one CSS pass the drops, layer gathers and joins left to a second. (by @βalexander-akait in #β22120)
Speed up CSS parsing by stepping over dropped selector preludes in bytes. (by @βalexander-akait in #β22142)
Record hoisted, module and block declarations while parsing, not by re-walking. (by @βalexander-akait in #β22147)
Fold more enumerated attribute values and drop those naming no keyword. (by @βalexander-akait in #β22148)
Halve the CSS minifier's browser-version tables by narrowing their element type. (by @βalexander-akait in #β22140)
Make each
optimization.minimize.cssswitch govern its own rewrite alone. (by @βalexander-akait in #β22140)Join the rules a top-level
@layergather leaves meeting at the seam. (by @βalexander-akait in #β22140)Gather a CSS layer past a rule that writes only a different one. (by @βalexander-akait in #β22154)
Order HTML attributes by what reaches the output, and read values decoded. (by @βalexander-akait in #β22146)
Drop a fallback declaration every
browserslisttarget reads past. (by @βalexander-akait in #β22158)Fix module library exports lost under cache or missing behind a re-export. (by @βhai-x in #β22114)
v5.111.0Compare Source
Minor Changes
Enable
output.moduleby default withfutureDefaultson ESM-capable targets. (by @βalexander-akait in #β22088)Remove
experiments.outputModule, setoutput.moduleto emit ESM instead. (by @βalexander-akait in #β22011)Add
output.copyto copy files and directories into the output directory. (by @βalexander-akait in #β21938)Accept a file URL in any spelling Node reads where an absolute path is taken. (by @βalexander-akait in #β22012)
Minify inline CSS and JSON via
renderEmbeddedSource, exporting webpack's own. (by @βalexander-akait in #β21993)Export
cssMinifyandhtmlMinifyoncss.syntaxandhtml.syntax. (by @βalexander-akait in #β21953)Make
processResultasync and let a tap rename the asset it rewrote. (by @βalexander-akait in #β21854)Lower a CSS spelling a target cannot read and write a color fallback before one. (by @βalexander-akait in #β21926)
Allow optional filesystem cache build dependencies. (by @βxiaoxiaojx in #β21849)
Add
output.environment.topLevelAwaitand await every async ESM entry. (by @βalexander-akait in #β21915)Add
unusedSymbolsandpseudoClasses, and evaluate a CSS color function. (by @βalexander-akait in #β21927)Drop an implied shorthand slot, fold a math function, tighten color conversion. (by @βalexander-akait in #β21929)
Add
module.parser.javascript.specNamespaceObjectfor spec namespace objects. (by @βalexander-akait in #β22049)Drop what is already said or only a gone engine reads, add
lowerUnsupported. (by @βalexander-akait in #β21931)Add
normalizeUrlAttributes,mergeScripts, boolean and token switches. (by @βalexander-akait in #β21960)Minify an event handler attribute, and name the production each script body is. (by @βalexander-akait in #β21968)
Add source-map, asset, module, bailout, federation hints; group config checks. (by @βalexander-akait in #β21961)
Lower CSS nesting,
:dir()and custom at-rules; gate case folding and escapes. (by @βalexander-akait in #β21950)Add
optimization.minimize.css.mergeDistantRulesto join rules across a gap. (by @βalexander-akait in #β21969)Patch Changes
Minify an embedded body through the embedded path, dropping three html options. (by @βalexander-akait in #β21936)
Take a minified
styleattribute's answer whatever quoting it needs. (by @βalexander-akait in #β21936)Name chunk imports in the chunk loader, not at each import site. (by @βalexander-akait in #β22076)
Repair hashed names; under HMR bake hashed url maps and reload moved css names. (by @βalexander-akait in #β21916)
Enable
output.moduleformoduleandmodern-modulelibrary types. (by @βalexander-akait in #β22071)Name an anonymous
export default classbefore its static initializers run. (by @βalexander-akait in #β21910)Throw on a non-optional read past an undefined
DefinePluginmember. (by @βalexander-akait in #β22017)Reject a fulfilled async cycle member with the cycle's evaluation error. (by @βalexander-akait in #β21921)
Escape external requests in generated ESM imports and star reexports. (by @βbjohansebas in #β22078)
Fix stack overflows in ESM library star reexport cycles with externals. (by @βbjohansebas in #β22080)
Preserve live bindings when reexporting external ESM exports. (by @βbjohansebas in #β22082)
Use configured external requests in ESM star reexports; reject property paths. (by @βbjohansebas in #β22079)
Preserve import attributes on ESM library star reexports of externals. (by @βbjohansebas in #β22081)
Fail the build when a runtime module's code generation throws while hashing. (by @βalexander-akait in #β22034)
Settle a css chunk load without a DOM where its stylesheet cannot be read. (by @βalexander-akait in #β21970)
Await a deferred import's async dependency that is evaluating-async. (by @βalexander-akait in #β21934)
Keep a color the CSS minifier would round where its channels are read back. (by @βalexander-akait in #β21923)
Refresh a cached module's
resolveOptionsfrom the factory, not the pack. (by @βhai-x in #β21945)Read a
<script type>decoded, so a reference-spelled type is minified. (by @βalexander-akait in #β21933)Read the extension out of a path-scoped rule's alternation, class or braces. (by @βalexander-akait in #β21946)
Keep an HTML attribute name or list token holding a foreign template delimiter. (by @βalexander-akait in #β22018)
Answer a name a module does not export from the spec namespace. (by @βalexander-akait in #β22092)
Give a deferred namespace the spec's exotic shape when the exports are known. (by @βalexander-akait in #β21939)
Give a JSON, text or CommonJS namespace the spec's exotic shape and identity. (by @βalexander-akait in #β22087)
Report a missing asset instead of a code generation deadlock. (by @βalexander-akait in #β21992)
Keep a concatenated CommonJS reference a separate statement, guarding it once. (by @βalexander-akait in #β21962)
Keep CSS module exports for a direct loader
importModule()call. (by @βalexander-akait in #β22047)Fix
import.metaandrequire.main, and scope-hoistimport.meta.main. (by @βalexander-akait in #β21973)Honor
resolve.fileSystemand say wheremodule.exprContextCriticalmoved. (by @βalexander-akait in #β22091)Release stale compilation data from nested children and idle watch builds. (by @βalexander-akait in #β22096)
Resolve a
@valueonce and then localize it, wherever it names an identifier. (by @βalexander-akait in #β22036)Release the printed-text store's text when the CSS printer drops it. (by @βalexander-akait in #β21958)
Skip a foreign dependency whose
isLazyis a flag when walking a lazy barrel. (by @βalexander-akait in #β21998)Move diagnostics to
buildInfo.diagnostics, persisting parse-time bailouts. (by @βhai-x in #β22055)Invalidate consumer codegen when an inlined export value changes. (by @βxiaoxiaojx in #β22020)
Rebuild DelegatedModule when DLL manifest metadata changes. (by @βxiaoxiaojx in #β22028)
Keep a CSS layer's blocks in order where one of them streams. (by @βalexander-akait in #β22044)
Refuse inlining const exports across sync cycles with binding reads. (by @βxiaoxiaojx in #β22085)
Escape a text run ending in
</, which the tag after it made a comment of. (by @βaryanraj45 in #β22086)Skip JS render sentinel scans on chunks without HTML. (by @βxiaoxiaojx in #β21974)
Minify an attribute by what its value says, not by how the source spelled it. (by @βaryanraj45 in #β22095)
Cut allocation and scanning in the CSS and HTML printers, output unchanged. (by @βalexander-akait in #β21997)
Emit less chunk-loading runtime. (by @βalexander-akait in #β22094)
Recognize the reflected attributes of
frame,frameset,marqueeanddir. (by @βalexander-akait in #β22003)Drop the
neo-asyncdependency in favor of a faster built-in async helper. (by @βalexander-akait in #β21959)Speed up cache serialization by cutting per-object lookups and call frames. (by @βalexander-akait in #β21994)
Update dependencies and match the
ReadFileSynctype to Node.js typings. (by @βdependabot in #β21919)Match acorn on
**arrows, LS/PS cooking, string export names,programreuse. (by @βalexander-akait in #β21666)Parse a regexp literal the running engine cannot build, and keep locations. (by @βalexander-akait in #β22009)
Parse without acorn, serialize parse-error locations, trim walker allocations. (by @βalexander-akait in #β21667)
Drop the
acorndependency in favor of webpack's own JavaScript parser. (by @βalexander-akait in #β22042)Name HTML chunks after their tags' urls, drop the JS copy, type
text/html. (by @βalexander-akait in #β22008)v5.110.3Compare Source
Patch Changes
Fix
import()options, circular reexport severity and namespace writes. (by @βalexander-akait in #β21867)Skip ESM interop when require() targets a module outside the concatenation. (by @βhai-x in #β21884)
Fix concatenated
require()in arequire.ensurecallback or a computed request. (by @βhai-x in #β21907)Keep
optimization.minimizea boolean; its options move tominimizeOptions. (by @βalexander-akait in #β21886)Fix mangled exports read through require() and a leaked internal reference. (by @βalexander-akait in #β21905)
Fix
newon a default import of a wrapped CommonJS module. (by @βalexander-akait in #β21876)Throw when a deferred namespace of an async module is forced while it evaluates. (by @βalexander-akait in #β21871)
Do not report a missing export for a name a side-effect-free barrel defers. (by @βalexander-akait in #β21874)
Fix queue, URL scheme, dotenv, HTTP module and persistent cache edge cases. (by @βalexander-akait in #β21901)
Evaluate a deferred import's async dependencies where the import sits. (by @βalexander-akait in #β21902)
Omit ambiguous
export *names from the module namespace. (by @βalexander-akait in #β21878)v5.110.2Compare Source
Patch Changes
Fix analyzable ESM baking around cycles, mixed-served wasm and style url maps. (by @βalexander-akait in #β21851)
Minify more HTML and CSS shorthands, and cut two costs off printing. (by @βalexander-akait in #β21842)
Report a named import that is never read when it names a missing export. (by @βalexander-akait in #β21856)
Fix ESM circular reexports, cyclic const TDZ, and defer evaluation order. (by @βalexander-akait in #β21852)
Stop
output.htmlemitting an unused JS chunk for each generated page. (by @βalexander-akait in #β21859)Stop emitting the CSS chunk loading runtime when every CSS chunk is initial. (by @βalexander-akait in #β21862)
Strip a BOM a loader put on a string, and shift a source map that counted it. (by @βalexander-akait in #β21857)
v5.110.1Compare Source
Patch Changes
Fix a capture-group-less
snapshot.managedPathsRegExp; speed up cache writes. (by @βalexander-akait in #β21843)Throw
SyntaxError, orWebAssembly.CompileError, from an unparsable module. (by @βalexander-akait in #β21847)Accept the
optimization.minimize: trueshorthand set by a plugin inapply(). (by @βAgentEnder in #β21845)v5.110.0Compare Source
Minor Changes
Wrap concatenated modules in lazy
__webpack_require__.cwaccessors and inlinerequire(), keeping a wrapped body's names and side effects intact. (by @βhai-x in #β21519)Add performance hints reporting what a build costs: duplicate packages and modules, circular dependencies, broad contexts, large modules and chunks, hotspots,
eval, missing PURE annotations, polyfills, redundant dynamic imports, OS-dependent rules, cache effectiveness, how chunks load, what splitting refused, why an optimization was skipped, and rules, defines, externals, aliases and barrel reexports nothing uses. An oversized asset names its largest modules, and an entrypoint carrying the runtime recommendsoptimization.runtimeChunk. Enable every check not set individually withperformance.all, report hints in stats only withperformance.hints: "stats", and get them in a stable order that leaves the build hashes unchanged. (by @βalexander-akait in #β21841)Add the
descriptionRelativePathmodule rule condition. (by @βalexander-akait in #β21705)Add OS-independent
globmatching to module rules. (by @βalexander-akait in #β21771)Report inner-graph, AMD and bare
modulebailouts inoptimizationBailout. (by @βalexander-akait in #β21740)Allow marking externals as side-effect-free with a
sideEffectsflag. (by @βalexander-akait in #β21712)Give externals the original request of a context module element. (by @βalexander-akait in #β21780)
Add the
externalsPresets.nodeModulespreset with anallowlistoption to externalize installed packages, replacing thewebpack-node-externalsplugin. (by @βalexander-akait in #β21569)Add
output.library.umdAmdContainerfor an AMD-style loader branch in UMD. (by @βhai-x in #β21770)Resolve
@custom-mediavalues that aretrue/falseor name another custom media. (by @βalexander-akait in #β21624)Add the
__webpack_css_server_styles__module variable to read the CSS collected while rendering without a DOM, and keep that CSS in the order the styles were applied. (by @βalexander-akait in #β21576)Patch the HTML
<head>in place on hot update instead of forcing a full reload, including when a<script>that never executed is removed. (by @βalexander-akait in #β21624)Scope counter names in CSS modules; fix the
counter()counter-style andanimationtimeline keywords. (by @βalexander-akait in #β21600)Derive
import defer/import sourcefrom the target and fix the source phase. (by @βalexander-akait in #β21810)Emit analyzable ESM urls for chunks, assets, styles, workers and wasm. (by @βalexander-akait in #β21788)
Tree shake CommonJS:
module.exportsobject literals, exports destructured from arequire()binding, unused method requires, and unused side-effect-freerequire()calls and reexports. (by @βalexander-akait in #β21841)Resolve relative entry
baseUrivalues and bake one side of a hash cycle. (by @βalexander-akait in #β21750)Minify CSS further, only where the document is unchanged: shorthands and box longhands,
font-weight,<position>andfont-stretchkeywords, colors (polar, Lab andhsl()converted to hex), numbers, times, zero units,calc()and every math function the spec names folded over constants, selector lists, An+B, keyframe selectors, media-feature ranges,unicode-range,transitionlayers,display, transforms, gradients, font families, identical repeated declarations, and rules an identical later one makes dead. Abilities are read off the target browsers,vendorPrefixesadds and drops vendor prefixes for them, andrewriteCustomPropertiesshortens custom property values. Minification never changes whether a declaration parses, and beautifying keeps every rule. (by @βalexander-akait in #β21841)Safely minify CSS (with source maps) and HTML assets when
optimization.minimizeis enabled, unless a minimizer is already configured for them, making only transformations an engine cannot tell apart. Every rewrite is named as an option, so it can be switched off. (by @βalexander-akait in #β21841)Minify HTML further where the parsed document is unchanged: drop redundant quotes, whitespace nothing renders, escapes text does not need, implied tags, optional end tags nothing prints behind, empty attributes and nested empty elements; fold enumerated values and casing; normalize each attribute against the element it is on; and rewrite
style, token lists,srcset,sizes, URL, integer and boolean attributes, viewportcontent, inline<style>and a JSON<script>body through their own grammars. Adds theoptimization.minimize.htmloptionscollapseWhitespace,mergeStyles,minifyConditionalComments,minifySrcdoc,preserveComments,removeEmptyAttributes,removeEmptyElements,removeImpliedTags,removeRedundantAttributes,sortAttributesandsortTokenLists, and keeps an end tag the parent, the next element or the adoption agency would otherwise restructure the tree over. (by @βalexander-akait in #β21841)Suggest the closest name or a casing fix anywhere in a failed request. (by @βalexander-akait in #β21727)
Add aggregated
shutdownhook toMultiCompiler. (by @βbjohansebas in #β21578)Report which compilers changed on the MultiCompiler
donehook. (by @βbjohansebas in #β21580)Add
[containedpath]/[containedfile]placeholders, used for[path]/[file]of asset and html modules withexperiments.futureDefaults. (by @βalexander-akait in #β21592)Support an object for an entry's
htmlthat overridesoutput.htmlper option. (by @βalexander-akait in #β21574)Configure or exclude each asset type's minifier via
optimization.minimize. (by @βalexander-akait in #β21663)Support printing CSS and HTML beautified as well as minified. (by @βalexander-akait in #β21660)
Add
renderEmbeddedSource, and minify what it offers out of the box. (by @βalexander-akait in #β21830)Report bindings named
eval,argumentsor reserved words in ES module output. (by @βalexander-akait in #β21567)Emit no development source map for module libraries, or any with futureDefaults. (by @βalexander-akait in #β21839)
Speed up builds and cut memory: faster CSS, HTML and JavaScript parsing and minification, a built-in scope analyzer replacing
eslint-scope, faster dependency hot paths, module diagnostics, CommonJS export scanning and concatenated module renaming, runtime modules, parsers, generators and dependencies loaded only when used, one file watcher pool shared between MultiCompiler children, and lower parser, graph and startup memory. (by @βalexander-akait in #β21841)Improve tree-shaking for a namespace reexported as default, and fix
import d from "./mod"; d.memberreadingundefinedin that case. (by @βalexander-akait in #β21841)Warn on cross-kind CSS module export conflicts and let the class win. (by @βalexander-akait in #β21538)
Add
output.resourceHints.dedupeto skip prefetch links for already preloaded/prefetched chunks. (by @βalexander-akait in #β21386)Patch Changes
Let a memory-cache etag mismatch fall through to the file cache instead of reporting a miss. (by @βalexander-akait in #β21624)
Determine provided exports in dependency order, so a build's module hashes no longer depend on what the persistent cache held. (by @βalexander-akait in #β21630)
Emit no dead module and no failing require for an
asset-urlexternal. (by @βalexander-akait in #β21713)Fix names, hidden devtools and cache reuse for CSS maps inlined into JS. (by @βalexander-akait in #β21558)
Follow the HTML spec more closely when parsing and printing: frameset content, quirks paragraphs and selects,
<![CDATA[outside foreign content as a bogus comment,<?target data?>as a processing instruction,</>dropped, comment data and DOCTYPE identifiers read from the tokenizer states, attributes merged from a repeated<html>/<body>tag, legacy JavaScript script types, voidkeygenand font format detection β and hand back the tree a parsed document was built from when printing it. (by @βalexander-akait in #β21841)Clear a
Watching'sblockedflag when its build starts, so it reports only a child actually waiting for its MultiCompiler parent. (by @βbjohansebas in #β21639)Fix AMD
define()output using the wrong module and exports argument names. (by @βhai-x in #β21814)Fix
ReferenceErrorfromimport.meta.mainusing the wrong module argument. (by @βhai-x in #β21620)Leave a
@namespaceURI alone instead of resolving and rewriting it as an asset. (by @βalexander-akait in #β21658)Resolve escaped CSS names, and scope a grid area cell name as one name. (by @βalexander-akait in #β21665)
Track exports usage of side-effect-free modules an active import() evaluates. (by @βhai-x in #β21623)
Resolve absolute symlink targets and treat an unreadable context as missing. (by @βalexander-akait in #β21647)
Fix corrupted icon URLs in a
.webmanifestwith a BOM or non-ASCII text. (by @βalexander-akait in #β21655)Respect
strictThisContextOnImportsforrequire()member calls. (by @βhai-x in #β21601)Fix
import.meta,[object Object]asset urls and crashes in build-time executed modules. (by @βalexander-akait in #β21841)Inherit sideEffects past a type-only nested package.json for files under node_modules. (by @βxiaoxiaojx in #β21686)
Do not fail directory creation when the file system reports it already exists. (by @βalexander-akait in #β21698)
Fix top-level
usingandawait usingdeclarations in modules. (by @βalexander-akait in #β21557)Fix
DefinePluginoptional chains reading an undefined object member. (by @βlazerg in #β21823)Fix MultiCompiler: compute the common
outputPathby whole path segments, run again after a dependency validation failure, and recover watch mode from a fatal child error without leaking watchings. (by @βalexander-akait in #β21841)Keep a nested bundle's runtime tables separate when bundling webpack output. (by @βalexander-akait in #β21568)
Keep the runtime out of strict mode when
output.globalObjectreadsthis. (by @βalexander-akait in #β21715)Run an even-priority
__webpack_require__.Ohandler without waiting. (by @βalexander-akait in #β21803)Treat top-level
thisin a classic worker entry as its global scope. (by @βalexander-akait in #β21720)Rehash runtime modules whose code changes under a content-named filename. (by @βalexander-akait in #β21828)
Fix namespace object reexports and string export names in module library output and emit a CommonJS entry's default as
export default. (by @βalexander-akait in #β21589)Keep tree-shaken JSON arrays as arrays when a prototype property is read. (by @βhai-x in #β21599)
Generate every CSS and HTML lookup table into
lib/{css,html}/data.jsfrommdn-data,color-nameand the spec IDL β including the value-type facts read out of the CSS value-definition grammars β leaving bothsyntax.jsfiles algorithm only. (by @βalexander-akait in #β21841)Support UNC paths in module and context replacement plugins. (by @βavivkeller in #β21645)
Emit less runtime code: shorter syntax where
output.environmentallows, no IIFE for aRuntimeModulewithout locals, no unread__webpack_esm_id__andexports.idchunk exports, and an ESM entry chunk installing its own modules from its local bindings instead of importing itself. (by @βalexander-akait in #β21841)Release the compilation and file system caches retained after
compiler.close(). (by @βalexander-akait in #β21603)v5.109.2Compare Source
Patch Changes
Resolve aliases pointing at a package directory whose name ends with
.jsagain. (by @βalexander-akait in #β21542)Name CSS sources in source maps by their resource path, without the
cssprefix. (by @βbjohansebas in #β21536)Delete no longer referenced files from the filesystem cache directory after storing the cache, age them by recorded time so restored caches are cleaned too, and collect every fully expired pack in one store instead of one per build. (by @βbjohansebas in #β21528)
Report
"universal"as the loader context target for the universal target. (by @βalexander-akait in #β21540)Skip
require().propin dead branches gated by inlined imported constants. (by @βhai-x in #β21517)Annotate configuration options and public hooks in the generated types with the
@sinceJSDoc tag. (by @βbjohansebas in #β21473)v5.109.1Compare Source
Patch Changes
Fix stray semicolon emitted before an imported call following a parenthesized sequence element. (by @βalexander-akait in #β21533)
Make
require(esm)module.exportsre-export analysis independent of module processing order. (by @βalexander-akait in #β21521)Ignore ERR_SERVER_NOT_RUNNING on lazy-compilation backend dispose so
compiler.close()succeeds on Bun. (by @βalexander-akait in #β21521)Name the failing key when DefinePlugin fails to evaluate a
typeofvalue. (by @βalexander-akait in #β21503)Improve Deno compatibility: guard
setNoDelayand force-close connections on lazy-compilation backend dispose, and return a realArrayBufferfrom the Node async/sync wasm loader soWebAssembly.instantiateaccepts it. (by @βalexander-akait in #β21524)Speed up the HTML parser and cut its peak memory: module-scope helpers/state and tokenizer callbacks, plus exact AST column pre-sizing. (by @βalexander-akait in #β21492)
Track CommonJS build dependencies by parsing sources when
require.cachechildren are unavailable (e.g. Bun). (by @βalexander-akait in #β21531)Cook common string-literal escapes on the JS parser fast path and own the tokenizer's cold-path readers. (by @βalexander-akait in #β21500)
Build the CSS
parseA*AST on the SoA store instead of node classes, cutting parse memory and time. (by @βalexander-akait in #β21498)Speed up and cut memory of the experimental CSS and HTML parsers: drop two derivable AST node columns, and scan long string, url, comment, and plaintext token bodies natively. (by @βalexander-akait in #β21504)
Speed up non-modules CSS parsing: skip redundant token re-reads, drop selector-prelude tokens without materializing nodes, allocate rule preludes lazily, and fast-path empty list seals. (by @βalexander-akait in #β21511)
Speed up stats generation and cut its peak memory: reuse cached sort comparators instead of thrashing the comparator caches on every sort, and drop redundant module-graph lookups and allocations in the extractors. (by @βalexander-akait in #β21506)
Speed up CSS parsing: byte-range function-name checks, indexed sibling lookahead. (by @βbjohansebas in #β21520)
Reduce allocations and redundant work across the code-generation, module-concatenation, exports/usage-analysis, hashing, and chunk-splitting hot paths. (by @βalexander-akait in #β21516)
Enable the Node.js compile cache in the webpack CLI entry point. (by @βbjohansebas in #β21523)
Encode the persistent cache with V8's value serializer. (by @βavivkeller in #β21514)
Speed up SplitChunksPlugin: reject non-subset chunk sets with 64-bit signatures, cache unnamed entry keys, and drop per-module closures. (by @βavivkeller in #β21529)
Initialize
NormalModule._astin the constructor so each instance keeps a single hidden-class shape. (by @βalexander-akait in #β21515)Reduce allocations in the binary serialization hot paths. (by @βalexander-akait in #β21526)
Deduplicate and simplify several lib modules and speed up AggressiveMergingPlugin. (by @βalexander-akait in #β21525)
Rename nested
const/let __webpack_require__and__webpack_exports__declarations in bundled webpack output. (by @βhai-x in #β21508)v5.109.0Compare Source
Minor Changes
Default
experiments.typescriptto"auto", enabling built-in TypeScript support on Node.js >= 22.6 when no TypeScript loader is registered. (by @βalexander-akait in #β21398)Default
experiments.css,experiments.htmlandexperiments.asyncWebAssemblyto"auto", enabling built-in support unless a loader is registered for those files; modules with inline or hookConfiguration
π Schedule: (UTC)
π¦ 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.
This PR was generated by Mend Renovate. View the repository job log.