chore(deps): update dependency sass to v1.62.0 #641
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.57.0
->1.62.0
Release Notes
sass/dart-sass
v1.62.0
Compare Source
Deprecate the use of multiple
!global
or!default
flags on the samevariable. This deprecation is named
duplicate-var-flags
.Allow special numbers like
var()
orcalc()
in the global functions:grayscale()
,invert()
,saturate()
, andopacity()
. These are alsonative CSS
filter
functions. This is in addition to number values which werealready allowed.
Fix a cosmetic bug where an outer rule could be duplicated after nesting was
resolved, instead of re-using a shared rule.
v1.61.0
Compare Source
Potentially breaking change: Drop support for End-of-Life Node.js 12.
Fix remaining cases for the performance regression introduced in 1.59.0.
Embedded Sass
legacy API.
v1.60.0
Compare Source
Add support for the
pi
,e
,infinity
,-infinity
, andNaN
constants incalculations. These will be interpreted as the corresponding numbers.
Add support for unknown constants in calculations. These will be interpreted
as unquoted strings.
Serialize numbers with value
infinity
,-infinity
, andNaN
tocalc()
expressions rather than CSS-invalid identifiers. Numbers with complex units
still can't be serialized.
v1.59.3
Compare Source
Fix a performance regression introduced in 1.59.0.
The NPM release of 1.59.0 dropped support for Node 12 without actually
indicating so in its pubspec. This release temporarily adds back support so
that the latest Sass version that declares it supports Node 12 actually does
so. However, Node 12 is now end-of-life, so we will drop support for it
properly in an upcoming release.
v1.59.2
Compare Source
v1.59.1
Compare Source
v1.59.0
Compare Source
Command Line Interface
Added a new
--fatal-deprecation
flag that lets you treat a deprecationwarning as an error. You can pass an individual deprecation ID
(e.g.
slash-div
) or you can pass a Dart Sass version to treat alldeprecations initially emitted in that version or earlier as errors.
New
--future-deprecation
flag that lets you opt into warning for use ofcertain features that will be deprecated in the future. At the moment, the
only option is
--future-deprecation=import
, which will emit warnings forSass
@import
rules, which are not yet deprecated, but will be in the future.Dart API
New
Deprecation
enum, which contains the different current and futuredeprecations used by the new CLI flags.
The
compile
methods now take infatalDeprecations
andfutureDeprecations
parameters, which work similarly to the CLI flags.
v1.58.3
Compare Source
v1.58.2
Compare Source
Command Line Interface
Add a timestamp to messages printed in
--watch
mode.Print better
calc()
-based suggestions for/
-as-division expression thatcontain calculation-incompatible constructs like unary minus.
v1.58.1
Compare Source
hsl()
colors. Thedeg
unit isincompatible with IE, and while that officially falls outside our
compatibility policy, it's better to lean towards greater compatibility.
v1.58.0
Compare Source
Remove sourcemap comments from Sass sources. The generated sourcemap comment
for the compiled CSS output remains unaffected.
Fix a bug in
@extend
logic where certain selectors with three or morecombinators were incorrectly considered superselectors of similar selectors
with fewer combinators, causing them to be incorrectly trimmed from the
output.
Produce a better error message for a number with a leading
+
or-
, adecimal point, but no digits.
Produce a better error message for a nested property whose name starts with
--
.Fix a crash when a selector ends in an escaped backslash.
Add the relative length units from CSS Values 4 and CSS Contain 3 as known
units to validate bad computation in
calc
.Command Line Interface
--watch
flag will now track loads through calls tometa.load-css()
aslong as their URLs are literal strings without any interpolation.
v1.57.1
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 Mend Renovate. View repository job log here.