[PR #153] [CLOSED] fix(deps): bump sass from 1.38.2 to 1.41.0 #160

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/153
Author: @dependabot[bot]
Created: 9/15/2021
Status: Closed

Base: masterHead: dependabot/npm_and_yarn/sass-1.41.0


📝 Commits (1)

  • 4eb4c38 fix(deps): bump sass from 1.38.2 to 1.41.0

📊 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.0.

Release notes

Sourced from sass's 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.

Changes

  • 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, but only if they were already producing broken CSS.

    • calc() expressions will be simplified where possible, and may even return numbers if they can be simplified away entirely.

    • calc() expressions that can't be simplified to numbers return a new data type known as "calculations".

    • Sass variables and functions can now be used in calc() expressions.

    • New functions meta.calc-name() and meta.calc-args() can now inspect calculations.

Dart API

  • Add a new value type, SassCalculation, that represents calculations.

  • Add new CalculationOperation, CalculationOperator, and CalculationInterpolation types to represent types of arguments that may exist as part of a calculation.

  • Add a new Value.assertCalculation() method.

  • Add a new Number.hasCompatibleUnits() method.

See the full changelog for changes in earlier releases.

Dart Sass 1.39.2

To install Sass 1.39.2, 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.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, but only if they were already producing broken CSS.

    • calc() expressions will be simplified where possible, and may even return numbers if they can be simplified away entirely.

    • calc() expressions that can't be simplified to numbers return a new data

... (truncated)

Commits

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/153 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/15/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/sass-1.41.0` --- ### 📝 Commits (1) - [`4eb4c38`](https://github.com/ArthurDanjou/website-old/commit/4eb4c388fa44778c54e4d7561e52832675d4c33b) fix(deps): bump sass from 1.38.2 to 1.41.0 ### 📊 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.0. <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.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> <h1>Changes</h1> <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> <p><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> but only if they were already producing broken CSS.</p> </li> <li> <p><code>calc()</code> expressions will be simplified where possible, and may even return numbers if they can be simplified away entirely.</p> </li> <li> <p><code>calc()</code> expressions that can't be simplified to numbers return a new data type known as &quot;calculations&quot;.</p> </li> <li> <p>Sass variables and functions can now be used in <code>calc()</code> expressions.</p> </li> <li> <p>New functions <code>meta.calc-name()</code> and <code>meta.calc-args()</code> can now inspect calculations.</p> </li> </ul> </li> </ul> <h3>Dart API</h3> <ul> <li> <p>Add a new value type, <code>SassCalculation</code>, that represents calculations.</p> </li> <li> <p>Add new <code>CalculationOperation</code>, <code>CalculationOperator</code>, and <code>CalculationInterpolation</code> types to represent types of arguments that may exist as part of a calculation.</p> </li> <li> <p>Add a new <code>Value.assertCalculation()</code> method.</p> </li> <li> <p>Add a new <code>Number.hasCompatibleUnits()</code> method.</p> </li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1400">full changelog</a> for changes in earlier releases.</p> <h2>Dart Sass 1.39.2</h2> <p>To install Sass 1.39.2, 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.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> <p><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> but only if they were already producing broken CSS.</p> </li> <li> <p><code>calc()</code> expressions will be simplified where possible, and may even return numbers if they can be simplified away entirely.</p> </li> <li> <p><code>calc()</code> expressions that can't be simplified to numbers return a new data</p> </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/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><a href="https://github.com/sass/dart-sass/commit/78aacbcda24d6ef5ad2d0d8dd892b58cdaa66e28"><code>78aacbc</code></a> Upgrade to analyzer 2 (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1465">#1465</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sass/dart-sass/compare/1.38.2...1.41.0">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.0)](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:08 +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#160