File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 1
- ## 1.37.6
1
+ ## 1.38.0
2
2
3
3
* In expanded mode, emit characters in Unicode private-use areas as escape
4
4
sequences rather than literal characters.
29
29
* Don't crash when an error occurs in a stylesheet loaded via a custom importer
30
30
with a custom URL scheme.
31
31
32
+ ### Dart API
33
+
34
+ * Add a ` SassArgumentList.keywordsWithoutMarking ` getter to access the keyword
35
+ arguments of an argument list without marking them accessed.
36
+
32
37
## 1.37.5
33
38
34
39
* No user-visible changes.
Original file line number Diff line number Diff line change @@ -25,6 +25,13 @@ class SassArgumentList extends SassList {
25
25
26
26
final Map <String , Value > _keywords;
27
27
28
+ /// Returns the same value as [keywords] , but doesn't mark them accessed.
29
+ ///
30
+ /// Normally, any time [keywords] is accessed it's marked as such, which
31
+ /// indicates that the caller was allowed to pass keywords to a rest argument.
32
+ /// This avoids this marking.
33
+ Map <String , Value > get keywordsWithoutMarking => _keywords;
34
+
28
35
/// Whether [keywords] has been accessed.
29
36
///
30
37
/// This is used to determine whether to throw an exception about passing
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 : 1.0.0-dev
5
+ version : 1.0.0-beta.3
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.12.0 <3.0.0'
11
11
12
12
dependencies :
13
- sass : 1.37.6
13
+ sass : 1.38.0
14
14
15
15
dependency_overrides :
16
16
sass : {path: ../..}
Original file line number Diff line number Diff line change 1
1
name : sass
2
- version : 1.37.6-dev
2
+ version : 1.38.0
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