Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency sass to v1.41.1 #536

Merged
merged 1 commit into from
Sep 18, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 18, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sass 1.39.2 -> 1.41.1 age adoption passing confidence

Release Notes

sass/dart-sass

v1.41.1

Compare Source

  • Preserve parentheses around var() functions in calculations, because they
    could potentially be replaced with sub-expressions that might need to be
    parenthesized.

v1.41.0

Compare Source

  • Calculation values can now be combined with strings using the + operator.
    This was an error in 1.40.0, but this broke stylesheets that were relying on
    $value + "" expressions to generically convert values to strings. (Note that
    the Sass team recommends the use of "#{$value}" or inspect($value) for
    that use-case.)

  • The selector.unify() function now correctly returns null when one selector
    is a :host or :host-context and the other is a selector that's guaranteed
    to be within the current shadow DOM. The @extend logic has been updated
    accordingly as well.

  • Fix a bug where extra whitespace in min(), max(), clamp(), and calc()
    expressions could cause bogus parse errors.

  • Fix a bug where the right-hand operand of a - in a calculation could
    incorrectly be stripped of parentheses.

Dart API
  • SassCalculation.plus() now allows SassString arguments.

v1.40.1

Compare Source

  • Potentially breaking bug fix: min() and max() expressions outside of
    calculations now behave the same way they did in 1.39.2, returning unquoted
    strings if they contain no Sass-specific features and calling the global
    min() and max() functions otherwise. Within calculations, they continue to
    behave how they did in 1.40.0.

    This fixes an unintended breaking change added in 1.40.0, wherein passing a
    unitless number and a number without units to min() or max() now produces
    an error. Since this breakage affects a major Sass library, we're temporarily
    reverting support for min() and max() calculations while we work on
    designing a longer-term fix.

v1.40.0

Compare Source

  • Add support for first-class calc() expressions (as well as clamp() and
    plain-CSS min() and max()). This means:

    • calc() expressions will be parsed more thoroughly, and errors will be
      highlighted where they weren't before. This may break your stylesheets,
      but only if they were already producing broken CSS.

    • calc() expressions will be simplified where possible, and may even return
      numbers if they can be simplified away entirely.

    • calc() expressions that can't be simplified to numbers return a new data
      type known as "calculations".

    • Sass variables and functions can now be used in calc() expressions.

    • New functions meta.calc-name() and meta.calc-args() can now inspect
      calculations.

Dart API
  • Add a new value type, SassCalculation, that represents calculations.

  • Add new CalculationOperation, CalculationOperator, and
    CalculationInterpolation types to represent types of arguments that may
    exist as part of a calculation.

  • Add a new Value.assertCalculation() method.

  • Add a new Number.hasCompatibleUnits() method.


Configuration

📅 Schedule: "before 3am every weekend" (UTC).

🚦 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.


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

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

@codecov
Copy link

codecov bot commented Sep 18, 2021

Codecov Report

Merging #536 (89ee709) into main (bb6cfbb) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #536   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           31        31           
=========================================
  Hits            31        31           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bb6cfbb...89ee709. Read the comment docs.

@renovate renovate bot force-pushed the renovate/sass-1.x branch from c1c3b83 to 89ee709 Compare September 18, 2021 02:50
@renovate renovate bot merged commit 101eeb2 into main Sep 18, 2021
@renovate renovate bot deleted the renovate/sass-1.x branch September 18, 2021 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant