mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 13:51:31 +01:00
parent
c5dff3e841
commit
677d781c52
@ -1,3 +1,8 @@
|
|||||||
|
## 1.12.1
|
||||||
|
|
||||||
|
* Don't crash when a media rule contains another media rule followed by a style
|
||||||
|
rule.
|
||||||
|
|
||||||
## 1.12.0
|
## 1.12.0
|
||||||
|
|
||||||
### Dart API
|
### Dart API
|
||||||
|
@ -1012,7 +1012,7 @@ class _EvaluateVisitor
|
|||||||
scopeWhen: node.hasDeclarations);
|
scopeWhen: node.hasDeclarations);
|
||||||
_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
|
_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
|
||||||
|
|
||||||
if (!_inStyleRule) {
|
if (!_inStyleRule && _parent.children.isNotEmpty) {
|
||||||
var lastChild = _parent.children.last;
|
var lastChild = _parent.children.last;
|
||||||
lastChild.isGroupEnd = true;
|
lastChild.isGroupEnd = true;
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// DO NOT EDIT. This file was generated from async_evaluate.dart.
|
// DO NOT EDIT. This file was generated from async_evaluate.dart.
|
||||||
// See tool/synchronize.dart for details.
|
// See tool/synchronize.dart for details.
|
||||||
//
|
//
|
||||||
// Checksum: 79bb19171b8f5f162f86e3892eddae2c2dad5fbb
|
// Checksum: 2bf89d853d3acfa3d7215dc7a6d43aefe0397519
|
||||||
|
|
||||||
import 'async_evaluate.dart' show EvaluateResult;
|
import 'async_evaluate.dart' show EvaluateResult;
|
||||||
export 'async_evaluate.dart' show EvaluateResult;
|
export 'async_evaluate.dart' show EvaluateResult;
|
||||||
@ -1005,7 +1005,7 @@ class _EvaluateVisitor
|
|||||||
scopeWhen: node.hasDeclarations);
|
scopeWhen: node.hasDeclarations);
|
||||||
_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
|
_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
|
||||||
|
|
||||||
if (!_inStyleRule) {
|
if (!_inStyleRule && _parent.children.isNotEmpty) {
|
||||||
var lastChild = _parent.children.last;
|
var lastChild = _parent.children.last;
|
||||||
lastChild.isGroupEnd = true;
|
lastChild.isGroupEnd = true;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: sass
|
name: sass
|
||||||
version: 1.12.0
|
version: 1.12.1-dev
|
||||||
description: A Sass implementation in Dart.
|
description: A Sass implementation in Dart.
|
||||||
author: Dart Team <misc@dartlang.org>
|
author: Dart Team <misc@dartlang.org>
|
||||||
homepage: https://github.com/sass/dart-sass
|
homepage: https://github.com/sass/dart-sass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user