Skip to content

chore(deps): update dependency css-loader to v7#1164

Open
renovate[bot] wants to merge 1 commit into
developfrom
renovate/css-loader-7.x
Open

chore(deps): update dependency css-loader to v7#1164
renovate[bot] wants to merge 1 commit into
developfrom
renovate/css-loader-7.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Sep 5, 2024

This PR contains the following updates:

Package Change Age Confidence
css-loader ^6.7.1^7.0.0 age confidence

Release Notes

webpack/css-loader (css-loader)

v7.1.4

Compare Source

v7.1.3

Compare Source

v7.1.2

Compare Source

v7.1.1

Compare Source

v7.1.0

Compare Source

Features
  • added the getJSON option to output CSS modules mapping (#​1577) (af834b4)

v7.0.0

Compare Source

⚠ BREAKING CHANGES
  • The modules.namedExport option is true by default if you enable the esModule option

Migration guide:

Before:

import style from "./style.css";

console.log(style.myClass);

After:

import * as style from "./style.css";

console.log(style.myClass);

To restore 6.x behavior, please use:

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        loader: "css-loader",
        options: {
          modules: {
            namedExport: false,
            exportLocalsConvention: 'as-is',
            //
            // or, if you prefer camelcase style
            //
            // exportLocalsConvention: 'camel-case-only'
          },
        },
      },
    ],
  },
};

Typescript migration:

Before:

declare module '*.module.css' {
  const classes: { [key: string]: string };
  export default classes;
}

After:

declare module '*.module.css' {
  const classes: { [key: string]: string };
  export = classes;
}
  • The modules.exportLocalsConvention has the value as-is when the modules.namedExport option is true and you don't specify a value
  • Minimum supported webpack version is 5.27.0
  • Minimum supported Node.js version is 18.12.0
Features
  • The modules.namedExports option works fine with any modules.exportLocalsConvention values (f96a110)
  • Added dashed variants for the modules.exportLocalsConvention options (40e1668)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch from 0061dab to 7c4d114 Compare September 9, 2024 07:46
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 5 times, most recently from ab62503 to 6758741 Compare September 20, 2024 15:10
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 3 times, most recently from bd4bbd6 to 869c66d Compare October 7, 2024 08:06
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from b758262 to cbefcd3 Compare October 17, 2024 07:59
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 6 times, most recently from 1358450 to 84d1be7 Compare November 1, 2024 14:17
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 3 times, most recently from 7a713b4 to 38b9f5e Compare November 8, 2024 09:56
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 3 times, most recently from c4d317a to 3102b51 Compare November 18, 2024 09:06
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch from 3102b51 to 088cb03 Compare November 19, 2024 14:23
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch from 3e81a86 to ec1ae2c Compare February 4, 2025 09:47
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 5 times, most recently from c8bf170 to 1d74c13 Compare February 14, 2025 14:33
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 9 times, most recently from ba992c6 to dccef33 Compare February 26, 2025 08:43
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from ef47eff to b1c1682 Compare March 6, 2025 08:47
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch from b1c1682 to ce3d1be Compare March 7, 2025 12:36
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch from ce3d1be to dbe95c1 Compare March 17, 2025 09:32
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 3 times, most recently from 2a82c17 to 8bef4a0 Compare April 2, 2025 11:19
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 32427dd to a5fb193 Compare April 22, 2025 07:19
@renovate renovate Bot force-pushed the renovate/css-loader-7.x branch 3 times, most recently from fef2eb7 to 1cada8b Compare April 30, 2025 08:23
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 1, 2026

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants