[PR #154] [CLOSED] fix(deps): bump sass from 1.38.2 to 1.41.1 #158

Closed
opened 2025-12-01 17:06:07 +01:00 by arthur · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArthurDanjou/website-old/pull/154
Author: @dependabot[bot]
Created: 9/17/2021
Status: Closed

Base: masterHead: dependabot/npm_and_yarn/sass-1.41.1


📝 Commits (1)

  • f94daa2 fix(deps): bump sass from 1.38.2 to 1.41.1

📊 Changes

2 files changed (+5 additions, -5 deletions)

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+4 -4)

📄 Description

Bumps sass from 1.38.2 to 1.41.1.

Release notes

Sourced from sass's releases.

Dart Sass 1.41.1

To install Sass 1.41.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Preserve parentheses around var() functions in calculations, because they could potentially be replaced with sub-expressions that might need to be parenthesized.

See the full changelog for changes in earlier releases.

Dart Sass 1.41.0

To install Sass 1.41.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Calculation values can now be combined with strings using the + operator. This was an error in 1.40.0, but this broke stylesheets that were relying on $value + "" expressions to generically convert values to strings. (Note that the Sass team recommends the use of "#{$value}" or inspect($value) for that use-case.)

  • The selector.unify() function now correctly returns null when one selector is a :host or :host-context and the other is a selector that's guaranteed to be within the current shadow DOM. The @extend logic has been updated accordingly as well.

  • Fix a bug where extra whitespace in min(), max(), clamp(), and calc() expressions could cause bogus parse errors.

  • Fix a bug where the right-hand operand of a - in a calculation could incorrectly be stripped of parentheses.

Dart API

  • SassCalculation.plus() now allows SassString arguments.

See the full changelog for changes in earlier releases.

Dart Sass 1.40.1

To install Sass 1.40.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Potentially breaking bug fix: min() and max() expressions outside of calculations now behave the same way they did in 1.39.2, returning unquoted strings if they contain no Sass-specific features and calling the global min() and max() functions otherwise. Within calculations, they continue to behave how they did in 1.40.0.

    This fixes an unintended breaking change added in 1.40.0, wherein passing a unitless number and a number without units to min() or max() now produces an error. Since this breakage affects a major Sass library, we're temporarily reverting support for min() and max() calculations while we work on designing a longer-term fix.

See the full changelog for changes in earlier releases.

Dart Sass 1.40.0

To install Sass 1.40.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

... (truncated)

Changelog

Sourced from sass's changelog.

1.41.1

  • Preserve parentheses around var() functions in calculations, because they could potentially be replaced with sub-expressions that might need to be parenthesized.

1.41.0

  • Calculation values can now be combined with strings using the + operator. This was an error in 1.40.0, but this broke stylesheets that were relying on $value + "" expressions to generically convert values to strings. (Note that the Sass team recommends the use of "#{$value}" or inspect($value) for that use-case.)

  • The selector.unify() function now correctly returns null when one selector is a :host or :host-context and the other is a selector that's guaranteed to be within the current shadow DOM. The @extend logic has been updated accordingly as well.

  • Fix a bug where extra whitespace in min(), max(), clamp(), and calc() expressions could cause bogus parse errors.

  • Fix a bug where the right-hand operand of a - in a calculation could incorrectly be stripped of parentheses.

Dart API

  • SassCalculation.plus() now allows SassString arguments.

1.40.1

  • Potentially breaking bug fix: min() and max() expressions outside of calculations now behave the same way they did in 1.39.2, returning unquoted strings if they contain no Sass-specific features and calling the global min() and max() functions otherwise. Within calculations, they continue to behave how they did in 1.40.0.

    This fixes an unintended breaking change added in 1.40.0, wherein passing a unitless number and a number without units to min() or max() now produces an error. Since this breakage affects a major Sass library, we're temporarily reverting support for min() and max() calculations while we work on designing a longer-term fix.

1.40.0

  • Add support for first-class calc() expressions (as well as clamp() and plain-CSS min() and max()). This means:

    • calc() expressions will be parsed more thoroughly, and errors will be highlighted where they weren't before. This may break your stylesheets,

... (truncated)

Commits
  • 52ef3c6 Preserve parentheses around var() functions in calculations (#1489)
  • 30cc9dc Allow extra whitespace in min, max, and calculations (#1483)
  • 7de7ab4 Fix a parenthesizing bug in calculations (#1482)
  • 5e4bc45 Allow the + operator for calculations and strings (#1481)
  • fe46cbb Improve unification of :host and :host-context (#1471)
  • cbdcd58 Emergency fix: Temporarily drop support for min/max calculations (#1477)
  • bb08672 Add support for first-class calc() (#1452)
  • 33dab9f Fix the leftover-configuration check for @forward ... with (#1472)
  • 1672178 Fix @at-root bug for common case of built-in use (#1469)
  • f06937e Fix analysis errors (#1470)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArthurDanjou/website-old/pull/154 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/17/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/sass-1.41.1` --- ### 📝 Commits (1) - [`f94daa2`](https://github.com/ArthurDanjou/website-old/commit/f94daa2b6c9461975f65ecde296bfde5a51bad7b) fix(deps): bump sass from 1.38.2 to 1.41.1 ### 📊 Changes **2 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+4 -4) </details> ### 📄 Description Bumps [sass](https://github.com/sass/dart-sass) from 1.38.2 to 1.41.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sass/dart-sass/releases">sass's releases</a>.</em></p> <blockquote> <h2>Dart Sass 1.41.1</h2> <p>To install Sass 1.41.1, download one of the packages below and <a href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or see <a href="https://sass-lang.com/install">the Sass website</a> for full installation instructions.</p> <h1>Changes</h1> <ul> <li>Preserve parentheses around <code>var()</code> functions in calculations, because they could potentially be replaced with sub-expressions that might need to be parenthesized.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1411">full changelog</a> for changes in earlier releases.</p> <h2>Dart Sass 1.41.0</h2> <p>To install Sass 1.41.0, download one of the packages below and <a href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or see <a href="https://sass-lang.com/install">the Sass website</a> for full installation instructions.</p> <h1>Changes</h1> <ul> <li> <p>Calculation values can now be combined with strings using the <code>+</code> operator. This was an error in 1.40.0, but this broke stylesheets that were relying on <code>$value + &quot;&quot;</code> expressions to generically convert values to strings. (Note that the Sass team recommends the use of <code>&quot;#{$value}&quot;</code> or <code>inspect($value)</code> for that use-case.)</p> </li> <li> <p>The <code>selector.unify()</code> function now correctly returns <code>null</code> when one selector is a <code>:host</code> or <code>:host-context</code> and the other is a selector that's guaranteed to be within the current shadow DOM. The <code>@extend</code> logic has been updated accordingly as well.</p> </li> <li> <p>Fix a bug where extra whitespace in <code>min()</code>, <code>max()</code>, <code>clamp()</code>, and <code>calc()</code> expressions could cause bogus parse errors.</p> </li> <li> <p>Fix a bug where the right-hand operand of a <code>-</code> in a calculation could incorrectly be stripped of parentheses.</p> </li> </ul> <h3>Dart API</h3> <ul> <li><code>SassCalculation.plus()</code> now allows <code>SassString</code> arguments.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1410">full changelog</a> for changes in earlier releases.</p> <h2>Dart Sass 1.40.1</h2> <p>To install Sass 1.40.1, download one of the packages below and <a href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or see <a href="https://sass-lang.com/install">the Sass website</a> for full installation instructions.</p> <h1>Changes</h1> <ul> <li> <p><strong>Potentially breaking bug fix:</strong> <code>min()</code> and <code>max()</code> expressions outside of calculations now behave the same way they did in 1.39.2, returning unquoted strings if they contain no Sass-specific features and calling the global <code>min()</code> and <code>max()</code> functions otherwise. Within calculations, they continue to behave how they did in 1.40.0.</p> <p>This fixes an unintended breaking change added in 1.40.0, wherein passing a unitless number and a number without units to <code>min()</code> or <code>max()</code> now produces an error. Since this breakage affects a major Sass library, we're temporarily reverting support for <code>min()</code> and <code>max()</code> calculations while we work on designing a longer-term fix.</p> </li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1401">full changelog</a> for changes in earlier releases.</p> <h2>Dart Sass 1.40.0</h2> <p>To install Sass 1.40.0, download one of the packages below and <a href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or see <a href="https://sass-lang.com/install">the Sass website</a> for full installation instructions.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sass/dart-sass/blob/main/CHANGELOG.md">sass's changelog</a>.</em></p> <blockquote> <h2>1.41.1</h2> <ul> <li>Preserve parentheses around <code>var()</code> functions in calculations, because they could potentially be replaced with sub-expressions that might need to be parenthesized.</li> </ul> <h2>1.41.0</h2> <ul> <li> <p>Calculation values can now be combined with strings using the <code>+</code> operator. This was an error in 1.40.0, but this broke stylesheets that were relying on <code>$value + &quot;&quot;</code> expressions to generically convert values to strings. (Note that the Sass team recommends the use of <code>&quot;#{$value}&quot;</code> or <code>inspect($value)</code> for that use-case.)</p> </li> <li> <p>The <code>selector.unify()</code> function now correctly returns <code>null</code> when one selector is a <code>:host</code> or <code>:host-context</code> and the other is a selector that's guaranteed to be within the current shadow DOM. The <code>@extend</code> logic has been updated accordingly as well.</p> </li> <li> <p>Fix a bug where extra whitespace in <code>min()</code>, <code>max()</code>, <code>clamp()</code>, and <code>calc()</code> expressions could cause bogus parse errors.</p> </li> <li> <p>Fix a bug where the right-hand operand of a <code>-</code> in a calculation could incorrectly be stripped of parentheses.</p> </li> </ul> <h3>Dart API</h3> <ul> <li><code>SassCalculation.plus()</code> now allows <code>SassString</code> arguments.</li> </ul> <h2>1.40.1</h2> <ul> <li> <p><strong>Potentially breaking bug fix:</strong> <code>min()</code> and <code>max()</code> expressions outside of calculations now behave the same way they did in 1.39.2, returning unquoted strings if they contain no Sass-specific features and calling the global <code>min()</code> and <code>max()</code> functions otherwise. Within calculations, they continue to behave how they did in 1.40.0.</p> <p>This fixes an unintended breaking change added in 1.40.0, wherein passing a unitless number and a number without units to <code>min()</code> or <code>max()</code> now produces an error. Since this breakage affects a major Sass library, we're temporarily reverting support for <code>min()</code> and <code>max()</code> calculations while we work on designing a longer-term fix.</p> </li> </ul> <h2>1.40.0</h2> <ul> <li> <p>Add support for first-class <code>calc()</code> expressions (as well as <code>clamp()</code> and plain-CSS <code>min()</code> and <code>max()</code>). This means:</p> <ul> <li><code>calc()</code> expressions will be parsed more thoroughly, and errors will be highlighted where they weren't before. <strong>This may break your stylesheets,</strong></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sass/dart-sass/commit/52ef3c6ef17aec7cc1f9602671de666d35d0b0b3"><code>52ef3c6</code></a> Preserve parentheses around var() functions in calculations (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1489">#1489</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/30cc9dcbfb20c02c338cd410b7d1ee21b9dfb1a4"><code>30cc9dc</code></a> Allow extra whitespace in min, max, and calculations (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1483">#1483</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/7de7ab405df872d5c992775a29a01124dd010010"><code>7de7ab4</code></a> Fix a parenthesizing bug in calculations (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1482">#1482</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/5e4bc45574612e90cda8e5391f046a1d9864ab04"><code>5e4bc45</code></a> Allow the + operator for calculations and strings (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1481">#1481</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/fe46cbba1ed7309fa05917d53ec58e16211afaa9"><code>fe46cbb</code></a> Improve unification of :host and :host-context (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1471">#1471</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/cbdcd586760fad2e51a1b53fe232a1820f366770"><code>cbdcd58</code></a> Emergency fix: Temporarily drop support for min/max calculations (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1477">#1477</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/bb0867270cb6583be7c055427ebd35e054a00b86"><code>bb08672</code></a> Add support for first-class calc() (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1452">#1452</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/33dab9ff7e85dc4509393d68c4d45ac4871f8370"><code>33dab9f</code></a> Fix the leftover-configuration check for <code>@forward ... with</code> (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1472">#1472</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/1672178f64a274615445c681c10a2f67b6c6aeac"><code>1672178</code></a> Fix <code>@at-root</code> bug for common case of built-in use (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1469">#1469</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/f06937e2df7347ae2e27db17c79df1b1a02cbac0"><code>f06937e</code></a> Fix analysis errors (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1470">#1470</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sass/dart-sass/compare/1.38.2...1.41.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sass&package-manager=npm_and_yarn&previous-version=1.38.2&new-version=1.41.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
arthur added the pull-request label 2025-12-01 17:06:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arthur/website-old#158