File tree Expand file tree Collapse file tree 8 files changed +31
-8
lines changed Expand file tree Collapse file tree 8 files changed +31
-8
lines changed Original file line number Diff line number Diff line change 1+ ## 1.89.1
2+
3+ * No user-visible changes.
4+
15## 1.89.0
26
37* 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 {
23962396 var start = scanner.state;
23972397 scanner.expectChar ($lparen);
23982398 whitespace (consumeNewlines: true );
2399+ var inside = scanner.state;
23992400 if (! _lookingAtExpression ()) {
24002401 scanner.expectChar ($rparen);
24012402 return ListExpression (
@@ -2425,12 +2426,13 @@ abstract class StylesheetParser extends Parser {
24252426 whitespace (consumeNewlines: true );
24262427 }
24272428
2428- scanner.expectChar ($rparen);
2429- return ListExpression (
2429+ var list = ListExpression (
24302430 expressions,
24312431 ListSeparator .comma,
2432- scanner.spanFrom (start ),
2432+ scanner.spanFrom (inside ),
24332433 );
2434+ scanner.expectChar ($rparen);
2435+ return ParenthesizedExpression (list, scanner.spanFrom (start));
24342436 } finally {
24352437 _inParentheses = wasInParentheses;
24362438 }
Original file line number Diff line number Diff line change 1+ ## 0.4.23
2+
3+ * Update types for compatibility with the latest PostCSS.
4+
5+ * ** Potentially-breaking bug fix** : parenthesized, comma-separated lists are now
6+ correctly wrapped in a ` ParenthesizedExpression ` .
7+
18## 0.4.22
29
310* No user-visible changes.
Original file line number Diff line number Diff line change @@ -121,7 +121,12 @@ declare abstract class Node
121121 opts ?: Pick < postcss . WarningOptions , 'index' | 'word' > ,
122122 ) : postcss . Position ;
123123 positionInside ( index : number ) : postcss . Position ;
124- rangeBy ( opts ?: Pick < postcss . WarningOptions , 'endIndex' | 'index' | 'word' > ) : {
124+ rangeBy (
125+ opts ?: Pick <
126+ postcss . WarningOptions ,
127+ 'end' | 'endIndex' | 'index' | 'start' | 'word'
128+ > ,
129+ ) : {
125130 start : postcss . Position ;
126131 end : postcss . Position ;
127132 } ;
Original file line number Diff line number Diff line change 11{
22 "name" : " sass-parser" ,
3- "version" : " 0.4.22 " ,
3+ "version" : " 0.4.23 " ,
44 "description" : " A PostCSS-compatible wrapper of the official Sass parser" ,
55 "repository" : " sass/sass" ,
66 "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+
16## 15.6.0
27
38* No user-visible changes.
Original file line number Diff line number Diff 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 : 15.6 .0
5+ version : 15.7 .0
66description : Additional APIs for Dart Sass.
77homepage : https://github.com/sass/dart-sass
88
99environment :
1010 sdk : " >=3.6.0 <4.0.0"
1111
1212dependencies :
13- sass : 1.89.0
13+ sass : 1.89.1
1414
1515dev_dependencies :
1616 dartdoc : ^8.0.14
Original file line number Diff line number Diff line change 11name : sass
2- version : 1.89.0
2+ version : 1.89.1
33description : A Sass implementation in Dart.
44homepage : https://github.com/sass/dart-sass
55
You can’t perform that action at this time.
0 commit comments