Created by: dependabot[bot]
Bumps sass from 1.39.0 to 1.40.0.
Release notes
Sourced from sass's releases.
Dart Sass 1.40.0
To install Sass 1.40.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Add support for first-class
calc()expressions (as well asclamp()and plain-CSSmin()andmax()). This means:
calc()expressions will be parsed more thoroughly, and errors will be highlighted where they weren't before. This may break your stylesheets, but only if they were already producing broken CSS.
calc()expressions will be simplified where possible, and may even return numbers if they can be simplified away entirely.
calc()expressions that can't be simplified to numbers return a new data type known as "calculations".Sass variables and functions can now be used in
calc()expressions.New functions
meta.calc-name()andmeta.calc-args()can now inspect calculations.Dart API
Add a new value type,
SassCalculation, that represents calculations.Add new
CalculationOperation,CalculationOperator, andCalculationInterpolationtypes to represent types of arguments that may exist as part of a calculation.Add a new
Value.assertCalculation()method.Add a new
Number.hasCompatibleUnits()method.See the full changelog for changes in earlier releases.
Dart Sass 1.39.2
To install Sass 1.39.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Fix a bug where configuring with
@use ... withwould throw an error when that variable was defined in a module that also contained@forward ... with.See the full changelog for changes in earlier releases.
Dart Sass 1.39.1
To install Sass 1.39.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
... (truncated)
Changelog
Sourced from sass's changelog.
1.40.0
Add support for first-class
calc()expressions (as well asclamp()and plain-CSSmin()andmax()). This means:
calc()expressions will be parsed more thoroughly, and errors will be highlighted where they weren't before. This may break your stylesheets, but only if they were already producing broken CSS.
calc()expressions will be simplified where possible, and may even return numbers if they can be simplified away entirely.
calc()expressions that can't be simplified to numbers return a new data type known as "calculations".Sass variables and functions can now be used in
calc()expressions.New functions
meta.calc-name()andmeta.calc-args()can now inspect calculations.Dart API
Add a new value type,
SassCalculation, that represents calculations.Add new
CalculationOperation,CalculationOperator, andCalculationInterpolationtypes to represent types of arguments that may exist as part of a calculation.Add a new
Value.assertCalculation()method.Add a new
Number.hasCompatibleUnits()method.1.39.2
- Fix a bug where configuring with
@use ... withwould throw an error when that variable was defined in a module that also contained@forward ... with.1.39.1
- Partial fix for a bug where
@at-rootdoes not work properly in nested imports that contain@userules. If the only@userules in the nested import are for built-in modules,@at-rootshould now work properly.
Commits
-
bb08672Add support for first-class calc() (#1452) -
33dab9fFix the leftover-configuration check for@forward ... with(#1472) -
1672178Fix@at-rootbug for common case of built-in use (#1469) -
f06937eFix analysis errors (#1470) -
78aacbcUpgrade to analyzer 2 (#1465) -
8012e0eAvoid the /-as-division warning when running the dart_api tests (#1467) -
49c75b1Fix the test covering space-separated list to actually do it (#1466) -
f098c7fFix the test description for the list separator of non-empty maps (#1464) -
1288b92Fix the description of some tests for SassNumber (#1463) -
3112f80Ignore HintCode.UNNECESSARY_TYPE_CHECK_TRUE (#1457) - See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)