File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.23.3
2
+
3
+ * Fix a bug where selectors were being trimmed over-eagerly when ` @extend `
4
+ crossed module boundaries.
5
+
1
6
## 1.23.2
2
7
3
8
### Command-Line Interface
Original file line number Diff line number Diff line change @@ -400,6 +400,7 @@ class Extender {
400
400
401
401
for (var extender in extenders) {
402
402
if (extender.isEmpty) continue ;
403
+ _sourceSpecificity.addAll (extender._sourceSpecificity);
403
404
extender._extensions.forEach ((target, newSources) {
404
405
// Private selectors can't be extended across module boundaries.
405
406
if (target is PlaceholderSelector && target.isPrivate) return ;
@@ -669,11 +670,9 @@ class Extender {
669
670
}
670
671
671
672
var lineBreak = false ;
672
- var specificity = _sourceSpecificityFor (compound);
673
673
for (var state in path) {
674
674
state.assertCompatibleMediaContext (mediaQueryContext);
675
675
lineBreak = lineBreak || state.extender.lineBreak;
676
- specificity = math.max (specificity, state.specificity);
677
676
}
678
677
679
678
return complexes
Original file line number Diff line number Diff line change 1
1
name : sass
2
- version : 1.23.2
2
+ version : 1.23.3
3
3
description : A Sass implementation in Dart.
4
4
author : Sass Team
5
5
homepage : https://github.com/sass/dart-sass
You can’t perform that action at this time.
0 commit comments