Created by: dependabot[bot]
Bumps sass from 1.30.0 to 1.32.0.
Release notes
Sourced from sass's releases.
Dart Sass 1.32.0
To install Sass 1.32.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Deprecate passing non-
%numbers as lightness and saturation tohsl(),hsla(),color.adjust(), andcolor.change(). This matches the CSS specification, which also requires%for all lightness and saturation parameters. See [the Sass website][color-units] for more details.Deprecate passing numbers with units other than
degas the hue tohsl(),hsla(),adjust-hue(),color.adjust(), andcolor.change(). Unitless numbers are still allowed here, since they're allowed by CSS. See [the Sass website][color-units] for more details.Improve error messages about incompatible units.
Properly mark some warnings emitted by
sass:colorfunctions as deprecation warnings.Dart API
Rename
SassNumber.valueInUnits()toSassNumber.coerceValue(). The old name remains, but is now deprecated.Rename
SassNumber.coerceValueToUnit(), a shorthand forSassNumber.coerceValue()that takes a single numerator unit.Add
SassNumber.coerceToMatch()andSassNumber.coerceValueToMatch(), which work likeSassNumber.coerce()andSassNumber.coerceValue()but take aSassNumberwhose units should be matched rather than taking the units explicitly. These generate better error messages thanSassNumber.coerce()andSassNumber.coerceValue().Add
SassNumber.convertToMatch()andSassNumber.convertValueToMatch(), which work likeSassNumber.coerceToMatch()andSassNumber.coerceValueToMatch()except they throw exceptions when converting unitless values to or from units.Add
SassNumber.compatibleWithUnit(), which returns whether the number can be coerced to a single numerator unit.See the full changelog for changes in earlier releases.
Changelog
Sourced from sass's changelog.
1.32.0
Deprecate passing non-
%numbers as lightness and saturation tohsl(),hsla(),color.adjust(), andcolor.change(). This matches the CSS specification, which also requires%for all lightness and saturation parameters. See [the Sass website][color-units] for more details.Deprecate passing numbers with units other than
degas the hue tohsl(),hsla(),adjust-hue(),color.adjust(), andcolor.change(). Unitless numbers are still allowed here, since they're allowed by CSS. See [the Sass website][color-units] for more details.Improve error messages about incompatible units.
Properly mark some warnings emitted by
sass:colorfunctions as deprecation warnings.Dart API
Rename
SassNumber.valueInUnits()toSassNumber.coerceValue(). The old name remains, but is now deprecated.Rename
SassNumber.coerceValueToUnit(), a shorthand forSassNumber.coerceValue()that takes a single numerator unit.Add
SassNumber.coerceToMatch()andSassNumber.coerceValueToMatch(), which work likeSassNumber.coerce()andSassNumber.coerceValue()but take aSassNumberwhose units should be matched rather than taking the units explicitly. These generate better error messages thanSassNumber.coerce()andSassNumber.coerceValue().Add
SassNumber.convertToMatch()andSassNumber.convertValueToMatch(), which work likeSassNumber.coerceToMatch()andSassNumber.coerceValueToMatch()except they throw exceptions when converting unitless values to or from units.Add
SassNumber.compatibleWithUnit(), which returns whether the number can be coerced to a single numerator unit.1.31.0
Add support for parsing
clamp()as a special math function, the same waycalc()is parsed.Properly load files in case-sensitive Windows directories with upper-case names.
Commits
-
723dc69Merge pull request #1175 from sass/angle-units -
bae2968Deprecate incorrect HSL units -
f9a9373Print the LHS first in incompatible unit errors -
d532f01Improve error reporting for incompatible units -
7ba7351Mark deprecation warnings as such -
02c92aaAdd support for clamp() as a special math function (#1168) -
bf62375Avoid always downcasing file paths on Windows (#1172) -
40f16bfUpdate the URL for the Travis build status (#1162) -
5aeef4cRemove unused dart:async imports (#1160) -
e51ec04Re-enable fetching the latest test package version (#1155) - 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)