File tree Expand file tree Collapse file tree 6 files changed +26
-5
lines changed Expand file tree Collapse file tree 6 files changed +26
-5
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.62.1
2
+
3
+ * Fix a bug where ` :has(+ &) ` and related constructs would drop the leading
4
+ combinator.
5
+
1
6
## 1.62.0
2
7
3
8
* Deprecate the use of multiple ` !global ` or ` !default ` flags on the same
Original file line number Diff line number Diff line change @@ -137,7 +137,18 @@ class SelectorList extends Selector {
137
137
}
138
138
}
139
139
} else if (newComplexes.isEmpty) {
140
- newComplexes.addAll (resolved);
140
+ newComplexes.addAll (complex.leadingCombinators.isEmpty
141
+ ? resolved
142
+ : resolved.map ((resolvedComplex) => ComplexSelector (
143
+ resolvedComplex.leadingCombinators.isEmpty
144
+ ? complex.leadingCombinators
145
+ : [
146
+ ...complex.leadingCombinators,
147
+ ...resolvedComplex.leadingCombinators
148
+ ],
149
+ resolvedComplex.components,
150
+ complex.span,
151
+ lineBreak: resolvedComplex.lineBreak)));
141
152
} else {
142
153
var previousComplexes = newComplexes;
143
154
newComplexes = [
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ class ScssParser extends StylesheetParser {
151
151
do {
152
152
while (! scanner.isDone && ! isNewline (scanner.readChar ())) {}
153
153
if (scanner.isDone) break ;
154
- whitespaceWithoutComments ();
154
+ spaces ();
155
155
} while (scanner.scan ("//" ));
156
156
157
157
if (plainCss) {
Original file line number Diff line number Diff line change
1
+ ## 7.0.0
2
+
3
+ * Silent comments in SCSS that are separated by blank lines are now parsed as
4
+ separate ` SilentComment ` nodes rather than a single conjoined node.
5
+
1
6
## 6.3.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 : 6.3 .0
5
+ version : 7.0 .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 : " >=2.17.0 <3.0.0"
11
11
12
12
dependencies :
13
- sass : 1.62.0
13
+ sass : 1.62.1
14
14
15
15
dev_dependencies :
16
16
dartdoc : ^5.0.0
Original file line number Diff line number Diff line change 1
1
name : sass
2
- version : 1.62.0
2
+ version : 1.62.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