Update dependency sass to ^1.39.0 - autoclosed
Created by: renovate[bot]
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
sass | ^1.34.1 -> ^1.39.0 |
Release Notes
sass/dart-sass
v1.39.0
JS API
- Add a
charset
option that controls whether or not Sass emits a@charset
/BOM for non-ASCII stylesheets.
v1.38.2
- No user-visible changes
v1.38.1
- No user-visible changes
v1.38.0
-
In expanded mode, emit characters in Unicode private-use areas as escape sequences rather than literal characters.
-
Fix a bug where quotes would be omitted for an attribute selector whose value was a single backslash.
-
Properly consider numbers that begin with
.
as "plain CSS" for the purposes of parsing plain-CSSmin()
andmax()
functions. -
Allow
if
to be used as an unquoted string. -
Properly parse backslash escapes within
url()
expressions. -
Fix a couple bugs where
@extend
s could be marked as unsatisfied when multiple identical@extend
s extended selectors across@use
rules.
Command Line Interface
- Strip CRLF newlines from snippets of the original stylesheet that are included in the output when an error occurs.
JS API
-
Don't crash when a Windows path is returned by a custom Node importer at the same time as file contents.
-
Don't crash when an error occurs in a stylesheet loaded via a custom importer with a custom URL scheme.
Dart API
- Add a
SassArgumentList.keywordsWithoutMarking
getter to access the keyword arguments of an argument list without marking them accessed.
v1.37.5
- No user-visible changes.
v1.37.4
- No user-visible changes.
v1.37.3
- No user-visible changes.
v1.37.2
- No user-visible changes.
v1.37.1
- No user-visible changes.
v1.37.0
Dart API
-
Potentially breaking bug fix:
SassNumber.asSlash
,SassNumber.withSlash()
, andSassNumber.withoutSlash()
have been marked as@internal
. They were never intended to be used outside thesass
package. -
Potentially breaking bug fix:
SassException
has been marked as@sealed
to formally indicate that it's not intended to be extended outside of thesass
package. -
Add a
Value.withListContents()
method that returns a new Sass list with the same list separator and brackets as the current value, interpreted as a list.
v1.36.0
Dart API
-
Added
compileToResult()
,compileStringToResult()
,compileToResultAsync()
, andcompileStringToResultAsync()
methods. These are intended to replace the existingcompile*()
methods, which are now deprecated. Rather than returning a simple string, these return aCompileResult
object, which will allow us to add additional information about the compilation without having to introduce further deprecations.-
Instead of passing a
sourceMaps
callback tocompile*()
, passsourceMaps: true
tocompile*ToResult()
and accessCompileResult.sourceMap
. -
The
CompileResult
object exposes aloadedUrls
object which lists the canonical URLs accessed during a compilation. This information was previously unavailable except through the JS API.
-
v1.35.2
-
Potentially breaking bug fix: Properly throw an error for Unicode ranges that have too many
?
s after hexadecimal digits, such asU+12345??
. -
Potentially breaking bug fix: Fixed a bug where certain local variable declarations nested within multiple
@if
statements would incorrectly override a global variable. It's unlikely that any real stylesheets were relying on this bug, but if so they can simply add!global
to the variable declaration to preserve the old behavior. -
Potentially breaking bug fix: Fix a bug where imports of root-relative URLs (those that begin with
/
) in@import
rules would be passed to both Dart and JS importers asfile:
URLs. -
Properly support selector lists for the
$extendee
argument toselector.extend()
andselector.replace()
. -
Fix an edge case where
@extend
wouldn't affect a selector within a pseudo-selector such as:is()
that itself extended other selectors. -
Fix a race condition where
meta.load-css()
could trigger an internal error when running in asynchronous mode.
Dart API
- Use the
@internal
annotation to indicate whichValue
APIs are available for public use.
v1.35.1
- Fix a bug where the quiet dependency flag didn't silence warnings in some
stylesheets loaded using
@import
.
v1.35.0
-
Fix a couple bugs that could prevent some members from being found in certain files that use a mix of imports and the module system.
-
Fix incorrect recommendation for migrating division expressions that reference namespaced variables.
JS API
-
Add a
quietDeps
option which silences compiler warnings from stylesheets loaded through importers and load paths. -
Add a
verbose
option which causes the compiler to emit all deprecation warnings, not just 5 per feature.
Configuration
-
If you want to rebase/retry this PR, check this box.
This PR has been generated by WhiteSource Renovate. View repository job log here.