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

fix(deps): update dependency sass to v1.42.1 #260

Merged
merged 1 commit into from
Oct 6, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 15, 2021

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

sass/dart-sass

v1.42.1

Compare Source

  • Fix a bug where Sass variables and function calls in calculations weren't
    being resolved correctly if there was a parenthesized interpolation elsewhere
    in the file.

v1.42.0

Compare Source

  • min() and max() expressions are once again parsed as calculations as long
    as they contain only syntax that's allowed in calculation expressions. To
    avoid the backwards-compatibility issues that were present in 1.40.0, they now
    allow unitless numbers to be mixed with numbers with units just like the
    global min() and max() functions. Similarly, + and - operations within
    min() and max() functions allow unitless numbers to be mixed with numbers
    with units.

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.

v1.39.2

Compare Source

  • Fix a bug where configuring with @use ... with would throw an error when
    that variable was defined in a module that also contained @forward ... with.

v1.39.1

Compare Source

  • Partial fix for a bug where @at-root does not work properly in nested
    imports that contain @use rules. If the only @use rules in the nested
    import are for built-in modules, @at-root should now work properly.

v1.39.0

Compare Source

JS API
  • Add a charset option that controls whether or not Sass emits a
    @charset/BOM for non-ASCII stylesheets.

v1.38.2

Compare Source

  • No user-visible changes

v1.38.1

Compare Source

  • No user-visible changes

v1.38.0

Compare Source

  • 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-CSS min() and max() functions.

  • Allow if to be used as an unquoted string.

  • Properly parse backslash escapes within url() expressions.

  • Fix a couple bugs where @extends could be marked as unsatisfied when
    multiple identical @extends 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

Compare Source

  • No user-visible changes.

v1.37.4

Compare Source

  • No user-visible changes.

v1.37.3

Compare Source

  • No user-visible changes.

v1.37.2

Compare Source

  • No user-visible changes.

v1.37.1

Compare Source

  • No user-visible changes.

v1.37.0

Compare Source

Dart API
  • Potentially breaking bug fix: SassNumber.asSlash,
    SassNumber.withSlash(), and SassNumber.withoutSlash() have been marked as
    @internal. They were never intended to be used outside the sass package.

  • Potentially breaking bug fix: SassException has been marked as @sealed
    to formally indicate that it's not intended to be extended outside of the
    sass 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

Compare Source

Dart API
  • Added compileToResult(), compileStringToResult(),
    compileToResultAsync(), and compileStringToResultAsync() methods. These
    are intended to replace the existing compile*() methods, which are now
    deprecated. Rather than returning a simple string, these return a
    CompileResult object, which will allow us to add additional information
    about the compilation without having to introduce further deprecations.

    • Instead of passing a sourceMaps callback to compile*(), pass
      sourceMaps: true to compile*ToResult() and access
      CompileResult.sourceMap.

    • The CompileResult object exposes a loadedUrls object which lists the
      canonical URLs accessed during a compilation. This information was
      previously unavailable except through the JS API.

v1.35.2

Compare Source

  • Potentially breaking bug fix: Properly throw an error for Unicode ranges
    that have too many ?s after hexadecimal digits, such as U+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 as file: URLs.

  • Properly support selector lists for the $extendee argument to
    selector.extend() and selector.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 which Value APIs are available
    for public use.

v1.35.1

Compare Source

  • Fix a bug where the quiet dependency flag didn't silence warnings in some
    stylesheets loaded using @import.

v1.35.0

Compare Source

  • 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

📅 Schedule: 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 WhiteSource Renovate. View repository job log here.

@renovate renovate bot changed the title fix(deps): update dependency sass to v1.35.0 fix(deps): update dependency sass to v1.35.1 Jun 15, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.35.1 fix(deps): update dependency sass to v1.35.2 Jul 7, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.35.2 fix(deps): update dependency sass to v1.36.0 Jul 23, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.36.0 fix(deps): update dependency sass to v1.37.0 Jul 31, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.37.0 fix(deps): update dependency sass to v1.37.1 Aug 2, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.37.1 fix(deps): update dependency sass to v1.37.2 Aug 3, 2021
@renovate renovate bot force-pushed the renovate/sass-1.x branch 2 times, most recently from d0e7f62 to b27c390 Compare August 3, 2021 22:38
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.37.2 fix(deps): update dependency sass to v1.37.3 Aug 3, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.37.3 fix(deps): update dependency sass to v1.37.4 Aug 4, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.37.4 fix(deps): update dependency sass to v1.37.5 Aug 4, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.37.5 fix(deps): update dependency sass to v1.38.0 Aug 17, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.38.0 fix(deps): update dependency sass to v1.38.1 Aug 24, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.38.1 fix(deps): update dependency sass to v1.38.2 Aug 28, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.38.2 fix(deps): update dependency sass to v1.39.0 Sep 2, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.39.0 fix(deps): update dependency sass to v1.39.1 Sep 9, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.39.1 fix(deps): update dependency sass to v1.39.2 Sep 10, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.39.2 fix(deps): update dependency sass to v1.40.0 Sep 14, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.40.0 fix(deps): update dependency sass to v1.40.1 Sep 14, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.40.1 fix(deps): update dependency sass to v1.41.0 Sep 15, 2021
@renovate renovate bot force-pushed the renovate/sass-1.x branch 2 times, most recently from b410df7 to 9c9749e Compare September 16, 2021 22:26
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.41.0 fix(deps): update dependency sass to v1.41.1 Sep 16, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.41.1 fix(deps): update dependency sass to v1.42.0 Sep 21, 2021
@renovate renovate bot changed the title fix(deps): update dependency sass to v1.42.0 fix(deps): update dependency sass to v1.42.1 Sep 22, 2021
@jaywcjlove jaywcjlove merged commit f7eb98a into master Oct 6, 2021
@jaywcjlove jaywcjlove deleted the renovate/sass-1.x branch October 6, 2021 13:52
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.

2 participants