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+
19## 2.3.2
210
311* 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 {
192192 "Can't access _configuredVariables when not visiting a dependency." ));
193193 Set <MemberDeclaration <VariableDeclaration >>? __configuredVariables;
194194
195- /// The number of variables that have been generated from whole cloth.
196- var _generatedVariables = 0 ;
197-
198195 /// A mapping between member declarations and references.
199196 ///
200197 /// This performs an initial pass to determine how a declaration seen in the
@@ -384,8 +381,7 @@ class _ModuleMigrationVisitor extends MigrationVisitor {
384381 }
385382 }
386383
387- _generatedVariables++ ;
388- return 'var${_generatedVariables }' ;
384+ return 'private$identifier ' ;
389385 }
390386 return identifier;
391387 }
Original file line number Diff line number Diff line change 11name : sass_migrator
2- version : 2.3.2
2+ version : 2.3.3
33description : A tool for running migrations on Sass files
44homepage : https://github.com/sass/migrator
55
You can’t perform that action at this time.
0 commit comments