chore(deps): update dependency sass to v1.42.0 #751
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#751
Loading…
Reference in New Issue
No description provided.
Delete Branch "renovate/sass-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.39.2
->1.42.0
Release Notes
sass/dart-sass
v1.42.0
Compare Source
min()
andmax()
expressions are once again parsed as calculations as longas they contain only syntax that's allowed in calculation expressions. To
avoid the backwards-compatibility issues that were present in 1.40.0, they now
allow unitless numbers to be mixed with numbers with units just like the
global
min()
andmax()
functions. Similarly,+
and-
operations withinmin()
andmax()
functions allow unitless numbers to be mixed with numberswith units.
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: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 Renovate Bot.
chore(deps): update dependency sass to v1.40.0to chore(deps): update dependency sass to v1.40.183853b6482
to7b76aa21b8
chore(deps): update dependency sass to v1.40.1to chore(deps): update dependency sass to v1.41.07b76aa21b8
to41169762c7
chore(deps): update dependency sass to v1.41.0to chore(deps): update dependency sass to v1.41.141169762c7
to4a0fa89efc
chore(deps): update dependency sass to v1.41.1to chore(deps): update dependency sass to v1.42.04a0fa89efc
todf4a254a94
df4a254a94
toc7304fd71a
c7304fd71a
to6be213943e