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

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

📋 Pull Request Information

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

Base: masterHead: dependabot/npm_and_yarn/sass-1.42.1


📝 Commits (1)

  • af36e24 fix(deps): bump sass from 1.38.2 to 1.42.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.42.1.

Release notes

Sourced from sass's releases.

Dart Sass 1.42.1

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

Changes

  • Fix a bug where Sass variables and function calls in calculations weren't being resolved correctly if there was a parenthesized interpolation elsewhere in the file.

See the full changelog for changes in earlier releases.

Dart Sass 1.42.0

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

Changes

  • min() and max() expressions are once again parsed as calculations as long as they contain only syntax that's allowed in calculation expressions. To avoid the backwards-compatibility issues that were present in 1.40.0, they now allow unitless numbers to be mixed with numbers with units just like the global min() and max() functions. Similarly, + and - operations within min() and max() functions allow unitless numbers to be mixed with numbers with units.

See the full changelog for changes in earlier 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.

... (truncated)

Changelog

Sourced from sass's changelog.

1.42.1

  • Fix a bug where Sass variables and function calls in calculations weren't being resolved correctly if there was a parenthesized interpolation elsewhere in the file.

1.42.0

  • min() and max() expressions are once again parsed as calculations as long as they contain only syntax that's allowed in calculation expressions. To avoid the backwards-compatibility issues that were present in 1.40.0, they now allow unitless numbers to be mixed with numbers with units just like the global min() and max() functions. Similarly, + and - operations within min() and max() functions allow unitless numbers to be mixed with numbers with units.

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

... (truncated)

Commits
  • 8d5d586 Fix interpolation lookahead for calculations (#1500)
  • 0806763 Add a double-check to verify that we bump versions (#1498)
  • a881eb6 Commit to the main branch of bazelrules/rules_sass (#1497)
  • 825fa5c Add back support for min/max calculations (#1485)
  • e3370e6 Only run framework checks when deploying (#1493)
  • 6a9cfc8 Only run GitHub Actions for tags that look like semver versions (#1484)
  • 8090b99 Test against real-world Sass frameworks (#1487)
  • cfb7e40 Run shared JS tests from the sass-spec repo (#1486)
  • 52ef3c6 Preserve parentheses around var() functions in calculations (#1489)
  • 30cc9dc Allow extra whitespace in min, max, and calculations (#1483)
  • 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/160 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/23/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/sass-1.42.1` --- ### 📝 Commits (1) - [`af36e24`](https://github.com/ArthurDanjou/website-old/commit/af36e24a5c3595ec7bb0442f95ee389353dfd7d5) fix(deps): bump sass from 1.38.2 to 1.42.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.42.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.42.1</h2> <p>To install Sass 1.42.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>Fix a bug where Sass variables and function calls in calculations weren't being resolved correctly if there was a parenthesized interpolation elsewhere in the file.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1421">full changelog</a> for changes in earlier releases.</p> <h2>Dart Sass 1.42.0</h2> <p>To install Sass 1.42.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><code>min()</code> and <code>max()</code> expressions are once again parsed as calculations as long as they contain only syntax that's allowed in calculation expressions. To avoid the backwards-compatibility issues that were present in 1.40.0, they now allow unitless numbers to be mixed with numbers with units just like the global <code>min()</code> and <code>max()</code> functions. Similarly, <code>+</code> and <code>-</code> operations within <code>min()</code> and <code>max()</code> functions allow unitless numbers to be mixed with numbers with units.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1420">full changelog</a> for changes in earlier releases.</p> <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> </ul> <!-- 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.42.1</h2> <ul> <li>Fix a bug where Sass variables and function calls in calculations weren't being resolved correctly if there was a parenthesized interpolation elsewhere in the file.</li> </ul> <h2>1.42.0</h2> <ul> <li><code>min()</code> and <code>max()</code> expressions are once again parsed as calculations as long as they contain only syntax that's allowed in calculation expressions. To avoid the backwards-compatibility issues that were present in 1.40.0, they now allow unitless numbers to be mixed with numbers with units just like the global <code>min()</code> and <code>max()</code> functions. Similarly, <code>+</code> and <code>-</code> operations within <code>min()</code> and <code>max()</code> functions allow unitless numbers to be mixed with numbers with units.</li> </ul> <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><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</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/8d5d586e7c4492379ff40b564118e7dc64091bb5"><code>8d5d586</code></a> Fix interpolation lookahead for calculations (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1500">#1500</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/080676387c0b0c52d6fcfeedc49ceaa69afc0a17"><code>0806763</code></a> Add a double-check to verify that we bump versions (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1498">#1498</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/a881eb63f0315d61c9fb8d8838fe2c7a9817e765"><code>a881eb6</code></a> Commit to the main branch of bazelrules/rules_sass (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1497">#1497</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/825fa5c7df5a738a1414ae428b53956d2f5df123"><code>825fa5c</code></a> Add back support for min/max calculations (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1485">#1485</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/e3370e6c41d9b7afc07c58615615f6eb7130b6c1"><code>e3370e6</code></a> Only run framework checks when deploying (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1493">#1493</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/6a9cfc863308f181f5d40ef8969529f9143cd554"><code>6a9cfc8</code></a> Only run GitHub Actions for tags that look like semver versions (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1484">#1484</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/8090b992de6c6bb81b509e13b3ed4808fc8697af"><code>8090b99</code></a> Test against real-world Sass frameworks (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1487">#1487</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/cfb7e405b0ba86184429600a4adee32cef80b872"><code>cfb7e40</code></a> Run shared JS tests from the sass-spec repo (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1486">#1486</a>)</li> <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>Additional commits viewable in <a href="https://github.com/sass/dart-sass/compare/1.38.2...1.42.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.42.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: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#161