Skip to content

Commit b85ef9c

Browse files
authoredSep 20, 2024··
Quote $channel in channel function replacement suggestions (#2361)
1 parent fa4827f commit b85ef9c

File tree

7 files changed

+20
-5
lines changed

7 files changed

+20
-5
lines changed
 

‎CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 1.79.3
2+
3+
* Update the `$channel` parameter in the suggested replacement for
4+
`color.red()`, `color.green()`, `color.blue()`, `color.hue()`,
5+
`color.saturation()`, `color.lightness()`, `color.whiteness()`, and
6+
`color.blackness()` to use a quoted string.
7+
18
## 1.79.2
29

310
* Add a `$space` parameter to the suggested replacement for `color.red()`,

‎lib/src/functions/color.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ BuiltInCallable _channelFunction(
16071607
warnForDeprecation(
16081608
"${global ? '' : 'color.'}$name() is deprecated. Suggestion:\n"
16091609
"\n"
1610-
'color.channel(\$color, $name, \$space: $space)\n'
1610+
'color.channel(\$color, \"$name\", \$space: $space)\n'
16111611
"\n"
16121612
"More info: https://sass-lang.com/d/color-functions",
16131613
Deprecation.colorFunctions);

‎pkg/sass-parser/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.2
2+
3+
* No user-visible changes.
4+
15
## 0.2.1
26

37
* No user-visible changes.

‎pkg/sass-parser/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-parser",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "A PostCSS-compatible wrapper of the official Sass parser",
55
"repository": "sass/sass",
66
"author": "Google Inc.",

‎pkg/sass_api/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 12.0.3
2+
3+
* No user-visible changes.
4+
15
## 12.0.2
26

37
* No user-visible changes.

‎pkg/sass_api/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: sass_api
22
# Note: Every time we add a new Sass AST node, we need to bump the *major*
33
# version because it's a breaking change for anyone who's implementing the
44
# visitor interface(s).
5-
version: 12.0.2
5+
version: 12.0.3
66
description: Additional APIs for Dart Sass.
77
homepage: https://github.com/sass/dart-sass
88

99
environment:
1010
sdk: ">=3.0.0 <4.0.0"
1111

1212
dependencies:
13-
sass: 1.79.2
13+
sass: 1.79.3
1414

1515
dev_dependencies:
1616
dartdoc: ^8.0.14

‎pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sass
2-
version: 1.79.2
2+
version: 1.79.3
33
description: A Sass implementation in Dart.
44
homepage: https://github.com/sass/dart-sass
55

0 commit comments

Comments
 (0)
Please sign in to comment.