Bump sass from 1.40.0 to 1.41.0 #357

Merged
dependabot[bot] merged 1 commit from dependabot/npm_and_yarn/develop/sass-1.41.0 into develop 2021-09-15 06:11:05 +02:00
dependabot[bot] commented 2021-09-15 06:07:23 +02:00 (Migrated from github.com)

Bumps sass from 1.40.0 to 1.41.0.

Release notes

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

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.

Commits
  • 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)
  • See full diff 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 will merge this PR once CI passes on it, as requested by @Serraniel.


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)
Bumps [sass](https://github.com/sass/dart-sass) from 1.40.0 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.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> </blockquote> </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> </blockquote> </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>See full diff in <a href="https://github.com/sass/dart-sass/compare/1.40.0...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.40.0&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 will merge this PR once CI passes on it, as requested by @Serraniel. [//]: # (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>
Serraniel (Migrated from github.com) approved these changes 2021-09-15 06:07:43 +02:00
Serraniel (Migrated from github.com) left a comment

@dependabot merge

@dependabot merge
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Serraniel/AniwatchPlus#357
No description provided.