Skip to content

Commit 09b6980

Browse files
build(deps): bump sass from 1.94.0 to 1.95.1 (#815)
Bumps [sass](https://github.com/sass/dart-sass) from 1.94.0 to 1.95.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.95.1</h2> <p>To install Sass 1.95.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>No user-visible changes.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1951">full changelog</a> for changes in earlier releases.</p> <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> <h2>Dart Sass 1.94.2</h2> <p>To install Sass 1.94.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.95.1</h2> <ul> <li>No user-visible changes.</li> </ul> <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> <h2>1.94.2</h2> <h3>Command-Line Interface</h3> <ul> <li>Using <code>--fatal-deprecation &lt;version&gt;</code> no longer emits warnings about deprecations that are obsolete.</li> </ul> <h3>Dart API</h3> <ul> <li><code>Deprecation.forVersion</code> now excludes obsolete deprecations from the set it returns.</li> </ul> <h3>JS API</h3> <ul> <li>Excludes obsolete deprecations from <code>fatalDeprecations</code> when a <code>Version</code> is passed.</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/4aa6d5f10402a9e443acb9025d857aeb4460f8a1"><code>4aa6d5f</code></a> Support parseSelectors in ImportCache (<a href="https://redirect.github.com/sass/dart-sass/issues/2701">#2701</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/eae38c51a00a09b710478dc24096db6916f4ab88"><code>eae38c5</code></a> Fix an incorrect link in the changelog (<a href="https://redirect.github.com/sass/dart-sass/issues/2700">#2700</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/474706332ec8c59364bf543dd5f2e66c473c5f02"><code>4747063</code></a> Bump the sass-parser version (<a href="https://redirect.github.com/sass/dart-sass/issues/2697">#2697</a>)</li> <li><a href="https://github.com/sass/dart-sass/commit/2abc89e9e52864065a16fa7e23c4ca55726d5b56"><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="https://github.com/sass/dart-sass/commit/2f7a16c9cf2f10b82097429dbd24819eb475858b"><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="https://github.com/sass/dart-sass/commit/38d4ac8665e1b03e41f5556e10b6e61004da6851"><code>38d4ac8</code></a> Add ArgumentList.namedSpans</li> <li><a href="https://github.com/sass/dart-sass/commit/6f9a5933db524686782c74d1339cb3e474d9b5eb"><code>6f9a593</code></a> Add support for plain-CSS if()</li> <li><a href="https://github.com/sass/dart-sass/commit/3b95eb775136a8e8dd87de4bdbd1ee1a3d05d3a0"><code>3b95eb7</code></a> Rename IfExpression to LegacyIfExpression</li> <li><a href="https://github.com/sass/dart-sass/commit/e2bf8434e5fbb6c9c5c8281a55cc3aaec90f3d5d"><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="https://github.com/sass/dart-sass/commit/9380924b8b178b6db9ac91d1a87c63414966aff7"><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>Additional commits viewable in <a href="https://github.com/sass/dart-sass/compare/1.94.0...1.95.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.94.0&new-version=1.95.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 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 47a8f60 commit 09b6980

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"react-query": "^3.39.2",
3838
"react-router-dom": "^7.9.4",
3939
"react-use": "^17.6.0",
40-
"sass": "^1.94.0",
40+
"sass": "^1.95.1",
4141
"styled-components": "^6.1.12",
4242
"swiper": "^9.2.0",
4343
"tailwind-merge": "^3.3.1",

0 commit comments

Comments
 (0)