chore(deps): update dependency dart-sass to v1.98.0 #18

Open
sa-renovate wants to merge 1 commit from renovate/dart-sass-1.x into main
Member

This PR contains the following updates:

Package Update Change
dart-sass minor latest1.98.0

Release Notes

sass/dart-sass (dart-sass)

v1.98.0

Compare Source

Command-Line Interface
  • Gracefully handle dependency loops in --watch mode.
Dart API
  • Add a const Logger.defaultLogger field. This provides a logger that emits to
    standard error or the browser console, but automatically chooses whether to
    use terminal colors.
JavaScript API
  • Fix a crash when manually constructing a SassCalculation for 'calc' with
    an argument that can't be simplified.

  • Properly emit deprecation warnings as text rather than StringBuffer objects
    when running in a browser.

  • Emit colored warnings and other messages on the console when running in a
    browser.

v1.97.3

Compare Source

  • Fix a bug where nesting an at-rule within multiple style rules in plain CSS
    could cause outer style rules to be omitted.

v1.97.2

Compare Source

  • Additional fixes for implicit configuration when nested imports are involved.

v1.97.1

Compare Source

  • Fix a bug with the new CSS-style if() syntax where values would be evaluated
    even if their conditions didn't match.

v1.96.0

Compare Source

  • Allow numbers with complex units (more than one numerator unit or more than
    zero denominator units) to be emitted to CSS. These are now emitted as
    calc() expressions, which now support complex units in plain CSS.

v1.95.0

Compare Source

  • Add support for the CSS-style if() function. In addition to supporting the
    plain CSS syntax, this also supports a sass() query that takes a Sass
    expression that evaluates to true or false at preprocessing time depending
    on whether the Sass value is truthy. If there are no plain-CSS queries, the
    function will return the first value whose query returns true during
    preprocessing. For example, if(sass(false): 1; sass(true): 2; else: 3)
    returns 2.

  • The old Sass if() syntax is now deprecated. Users are encouraged to migrate
    to the new CSS syntax. if($condition, $if-true, $if-false) can be changed to
    if(sass($condition): $if-true; else: $if-false).

    See the Sass website for details.

  • Plain-CSS if() functions are now considered "special numbers", meaning that
    they can be used in place of arguments to CSS color functions.

  • Plain-CSS if() functions and attr() functions are now considered "special
    variable strings" (like var()), meaning they can now be used in place of
    multiple arguments or syntax fragments in various CSS functions.

v1.94.2

Compare Source

Command-Line Interface
  • Using --fatal-deprecation <version> no longer emits warnings about
    deprecations that are obsolete.
Dart API
  • Deprecation.forVersion now excludes obsolete deprecations from the set it
    returns.
JS API
  • Excludes obsolete deprecations from fatalDeprecations when a Version is
    passed.
Node.js Embedded Host
  • Fix a bug where a variable could be used before it was initialized during
    async compilation.

v1.94.0

Compare Source

  • Potentially breaking compatibility fix: @function rules whose names
    begin with -- are now parsed as unknown at-rules to support the plain CSS
    @function rule. Within this rule, the result property is parsed as raw
    CSS just like custom properties.

  • Potentially breaking compatibility fix: @mixin rules whose names begin
    with -- are now errors. These are not yet parsed as unknown at-rules because
    no browser currently supports CSS mixins.

v1.93.3

Compare Source

  • Fix a performance regression that was introduced in 1.92.0.

v1.93.2

Compare Source

  • No user-visible changes.
JavaScript API
  • Fix another error in the release process for @sass/types.

v1.92.1

Compare Source

  • Fix a bug where variable definitions from one imported, forwarded module
    would not be passed as implicit configuration to a later imported, forwarded
    module.

v1.89.2

Compare Source

Embedded Host
  • Fixed a compilation error caused by an outdated buf dependency.

v1.89.1

Compare Source

  • No user-visible changes.

v1.89.0

Compare Source

  • Allow the Node package importer to load files even when there are multiple
    potential resolutions, as long as those resolutions all point to the same
    file.

v1.87.0

Compare Source

  • Potentially breaking bug fix: When a plain CSS file with a top-level
    nesting selector & is loaded into a nested Sass context via
    meta.load-css() or @import, Sass now emits plain CSS nesting rather than
    incorrectly combining it with the parent selector using a descendant
    combinator.

v1.86.3

Compare Source

  • Fix a bug introduced in 1.86.1 where Sass fails to resolve paths starting with
    a .. segment.

v1.86.0

Compare Source

  • Add support for % as an expression in its own right. It will still be parsed
    as the modulo operator when between two other expressions, but in any other
    context it will be an expression whose value is the unquoted string %.

  • Consider attr() to be a special number function that can be used as a
    channel in color functions.

  • Deprecate user-defined functions named type() so that we can eventually
    support the new CSS type() function.

Dart API
  • Increase the minimum Dart SDK to 3.6.0.

v1.85.1

Compare Source

  • Fix a bug where global Sass functions whose names overlap with CSS math
    functions could incorrectly be treated as CSS math functions even though they
    used Sass-only features, causing compilation failures. For example,
    round(-$var / 2) previously threw an error but now works as intended.

v1.85.0

Compare Source

  • No longer fully trim redundant selectors generated by @extend. This caused
    unacceptable performance issues for certain heavy users of @extend. We'll
    try to find a more performant way to accomplish it in the future.

v1.83.4

Compare Source

  • No user-visible changes.

v1.83.1

Compare Source

  • Fix a bug where --quiet-deps would get deactivated for @content blocks,
    even when those blocks were entirely contained within dependencies.

  • Include deprecation IDs in deprecation warnings to make it easier to determine
    what to pass to --silence-deprecation or --fatal-deprecation.

v1.83.0

Compare Source

  • Allow trailing commas in all argument and parameter lists.

v1.82.0

Compare Source

Command-Line Interface
  • Improve --watch mode reliability when making multiple changes at once, such
    as checking out a different Git branch.

  • Parse the calc-size() function as a calculation now that it's supported in
    some browsers.

Dart API
  • Add a SassCalculation.calcSize() function.

v1.80.5

Compare Source

Embedded Host
  • Don't produce phantom @import deprecations when using an importer with the
    legacy API.

v1.77.6

Compare Source

  • Fix a few cases where comments and occasionally even whitespace wasn't allowed
    between the end of Sass statements and the following semicolon.

v1.77.4

Compare Source

Embedded Sass
  • Support passing Version input for fatalDeprecations as string over
    embedded protocol.

  • Fix a bug in the JS Embedded Host where Version could be incorrectly accepted
    as input for silenceDeprecations and futureDeprecations in pure JS.

v1.77.2

Compare Source

  • Don't emit deprecation warnings for functions and mixins beginning with __.

  • Allow user-defined functions whose names begin with _ and otherwise look
    like vendor-prefixed functions with special CSS syntax.

Command-Line Interface
  • Properly handle the --silence-deprecation flag.

  • Handle the --fatal-deprecation and --future-deprecation flags for
    --interactive mode.

v1.77.0

Compare Source

  • Don't throw errors for at-rules in keyframe blocks.

v1.75.0

Compare Source

  • Fix a bug in which stylesheet canonicalization could be cached incorrectly
    when custom importers or the Node.js package importer made decisions based on
    the URL of the containing stylesheet.
JS API
  • Allow importer to be passed without url in StringOptionsWithImporter.

v1.74.1

Compare Source

  • No user-visible changes.

v1.72.0

Compare Source

  • Support adjacent /s without whitespace in between when parsing plain CSS
    expressions.

  • Allow the Node.js pkg: importer to load Sass stylesheets for package.json
    exports field entries without extensions.

  • When printing suggestions for variables, use underscores in variable names
    when the original usage used underscores.

JavaScript API
  • Properly resolve pkg: imports with the Node.js package importer when
    arguments are passed to the JavaScript process.

v1.71.1

Compare Source

Command-Line Interface
  • Ship the musl Linux release with the proper Dart executable.
JavaScript API
  • Export the NodePackageImporter class in ESM mode.

  • Allow NodePackageImporter to locate a default directory even when the
    entrypoint is an ESM module.

Dart API
  • Make passing a null argument to NodePackageImporter() a static error rather
    than just a runtime error.
Embedded Sass
  • In the JS Embedded Host, properly install the musl Linux embedded compiler
    when running on musl Linux.

v1.70.0

Compare Source

JavaScript API
  • Add a sass.initCompiler() function that returns a sass.Compiler object
    which supports compile() and compileString() methods with the same API as
    the global Sass object. On the Node.js embedded host, each sass.Compiler
    object uses a single long-lived subprocess, making compiling multiple
    stylesheets much more efficient.

  • Add a sass.initAsyncCompiler() function that returns a sass.AsyncCompiler
    object which supports compileAsync() and compileStringAsync() methods with
    the same API as the global Sass object. On the Node.js embedded host, each
    sass.AsynCompiler object uses a single long-lived subprocess, making
    compiling multiple stylesheets much more efficient.

Embedded Sass
  • Support the CompileRequest.silent field. This allows compilations with no
    logging to avoid unnecessary request/response cycles.

  • The Dart Sass embedded compiler now reports its name as "dart-sass" rather
    than "Dart Sass", to match the JS API's info field.

v1.69.0

Compare Source

  • Add a meta.get-mixin() function that returns a mixin as a first-class Sass
    value.

  • Add a meta.apply() mixin that includes a mixin value.

  • Add a meta.module-mixins() function which returns a map from mixin names in
    a module to the first-class mixins that belong to those names.

  • Add a meta.accepts-content() function which returns whether or not a mixin
    value can take a content block.

  • Add support for the relative color syntax from CSS Color 5. This syntax
    cannot be used to create Sass color values. It is always emitted as-is in the
    CSS output.

Dart API
  • Deprecate Deprecation.calcInterp since it was never actually emitted as a
    deprecation.
Embedded Sass
  • Fix a rare race condition where the embedded compiler could freeze when a
    protocol error was immediately followed by another request.

v1.68.0

Compare Source

  • Fix the source spans associated with the abs-percent deprecation.
JS API
  • Non-filesystem importers can now set the nonCanonicalScheme field, which
    declares that one or more URL schemes (without :) will never be used for
    URLs returned by the canonicalize() method.

  • Add a containingUrl field to the canonicalize() and findFileUrl()
    methods of importers, which is set to the canonical URL of the stylesheet that
    contains the current load. For filesystem importers, this is always set; for
    other importers, it's set only if the current load has no URL scheme, or if
    its URL scheme is declared as non-canonical by the importer.

Dart API
  • Add AsyncImporter.isNonCanonicalScheme, which importers (async or sync) can
    use to indicate that a certain URL scheme will never be used for URLs returned
    by the canonicalize() method.

  • Add AsyncImporter.containingUrl, which is set during calls to the
    canonicalize() method to the canonical URL of the stylesheet that contains
    the current load. This is set only if the current load has no URL scheme, or
    if its URL scheme is declared as non-canonical by the importer.

Embedded Sass
  • The CalculationValue.interpolation field is deprecated and will be removed
    in a future version. It will no longer be set by the compiler, and if the host
    sets it it will be treated as equivalent to CalculationValue.string except
    that "(" and ")" will be added to the beginning and end of the string
    values.

  • Properly include TypeScript types in the sass-embedded package.

v1.66.1

Compare Source

JS API
  • Fix a bug where Sass compilation could crash in strict mode if passed a
    callback that threw a string, boolean, number, symbol, or bignum.

v1.65.1

Compare Source

  • Update abs-percent deprecatedIn version to 1.65.0.

v1.64.1

Compare Source

Embedded Sass
  • Fix a bug where a valid SassCalculation.clamp() with less than 3 arguments
    would throw an error.

v1.63.3

Compare Source

JavaScript API
  • Fix loading Sass as an ECMAScript module on Node.js.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [dart-sass](https://github.com/sass/dart-sass) | minor | `latest` → `1.98.0` | --- ### Release Notes <details> <summary>sass/dart-sass (dart-sass)</summary> ### [`v1.98.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1980) [Compare Source](https://github.com/sass/dart-sass/compare/1.97.3...1.98.0) ##### Command-Line Interface - Gracefully handle dependency loops in `--watch` mode. ##### Dart API - Add a `const Logger.defaultLogger` field. This provides a logger that emits to standard error or the browser console, but automatically chooses whether to use terminal colors. ##### JavaScript API - Fix a crash when manually constructing a `SassCalculation` for `'calc'` with an argument that can't be simplified. - Properly emit deprecation warnings as text rather than `StringBuffer` objects when running in a browser. - Emit colored warnings and other messages on the console when running in a browser. ### [`v1.97.3`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1973) [Compare Source](https://github.com/sass/dart-sass/compare/1.97.2...1.97.3) - Fix a bug where nesting an at-rule within multiple style rules in plain CSS could cause outer style rules to be omitted. ### [`v1.97.2`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1972) [Compare Source](https://github.com/sass/dart-sass/compare/1.97.1...1.97.2) - Additional fixes for implicit configuration when nested imports are involved. ### [`v1.97.1`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1971) [Compare Source](https://github.com/sass/dart-sass/compare/1.96.0...1.97.1) - Fix a bug with the new CSS-style `if()` syntax where values would be evaluated even if their conditions didn't match. ### [`v1.96.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1960) [Compare Source](https://github.com/sass/dart-sass/compare/1.95.0...1.96.0) - Allow numbers with complex units (more than one numerator unit or more than zero denominator units) to be emitted to CSS. These are now emitted as `calc()` expressions, which now support complex units in plain CSS. ### [`v1.95.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1950) [Compare Source](https://github.com/sass/dart-sass/compare/1.94.2...1.95.0) - Add support for the [CSS-style `if()` function]. In addition to supporting the plain CSS syntax, this also supports a `sass()` query that takes a Sass expression that evaluates to `true` or `false` at preprocessing time depending on whether the Sass value is truthy. If there are no plain-CSS queries, the function will return the first value whose query returns true during preprocessing. For example, `if(sass(false): 1; sass(true): 2; else: 3)` returns `2`. [CSS-style `if()` function]: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/if - The old Sass `if()` syntax is now deprecated. Users are encouraged to migrate to the new CSS syntax. `if($condition, $if-true, $if-false)` can be changed to `if(sass($condition): $if-true; else: $if-false)`. See [the Sass website](https://sass-lang.com/d/if-function) for details. - Plain-CSS `if()` functions are now considered "special numbers", meaning that they can be used in place of arguments to CSS color functions. - Plain-CSS `if()` functions and `attr()` functions are now considered "special variable strings" (like `var()`), meaning they can now be used in place of multiple arguments or syntax fragments in various CSS functions. ### [`v1.94.2`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1942) [Compare Source](https://github.com/sass/dart-sass/compare/1.94.0...1.94.2) ##### Command-Line Interface - Using `--fatal-deprecation <version>` no longer emits warnings about deprecations that are obsolete. ##### Dart API - `Deprecation.forVersion` now excludes obsolete deprecations from the set it returns. ##### JS API - Excludes obsolete deprecations from `fatalDeprecations` when a `Version` is passed. ##### Node.js Embedded Host - Fix a bug where a variable could be used before it was initialized during async compilation. ### [`v1.94.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1940) [Compare Source](https://github.com/sass/dart-sass/compare/1.93.3...1.94.0) - **Potentially breaking compatibility fix:** `@function` rules whose names begin with `--` are now parsed as unknown at-rules to support the plain CSS `@function` rule. Within this rule, the `result` property is parsed as raw CSS just like custom properties. - **Potentially breaking compatibility fix:** `@mixin` rules whose names begin with `--` are now errors. These are not yet parsed as unknown at-rules because no browser currently supports CSS mixins. ### [`v1.93.3`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1933) [Compare Source](https://github.com/sass/dart-sass/compare/1.93.2...1.93.3) - Fix a performance regression that was introduced in 1.92.0. ### [`v1.93.2`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1932) [Compare Source](https://github.com/sass/dart-sass/compare/1.92.1...1.93.2) - No user-visible changes. ##### JavaScript API - Fix another error in the release process for `@sass/types`. ### [`v1.92.1`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1921) [Compare Source](https://github.com/sass/dart-sass/compare/1.89.2...1.92.1) - Fix a bug where variable definitions from one imported, forwarded module would not be passed as implicit configuration to a later imported, forwarded module. ### [`v1.89.2`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1892) [Compare Source](https://github.com/sass/dart-sass/compare/1.89.1...1.89.2) ##### Embedded Host - Fixed a compilation error caused by an outdated `buf` dependency. ### [`v1.89.1`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1891) [Compare Source](https://github.com/sass/dart-sass/compare/1.89.0...1.89.1) - No user-visible changes. ### [`v1.89.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1890) [Compare Source](https://github.com/sass/dart-sass/compare/1.87.0...1.89.0) - Allow the Node package importer to load files even when there are multiple potential resolutions, as long as those resolutions all point to the same file. ### [`v1.87.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1870) [Compare Source](https://github.com/sass/dart-sass/compare/1.86.3...1.87.0) - **Potentially breaking bug fix:** When a plain CSS file with a top-level nesting selector `&` is loaded into a nested Sass context via `meta.load-css()` or `@import`, Sass now emits plain CSS nesting rather than incorrectly combining it with the parent selector using a descendant combinator. ### [`v1.86.3`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1863) [Compare Source](https://github.com/sass/dart-sass/compare/1.86.0...1.86.3) - Fix a bug introduced in 1.86.1 where Sass fails to resolve paths starting with a `..` segment. ### [`v1.86.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1860) [Compare Source](https://github.com/sass/dart-sass/compare/1.85.1...1.86.0) - Add support for `%` as an expression in its own right. It will still be parsed as the modulo operator when between two other expressions, but in any other context it will be an expression whose value is the unquoted string `%`. - Consider `attr()` to be a special number function that can be used as a channel in color functions. - Deprecate user-defined functions named `type()` so that we can eventually support the new CSS `type()` function. ##### Dart API - Increase the minimum Dart SDK to 3.6.0. ### [`v1.85.1`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1851) [Compare Source](https://github.com/sass/dart-sass/compare/1.85.0...1.85.1) - Fix a bug where global Sass functions whose names overlap with CSS math functions could incorrectly be treated as CSS math functions even though they used Sass-only features, causing compilation failures. For example, `round(-$var / 2)` previously threw an error but now works as intended. ### [`v1.85.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1850) [Compare Source](https://github.com/sass/dart-sass/compare/1.83.4...1.85.0) - No longer fully trim redundant selectors generated by `@extend`. This caused unacceptable performance issues for certain heavy users of `@extend`. We'll try to find a more performant way to accomplish it in the future. ### [`v1.83.4`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1834) [Compare Source](https://github.com/sass/dart-sass/compare/1.83.1...1.83.4) - No user-visible changes. ### [`v1.83.1`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1831) [Compare Source](https://github.com/sass/dart-sass/compare/1.83.0...1.83.1) - Fix a bug where `--quiet-deps` would get deactivated for `@content` blocks, even when those blocks were entirely contained within dependencies. - Include deprecation IDs in deprecation warnings to make it easier to determine what to pass to `--silence-deprecation` or `--fatal-deprecation`. ### [`v1.83.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1830) [Compare Source](https://github.com/sass/dart-sass/compare/1.82.0...1.83.0) - Allow trailing commas in *all* argument and parameter lists. ### [`v1.82.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1820) [Compare Source](https://github.com/sass/dart-sass/compare/1.80.5...1.82.0) ##### Command-Line Interface - Improve `--watch` mode reliability when making multiple changes at once, such as checking out a different Git branch. - Parse the `calc-size()` function as a calculation now that it's supported in some browsers. ##### Dart API - Add a `SassCalculation.calcSize()` function. ### [`v1.80.5`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1805) [Compare Source](https://github.com/sass/dart-sass/compare/1.77.6...1.80.5) ##### Embedded Host - Don't produce phantom `@import` deprecations when using an importer with the legacy API. ### [`v1.77.6`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1776) [Compare Source](https://github.com/sass/dart-sass/compare/1.77.4...1.77.6) - Fix a few cases where comments and occasionally even whitespace wasn't allowed between the end of Sass statements and the following semicolon. ### [`v1.77.4`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1774) [Compare Source](https://github.com/sass/dart-sass/compare/1.77.2...1.77.4) ##### Embedded Sass - Support passing `Version` input for `fatalDeprecations` as string over embedded protocol. - Fix a bug in the JS Embedded Host where `Version` could be incorrectly accepted as input for `silenceDeprecations` and `futureDeprecations` in pure JS. ### [`v1.77.2`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1772) [Compare Source](https://github.com/sass/dart-sass/compare/1.77.0...1.77.2) - Don't emit deprecation warnings for functions and mixins beginning with `__`. - Allow user-defined functions whose names begin with `_` and otherwise look like vendor-prefixed functions with special CSS syntax. ##### Command-Line Interface - Properly handle the `--silence-deprecation` flag. - Handle the `--fatal-deprecation` and `--future-deprecation` flags for `--interactive` mode. ### [`v1.77.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1770) [Compare Source](https://github.com/sass/dart-sass/compare/1.75.0...1.77.0) - *Don't* throw errors for at-rules in keyframe blocks. ### [`v1.75.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1750) [Compare Source](https://github.com/sass/dart-sass/compare/1.74.1...1.75.0) - Fix a bug in which stylesheet canonicalization could be cached incorrectly when custom importers or the Node.js package importer made decisions based on the URL of the containing stylesheet. ##### JS API - Allow `importer` to be passed without `url` in `StringOptionsWithImporter`. ### [`v1.74.1`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1741) [Compare Source](https://github.com/sass/dart-sass/compare/1.72.0...1.74.1) - No user-visible changes. ### [`v1.72.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1720) [Compare Source](https://github.com/sass/dart-sass/compare/1.71.1...1.72.0) - Support adjacent `/`s without whitespace in between when parsing plain CSS expressions. - Allow the Node.js `pkg:` importer to load Sass stylesheets for `package.json` `exports` field entries without extensions. - When printing suggestions for variables, use underscores in variable names when the original usage used underscores. ##### JavaScript API - Properly resolve `pkg:` imports with the Node.js package importer when arguments are passed to the JavaScript process. ### [`v1.71.1`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1711) [Compare Source](https://github.com/sass/dart-sass/compare/1.70.0...1.71.1) ##### Command-Line Interface - Ship the musl Linux release with the proper Dart executable. ##### JavaScript API - Export the `NodePackageImporter` class in ESM mode. - Allow `NodePackageImporter` to locate a default directory even when the entrypoint is an ESM module. ##### Dart API - Make passing a null argument to `NodePackageImporter()` a static error rather than just a runtime error. ##### Embedded Sass - In the JS Embedded Host, properly install the musl Linux embedded compiler when running on musl Linux. ### [`v1.70.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1700) [Compare Source](https://github.com/sass/dart-sass/compare/1.69.0...1.70.0) ##### JavaScript API - Add a `sass.initCompiler()` function that returns a `sass.Compiler` object which supports `compile()` and `compileString()` methods with the same API as the global Sass object. On the Node.js embedded host, each `sass.Compiler` object uses a single long-lived subprocess, making compiling multiple stylesheets much more efficient. - Add a `sass.initAsyncCompiler()` function that returns a `sass.AsyncCompiler` object which supports `compileAsync()` and `compileStringAsync()` methods with the same API as the global Sass object. On the Node.js embedded host, each `sass.AsynCompiler` object uses a single long-lived subprocess, making compiling multiple stylesheets much more efficient. ##### Embedded Sass - Support the `CompileRequest.silent` field. This allows compilations with no logging to avoid unnecessary request/response cycles. - The Dart Sass embedded compiler now reports its name as "dart-sass" rather than "Dart Sass", to match the JS API's `info` field. ### [`v1.69.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1690) [Compare Source](https://github.com/sass/dart-sass/compare/1.68.0...1.69.0) - Add a `meta.get-mixin()` function that returns a mixin as a first-class Sass value. - Add a `meta.apply()` mixin that includes a mixin value. - Add a `meta.module-mixins()` function which returns a map from mixin names in a module to the first-class mixins that belong to those names. - Add a `meta.accepts-content()` function which returns whether or not a mixin value can take a content block. - Add support for the relative color syntax from CSS Color 5. This syntax cannot be used to create Sass color values. It is always emitted as-is in the CSS output. ##### Dart API - Deprecate `Deprecation.calcInterp` since it was never actually emitted as a deprecation. ##### Embedded Sass - Fix a rare race condition where the embedded compiler could freeze when a protocol error was immediately followed by another request. ### [`v1.68.0`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1680) [Compare Source](https://github.com/sass/dart-sass/compare/1.66.1...1.68.0) - Fix the source spans associated with the `abs-percent` deprecation. ##### JS API - Non-filesystem importers can now set the `nonCanonicalScheme` field, which declares that one or more URL schemes (without `:`) will never be used for URLs returned by the `canonicalize()` method. - Add a `containingUrl` field to the `canonicalize()` and `findFileUrl()` methods of importers, which is set to the canonical URL of the stylesheet that contains the current load. For filesystem importers, this is always set; for other importers, it's set only if the current load has no URL scheme, or if its URL scheme is declared as non-canonical by the importer. ##### Dart API - Add `AsyncImporter.isNonCanonicalScheme`, which importers (async or sync) can use to indicate that a certain URL scheme will never be used for URLs returned by the `canonicalize()` method. - Add `AsyncImporter.containingUrl`, which is set during calls to the `canonicalize()` method to the canonical URL of the stylesheet that contains the current load. This is set only if the current load has no URL scheme, or if its URL scheme is declared as non-canonical by the importer. ##### Embedded Sass - The `CalculationValue.interpolation` field is deprecated and will be removed in a future version. It will no longer be set by the compiler, and if the host sets it it will be treated as equivalent to `CalculationValue.string` except that `"("` and `")"` will be added to the beginning and end of the string values. - Properly include TypeScript types in the `sass-embedded` package. ### [`v1.66.1`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1661) [Compare Source](https://github.com/sass/dart-sass/compare/1.65.1...1.66.1) ##### JS API - Fix a bug where Sass compilation could crash in strict mode if passed a callback that threw a string, boolean, number, symbol, or bignum. ### [`v1.65.1`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1651) [Compare Source](https://github.com/sass/dart-sass/compare/1.64.1...1.65.1) - Update abs-percent deprecatedIn version to `1.65.0`. ### [`v1.64.1`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1641) [Compare Source](https://github.com/sass/dart-sass/compare/1.63.3...1.64.1) ##### Embedded Sass - Fix a bug where a valid `SassCalculation.clamp()` with less than 3 arguments would throw an error. ### [`v1.63.3`](https://github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1633) [Compare Source](https://github.com/sass/dart-sass/compare/1.62.1...1.63.3) ##### JavaScript API - Fix loading Sass as an ECMAScript module on Node.js. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My43Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNzYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
chore(deps): update dependency dart-sass to v1.97.3
Some checks failed
renovate/artifacts Artifact file update failure
ci / build (push) Successful in 1m13s
4b3c8366a4
sa-renovate force-pushed renovate/dart-sass-1.x from 4b3c8366a4
Some checks failed
renovate/artifacts Artifact file update failure
ci / build (push) Successful in 1m13s
to 5c30f79566
Some checks failed
renovate/artifacts Artifact file update failure
ci / build (push) Successful in 1m14s
2026-03-17 10:22:35 +00:00
Compare
sa-renovate force-pushed renovate/dart-sass-1.x from 5c30f79566
Some checks failed
renovate/artifacts Artifact file update failure
ci / build (push) Successful in 1m14s
to 25eb77f413
Some checks failed
ci / build (push) Failing after 18s
2026-04-02 03:09:19 +00:00
Compare
sa-renovate changed title from chore(deps): update dependency dart-sass to v1.97.3 to chore(deps): update dependency dart-sass to v1.98.0 2026-04-02 03:09:24 +00:00
Some checks failed
ci / build (push) Failing after 18s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/dart-sass-1.x:renovate/dart-sass-1.x
git switch renovate/dart-sass-1.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/dart-sass-1.x
git switch renovate/dart-sass-1.x
git rebase main
git switch main
git merge --ff-only renovate/dart-sass-1.x
git switch renovate/dart-sass-1.x
git rebase main
git switch main
git merge --no-ff renovate/dart-sass-1.x
git switch main
git merge --squash renovate/dart-sass-1.x
git switch main
git merge --ff-only renovate/dart-sass-1.x
git switch main
git merge renovate/dart-sass-1.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DevFW-CICD/website-and-documentation!18
No description provided.