Skip to content

Commit

Permalink
chore(deps-dev): bump css-loader from 6.10.0 to 7.1.1 (#483)
Browse files Browse the repository at this point in the history
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from
6.10.0 to 7.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/webpack-contrib/css-loader/releases">css-loader's
releases</a>.</em></p>
<blockquote>
<h2>v7.1.1</h2>
<h3><a
href="https://github.com/webpack-contrib/css-loader/compare/v7.1.0...v7.1.1">7.1.1</a>
(2024-04-10)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>automatically rename class <code>default</code> to
<code>_default</code> when named export is enabled (<a
href="https://redirect.github.com/webpack-contrib/css-loader/issues/1590">#1590</a>)
(<a
href="https://github.com/webpack-contrib/css-loader/commit/d6c31a17a0dde3e2bcf2b5e55f913c3645d32868">d6c31a1</a>)</li>
</ul>
<h2>v7.1.0</h2>
<h2><a
href="https://github.com/webpack-contrib/css-loader/compare/v7.0.0...v7.1.0">7.1.0</a>
(2024-04-08)</h2>
<h3>Features</h3>
<ul>
<li>added the <code>getJSON</code> option to output CSS modules mapping
(<a
href="https://redirect.github.com/webpack-contrib/css-loader/issues/1577">#1577</a>)
(<a
href="https://github.com/webpack-contrib/css-loader/commit/af834b43b375f336108d74ff7bd9ed13bc79200a">af834b4</a>)</li>
</ul>
<h2>v7.0.0</h2>
<h2><a
href="https://github.com/webpack-contrib/css-loader/compare/v6.11.0...v7.0.0">7.0.0</a>
(2024-04-04)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li>The <code>modules.namedExport</code> option is <code>true</code> by
default if you enable the <code>esModule</code> option</li>
</ul>
<p>Migration guide:</p>
<p>Before:</p>
<pre lang="js"><code>import style from &quot;./style.css&quot;;
<p>console.log(style.myClass);
</code></pre></p>
<p>After:</p>
<pre lang="js"><code>import * as style from &quot;./style.css&quot;;
<p>console.log(style.myClass);
</code></pre></p>
<ul>
<li>The <code>modules.exportLocalsConvention</code> has the value
<code>as-is</code> when the <code>modules.namedExport</code> option is
<code>true</code> and you don't specify a value</li>
<li>Minimum supported webpack version is <code>5.27.0</code></li>
<li>Minimum supported Node.js version is <code>18.12.0</code></li>
</ul>
<h3>Features</h3>
<ul>
<li>The <code>modules.namedExports</code> option works fine with any
<code>modules.exportLocalsConvention</code> values (<a
href="https://github.com/webpack-contrib/css-loader/commit/f96a11007da55a632de7f58167895e1b5814d717">f96a110</a>)</li>
<li>Added dashed variants for the
<code>modules.exportLocalsConvention</code> options (<a
href="https://github.com/webpack-contrib/css-loader/commit/40e1668b8366f0df63343efe706ba848c2b5dfb2">40e1668</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md">css-loader's
changelog</a>.</em></p>
<blockquote>
<h3><a
href="https://github.com/webpack-contrib/css-loader/compare/v7.1.0...v7.1.1">7.1.1</a>
(2024-04-10)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>automatically rename class <code>default</code> to
<code>_default</code> when named export is enabled (<a
href="https://redirect.github.com/webpack-contrib/css-loader/issues/1590">#1590</a>)
(<a
href="https://github.com/webpack-contrib/css-loader/commit/d6c31a17a0dde3e2bcf2b5e55f913c3645d32868">d6c31a1</a>)</li>
</ul>
<h2><a
href="https://github.com/webpack-contrib/css-loader/compare/v7.0.0...v7.1.0">7.1.0</a>
(2024-04-08)</h2>
<h3>Features</h3>
<ul>
<li>added the <code>getJSON</code> option to output CSS modules mapping
(<a
href="https://redirect.github.com/webpack-contrib/css-loader/issues/1577">#1577</a>)
(<a
href="https://github.com/webpack-contrib/css-loader/commit/af834b43b375f336108d74ff7bd9ed13bc79200a">af834b4</a>)</li>
</ul>
<h2><a
href="https://github.com/webpack-contrib/css-loader/compare/v6.11.0...v7.0.0">7.0.0</a>
(2024-04-04)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li>The <code>modules.namedExport</code> option is <code>true</code> by
default if you enable the <code>esModule</code> option</li>
</ul>
<p>Migration guide:</p>
<p>Before:</p>
<pre lang="js"><code>import style from &quot;./style.css&quot;;
<p>console.log(style.myClass);
</code></pre></p>
<p>After:</p>
<pre lang="js"><code>import * as style from &quot;./style.css&quot;;
<p>console.log(style.myClass);
</code></pre></p>
<p>To restore 6.x behavior, please use:</p>
<pre lang="js"><code>module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        loader: &quot;css-loader&quot;,
        options: {
          modules: {
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/5c717c986784f20307aaa66e46c8805b84f22cc8"><code>5c717c9</code></a>
chore(release): 7.1.1</li>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/d6c31a17a0dde3e2bcf2b5e55f913c3645d32868"><code>d6c31a1</code></a>
fix: automatically rename class <code>default</code> to
<code>_default</code> when named export is ...</li>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/b162e252eef254d6c8271dad1751690ac4214c34"><code>b162e25</code></a>
chore(release): 7.1.0</li>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/15f793d4fae5bd6addf84a8fce50470af9bf5129"><code>15f793d</code></a>
docs: update logic (<a
href="https://redirect.github.com/webpack-contrib/css-loader/issues/1587">#1587</a>)</li>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/9c165a4b9152d1bb5d8738f9b7775907f5483295"><code>9c165a4</code></a>
docs: update migration guide (<a
href="https://redirect.github.com/webpack-contrib/css-loader/issues/1586">#1586</a>)</li>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/af834b43b375f336108d74ff7bd9ed13bc79200a"><code>af834b4</code></a>
feat: added the <code>getJSON</code> option to output CSS modules
mapping (<a
href="https://redirect.github.com/webpack-contrib/css-loader/issues/1577">#1577</a>)</li>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/fd18587c1b6d689e3e3a3cc3e6c9fe52f5080181"><code>fd18587</code></a>
chore: husky migration (<a
href="https://redirect.github.com/webpack-contrib/css-loader/issues/1584">#1584</a>)</li>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/96e6ff4ee6514a2c6fa5d0abcd8b8f445386b6da"><code>96e6ff4</code></a>
chore(release): 7.0.0</li>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/a2231ae6fbd7346f14b099caba8ef8b93869ffcd"><code>a2231ae</code></a>
test: update</li>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/f96a11007da55a632de7f58167895e1b5814d717"><code>f96a110</code></a>
feat: <code>namedExports</code> works fine with any
<code>exportLocalsConvention</code> value</li>
<li>Additional commits viewable in <a
href="https://github.com/webpack-contrib/css-loader/compare/v6.10.0...v7.1.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=css-loader&package-manager=npm_and_yarn&previous-version=6.10.0&new-version=7.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Apr 13, 2024
1 parent 76a19e1 commit a9c64ea
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion examples/with-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"css-loader": "6.10.0",
"css-loader": "7.1.1",
"html-webpack-plugin": "5.6.0",
"mini-css-extract-plugin": "2.8.1",
"postcss-loader": "8.1.1",
Expand Down
30 changes: 15 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a9c64ea

Please sign in to comment.