Commit af22f2b
authored
chore(deps-dev): Bump webpack from 5.105.2 to 5.105.4 (#2761)
Bumps [webpack](https://github.com/webpack/webpack) from 5.105.2 to
5.105.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/webpack/webpack/releases">webpack's
releases</a>.</em></p>
<blockquote>
<h2>v5.105.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p>Add <code>Module.getSourceBasicTypes</code> to distinguish basic
source types and clarify how modules with non-basic source types like
<code>remote</code> still produce JavaScript output. (by <a
href="https://github.com/xiaoxiaojx"><code>@xiaoxiaojx</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20546">#20546</a>)</p>
</li>
<li>
<p>Handle <code>createRequire</code> in expressions. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20549">#20549</a>)</p>
</li>
<li>
<p>Fixed types for multi stats. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20556">#20556</a>)</p>
</li>
<li>
<p>Remove empty needless js output for normal css module. (by <a
href="https://github.com/JSerFeng"><code>@JSerFeng</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20162">#20162</a>)</p>
</li>
<li>
<p>Update <code>enhanced-resolve</code> to support new features for
<code>tsconfig.json</code>. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20555">#20555</a>)</p>
</li>
<li>
<p>Narrows export presence guard detection to explicit existence checks
on namespace imports only, i.e. patterns like "x" in ns. (by
<a href="https://github.com/hai-x"><code>@hai-x</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20561">#20561</a>)</p>
</li>
</ul>
<h2>v5.105.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p>Context modules now handle rejections correctly. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20455">#20455</a>)</p>
</li>
<li>
<p>Only mark asset modules as side-effect-free when
<code>experimental.futureDefaults</code> is set to true, so
asset-copying use cases (e.g. <code>import "./x.png"</code>)
won’t break unless the option is enabled. (by <a
href="https://github.com/hai-x"><code>@hai-x</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20535">#20535</a>)</p>
</li>
<li>
<p>Add the missing <strong>webpack_exports</strong> declaration in
certain cases when bundling a JS entry together with non-JS entries
(e.g., CSS entry or asset module entry). (by <a
href="https://github.com/hai-x"><code>@hai-x</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20463">#20463</a>)</p>
</li>
<li>
<p>Fixed HMR failure for CSS modules with <a
href="https://github.com/import"><code>@import</code></a> when
exportType !== "link". When exportType is not
"link", CSS modules now behave like JavaScript modules and
don't require special HMR handling, allowing <a
href="https://github.com/import"><code>@import</code></a> CSS to work
correctly during hot module replacement. (by <a
href="https://github.com/xiaoxiaojx"><code>@xiaoxiaojx</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20514">#20514</a>)</p>
</li>
<li>
<p>Fixed an issue where empty JavaScript files were generated for
CSS-only entry points. The code now correctly checks if entry modules
have JavaScript source types before determining whether to generate a JS
file. (by <a
href="https://github.com/xiaoxiaojx"><code>@xiaoxiaojx</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20454">#20454</a>)</p>
</li>
<li>
<p>Do not crash when a referenced chunk is not a runtime chunk. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20461">#20461</a>)</p>
</li>
<li>
<p>Fix some types. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20412">#20412</a>)</p>
</li>
<li>
<p>Ensure that missing module error are thrown after the interception
handler (if present), allowing module interception to customize the
module factory. (by <a
href="https://github.com/hai-x"><code>@hai-x</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20510">#20510</a>)</p>
</li>
<li>
<p>Added <code>createRequire</code> support for ECMA modules. (by <a
href="https://github.com/stefanbinoj"><code>@stefanbinoj</code></a> in
<a
href="https://redirect.github.com/webpack/webpack/pull/20497">#20497</a>)</p>
</li>
<li>
<p>Added category for CJS reexport dependency to fix issues with ECMA
modules. (by <a href="https://github.com/hai-x"><code>@hai-x</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20444">#20444</a>)</p>
</li>
<li>
<p>Implement immutable bytes for <code>bytes</code> import attribute to
match tc39 spec. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20481">#20481</a>)</p>
</li>
<li>
<p>Fixed deterministic search for graph roots regardless of edge order.
(by <a href="https://github.com/veeceey"><code>@veeceey</code></a> in
<a
href="https://redirect.github.com/webpack/webpack/pull/20452">#20452</a>)</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/webpack/webpack/blob/main/CHANGELOG.md">webpack's
changelog</a>.</em></p>
<blockquote>
<h2>5.105.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p>Add <code>Module.getSourceBasicTypes</code> to distinguish basic
source types and clarify how modules with non-basic source types like
<code>remote</code> still produce JavaScript output. (by <a
href="https://github.com/xiaoxiaojx"><code>@xiaoxiaojx</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20546">#20546</a>)</p>
</li>
<li>
<p>Handle <code>createRequire</code> in expressions. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20549">#20549</a>)</p>
</li>
<li>
<p>Fixed types for multi stats. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20556">#20556</a>)</p>
</li>
<li>
<p>Remove empty needless js output for normal css module. (by <a
href="https://github.com/JSerFeng"><code>@JSerFeng</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20162">#20162</a>)</p>
</li>
<li>
<p>Update <code>enhanced-resolve</code> to support new features for
<code>tsconfig.json</code>. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20555">#20555</a>)</p>
</li>
<li>
<p>Narrows export presence guard detection to explicit existence checks
on namespace imports only, i.e. patterns like "x" in ns. (by
<a href="https://github.com/hai-x"><code>@hai-x</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20561">#20561</a>)</p>
</li>
</ul>
<h2>5.105.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p>Context modules now handle rejections correctly. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20455">#20455</a>)</p>
</li>
<li>
<p>Only mark asset modules as side-effect-free when
<code>experimental.futureDefaults</code> is set to true, so
asset-copying use cases (e.g. <code>import "./x.png"</code>)
won’t break unless the option is enabled. (by <a
href="https://github.com/hai-x"><code>@hai-x</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20535">#20535</a>)</p>
</li>
<li>
<p>Add the missing <strong>webpack_exports</strong> declaration in
certain cases when bundling a JS entry together with non-JS entries
(e.g., CSS entry or asset module entry). (by <a
href="https://github.com/hai-x"><code>@hai-x</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20463">#20463</a>)</p>
</li>
<li>
<p>Fixed HMR failure for CSS modules with <a
href="https://github.com/import"><code>@import</code></a> when
exportType !== "link". When exportType is not
"link", CSS modules now behave like JavaScript modules and
don't require special HMR handling, allowing <a
href="https://github.com/import"><code>@import</code></a> CSS to work
correctly during hot module replacement. (by <a
href="https://github.com/xiaoxiaojx"><code>@xiaoxiaojx</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20514">#20514</a>)</p>
</li>
<li>
<p>Fixed an issue where empty JavaScript files were generated for
CSS-only entry points. The code now correctly checks if entry modules
have JavaScript source types before determining whether to generate a JS
file. (by <a
href="https://github.com/xiaoxiaojx"><code>@xiaoxiaojx</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20454">#20454</a>)</p>
</li>
<li>
<p>Do not crash when a referenced chunk is not a runtime chunk. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20461">#20461</a>)</p>
</li>
<li>
<p>Fix some types. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20412">#20412</a>)</p>
</li>
<li>
<p>Ensure that missing module error are thrown after the interception
handler (if present), allowing module interception to customize the
module factory. (by <a
href="https://github.com/hai-x"><code>@hai-x</code></a> in <a
href="https://redirect.github.com/webpack/webpack/pull/20510">#20510</a>)</p>
</li>
<li>
<p>Added <code>createRequire</code> support for ECMA modules. (by <a
href="https://github.com/stefanbinoj"><code>@stefanbinoj</code></a> in
<a
href="https://redirect.github.com/webpack/webpack/pull/20497">#20497</a>)</p>
</li>
<li>
<p>Added category for CJS reexport dependency to fix issues with ECMA
modules. (by <a href="https://github.com/hai-x"><code>@hai-x</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20444">#20444</a>)</p>
</li>
<li>
<p>Implement immutable bytes for <code>bytes</code> import attribute to
match tc39 spec. (by <a
href="https://github.com/alexander-akait"><code>@alexander-akait</code></a>
in <a
href="https://redirect.github.com/webpack/webpack/pull/20481">#20481</a>)</p>
</li>
<li>
<p>Fixed deterministic search for graph roots regardless of edge order.
(by <a href="https://github.com/veeceey"><code>@veeceey</code></a> in
<a
href="https://redirect.github.com/webpack/webpack/pull/20452">#20452</a>)</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/webpack/webpack/commit/27c13b44c861908793f160f9f7413b32543c0522"><code>27c13b4</code></a>
chore(release): new release (<a
href="https://redirect.github.com/webpack/webpack/issues/20550">#20550</a>)</li>
<li><a
href="https://github.com/webpack/webpack/commit/9b2f41ee98e01a9265c430d2c52fa6a9db0e177a"><code>9b2f41e</code></a>
chore: bump terser plugin (<a
href="https://redirect.github.com/webpack/webpack/issues/20569">#20569</a>)</li>
<li><a
href="https://github.com/webpack/webpack/commit/eafe0605b018dd4e19a46d45fb5d72442772aff1"><code>eafe060</code></a>
fix: narrow the export presence guard detection (<a
href="https://redirect.github.com/webpack/webpack/issues/20561">#20561</a>)</li>
<li><a
href="https://github.com/webpack/webpack/commit/75d605cb57b23257ee88f99ada7938273ea3a1ff"><code>75d605c</code></a>
refactor: add AppendOnlyStackedSet iteration support and tests (<a
href="https://redirect.github.com/webpack/webpack/issues/20560">#20560</a>)</li>
<li><a
href="https://github.com/webpack/webpack/commit/afa607d0967f6b0259bfe9f62d99ef97db64bdac"><code>afa607d</code></a>
refactor: remove unused code (<a
href="https://redirect.github.com/webpack/webpack/issues/20562">#20562</a>)</li>
<li><a
href="https://github.com/webpack/webpack/commit/40989026fa542ceffa2821e5d25ae0d87c0bd09b"><code>4098902</code></a>
test: add source files for web-webworker and
web-webworker-auto-public-path (...</li>
<li><a
href="https://github.com/webpack/webpack/commit/f97be67fdd3c59acff2c0da7dd9f04835b037e4c"><code>f97be67</code></a>
refactor: fix duplicated word in Compilation JSDoc (<a
href="https://redirect.github.com/webpack/webpack/issues/20547">#20547</a>)</li>
<li><a
href="https://github.com/webpack/webpack/commit/9d76fff9f645d194c293f12dadf029173e9ed1d1"><code>9d76fff</code></a>
refactor: add Module.getSourceBasicTypes for basic JS type detection (<a
href="https://redirect.github.com/webpack/webpack/issues/20546">#20546</a>)</li>
<li><a
href="https://github.com/webpack/webpack/commit/a3d7839376784b2e44987b77f7d6bcc2ed3a0bdc"><code>a3d7839</code></a>
fix: types for multi stats (<a
href="https://redirect.github.com/webpack/webpack/issues/20556">#20556</a>)</li>
<li><a
href="https://github.com/webpack/webpack/commit/b8e9b057bebccf6268d9b348bc23b056c66a067b"><code>b8e9b05</code></a>
fix: update <code>enhanced-resolve</code> to support new features for
<code>tsconfig.json</code> (#...</li>
<li>Additional commits viewable in <a
href="https://github.com/webpack/webpack/compare/v5.105.2...v5.105.4">compare
view</a></li>
</ul>
</details>
<br />
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent dd18ec9 commit af22f2b
1 file changed
Lines changed: 28 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments