chore(deps): update dependency sass to v1.41.1 #536
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.39.2
->1.41.1
Release Notes
sass/dart-sass
v1.41.1
Compare Source
var()
functions in calculations, because theycould potentially be replaced with sub-expressions that might need to be
parenthesized.
v1.41.0
Compare Source
Calculation values can now be combined with strings using the
+
operator.This was an error in 1.40.0, but this broke stylesheets that were relying on
$value + ""
expressions to generically convert values to strings. (Note thatthe Sass team recommends the use of
"#{$value}"
orinspect($value)
forthat use-case.)
The
selector.unify()
function now correctly returnsnull
when one selectoris a
:host
or:host-context
and the other is a selector that's guaranteedto be within the current shadow DOM. The
@extend
logic has been updatedaccordingly as well.
Fix a bug where extra whitespace in
min()
,max()
,clamp()
, andcalc()
expressions could cause bogus parse errors.
Fix a bug where the right-hand operand of a
-
in a calculation couldincorrectly be stripped of parentheses.
Dart API
SassCalculation.plus()
now allowsSassString
arguments.v1.40.1
Compare Source
Potentially breaking bug fix:
min()
andmax()
expressions outside ofcalculations now behave the same way they did in 1.39.2, returning unquoted
strings if they contain no Sass-specific features and calling the global
min()
andmax()
functions otherwise. Within calculations, they continue tobehave how they did in 1.40.0.
This fixes an unintended breaking change added in 1.40.0, wherein passing a
unitless number and a number without units to
min()
ormax()
now producesan error. Since this breakage affects a major Sass library, we're temporarily
reverting support for
min()
andmax()
calculations while we work ondesigning a longer-term fix.
v1.40.0
Compare Source
Add support for first-class
calc()
expressions (as well asclamp()
andplain-CSS
min()
andmax()
). This means:calc()
expressions will be parsed more thoroughly, and errors will behighlighted 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 returnnumbers if they can be simplified away entirely.
calc()
expressions that can't be simplified to numbers return a new datatype known as "calculations".
Sass variables and functions can now be used in
calc()
expressions.New functions
meta.calc-name()
andmeta.calc-args()
can now inspectcalculations.
Dart API
Add a new value type,
SassCalculation
, that represents calculations.Add new
CalculationOperation
,CalculationOperator
, andCalculationInterpolation
types to represent types of arguments that mayexist as part of a calculation.
Add a new
Value.assertCalculation()
method.Add a new
Number.hasCompatibleUnits()
method.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.