File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ import 'patch.dart';
24
24
/// If [migrateDependencies] is enabled, this visitor will construct and run a
25
25
/// new instance of itself (using [newInstance] ) each time it encounters an
26
26
/// `@import` or `@use` rule.
27
- abstract class MigrationVisitor extends RecursiveAstVisitor {
27
+ abstract class MigrationVisitor
28
+ with RecursiveStatementVisitor , RecursiveAstVisitor {
28
29
/// A mapping from URLs to migrated contents for stylesheets already migrated.
29
30
final _migrated = < Uri , String > {};
30
31
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ class References {
167
167
}
168
168
169
169
/// A visitor that builds a References object.
170
- class _ReferenceVisitor extends RecursiveAstVisitor {
170
+ class _ReferenceVisitor with RecursiveStatementVisitor , RecursiveAstVisitor {
171
171
final _variables = BidirectionalMap <VariableExpression , MemberDeclaration >();
172
172
final _variableReassignments = BidirectionalMap <
173
173
MemberDeclaration <VariableDeclaration >, MemberDeclaration >();
Original file line number Diff line number Diff line change 1
1
name : sass_migrator
2
- version : 1.5.6
2
+ version : 1.5.7-dev
3
3
description : A tool for running migrations on Sass files
4
4
homepage : https://github.com/sass/migrator
5
5
@@ -10,14 +10,15 @@ dependencies:
10
10
args : ^2.1.0
11
11
charcode : ^1.2.0
12
12
collection : ^1.16.0
13
- file : ^6.1.0
13
+ # Workaround until pulyaevskiy/node-interop#110 is resolved
14
+ file : ' >=6.1.0 <6.1.2'
14
15
glob : ^2.0.1
15
16
js : ^0.6.3
16
17
meta : ^1.3.0
17
18
node_interop : ^2.0.2
18
19
node_io : ^2.1.0
19
20
path : ^1.8.0
20
- sass_api : ^1 .0.0-beta.48
21
+ sass_api : ^3 .0.0
21
22
source_span : ^1.8.1
22
23
string_scanner : ^1.1.0
23
24
term_glyph : ^1.2.0
You can’t perform that action at this time.
0 commit comments