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

Open
renovate-bot wants to merge 1 commit from renovate/sass-loader-16.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
sass-loader devDependencies major ^14.1.1 -> ^16.0.0

Release Notes

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

v16.0.5

Compare Source

v16.0.4

Compare Source

v16.0.3

Compare Source

v16.0.2

Compare Source

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 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

v14.2.1

Compare Source

v14.2.0

Compare Source

Features
  • added the modern-compiler value for API to reuse compiler process (#​1195) (cef40a8)
  • support webpack built-in resolver for modern and modern-compiler API (#​1197) (2265b72)

Notes:

Using the modern-compiler value for the api option together with sass-embedded reduces compilation time by 5-10 times, especially for projects using large files with a lot of @import/@use, for small files the build time reduction will not be significant.

14.1.1 (2024-02-19)
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.1.1` -> `^16.0.0`](https://renovatebot.com/diffs/npm/sass-loader/14.1.1/16.0.5) | --- ### Release Notes <details> <summary>webpack-contrib/sass-loader (sass-loader)</summary> ### [`v16.0.5`](https://github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1605-2025-02-14) [Compare Source](https://github.com/webpack-contrib/sass-loader/compare/v16.0.4...v16.0.5) ### [`v16.0.4`](https://github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1604-2024-12-04) [Compare Source](https://github.com/webpack-contrib/sass-loader/compare/v16.0.3...v16.0.4) ### [`v16.0.3`](https://github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1603-2024-11-01) [Compare Source](https://github.com/webpack-contrib/sass-loader/compare/v16.0.2...v16.0.3) ### [`v16.0.2`](https://github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1602-2024-09-20) [Compare Source](https://github.com/webpack-contrib/sass-loader/compare/v16.0.1...v16.0.2) ### [`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)) ### [`v14.2.1`](https://github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1421-2024-04-16) [Compare Source](https://github.com/webpack-contrib/sass-loader/compare/v14.2.0...v14.2.1) ### [`v14.2.0`](https://github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1420-2024-04-11) [Compare Source](https://github.com/webpack-contrib/sass-loader/compare/v14.1.1...v14.2.0) ##### Features - added the `modern-compiler` value for API to reuse compiler process ([#&#8203;1195](https://github.com/webpack-contrib/sass-loader/issues/1195)) ([cef40a8](https://github.com/webpack-contrib/sass-loader/commit/cef40a8af9891adca9fc99d9641b46dc58db023f)) - support webpack built-in resolver for `modern` and `modern-compiler` API ([#&#8203;1197](https://github.com/webpack-contrib/sass-loader/issues/1197)) ([2265b72](https://github.com/webpack-contrib/sass-loader/commit/2265b72c4899a6784e0785938f892743d1c942bf)) Notes: Using the `modern-compiler` value for the `api` option together with `sass-embedded` reduces compilation time by 5-10 times, especially for projects using large files with a lot of `@import`/`@use`, for small files the build time reduction will not be significant. ##### [14.1.1](https://github.com/webpack-contrib/sass-loader/compare/v14.1.0...v14.1.1) (2024-02-19) ##### Bug Fixes - handle `pkg:` scheme ([#&#8203;1191](https://github.com/webpack-contrib/sass-loader/issues/1191)) ([c34c8e3](https://github.com/webpack-contrib/sass-loader/commit/c34c8e3330fb2b08cac217fc44ba602889a1db48)) </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuOCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot force-pushed renovate/sass-loader-16.x from f6bb6ffe3a to 365b473c05 2025-03-14 17:34:05 +00:00 Compare
renovate-bot force-pushed renovate/sass-loader-16.x from 365b473c05 to f613c336d6 2025-05-28 01:44:51 +00:00 Compare
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/sass-loader-16.x:renovate/sass-loader-16.x
git switch renovate/sass-loader-16.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/sass-loader-16.x
git switch renovate/sass-loader-16.x
git rebase main
git switch main
git merge --ff-only renovate/sass-loader-16.x
git switch renovate/sass-loader-16.x
git rebase main
git switch main
git merge --no-ff renovate/sass-loader-16.x
git switch main
git merge --squash renovate/sass-loader-16.x
git switch main
git merge --ff-only renovate/sass-loader-16.x
git switch main
git merge renovate/sass-loader-16.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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: kumi/great-website#13
No description provided.