Skip to content

Commit f3749ab

Browse files
committed
Release 1.1.1
1 parent b0e456e commit f3749ab

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## 1.1.1
2+
3+
### Module Migrator
4+
5+
* When using `--forward=import-only`, `@forward` rules in an import-only file
6+
are now sorted with the regular file last, allowing variables in indirect
7+
dependencies to be configured.
8+
9+
* Fixes a bug where some references weren't renamed if a variable is declared
10+
twice when using `--remove-prefix`.
11+
112
## 1.1.0
213

314
* Add support for glob inputs on the command line.

lib/src/migrators/module.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ class _ModuleMigrationVisitor extends MigrationVisitor {
296296
_absoluteUrlToDependency(entry.key, relativeTo: importOnlyUrl)
297297
.item1,
298298
entry.value)
299-
];//..sort((a, b) => a.item2.compareTo(b.item2));
299+
];
300300
var forwardLines = [
301301
for (var tuple in tuples)
302302
..._forwardRulesForShown(tuple.item1, tuple.item2, tuple.item3,

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sass_migrator
2-
version: 1.1.0
2+
version: 1.1.1
33
description: A tool for running migrations on Sass files
44
author: Jennifer Thakar <[email protected]>
55
homepage: https://github.com/sass/migrator

0 commit comments

Comments
 (0)