Skip to content

Commit

Permalink
Bump css-loader from 6.10.0 to 7.1.0 (#2252)
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.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>
<h2>v6.11.0</h2>
<h2><a
href="https://github.com/webpack-contrib/css-loader/compare/v6.10.0...v6.11.0">6.11.0</a>
(2024-04-03)</h2>
<h3>Features</h3>
<ul>
<li>supports multiple composes (<a
href="https://redirect.github.com/webpack-contrib/css-loader/issues/1582">#1582</a>)
(<a
href="https://github.com/webpack-contrib/css-loader/commit/bbca61411dc5f82964653a6d1aa27854519b743d">bbca614</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>
<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.10.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.10.0&new-version=7.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR 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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Apr 9, 2024
1 parent a13ea5c commit 5428e8d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion packages/plexus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"babel-loader": "9.1.3",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"clean-webpack-plugin": "4.0.0",
"css-loader": "6.10.0",
"css-loader": "7.1.0",
"eslint-config-prettier": "^9.1.0",
"file-loader": "6.2.0",
"html-loader": "5.0.0",
Expand Down
38 changes: 19 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3891,16 +3891,16 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
shebang-command "^2.0.0"
which "^2.0.1"

css-loader@6.10.0:
version "6.10.0"
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.10.0.tgz#7c172b270ec7b833951b52c348861206b184a4b7"
integrity sha512-LTSA/jWbwdMlk+rhmElbDR2vbtQoTBPr7fkJE+mxrHj+7ru0hUmHafDRzWIjIHTwpitWVaqY2/UWGRca3yUgRw==
css-loader@7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-7.1.0.tgz#6eb163c1fa78fed32272161fec7ffe6c956bb727"
integrity sha512-VFNj47MAG84MqYDdh9puJG0h98Xs7gEYaX0aeGkfjYqBLB0seOE325sVbqWwaNu3hMZwEP4bB+F4gvF+A63qMA==
dependencies:
icss-utils "^5.1.0"
postcss "^8.4.33"
postcss-modules-extract-imports "^3.0.0"
postcss-modules-local-by-default "^4.0.4"
postcss-modules-scope "^3.1.1"
postcss-modules-extract-imports "^3.1.0"
postcss-modules-local-by-default "^4.0.5"
postcss-modules-scope "^3.2.0"
postcss-modules-values "^4.0.0"
postcss-value-parser "^4.2.0"
semver "^7.5.4"
Expand Down Expand Up @@ -8262,24 +8262,24 @@ possible-typed-array-names@^1.0.0:
resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz#89bb63c6fada2c3e90adc4a647beeeb39cc7bf8f"
integrity sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==

postcss-modules-extract-imports@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d"
integrity sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==
postcss-modules-extract-imports@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz#b4497cb85a9c0c4b5aabeb759bb25e8d89f15002"
integrity sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==

postcss-modules-local-by-default@^4.0.4:
version "4.0.4"
resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.4.tgz#7cbed92abd312b94aaea85b68226d3dec39a14e6"
integrity sha512-L4QzMnOdVwRm1Qb8m4x8jsZzKAaPAgrUF1r/hjDR2Xj7R+8Zsf97jAlSQzWtKx5YNiNGN8QxmPFIc/sh+RQl+Q==
postcss-modules-local-by-default@^4.0.5:
version "4.0.5"
resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.5.tgz#f1b9bd757a8edf4d8556e8d0f4f894260e3df78f"
integrity sha512-6MieY7sIfTK0hYfafw1OMEG+2bg8Q1ocHCpoWLqOKj3JXlKu4G7btkmM/B7lFubYkYWmRSPLZi5chid63ZaZYw==
dependencies:
icss-utils "^5.0.0"
postcss-selector-parser "^6.0.2"
postcss-value-parser "^4.1.0"

postcss-modules-scope@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.1.1.tgz#32cfab55e84887c079a19bbb215e721d683ef134"
integrity sha512-uZgqzdTleelWjzJY+Fhti6F3C9iF1JR/dODLs/JDefozYcKTBCdD8BIl6nNPbTbcLnGrk56hzwZC2DaGNvYjzA==
postcss-modules-scope@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.2.0.tgz#a43d28289a169ce2c15c00c4e64c0858e43457d5"
integrity sha512-oq+g1ssrsZOsx9M96c5w8laRmvEu9C3adDSjI8oTcbfkrTE8hx/zfyobUoWIxaKPO8bt6S62kxpw5GqypEw1QQ==
dependencies:
postcss-selector-parser "^6.0.4"

Expand Down

0 comments on commit 5428e8d

Please sign in to comment.