Skip to content

Commit fdd698f

Browse files
authored
Release 1.5.1 (#203)
There's no code changes here, but this should pull in the fix in Dart Sass that was causing #202.
1 parent 5c5ce40 commit fdd698f

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 1.5.1
2+
3+
### Division Migrator
4+
5+
* Fix a bug where some division nested in a parenthesized expression would not
6+
be migrated.
7+
18
## 1.5.0
29

310
### Division Migrator

pubspec.yaml

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

test/migrators/division/always_division.hrx

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ a {
1616
c: 6px/3px + 1;
1717
d: (6px / 3px);
1818
e: 6px / (2px + 1px) / 2;
19+
f: (6px / 3px * -1);
1920
$f: 6px / 3px;
2021

2122
// * and % always return numbers, so we can assume division here
@@ -58,6 +59,7 @@ a {
5859
c: math.div(6px, 3px) + 1;
5960
d: math.div(6px, 3px);
6061
e: math.div(math.div(6px, 2px + 1px), 2);
62+
f: (math.div(6px, 3px) * -1);
6163
$f: math.div(6px, 3px);
6264

6365
// * and % always return numbers, so we can assume division here

0 commit comments

Comments
 (0)