File tree Expand file tree Collapse file tree 7 files changed +23
-7
lines changed Expand file tree Collapse file tree 7 files changed +23
-7
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.89.1
2
+
3
+ * No user-visible changes.
4
+
1
5
## 1.89.0
2
6
3
7
* Allow the Node package importer to load files even when there are multiple
Original file line number Diff line number Diff line change @@ -2396,6 +2396,7 @@ abstract class StylesheetParser extends Parser {
2396
2396
var start = scanner.state;
2397
2397
scanner.expectChar ($lparen);
2398
2398
whitespace (consumeNewlines: true );
2399
+ var inside = scanner.state;
2399
2400
if (! _lookingAtExpression ()) {
2400
2401
scanner.expectChar ($rparen);
2401
2402
return ListExpression (
@@ -2425,12 +2426,13 @@ abstract class StylesheetParser extends Parser {
2425
2426
whitespace (consumeNewlines: true );
2426
2427
}
2427
2428
2428
- scanner.expectChar ($rparen);
2429
- return ListExpression (
2429
+ var list = ListExpression (
2430
2430
expressions,
2431
2431
ListSeparator .comma,
2432
- scanner.spanFrom (start ),
2432
+ scanner.spanFrom (inside ),
2433
2433
);
2434
+ scanner.expectChar ($rparen);
2435
+ return ParenthesizedExpression (list, scanner.spanFrom (start));
2434
2436
} finally {
2435
2437
_inParentheses = wasInParentheses;
2436
2438
}
Original file line number Diff line number Diff line change
1
+ ## 0.4.23
2
+
3
+ * ** Potentially-breaking bug fix** : parenthesized, comma-separated lists are now
4
+ correctly wrapped in a ` ParenthesizedExpression ` .
5
+
1
6
## 0.4.22
2
7
3
8
* No user-visible changes.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sass-parser" ,
3
- "version" : " 0.4.22 " ,
3
+ "version" : " 0.4.23 " ,
4
4
"description" : " A PostCSS-compatible wrapper of the official Sass parser" ,
5
5
"repository" : " sass/sass" ,
6
6
"author" : " Google Inc." ,
Original file line number Diff line number Diff line change
1
+ ## 15.7.0
2
+
3
+ * ** Potentially-breaking bug fix** : parenthesized, comma-separated lists are now
4
+ correctly wrapped in a ` ParenthesizedExpression ` .
5
+
1
6
## 15.6.0
2
7
3
8
* No user-visible changes.
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ name: sass_api
2
2
# Note: Every time we add a new Sass AST node, we need to bump the *major*
3
3
# version because it's a breaking change for anyone who's implementing the
4
4
# visitor interface(s).
5
- version : 15.6 .0
5
+ version : 15.7 .0
6
6
description : Additional APIs for Dart Sass.
7
7
homepage : https://github.com/sass/dart-sass
8
8
9
9
environment :
10
10
sdk : " >=3.6.0 <4.0.0"
11
11
12
12
dependencies :
13
- sass : 1.89.0
13
+ sass : 1.89.1
14
14
15
15
dev_dependencies :
16
16
dartdoc : ^8.0.14
Original file line number Diff line number Diff line change 1
1
name : sass
2
- version : 1.89.0
2
+ version : 1.89.1
3
3
description : A Sass implementation in Dart.
4
4
homepage : https://github.com/sass/dart-sass
5
5
You can’t perform that action at this time.
0 commit comments