Skip to content

Commit

Permalink
Update dependency sass-loader to v16 (#1196)
Browse files Browse the repository at this point in the history
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass-loader](https://togithub.com/webpack-contrib/sass-loader) | [`15.0.0` -> `16.0.0`](https://renovatebot.com/diffs/npm/sass-loader/15.0.0/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/sass-loader/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass-loader/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass-loader/15.0.0/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass-loader/15.0.0/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>webpack-contrib/sass-loader (sass-loader)</summary>

### [`v16.0.0`](https://togithub.com/webpack-contrib/sass-loader/releases/tag/v16.0.0)

[Compare Source](https://togithub.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://togithub.com/webpack-contrib/sass-loader/commit/10be1ba161557638fd3b80f4a5467159179ef9b1))

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

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Canary-nextjs).
  • Loading branch information
renovate[bot] authored Jul 27, 2024
1 parent 3e69561 commit fe95180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
"react-is": "18.3.1",
"react-refresh": "0.14.2",
"regenerator-runtime": "0.14.1",
"sass-loader": "15.0.0",
"sass-loader": "16.0.0",
"schema-utils2": "npm:[email protected]",
"schema-utils3": "npm:[email protected]",
"semver": "7.6.3",
Expand Down

0 comments on commit fe95180

Please sign in to comment.