File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.3.3
2
+
3
+ ### Module System Migration
4
+
5
+ * Fix some bugs in the conversion of private names that are references across
6
+ files to public names, especially when ` --remove-prefix ` and/or multiple
7
+ leading dashes/underscores are involved.
8
+
1
9
## 2.3.2
2
10
3
11
* Update to be compatible with the latest version of the Dart Sass AST.
Original file line number Diff line number Diff line change @@ -192,9 +192,6 @@ class _ModuleMigrationVisitor extends MigrationVisitor {
192
192
"Can't access _configuredVariables when not visiting a dependency." ));
193
193
Set <MemberDeclaration <VariableDeclaration >>? __configuredVariables;
194
194
195
- /// The number of variables that have been generated from whole cloth.
196
- var _generatedVariables = 0 ;
197
-
198
195
/// A mapping between member declarations and references.
199
196
///
200
197
/// This performs an initial pass to determine how a declaration seen in the
@@ -384,8 +381,7 @@ class _ModuleMigrationVisitor extends MigrationVisitor {
384
381
}
385
382
}
386
383
387
- _generatedVariables++ ;
388
- return 'var${_generatedVariables }' ;
384
+ return 'private$identifier ' ;
389
385
}
390
386
return identifier;
391
387
}
Original file line number Diff line number Diff line change 1
1
name : sass_migrator
2
- version : 2.3.2
2
+ version : 2.3.3
3
3
description : A tool for running migrations on Sass files
4
4
homepage : https://github.com/sass/migrator
5
5
You can’t perform that action at this time.
0 commit comments