Skip to content

Commit 7489316

Browse files
Upgrade: [dependabot] - bump sass from 1.94.2 to 1.96.0 (#1604)
Bumps [sass](https://github.com/sass/dart-sass) from 1.94.2 to 1.96.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.96.0</h2> <p>To install Sass 1.96.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>Allow numbers with complex units (more than one numerator unit or more than zero denominator units) to be emitted to CSS. These are now emitted as <code>calc()</code> expressions, which now support complex units in plain CSS.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1960">full changelog</a> for changes in earlier releases.</p> <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> <!-- 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.96.0</h2> <ul> <li>Allow numbers with complex units (more than one numerator unit or more than zero denominator units) to be emitted to CSS. These are now emitted as <code>calc()</code> expressions, which now support complex units in plain CSS.</li> </ul> <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> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sass/dart-sass/commit/f6bdc0213b13b2ff7dc311862904b1f648c9c62f"><code>f6bdc02</code></a> Add support for complex units in CSS (<a href="https://redirect.github.com/sass/dart-sass/issues/2699">#2699</a>)</li> <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>Additional commits viewable in <a href="https://github.com/sass/dart-sass/compare/1.94.2...1.96.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.96.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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent b58cc9a commit 7489316

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package-lock.json

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

packages/cpt-ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"react": "18.3.1",
2525
"react-dom": "18.3.1",
2626
"react-router-dom": "6.30.1",
27-
"sass": "^1.94.2"
27+
"sass": "^1.96.0"
2828
},
2929
"devDependencies": {
3030
"@aws-amplify/auth": "^6.17.0",
@@ -37,7 +37,7 @@
3737
"@types/react-dom": "18.3.1",
3838
"@vitejs/plugin-react-swc": "^4.2.2",
3939
"axios-mock-adapter": "^2.1.0",
40-
"sass": "^1.94.2",
40+
"sass": "^1.96.0",
4141
"vite": "^7.2.6"
4242
}
4343
}

0 commit comments

Comments
 (0)