Skip to content

Commit 8b912f2

Browse files
committed
Auto merge of #2891 - rust-lang:renovate/sass-1.x, r=locks
Update dependency sass to v1.27.0 This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [sass](https://togithub.com/sass/dart-sass) | devDependencies | minor | [`1.26.12` -> `1.27.0`](https://renovatebot.com/diffs/npm/sass/1.26.12/1.27.0) | --- ### Release Notes <details> <summary>sass/dart-sass</summary> ### [`v1.27.0`](https://togithub.com/sass/dart-sass/blob/master/CHANGELOG.md#&#8203;1270) [Compare Source](https://togithub.com/sass/dart-sass/compare/1.26.12...1.27.0) - 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]&#x3A; <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]&#x3A; <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]&#x3A; <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]&#x3A; <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]&#x3A; <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]&#x3A; <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()`. </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **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 [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/rust-lang/crates.io).
2 parents c529987 + 2a7bc3b commit 8b912f2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"prettier": "2.1.2",
112112
"qunit-console-grouper": "0.2.0",
113113
"qunit-dom": "1.5.0",
114-
"sass": "1.26.12",
114+
"sass": "1.27.0",
115115
"semver": "7.3.2",
116116
"timekeeper": "2.2.0"
117117
},

0 commit comments

Comments
 (0)