-
Notifications
You must be signed in to change notification settings - Fork 9
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
Update dependency sass to v1.23.3 #48
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/sass-1.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a66793a
to
4013773
Compare
4013773
to
1cbc527
Compare
1cbc527
to
c883184
Compare
8eef670
to
7be9d21
Compare
7be9d21
to
b8402b1
Compare
b8402b1
to
00949da
Compare
00949da
to
1394596
Compare
1394596
to
a89dfbe
Compare
a89dfbe
to
3b71d33
Compare
3b71d33
to
c842008
Compare
c842008
to
65d5079
Compare
65d5079
to
6a888d1
Compare
6a888d1
to
58e0b16
Compare
58e0b16
to
a5f57ad
Compare
a5f57ad
to
297ca49
Compare
297ca49
to
515ab59
Compare
515ab59
to
6b2cfc3
Compare
6b2cfc3
to
0139143
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.15.1
->1.23.3
Release Notes
sass/dart-sass
v1.23.3
Compare Source
@extend
crossed module boundaries.
v1.23.2
Compare Source
Command-Line Interface
Fix a bug when compiling all Sass files in a directory where a CSS file could
be compiled to its own location, creating an infinite loop in
--watch
mode.Properly compile CSS entrypoints in directories outside of
--watch
mode.v1.23.1
Compare Source
Fix a bug preventing built-in modules from being loaded within a configured
module.
Fix a bug preventing an unconfigured module from being loaded from within two
different configured modules.
Fix a bug when
meta.load-css()
was used to load some files that includedmedia queries.
Allow
saturate()
in plain CSS files, since it can be used as a plain CSSfilter function.
Improve the error messages for trying to access functions like
lighten()
from the
sass:color
module.v1.23.0
Compare Source
Launch the new Sass module system! This adds:
The [
@use
rule][], which loads Sass files as modules and makes theirmembers available only in the current file, with automatic namespacing.
[
@use
rule]: https://sass-lang.com/documentation/at-rules/useThe [
@forward
rule][], which makes members of another Sass file availableto stylesheets that
@use
the current file.[
@forward
rule]: https://sass-lang.com/documentation/at-rules/forwardBuilt-in modules named
sass:color
,sass:list
,sass:map
,sass:math
,sass:meta
,sass:selector
, andsass:string
that provide access to allthe built-in Sass functions you know and love, with automatic module
namespaces.
The [
meta.load-css()
mixin][], which includes the CSS contents of a moduleloaded from a (potentially dynamic) URL.
[
meta.load-css()
mixin]: https://sass-lang.com/documentation/modules/meta#load-cssThe [
meta.module-variables()
function][], which provides access to thevariables defined in a given module.
[
meta.module-variables()
function]: https://sass-lang.com/documentation/modules/meta#module-variablesThe [
meta.module-functions()
function][], which provides access to thefunctions defined in a given module.
[
meta.module-functions()
function]: https://sass-lang.com/documentation/modules/meta#module-functionsCheck out [the Sass blog][migrator blog] for more information on the new
module system. You can also use the new [Sass migrator][] to automatically
migrate your stylesheets to the new module system!
[migrator blog]: http://sass-lang.com/blog/posts/7858341-the-module-system-is-launched
[Sass migrator]: https://sass-lang.com/documentation/cli/migrator
v1.22.12
Compare Source
Potentially breaking bug fix: character sequences consisting of two or
more hyphens followed by a number (such as
--123
), or two or more hyphens ontheir own (such as
--
), are now parsed as identifiers [in accordance withthe CSS spec][ident-token-diagram].
[ident-token-diagram]: https://drafts.csswg.org/css-syntax-3/#ident-token-diagram
The sequence
--
was previously parsed as multiple applications of the-
operator. Since this is unlikely to be used intentionally in practice, we
consider this bug fix safe.
Command-Line Interface
.css
files would be ignored in--watch
mode.JavaScript API
Allow underscore-separated custom functions to be defined.
Improve the performance of Node.js compilation involving many
@import
s.v1.22.10
Compare Source
get-function()
would fail to find a dash-separatedfunction when passed a function name with underscores.
v1.22.9
Compare Source
Include argument names when reporting range errors and selector parse errors.
Avoid double
Error:
headers when reporting selector parse errors.Clarify the error message when the wrong number of positional arguments are
passed along with a named argument.
JavaScript API
v1.22.7
Compare Source
^2.4.0
.v1.22.6
Compare Source
Potentially breaking bug fix: The
keywords()
function now convertsunderscore-separated argument names to hyphen-separated names. This matches
LibSass's behavior, but not Ruby Sass's.
Further improve performance for logic-heavy stylesheets.
Improve a few error messages.
v1.22.5
Compare Source
JavaScript API
v1.22.4
Compare Source
that style rule rather than at the root of the document.
v1.22.3
Compare Source
Potentially breaking bug fix: The argument name for the
saturate()
function is now
$amount
, to match the name in LibSass and originally in RubySass.
Potentially breaking bug fix: The
invert()
function now properly returns#808080
when passed$weight: 50%
. This matches the behavior in LibSass andoriginally in Ruby Sass, as well as being consistent with other nearby values
of
$weight
.Potentially breaking bug fix: The
invert()
function now throws an errorif it's used [as a plain CSS function][plain-css invert] and the Sass-only
$weight
parameter is passed. This never did anything useful, so it'sconsidered a bug fix rather than a full breaking change.
[plain-CSS invert]: https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/invert
Potentially breaking bug fix: The
str-insert()
function now properlyinserts at the end of the string if the
$index
is-1
. This matches thebehavior in LibSass and originally in Ruby Sass.
Potentially breaking bug fix: An empty map returned by
map-remove()
isnow treated as identical to the literal value
()
, rather than being treatedas though it had a comma separator. This matches the original behavior in Ruby
Sass.
The
adjust-color()
function no longer throws an error when a large$alpha
value is combined with HSL adjustments.
The
alpha()
function now produces clearer error messages when the wrongnumber of arguments are passed.
Fix a bug where the
str-slice()
function could produce invalid output whenpassed a string that contains characters that aren't represented as a single
byte in UTF-16.
Improve the error message for an unknown separator name passed to the
join()
or
append()
functions.The
zip()
function no longer deadlocks if passed no arguments.The
map-remove()
function can now take a$key
named argument. This matchesthe signature in LibSass and originally in Ruby Sass.
v1.22.2
Compare Source
JavaScript API
require()
function to make the code staticallyanalyzable by Webpack.
v1.22.1
Compare Source
Potentially breaking bug fix: character sequences consisting of two or
more hyphens followed by a number (such as
--123
), or two or more hyphens ontheir own (such as
--
), are now parsed as identifiers [in accordance withthe CSS spec][ident-token-diagram].
[ident-token-diagram]: https://drafts.csswg.org/css-syntax-3/#ident-token-diagram
The sequence
--
was previously parsed as multiple applications of the-
operator. Since this is unlikely to be used intentionally in practice, we
consider this bug fix safe.
Command-Line Interface
.css
files would be ignored in--watch
mode.JavaScript API
Allow underscore-separated custom functions to be defined.
Improve the performance of Node.js compilation involving many
@import
s.v1.22.0
Compare Source
Produce better stack traces when importing a file that contains a syntax
error.
Make deprecation warnings for
!global
variable declarations that create newvariables clearer, especially in the case where the
!global
flag isunnecessary because the variables are at the top level of the stylesheet.
Dart API
Value.realNull
getter, which returns Dart'snull
if the value isSass's null.
v1.21.0
Compare Source
Dart API
Add a
sass
executable when installing the package throughpub
.Add a top-level
warn()
function for custom functions and importers to printwarning messages.
v1.20.3
Compare Source
v1.20.1
Compare Source
v1.19.0
Compare Source
!
inurl()
s without quotes.Dart API
FilesystemImporter
now doesn't change its effective directory if the workingdirectory changes, even if it's passed a relative argument.
v1.18.0
Compare Source
Avoid recursively listing directories when finding the canonical name of a
file on case-insensitive filesystems.
Fix importing files relative to
package:
-imported files.Don't claim that "package:" URLs aren't supported when they actually are.
Command-Line Interface
--no-charset
flag. If this flag is set, Sass will never emit a@charset
declaration or a byte-order mark, even if the CSS file containsnon-ASCII characters.
Dart API
Add a
charset
option tocompile()
,compileString()
,compileAsync()
andcompileStringAsync()
. If this option is set tofalse
, Sass will never emita
@charset
declaration or a byte-order mark, even if the CSS file containsnon-ASCII characters.
Explicitly require that importers'
canonicalize()
methods be able to takepaths relative to their outputs as valid inputs. This isn't considered a
breaking change because the importer infrastructure already required this in
practice.
v1.17.4
Compare Source
U+000D CARRIAGE RETURN followed by U+000A LINE FEED as individual newlines.
JavaScript API
sass.types.Error
constructor as an alias forError
. This makes ourcustom function API compatible with Node Sass's.
v1.17.3
Compare Source
Fix an edge case where slash-separated numbers were written to the stylesheet
with a slash even when they're used as part of another arithmetic operation,
such as being concatenated with a string.
Don't put style rules inside empty
@keyframes
selectors.v1.17.2
Compare Source
!global
variable assignments to variables that aren't yet defined.This deprecation message can be avoided by assigning variables to
null
atthe top level before globally assigning values to them.
Dart API
implemented as "sealed".
v1.17.1
Compare Source
with a non-identifier character.
v1.17.0
Compare Source
Improve error output, particularly for errors that cover multiple lines.
Improve source locations for some parse errors. Rather than pointing to the
next token that wasn't what was expected, they point after the previous
token. This should generally provide more context for the syntax error.
Produce a better error message for style rules that are missing the closing
}
.Produce a better error message for style rules and property declarations
within
@function
rules.Command-Line Interface
Passing a directory on the command line now compiles all Sass source files in
the directory to CSS files in the same directory, as though
dir:dir
werepassed instead of just
dir
.The new error output uses non-ASCII Unicode characters by default. Add a
--no-unicode
flag to disable this.v1.16.1
Compare Source
when many binary operators were used in sequence.
v1.16.0
Compare Source
rgb()
andhsl()
now treat unquoted strings beginning withenv()
,min()
, andmax()
as special number strings likecalc()
.v1.15.3
Compare Source
Properly merge
all and
media queries. These queries were previously beingmerged as though
all
referred to a specific media type, rather than allmedia types.
Never remove units from 0 values in compressed mode. This wasn't safe in
general, since some properties (such as
line-height
) interpret0
as a<number>
rather than a<length>
which can break CSS transforms. It'sbetter to do this optimization in a dedicated compressor that's aware of CSS
property semantics.
Match Ruby Sass's behavior in some edge-cases involving numbers with many
significant digits.
Emit escaped tab characters in identifiers as
\9
rather than a backslashfollowed by a literal tab.
Command-Line Interface
data:
URL to include that stylesheet's contents in the source map.Node JS API
this.includePaths
for a running importer is now a;
-separated string onWindows, rather than
:
-separated. This matches Node Sass's behavior.Dart API
is now
ImportResult.sourceMapUrl
as documented.v1.15.2
Compare Source
Node JS API
setValue()
is called on a Sass string object, make it unquoted even ifit was quoted originally, to match the behavior of Node Sass.
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 if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.