Skip to content

Update dependency sass to v1.27.0 #2891

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

Merged
merged 1 commit into from
Oct 8, 2020
Merged

Update dependency sass to v1.27.0 #2891

merged 1 commit into from
Oct 8, 2020

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 8, 2020

This PR contains the following updates:

Package Type Update Change
sass devDependencies minor 1.26.12 -> 1.27.0

Release Notes

sass/dart-sass

v1.27.0

Compare Source

  • Adds an overload to map.merge() that supports merging a nested map.

    map.merge($map1, $keys..., $map2): The $keys form a path to the nested map
    in $map1, into which $map2 gets merged.

    See [the Sass documentation][map-merge] for more details.

    [map-merge]: https://sass-lang.com/documentation/modules/map#merge

  • Adds an overloaded map.set() function.

    map.set($map, $key, $value): Adds to or updates $map with the specified
    $key and $value.

    map.set($map, $keys..., $value): Adds to or updates a map that is nested
    within $map. The $keys form a path to the nested map in $map, into
    which $value is inserted.

    See [the Sass documentation][map-set] for more details.

    [map-set]: https://sass-lang.com/documentation/modules/map#set

  • Add support for nested maps to map.get().
    For example, map.get((a: (b: (c: d))), a, b, c) would return d.
    See [the documentation][map-get] for more details.

    [map-get]: https://sass-lang.com/documentation/modules/map#get

  • Add support for nested maps in map.has-key.
    For example, map.has-key((a: (b: (c: d))), a, b, c) would return true.
    See [the documentation][map-has-key] for more details.

    [map-has-key]: https://sass-lang.com/documentation/modules/map#has-key

  • Add a map.deep-merge() function. This works like map.merge(), except that
    nested map values are also recursively merged. For example:

    map.deep-merge(
      (color: (primary: red, secondary: blue),
      (color: (secondary: teal)
    ) // => (color: (primary: red, secondary: teal))
    

    See [the Sass documentation][map-deep-merge] for more details.

    [map-deep-merge]: https://sass-lang.com/documentation/modules/map#deep-merge

  • Add a map.deep-remove() function. This allows you to remove keys from
    nested maps by passing multiple keys. For example:

    map.deep-remove(
      (color: (primary: red, secondary: blue)),
      color, primary
    ) // => (color: (secondary: blue))
    

    See [the Sass documentation][map-deep-remove] for more details.

    [map-deep-remove]: https://sass-lang.com/documentation/modules/map#deep-remove

  • Fix a bug where custom property values in plain CSS were being parsed as
    normal property values.

Dart API
  • Add a Value.tryMap() function which returns the Value as a SassMap if
    it's a valid map, or null otherwise. This allows function authors to safely
    retrieve maps even if they're internally stored as empty lists, without having
    to catch exceptions from Value.assertMap().

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

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @locks (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@locks
Copy link
Contributor

locks commented Oct 8, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Oct 8, 2020

📌 Commit 2a7bc3b has been approved by locks

@bors
Copy link
Contributor

bors commented Oct 8, 2020

⌛ Testing commit 2a7bc3b with merge 8b912f2...

@bors
Copy link
Contributor

bors commented Oct 8, 2020

☀️ Test successful - checks-travis
Approved by: locks
Pushing 8b912f2 to master...

@bors bors merged commit 8b912f2 into master Oct 8, 2020
@renovate renovate bot deleted the renovate/sass-1.x branch October 8, 2020 01:08
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.

4 participants