File tree 3 files changed +11
-2
lines changed
3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.69.6
2
+
3
+ ### JS API
4
+
5
+ * Fix a bug where certain exceptions could produce ` SourceSpan ` s that didn't
6
+ follow the documented ` SourceSpan ` API.
7
+
1
8
## 1.69.5
2
9
3
10
### JS API
Original file line number Diff line number Diff line change 4
4
5
5
import 'package:source_span/source_span.dart' ;
6
6
7
+ import '../util/lazy_file_span.dart' ;
7
8
import '../util/multi_span.dart' ;
8
9
import '../util/nullable.dart' ;
9
10
import 'reflection.dart' ;
@@ -14,8 +15,9 @@ import 'utils.dart';
14
15
void updateSourceSpanPrototype () {
15
16
var span = SourceFile .fromString ('' ).span (0 );
16
17
var multiSpan = MultiSpan (span, '' , {});
18
+ var lazySpan = LazyFileSpan (() => span);
17
19
18
- for (var item in [span, multiSpan]) {
20
+ for (var item in [span, multiSpan, lazySpan ]) {
19
21
getJSClass (item).defineGetters ({
20
22
'start' : (FileSpan span) => span.start,
21
23
'end' : (FileSpan span) => span.end,
Original file line number Diff line number Diff line change 1
1
name : sass
2
- version : 1.69.5
2
+ version : 1.69.6-dev
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