Update 3 dependencies from npm #359
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.
Overview
The following dependencies have been updated:
gemini
inpackages/gemini
from "5.7.2" to "5.8.0"sass
in/
from "1.10.4" to "1.11.0"url-loader
in/
from "1.0.1" to "1.1.0"Details
Dependencies.io has updated
gemini
(a npm dependency inpackages/gemini
) from "5.7.2" to "5.8.0".5.8.0
Features
Dependencies.io has updated
sass
(a npm dependency in/
) from "1.10.4" to "1.11.0".1.11.0
To install Dart Sass 1.11.0, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Add support for importing plain CSS files. They can only be imported without an extension—for example,
@import "style"
will importstyle.css
. Plain CSS files imported this way only support standard CSS features, not Sass extensions.See [the proposal][css-import] for details.
Add support for CSS's
min()
andmax()
[math functions][]. Amin()
andmax()
call will continue to be parsed as a Sass function if it involves any Sass-specific features like variables or function calls, but if it's valid plain CSS (optionally with interpolation) it will be emitted as plain CSS instead.See [the proposal][css-min-max] for details.
Add support for range-format media features like
(10px < width < 100px)
. See [the proposal][media-ranges] for details.Normalize escape codes in identifiers so that, for example,
éclair
and\E9clair
are parsed to the same value. See [the proposal][identifier-escapes] for details.Don't choke on a [byte-order mark][] at the beginning of a document when running in JavaScript.
[math functions]: https://drafts.csswg.org/css-values/#math-function [css-import]: https://github.com/sass/language/blob/master/accepted/css-imports.md [css-min-max]: https://github.com/sass/language/blob/master/accepted/min-max.md [media-ranges]: https://github.com/sass/language/blob/master/accepted/media-ranges.md [identifier-escapes]: https://github.com/sass/language/blob/master/accepted/identifier-escapes.md [byte-order mark]: https://en.wikipedia.org/wiki/Byte_order_mark
Command-Line Interface
--watch
command now continues to recompile a file after a syntax error has been detected.Dart API
Added a
Syntax
enum to indicate syntaxes for Sass source files.The
compile()
andcompileAsync()
functions now parse files with the.css
extension as plain CSS.Added a
syntax
parameter tocompileString()
andcompileStringAsync()
.Deprecated the
indented
parameter tocompileString()
andcompileStringAsync()
.Added a
syntax
parameter tonew ImporterResult()
and aImporterResult.syntax
getter to set the syntax of the source file.Deprecated the
indented
parameter tonew ImporterResult()
and theImporterResult.indented
getter in favor ofsyntax
.See the full changelog for changes in earlier releases.
Dependencies.io has updated
url-loader
(a npm dependency in/
) from "1.0.1" to "1.1.0".1.1.0
1.1.0 (2018-08-13)
Features