mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 22:02:00 +01:00
Let inspect() print nested, empty, bracketed lists. (#1547)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
This commit is contained in:
parent
c59fee03c9
commit
1798a7c275
@ -1,3 +1,8 @@
|
||||
## 1.45.1
|
||||
|
||||
* **Potentially breaking bug fix:** Fix a bug where `inspect()` was not
|
||||
properly printing nested, empty, bracketed lists.
|
||||
|
||||
## 1.45.0
|
||||
|
||||
### JS API
|
||||
|
@ -31,7 +31,8 @@ class SassList extends Value {
|
||||
|
||||
/// @nodoc
|
||||
@internal
|
||||
bool get isBlank => asList.every((element) => element.isBlank);
|
||||
bool get isBlank =>
|
||||
!hasBrackets && asList.every((element) => element.isBlank);
|
||||
|
||||
List<Value> get asList => _contents;
|
||||
|
||||
|
@ -10,7 +10,7 @@ environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
|
||||
dependencies:
|
||||
sass: 1.45.0
|
||||
sass: 1.45.1
|
||||
|
||||
dependency_overrides:
|
||||
sass: {path: ../..}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: sass
|
||||
version: 1.45.0
|
||||
version: 1.45.1-dev
|
||||
description: A Sass implementation in Dart.
|
||||
homepage: https://github.com/sass/dart-sass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user