bitwarden / directory-connector

A tool for syncing a directory (AD, LDAP, Azure, G Suite, Okta) to an organization.
https://bitwarden.com
GNU General Public License v3.0
250 stars 82 forks source link

[deps]: Update sass-loader to v16 #561

Closed renovate[bot] closed 1 day ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sass-loader 14.0.0 -> 16.0.1 age adoption passing confidence

Release Notes

webpack-contrib/sass-loader (sass-loader) ### [`v16.0.1`](https://redirect.github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1601-2024-08-19) [Compare Source](https://redirect.github.com/webpack-contrib/sass-loader/compare/v16.0.0...v16.0.1) ##### Bug Fixes - generate correct sourceMaps for `modern-compiler` api ([#​1228](https://redirect.github.com/webpack-contrib/sass-loader/issues/1228)) ([f862f7a](https://redirect.github.com/webpack-contrib/sass-loader/commit/f862f7a8382fab11c9c2a897ab1e26d35167cd10)) ### [`v16.0.0`](https://redirect.github.com/webpack-contrib/sass-loader/releases/tag/v16.0.0) [Compare Source](https://redirect.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://redirect.github.com/webpack-contrib/sass-loader/commit/10be1ba161557638fd3b80f4a5467159179ef9b1)) ### [`v15.0.0`](https://redirect.github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1500-2024-07-23) [Compare Source](https://redirect.github.com/webpack-contrib/sass-loader/compare/v14.2.1...v15.0.0) ##### āš  BREAKING CHANGES - prefer `sass-embedded` over `sass` by default ([#​1211](https://redirect.github.com/webpack-contrib/sass-loader/issues/1211)) ##### Features - prefer `sass-embedded` over `sass` by default ([#​1211](https://redirect.github.com/webpack-contrib/sass-loader/issues/1211)) ([83423ff](https://redirect.github.com/webpack-contrib/sass-loader/commit/83423ff933b1086e6203ca640c0994e14b95de2b)) ##### [14.2.1](https://redirect.github.com/webpack-contrib/sass-loader/compare/v14.2.0...v14.2.1) (2024-04-16) ##### Bug Fixes - avoid multiple sass compiler creation ([#​1199](https://redirect.github.com/webpack-contrib/sass-loader/issues/1199)) ([77051d8](https://redirect.github.com/webpack-contrib/sass-loader/commit/77051d81b26ffe42e8a7c6769337a1c0f55f73ef)) ### [`v14.2.1`](https://redirect.github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1421-2024-04-16) [Compare Source](https://redirect.github.com/webpack-contrib/sass-loader/compare/v14.2.0...v14.2.1) ### [`v14.2.0`](https://redirect.github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1420-2024-04-11) [Compare Source](https://redirect.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 ([#​1195](https://redirect.github.com/webpack-contrib/sass-loader/issues/1195)) ([cef40a8](https://redirect.github.com/webpack-contrib/sass-loader/commit/cef40a8af9891adca9fc99d9641b46dc58db023f)) - support webpack built-in resolver for `modern` and `modern-compiler` API ([#​1197](https://redirect.github.com/webpack-contrib/sass-loader/issues/1197)) ([2265b72](https://redirect.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://redirect.github.com/webpack-contrib/sass-loader/compare/v14.1.0...v14.1.1) (2024-02-19) ##### Bug Fixes - handle `pkg:` scheme ([#​1191](https://redirect.github.com/webpack-contrib/sass-loader/issues/1191)) ([c34c8e3](https://redirect.github.com/webpack-contrib/sass-loader/commit/c34c8e3330fb2b08cac217fc44ba602889a1db48)) ### [`v14.1.1`](https://redirect.github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1411-2024-02-19) [Compare Source](https://redirect.github.com/webpack-contrib/sass-loader/compare/v14.1.0...v14.1.1) ### [`v14.1.0`](https://redirect.github.com/webpack-contrib/sass-loader/blob/HEAD/CHANGELOG.md#1410-2024-01-30) [Compare Source](https://redirect.github.com/webpack-contrib/sass-loader/compare/v14.0.0...v14.1.0) ##### Features - add `@rspack/core` as an optional peer dependency ([#​1184](https://redirect.github.com/webpack-contrib/sass-loader/issues/1184)) ([637ba5b](https://redirect.github.com/webpack-contrib/sass-loader/commit/637ba5b49005ab5d31a2b2979ad9af7f008b0267))

Configuration

šŸ“… Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), 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.



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

bitwarden-bot commented 1 month ago

Internal tracking:

codecov[bot] commented 2 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (6e6039d) to head (c7ae955). Report is 1 commits behind head on main.

:white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #561 +/- ## ===================================== Coverage 0.00% 0.00% ===================================== Files 58 58 Lines 2542 2542 Branches 462 462 ===================================== Misses 2542 2542 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

eliykat commented 1 day ago

I'm also updating sass so it made sense to do both at once.