Update dependency sass to v1.27.0 #2891
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
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 mapin
$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 nestedwithin
$map
. The$keys
form a path to the nested map in$map
, intowhich
$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 returnd
.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 likemap.merge()
, except thatnested map values are also recursively merged. For example:
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 fromnested maps by passing multiple keys. For example:
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
Value.tryMap()
function which returns theValue
as aSassMap
ifit's a valid map, or
null
otherwise. This allows function authors to safelyretrieve 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.