You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use latest Dart Sass and release migrator 2.0.0 (#251)
- Deleted the obsolete `media-logic` migrator (breaking change bumps
version to 2.0.0).
- Moved off of the tuple package to native Dart tuples.
- Fixed the `calc-interpolation` and `division` migrators to eliminate
their use of the removed `CalculationExpression` AST node.
- Created a new `ScopedAstVisitor` that uses `Scope` to track Sass
member declarations. `MigrationVisitor` and `_ReferenceVisitor`
now extend this.
- Refactored the `division` migrator to use patterns.
* Update to be compatible with the latest version of the Dart Sass AST.
2
10
3
11
### Calc Functions Interpolation Migrator
4
12
5
-
* Add parentheses in place of interpolation when necessary to preserve the evaluation order.
13
+
* Add parentheses in place of interpolation when necessary to preserve the
14
+
evaluation order.
15
+
16
+
### Division Migrator
17
+
18
+
*`/` division should now be left untouched in all CSS calculation functions.
19
+
This was already the case for `calc`, `clamp`, `min`, and `max`, but it now
20
+
applies to the new functions that Dart Sass 1.67.0 added support for.
6
21
7
22
## 1.8.1
8
23
9
24
### Calc Functions Interpolation Migrator
10
25
11
-
* Migration for more than one interpolation or expressions in a calc function parameter.
26
+
* Migration for more than one interpolation or expressions in a calc function
27
+
parameter.
12
28
13
29
## 1.8.0
14
30
15
31
### Calc Functions Interpolation Migrator
16
32
17
-
* Removes interpolation in calculation functions `calc()`, `clamp()`, `min()`, and `max()`.
18
-
See the [scss/function-calculation-no-interpolation](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/function-calculation-no-interpolation) rule for more information.
33
+
* Removes interpolation in calculation functions `calc()`, `clamp()`, `min()`,
34
+
and `max()`. See the [scss/function-calculation-no-interpolation] rule for
0 commit comments