chore(deps): update dependency sass-loader to v16 #101

Merged
Brain merged 2 commits from renovate/sass-loader-16.x into main 2024-08-22 15:52:51 +02:00
Member

This PR contains the following updates:

Package Type Update Change
sass-loader devDependencies major 14.2.1 -> 16.0.1

Release Notes

webpack-contrib/sass-loader (sass-loader)

v16.0.1

Compare Source

Bug Fixes

v16.0.0

Compare Source

⚠ BREAKING CHANGES
  • use modern Sass JS API by default for sass and sass-embedded
!WARNING]

The sass options are different for the `legacy` (before) and `modern` APIs. Please look at [docs](https://sass-lang.com/documentation/js-api) how to migrate to the modern options.
Legacy options - https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/
Modern options - https://sass-lang.com/documentation/js-api/interfaces/options/

To return to the previous logic use:

module.exports = {
  module: {
    rules: [
      {
        test: /\.s[ac]ss$/i,
        use: [
          "style-loader",
          "css-loader",
          {
            loader: "sass-loader",
            options: {
              api: "legacy",
              // Your options
            },
          },
        ],
      },
    ],
  },
};
Features
  • use modern Sass JS API by default for sass and sass-embedded (10be1ba)

v15.0.0

Compare Source

⚠ BREAKING CHANGES
  • prefer sass-embedded over sass by default (#​1211)
Features
14.2.1 (2024-04-16)
Bug Fixes

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.


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [sass-loader](https://github.com/webpack-contrib/sass-loader) | devDependencies | major | [`14.2.1` -> `16.0.1`](https://renovatebot.com/diffs/npm/sass-loader/14.2.1/16.0.1) | --- ### Release Notes <details> <summary>webpack-contrib/sass-loader (sass-loader)</summary> ### [`v16.0.1`](https://github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1601-2024-08-19) [Compare Source](https://github.com/webpack-contrib/sass-loader/compare/v16.0.0...v16.0.1) ##### Bug Fixes - generate correct sourceMaps for `modern-compiler` api ([#&#8203;1228](https://github.com/webpack-contrib/sass-loader/issues/1228)) ([f862f7a](https://github.com/webpack-contrib/sass-loader/commit/f862f7a8382fab11c9c2a897ab1e26d35167cd10)) ### [`v16.0.0`](https://github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1600-2024-07-26) [Compare Source](https://github.com/webpack-contrib/sass-loader/compare/v15.0.0...v16.0.0) ##### ⚠ BREAKING CHANGES - use modern Sass JS API by default for `sass` and `sass-embedded` > \[!WARNING] > > The sass options are different for the `legacy` (before) and `modern` APIs. Please look at [docs](https://sass-lang.com/documentation/js-api) how to migrate to the modern options. > Legacy options - https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/ > Modern options - https://sass-lang.com/documentation/js-api/interfaces/options/ To return to the previous logic use: ```js module.exports = { module: { rules: [ { test: /\.s[ac]ss$/i, use: [ "style-loader", "css-loader", { loader: "sass-loader", options: { api: "legacy", // Your options }, }, ], }, ], }, }; ``` ##### Features - use modern Sass JS API by default for `sass` and `sass-embedded` ([10be1ba](https://github.com/webpack-contrib/sass-loader/commit/10be1ba161557638fd3b80f4a5467159179ef9b1)) ### [`v15.0.0`](https://github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1500-2024-07-23) [Compare Source](https://github.com/webpack-contrib/sass-loader/compare/v14.2.1...v15.0.0) ##### ⚠ BREAKING CHANGES - prefer `sass-embedded` over `sass` by default ([#&#8203;1211](https://github.com/webpack-contrib/sass-loader/issues/1211)) ##### Features - prefer `sass-embedded` over `sass` by default ([#&#8203;1211](https://github.com/webpack-contrib/sass-loader/issues/1211)) ([83423ff](https://github.com/webpack-contrib/sass-loader/commit/83423ff933b1086e6203ca640c0994e14b95de2b)) ##### [14.2.1](https://github.com/webpack-contrib/sass-loader/compare/v14.2.0...v14.2.1) (2024-04-16) ##### Bug Fixes - avoid multiple sass compiler creation ([#&#8203;1199](https://github.com/webpack-contrib/sass-loader/issues/1199)) ([77051d8](https://github.com/webpack-contrib/sass-loader/commit/77051d81b26ffe42e8a7c6769337a1c0f55f73ef)) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2024-08-22 15:36:34 +02:00
chore(deps): update dependency sass-loader to v16
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
continuous-integration/drone/pr Build is passing
cac4ceb173
Brain added 1 commit 2024-08-22 15:48:45 +02:00
chore(deps): Add optional (preferred) dependency
All checks were successful
continuous-integration/drone/pr Build is passing
93c4fac780
Brain merged commit bd4242a7e1 into main 2024-08-22 15:52:51 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kompetenzinventar/ki-frontend#101
No description provided.