Files
editor/package-lock.json
dependabot[bot] 1d557bc935 chore(deps-dev): Bump sass from 1.94.2 to 1.95.0 (#1580)
Bumps [sass](https://github.com/sass/dart-sass) from 1.94.2 to 1.95.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.95.0</h2>
<p>To install Sass 1.95.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 the <a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/if">CSS-style
<code>if()</code> function</a>. In addition to supporting the plain CSS
syntax, this also supports a <code>sass()</code> query that takes a Sass
expression that evaluates to <code>true</code> or <code>false</code> at
preprocessing time depending on whether the Sass value is truthy. If
there are no plain-CSS queries, the function will return the first value
whose query returns true during preprocessing. For example,
<code>if(sass(false): 1; sass(true): 2; else: 3)</code> returns
<code>2</code>.</p>
</li>
<li>
<p>The old Sass <code>if()</code> syntax is now deprecated. Users are
encouraged to migrate to the new CSS syntax. <code>if($condition,
$if-true, $if-false)</code> can be changed to <code>if(sass($condition):
$if-true; else: $if-false)</code>.</p>
<p>See <a href="https://sass-lang.com/d/if-function">the Sass
website</a> for details.</p>
</li>
<li>
<p>Plain-CSS <code>if()</code> functions are now considered
&quot;special numbers&quot;, meaning that they can be used in place of
arguments to CSS color functions.</p>
</li>
<li>
<p>Plain-CSS <code>if()</code> functions and <code>attr()</code>
functions are now considered &quot;special variable strings&quot; (like
<code>var()</code>), meaning they can now be used in place of multiple
arguments or syntax fragments in various CSS functions.</p>
</li>
</ul>
<p>See the <a
href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1950">full
changelog</a> for changes in earlier releases.</p>
<h2>Dart Sass 1.94.3</h2>
<p>To install Sass 1.94.3, 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 the span reported for standalone <code>%</code> expressions
followed by whitespace.</li>
</ul>
<p>See the <a
href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1943">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.95.0</h2>
<ul>
<li>
<p>Add support for the <a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/if">CSS-style
<code>if()</code> function</a>. In addition to supporting the
plain CSS syntax, this also supports a <code>sass()</code> query that
takes a Sass
expression that evaluates to <code>true</code> or <code>false</code> at
preprocessing time depending
on whether the Sass value is truthy. If there are no plain-CSS queries,
the
function will return the first value whose query returns true during
preprocessing. For example, <code>if(sass(false): 1; sass(true): 2;
else: 3)</code>
returns <code>2</code>.</p>
</li>
<li>
<p>The old Sass <code>if()</code> syntax is now deprecated. Users are
encouraged to migrate
to the new CSS syntax. <code>if($condition, $if-true, $if-false)</code>
can be changed to
<code>if(sass($condition): $if-true; else: $if-false)</code>.</p>
<p>See <a href="https://sass-lang.com/d/if-function">the Sass
website</a> for details.</p>
</li>
<li>
<p>Plain-CSS <code>if()</code> functions are now considered
&quot;special numbers&quot;, meaning that
they can be used in place of arguments to CSS color functions.</p>
</li>
<li>
<p>Plain-CSS <code>if()</code> functions and <code>attr()</code>
functions are now considered &quot;special
variable strings&quot; (like <code>var()</code>), meaning they can now
be used in place of
multiple arguments or syntax fragments in various CSS functions.</p>
</li>
</ul>
<h2>1.94.3</h2>
<ul>
<li>Fix the span reported for standalone <code>%</code> expressions
followed by whitespace.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2abc89e9e5"><code>2abc89e</code></a>
Merge pull request <a
href="https://redirect.github.com/sass/dart-sass/issues/2693">#2693</a>
from sass/css-if</li>
<li><a
href="2f7a16c9cf"><code>2f7a16c</code></a>
Revert &quot;Bump chokidar from 4.0.3 to 5.0.0 in /package (<a
href="https://redirect.github.com/sass/dart-sass/issues/2690">#2690</a>)&quot;
(<a
href="https://redirect.github.com/sass/dart-sass/issues/2691">#2691</a>)</li>
<li><a
href="38d4ac8665"><code>38d4ac8</code></a>
Add ArgumentList.namedSpans</li>
<li><a
href="6f9a5933db"><code>6f9a593</code></a>
Add support for plain-CSS if()</li>
<li><a
href="3b95eb7751"><code>3b95eb7</code></a>
Rename IfExpression to LegacyIfExpression</li>
<li><a
href="e2bf8434e5"><code>e2bf843</code></a>
Make the recursive AST visitor comprehensive (<a
href="https://redirect.github.com/sass/dart-sass/issues/2694">#2694</a>)</li>
<li><a
href="9380924b8b"><code>9380924</code></a>
Fix the operator span when parsing a standalone <code>%</code> (<a
href="https://redirect.github.com/sass/dart-sass/issues/2667">#2667</a>)</li>
<li><a
href="f8a8a51c0f"><code>f8a8a51</code></a>
Bump chokidar from 4.0.3 to 5.0.0 in /package (<a
href="https://redirect.github.com/sass/dart-sass/issues/2690">#2690</a>)</li>
<li><a
href="e4837d1ae3"><code>e4837d1</code></a>
Bump archive from 3.6.1 to 4.0.7 (<a
href="https://redirect.github.com/sass/dart-sass/issues/2688">#2688</a>)</li>
<li><a
href="293200b1b1"><code>293200b</code></a>
Bump protoc_plugin from 23.0.0 to 24.0.0 (<a
href="https://redirect.github.com/sass/dart-sass/issues/2677">#2677</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/sass/dart-sass/compare/1.94.2...1.95.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.94.2&new-version=1.95.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-12 13:18:41 +00:00

560 KiB