This repository was archived by the owner on Dec 5, 2025. It is now read-only.
[skip netlify] Update dependency sass to ^1.49.0 #1983
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.42.1->^1.49.0Release Notes
sass/dart-sass
v1.49.0Compare Source
string.insertwith certain negative indices.JS API
sourceMapIncludeSourcesoption in the new JS API.TypeScript Declarations
LegacyPluginThis.options.linefeedwas typed to returnabbreviations when it actually returned literal linefeed characters.
v1.48.0Compare Source
JS API
setting
LegacyResult.maptoundefinedrather thannull.TypeScript Declarations
NULLconstant.v1.47.0Compare Source
JS API
TypeScript Declarations
TRUEandFALSEconstants.v1.46.0Compare Source
JS API
passing
undefinedrather thannulltoLogger.warn()for an unsetspan.TypeScript Declarations
Add a declaration for the
LegacyPluginThis.options.contextfield.Update the definition of
LegacyAsyncFunctionto include explicit definitionswith zero through six arguments before the
doneparameter. This makes itpossible for TypeScript users to pass in callbacks that take a specific number
of arguments, rather than having to declare a callback that takes an arbitrary
number.
Add a declaration for
types.Error, a legacy API class that can be returnedby asynchronous functions to signal asynchronous errors.
Add a
LegacyAsyncFunctionDonetype for thedonecallback that's passed toLegacyAsyncFunction.v1.45.2Compare Source
JS API
separatorparameter for
new SassArgumentList()to','rather thannull. Thismatches the API specification.
v1.45.1Compare Source
Potentially breaking bug fix: Properly parse custom properties in
@supportsconditions. Note that this means that SassScript expressions onthe right-hand side of custom property
@supportsqueries now need to beinterpolated, as per https://sass-lang.com/d/css-vars.
Potentially breaking bug fix: Fix a bug where
inspect()was notproperly printing nested, empty, bracketed lists.
v1.45.0Compare Source
JS API
This release includes an entirely new JavaScript API, designed to be more
idiomatic, performant, and usable. The old API will continue to be supported
until Dart Sass 2.0.0, but it is now considered deprecated and should be avoided
for new code.
The new API includes:
compile()andcompileAsync()functions that take Sass file paths andreturn the result of compiling them to CSS. The async function returns a
Promiserather than using a callback-based API.compileString()andcompileStringAsync()functions that take a string ofSass source and compiles it to CSS. As above, the async function returns a
Promise.A new importer API that more closely matches the Sass specification's logic
for resolving loads. This makes it much easier for Sass to cache information
across
@importand@userules, which substantially improves performancefor applications that rely heavily on repeated
@imports.A new custom function API, including much more usable JS representations of
Sass value types complete with type-assertion functions, easy map and list
lookups, and compatibility with the [
immutable][immutable] package. Unlike in thelegacy API, function callbacks now take one argument which contains an array
of Sass values (rather than taking a separate JS argument for each Sass
argument).
For full documentation of this API, please see the Sass website.
This release also adds TypeScript type definitions.
v1.44.0Compare Source
calc()as an alternative in/-as-division deprecation messages.Dart API
Add
SassNumber.convert()andSassNumber.convertValue(). These work likeSassNumber.coerce()andSassNumber.coerceValue(), except they don't treatunitless numbers as universally compatible.
Fix a bug where
SassNumber.coerceToMatch()andSassNumber.coerceValueToMatch()wouldn't coerce single-unit numbers tomatch unitless numbers.
v1.43.5Compare Source
Fix a bug where calculations with different operators were incorrectly
considered equal.
Properly parse attribute selectors with empty namespaces.
JS API
own debugging purposes.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻ 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.