[PR #152] [CLOSED] fix(deps): bump sass from 1.38.2 to 1.40.0 #157

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

Base: masterHead: dependabot/npm_and_yarn/sass-1.40.0


📝 Commits (1)

  • fb0d8b9 fix(deps): bump sass from 1.38.2 to 1.40.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.40.0.

Release notes

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

Changes

  • Fix a bug where configuring with @use ... with would throw an error when that variable was defined in a module that also contained @forward ... with.

See the full changelog for changes in earlier releases.

Dart Sass 1.39.1

To install Sass 1.39.1, 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.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 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.

1.39.2

  • Fix a bug where configuring with @use ... with would throw an error when that variable was defined in a module that also contained @forward ... with.

1.39.1

  • Partial fix for a bug where @at-root does not work properly in nested imports that contain @use rules. If the only @use rules in the nested import are for built-in modules, @at-root should now work properly.

1.39.0

JS API

  • Add a charset option that controls whether or not Sass emits a @charset/BOM for non-ASCII stylesheets.
Commits
  • 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)
  • 78aacbc Upgrade to analyzer 2 (#1465)
  • 8012e0e Avoid the /-as-division warning when running the dart_api tests (#1467)
  • 49c75b1 Fix the test covering space-separated list to actually do it (#1466)
  • f098c7f Fix the test description for the list separator of non-empty maps (#1464)
  • 1288b92 Fix the description of some tests for SassNumber (#1463)
  • 3112f80 Ignore HintCode.UNNECESSARY_TYPE_CHECK_TRUE (#1457)
  • 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/152 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/14/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/sass-1.40.0` --- ### 📝 Commits (1) - [`fb0d8b9`](https://github.com/ArthurDanjou/website-old/commit/fb0d8b93b6fe4ec6a3bad1ebf5db5f88a5728216) fix(deps): bump sass from 1.38.2 to 1.40.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.40.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.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> <h1>Changes</h1> <ul> <li>Fix a bug where configuring with <code>@use ... with</code> would throw an error when that variable was defined in a module that also contained <code>@forward ... with</code>.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1392">full changelog</a> for changes in earlier releases.</p> <h2>Dart Sass 1.39.1</h2> <p>To install Sass 1.39.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> <!-- 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.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 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> <h2>1.39.2</h2> <ul> <li>Fix a bug where configuring with <code>@use ... with</code> would throw an error when that variable was defined in a module that also contained <code>@forward ... with</code>.</li> </ul> <h2>1.39.1</h2> <ul> <li>Partial fix for a bug where <code>@at-root</code> does not work properly in nested imports that contain <code>@use</code> rules. If the only <code>@use</code> rules in the nested import are for built-in modules, <code>@at-root</code> should now work properly.</li> </ul> <h2>1.39.0</h2> <h3>JS API</h3> <ul> <li>Add a <code>charset</code> option that controls whether or not Sass emits a <code>@charset</code>/BOM for non-ASCII stylesheets.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <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><a href="https://github.com/sass/dart-sass/commit/8012e0e9c93d4936fd6168122f4e964484c38e34"><code>8012e0e</code></a> Avoid the /-as-division warning when running the dart_api tests (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1467">#1467</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/49c75b15097a2727f04a4e6a502cde47c979052e"><code>49c75b1</code></a> Fix the test covering space-separated list to actually do it (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1466">#1466</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/f098c7f5acdf3af7934c25bbe429813821bef803"><code>f098c7f</code></a> Fix the test description for the list separator of non-empty maps (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1464">#1464</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/1288b92b4e9a12f5a1697690ea8e0918d20165a6"><code>1288b92</code></a> Fix the description of some tests for SassNumber (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1463">#1463</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/3112f80d49596badc1e0a758c38cd4b0d518a52f"><code>3112f80</code></a> Ignore HintCode.UNNECESSARY_TYPE_CHECK_TRUE (<a href="https://github-redirect.dependabot.com/sass/dart-sass/issues/1457">#1457</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sass/dart-sass/compare/1.38.2...1.40.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.40.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: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#157