Snyk has created this PR to upgrade sass from 1.27.0 to 1.28.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 3 versions ahead of your current version.
The recommended version was released 5 days ago, on 2020-10-29.
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.
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 for more details.
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 for more details.
Add a map.deep-merge() function. This works like map.merge(), except that nested map values are also recursively merged. For example:
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().
Snyk has created this PR to upgrade sass from 1.27.0 to 1.28.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: sass
To install Sass 1.28.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
color.hwb()
function tosass:color
that can express colors in HWB format.color.whiteness()
andcolor.blackness()
functions tosass:color
to get a color's HWB whiteness and blackness components.$whiteness
and$blackness
parameters tocolor.adjust()
,color.change()
, andcolor.scale()
to modify a color's HWB whiteness and blackness components.Dart API
SassColor
class, including aSassColor.hwb()
constructor,whiteness
andblackness
getters, and achangeHwb()
method.See the full changelog for changes in earlier releases.
To install Sass 1.27.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
See the full changelog for changes in earlier releases.
This reverts commit 01ed720. Now that
google/dart_cli_pkg#56 has landed, Chocolatey deployment should work
again.
To install Sass 1.27.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
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 for more details.
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 for more details.
Add support for nested maps to
map.get()
. For example,map.get((a: (b: (c: d))), a, b, c)
would returnd
. See the documentation for more details.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 for more details.Add a
map.deep-merge()
function. This works likemap.merge()
, except that nested map values are also recursively merged. For example:See the Sass documentation for more details.
Add a
map.deep-remove()
function. This allows you to remove keys from nested maps by passing multiple keys. For example:See the Sass documentation for more details.
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
if it's a valid map, ornull
otherwise. This allows function authors to safely retrieve maps even if they're internally stored as empty lists, without having to catch exceptions fromValue.assertMap()
.See the full changelog for changes in earlier releases.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs