Skip to content

Commit 9a77a9a

Browse files
authored
Include deprecation IDs in deprecation messages (#2042)
1 parent c2a780e commit 9a77a9a

File tree

344 files changed

+1442
-1432
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

344 files changed

+1442
-1432
lines changed

spec/core_functions/color/adjust/global.hrx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a {
77
}
88

99
<===> legacy/warning
10-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
10+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
1111
Use color.adjust instead.
1212

1313
More info and automated migrator: https://sass-lang.com/d/import
@@ -29,7 +29,7 @@ a {
2929
}
3030

3131
<===> non_legacy/warning
32-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
32+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
3333
Use color.change instead.
3434

3535
More info and automated migrator: https://sass-lang.com/d/import

spec/core_functions/color/adjust/units.hrx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ a {
3030
}
3131

3232
<===> hue/unknown/warning
33-
DEPRECATION WARNING: $hue: Passing a unit other than deg (60in) is deprecated.
33+
DEPRECATION WARNING [function-units]: $hue: Passing a unit other than deg (60in) is deprecated.
3434

3535
To preserve current behavior: calc($hue / 1in)
3636

@@ -76,7 +76,7 @@ a {
7676
}
7777

7878
<===> saturation/unitless/warning
79-
DEPRECATION WARNING: $saturation: Passing a number without unit % (-10) is deprecated.
79+
DEPRECATION WARNING [function-units]: $saturation: Passing a number without unit % (-10) is deprecated.
8080

8181
To preserve current behavior: $saturation * 1%
8282

@@ -100,7 +100,7 @@ a {
100100
}
101101

102102
<===> saturation/unknown/warning
103-
DEPRECATION WARNING: $saturation: Passing a number without unit % (-10in) is deprecated.
103+
DEPRECATION WARNING [function-units]: $saturation: Passing a number without unit % (-10in) is deprecated.
104104

105105
To preserve current behavior: calc($saturation / 1in * 1%)
106106

@@ -135,7 +135,7 @@ a {
135135
}
136136

137137
<===> lightness/unitless/warning
138-
DEPRECATION WARNING: $lightness: Passing a number without unit % (10) is deprecated.
138+
DEPRECATION WARNING [function-units]: $lightness: Passing a number without unit % (10) is deprecated.
139139

140140
To preserve current behavior: $lightness * 1%
141141

@@ -159,7 +159,7 @@ a {
159159
}
160160

161161
<===> lightness/unknown/warning
162-
DEPRECATION WARNING: $lightness: Passing a number without unit % (10in) is deprecated.
162+
DEPRECATION WARNING [function-units]: $lightness: Passing a number without unit % (10in) is deprecated.
163163

164164
To preserve current behavior: calc($lightness / 1in * 1%)
165165

@@ -194,7 +194,7 @@ a {
194194
}
195195

196196
<===> alpha/percent/warning
197-
DEPRECATION WARNING: $alpha: Passing a number with unit % is deprecated.
197+
DEPRECATION WARNING [function-units]: $alpha: Passing a number with unit % is deprecated.
198198

199199
To preserve current behavior: calc($alpha / 1%)
200200

@@ -218,7 +218,7 @@ a {
218218
}
219219

220220
<===> alpha/unknown/warning
221-
DEPRECATION WARNING: $alpha: Passing a number with unit px is deprecated.
221+
DEPRECATION WARNING [function-units]: $alpha: Passing a number with unit px is deprecated.
222222

223223
To preserve current behavior: calc($alpha / 1px)
224224

spec/core_functions/color/adjust_hue/above_max.hrx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a {
77
}
88

99
<===> warning
10-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
10+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
1111
Use color.adjust instead.
1212

1313
More info and automated migrator: https://sass-lang.com/d/import
@@ -18,7 +18,7 @@ More info and automated migrator: https://sass-lang.com/d/import
1818
'
1919
input.scss 1:7 root stylesheet
2020

21-
DEPRECATION WARNING: adjust-hue() is deprecated. Suggestion:
21+
DEPRECATION WARNING [color-functions]: adjust-hue() is deprecated. Suggestion:
2222

2323
color.adjust($color, $hue: 540deg)
2424

spec/core_functions/color/adjust_hue/alpha.hrx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a {
77
}
88

99
<===> warning
10-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
10+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
1111
Use color.adjust instead.
1212

1313
More info and automated migrator: https://sass-lang.com/d/import
@@ -18,7 +18,7 @@ More info and automated migrator: https://sass-lang.com/d/import
1818
'
1919
input.scss 1:7 root stylesheet
2020

21-
DEPRECATION WARNING: adjust-hue() is deprecated. Suggestion:
21+
DEPRECATION WARNING [color-functions]: adjust-hue() is deprecated. Suggestion:
2222

2323
color.adjust($color, $hue: 359deg)
2424

spec/core_functions/color/adjust_hue/error.hrx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Error: Only 2 arguments allowed, but 3 were passed.
3636
a {b: adjust-hue(1, 2)}
3737

3838
<===> type/color/error
39-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
39+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
4040
Use color.adjust instead.
4141

4242
More info and automated migrator: https://sass-lang.com/d/import
@@ -60,7 +60,7 @@ Error: $color: 1 is not a color.
6060
a {b: adjust-hue(red, blue)}
6161

6262
<===> type/hue/error
63-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
63+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
6464
Use color.adjust instead.
6565

6666
More info and automated migrator: https://sass-lang.com/d/import
@@ -84,7 +84,7 @@ Error: $degrees: blue is not a number.
8484
a {b: adjust-hue(lch(0% 0 0deg), 10deg)}
8585

8686
<===> non_legacy/error
87-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
87+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
8888
Use color.adjust instead.
8989

9090
More info and automated migrator: https://sass-lang.com/d/import

spec/core_functions/color/adjust_hue/fraction.hrx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a {
77
}
88

99
<===> warning
10-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
10+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
1111
Use color.adjust instead.
1212

1313
More info and automated migrator: https://sass-lang.com/d/import
@@ -18,7 +18,7 @@ More info and automated migrator: https://sass-lang.com/d/import
1818
'
1919
input.scss 1:7 root stylesheet
2020

21-
DEPRECATION WARNING: adjust-hue() is deprecated. Suggestion:
21+
DEPRECATION WARNING [color-functions]: adjust-hue() is deprecated. Suggestion:
2222

2323
color.adjust($color, $hue: 0.5deg)
2424

spec/core_functions/color/adjust_hue/max.hrx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a {
77
}
88

99
<===> warning
10-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
10+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
1111
Use color.adjust instead.
1212

1313
More info and automated migrator: https://sass-lang.com/d/import
@@ -18,7 +18,7 @@ More info and automated migrator: https://sass-lang.com/d/import
1818
'
1919
input.scss 1:7 root stylesheet
2020

21-
DEPRECATION WARNING: adjust-hue() is deprecated. Suggestion:
21+
DEPRECATION WARNING [color-functions]: adjust-hue() is deprecated. Suggestion:
2222

2323
color.adjust($color, $hue: 359deg)
2424

spec/core_functions/color/adjust_hue/middle.hrx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a {
77
}
88

99
<===> warning
10-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
10+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
1111
Use color.adjust instead.
1212

1313
More info and automated migrator: https://sass-lang.com/d/import
@@ -18,7 +18,7 @@ More info and automated migrator: https://sass-lang.com/d/import
1818
'
1919
input.scss 1:7 root stylesheet
2020

21-
DEPRECATION WARNING: adjust-hue() is deprecated. Suggestion:
21+
DEPRECATION WARNING [color-functions]: adjust-hue() is deprecated. Suggestion:
2222

2323
color.adjust($color, $hue: 123deg)
2424

spec/core_functions/color/adjust_hue/min.hrx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a {
77
}
88

99
<===> warning
10-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
10+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
1111
Use color.adjust instead.
1212

1313
More info and automated migrator: https://sass-lang.com/d/import
@@ -18,7 +18,7 @@ More info and automated migrator: https://sass-lang.com/d/import
1818
'
1919
input.scss 1:7 root stylesheet
2020

21-
DEPRECATION WARNING: adjust-hue() is deprecated. Suggestion:
21+
DEPRECATION WARNING [color-functions]: adjust-hue() is deprecated. Suggestion:
2222

2323
color.adjust($color, $hue: 0deg)
2424

spec/core_functions/color/adjust_hue/named.hrx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a {
77
}
88

99
<===> warning
10-
DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
10+
DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
1111
Use color.adjust instead.
1212

1313
More info and automated migrator: https://sass-lang.com/d/import
@@ -18,7 +18,7 @@ More info and automated migrator: https://sass-lang.com/d/import
1818
'
1919
input.scss 1:7 root stylesheet
2020

21-
DEPRECATION WARNING: adjust-hue() is deprecated. Suggestion:
21+
DEPRECATION WARNING [color-functions]: adjust-hue() is deprecated. Suggestion:
2222

2323
color.adjust($color, $hue: 123deg)
2424

0 commit comments

Comments
 (0)