gary-kim / riotchat

Element for Nextcloud
https://apps.nextcloud.com/apps/riotchat
GNU Affero General Public License v3.0
123 stars 21 forks source link

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

Closed garykim-dev-renovate[bot] closed 1 month ago

garykim-dev-renovate[bot] commented 3 months ago

This PR contains the following updates:

Package Type Update Change
css-loader devDependencies major ^6.11.0 -> ^7.1.2

Release Notes

webpack-contrib/css-loader (css-loader) ### [`v7.1.2`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#712-2024-05-22) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v7.1.1...v7.1.2) ### [`v7.1.1`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#711-2024-04-10) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v7.1.0...v7.1.1) ### [`v7.1.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#710-2024-04-08) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v7.0.0...v7.1.0) ##### Features - added the `getJSON` option to output CSS modules mapping ([#​1577](https://togithub.com/webpack-contrib/css-loader/issues/1577)) ([af834b4](https://togithub.com/webpack-contrib/css-loader/commit/af834b43b375f336108d74ff7bd9ed13bc79200a)) ### [`v7.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#700-2024-04-04) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.11.0...v7.0.0) ##### âš  BREAKING CHANGES - The `modules.namedExport` option is `true` by default if you enable the `esModule` option Migration guide: Before: ```js import style from "./style.css"; console.log(style.myClass); ``` After: ```js import * as style from "./style.css"; console.log(style.myClass); ``` To restore 6.x behavior, please use: ```js 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' }, }, }, ], }, }; ``` - 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](https://togithub.com/webpack-contrib/css-loader/commit/f96a11007da55a632de7f58167895e1b5814d717)) - Added dashed variants for the `modules.exportLocalsConvention` options ([40e1668](https://togithub.com/webpack-contrib/css-loader/commit/40e1668b8366f0df63343efe706ba848c2b5dfb2))

Configuration

📅 Schedule: 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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.