chore(deps): update dependency sass to v1.32.0 #449
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.30.0
->1.32.0
Release Notes
sass/dart-sass
v1.32.0
Compare Source
Deprecate passing non-
%
numbers as lightness and saturation tohsl()
,hsla()
,color.adjust()
, andcolor.change()
. This matches the CSSspecification, which also requires
%
for all lightness and saturationparameters. See [the Sass website][color-units] for more details.
Deprecate passing numbers with units other than
deg
as the hue tohsl()
,hsla()
,adjust-hue()
,color.adjust()
, andcolor.change()
. Unitlessnumbers 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:color
functions as deprecationwarnings.
Dart API
Rename
SassNumber.valueInUnits()
toSassNumber.coerceValue()
. The old nameremains, but is now deprecated.
Rename
SassNumber.coerceValueToUnit()
, a shorthand forSassNumber.coerceValue()
that takes a single numerator unit.Add
SassNumber.coerceToMatch()
andSassNumber.coerceValueToMatch()
, whichwork like
SassNumber.coerce()
andSassNumber.coerceValue()
but take aSassNumber
whose units should be matched rather than taking the unitsexplicitly. These generate better error messages than
SassNumber.coerce()
and
SassNumber.coerceValue()
.Add
SassNumber.convertToMatch()
andSassNumber.convertValueToMatch()
,which work like
SassNumber.coerceToMatch()
andSassNumber.coerceValueToMatch()
except they throw exceptions when convertingunitless values to or from units.
Add
SassNumber.compatibleWithUnit()
, which returns whether the number can becoerced to a single numerator unit.
Renovate configuration
📅 Schedule: "before 3am every weekend" (UTC).
🚦 Automerge: Enabled.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.