Skip to content

Commit

Permalink
Chore(deps-dev): Bump css-loader from 6.11.0 to 7.1.0 (#144)
Browse files Browse the repository at this point in the history
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from
6.11.0 to 7.1.0.
<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.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>
</blockquote>
</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>
<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: {
            namedExport: false,
            exportLocalsConvention: 'as-is',
            //
            // or, if you prefer camelcase style
            //
            // exportLocalsConvention: 'camel-case-only'
          },
&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/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><a
href="https://github.com/webpack-contrib/css-loader/commit/9852aa6921d1bceb2da630b3429e9ab51fdb4fd9"><code>9852aa6</code></a>
docs: update</li>
<li><a
href="https://github.com/webpack-contrib/css-loader/commit/40e1668b8366f0df63343efe706ba848c2b5dfb2"><code>40e1668</code></a>
feat: added dashed variants for the <code>exportLocalsConvention</code>
options</li>
<li>Additional commits viewable in <a
href="https://github.com/webpack-contrib/css-loader/compare/v6.11.0...v7.1.0">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.11.0&new-version=7.1.0)](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>
  • Loading branch information
ansulagrawal authored Apr 10, 2024
2 parents 15f556e + e4c263d commit 4ffa143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"@babel/preset-react": "^7.23.3",
"babel-loader": "^9.1.3",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.10.0",
"css-loader": "^7.1.0",
"eslint": "^9.0.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.29.1",
Expand Down

0 comments on commit 4ffa143

Please sign in to comment.