Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 20, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sass ^1.42.1 -> ^1.49.0 age adoption passing confidence

Release Notes

sass/dart-sass

v1.49.0

Compare Source

  • Fix a bug in string.insert with certain negative indices.
JS API
  • Add support for the sourceMapIncludeSources option in the new JS API.
TypeScript Declarations
  • Fix a bug where LegacyPluginThis.options.linefeed was typed to return
    abbreviations when it actually returned literal linefeed characters.

v1.48.0

Compare Source

JS API
  • Potentially breaking bug fix: Match the specification of the new JS API by
    setting LegacyResult.map to undefined rather than null.
TypeScript Declarations
  • Add a declaration for the NULL constant.

v1.47.0

Compare Source

JS API
TypeScript Declarations
  • Add declarations for the TRUE and FALSE constants.

v1.46.0

Compare Source

JS API
  • Potentially breaking bug fix: Match the specification of the new JS API by
    passing undefined rather than null to Logger.warn() for an unset span.
TypeScript Declarations
  • Add a declaration for the LegacyPluginThis.options.context field.

  • Update the definition of LegacyAsyncFunction to include explicit definitions
    with zero through six arguments before the done parameter. This makes it
    possible 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 returned
    by asynchronous functions to signal asynchronous errors.

  • Add a LegacyAsyncFunctionDone type for the done callback that's passed to
    LegacyAsyncFunction.

v1.45.2

Compare Source

JS API
  • Potentially breaking bug fix: Change the default value of the separator
    parameter for new SassArgumentList() to ',' rather than null. This
    matches the API specification.

v1.45.1

Compare Source

  • Potentially breaking bug fix: Properly parse custom properties in
    @supports conditions. Note that this means that SassScript expressions on
    the right-hand side of custom property @supports queries now need to be
    interpolated, as per https://sass-lang.com/d/css-vars.

  • Potentially breaking bug fix: Fix a bug where inspect() was not
    properly printing nested, empty, bracketed lists.

v1.45.0

Compare 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() and compileAsync() functions that take Sass file paths and
    return the result of compiling them to CSS. The async function returns a
    Promise rather than using a callback-based API.

  • compileString() and compileStringAsync() functions that take a string of
    Sass 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 @import and @use rules, which substantially improves performance
    for 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 the
    legacy 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.0

Compare Source

  • Suggest calc() as an alternative in /-as-division deprecation messages.
Dart API
  • Add SassNumber.convert() and SassNumber.convertValue(). These work like
    SassNumber.coerce() and SassNumber.coerceValue(), except they don't treat
    unitless numbers as universally compatible.

  • Fix a bug where SassNumber.coerceToMatch() and
    SassNumber.coerceValueToMatch() wouldn't coerce single-unit numbers to
    match unitless numbers.

v1.43.5

Compare Source

  • Fix a bug where calculations with different operators were incorrectly
    considered equal.

  • Properly parse attribute selectors with empty namespaces.

JS API
  • Print more detailed JS stack traces. This is mostly useful for the Sass team's
    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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@github-actions
Copy link
Contributor

You're Pull Request scored a 0.008665511265164644 out of a possible +5 on the sentiment scale. Here's a gif representation of your PR:
Boo from Monsters Inc blinking and looking into space neutrally

@github-actions
Copy link
Contributor

Gif

@yangwao yangwao merged commit c009526 into main Jan 21, 2022
@renovate renovate bot deleted the renovate/sass-1.x branch January 21, 2022 06:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants