Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.

Commit c919db7

Browse files
authored
Support CompileRequest.quiet_deps and .verbose (#48)
Closes #44
1 parent f09f302 commit c919db7

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
* Support version 1.0.0-beta.11 of the Sass embedded protocol:
44
* Support `VersionRequest` and `VersionResponse`.
5+
* Support `CompileRequest.quiet_deps` and `.verbose`.
56
* Set `CanonicalizeRequest.from_import`.
67

78
* Properly throw errors for range checks for colors.

bin/dart_sass_embedded.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ void main(List<String> args) {
6767
syntax: syntaxToSyntax(input.syntax),
6868
style: style,
6969
url: input.url.isEmpty ? null : input.url,
70+
quietDeps: request.quietDeps,
71+
verbose: request.verbose,
7072
sourceMap: sourceMapCallback);
7173
break;
7274

@@ -78,6 +80,8 @@ void main(List<String> args) {
7880
importers: importers,
7981
functions: globalFunctions,
8082
style: style,
83+
quietDeps: request.quietDeps,
84+
verbose: request.verbose,
8185
sourceMap: sourceMapCallback);
8286
} on FileSystemException catch (error) {
8387
return OutboundMessage_CompileResponse()

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
async: ">=1.13.0 <3.0.0"
1515
meta: ^1.1.0
1616
protobuf: ^2.0.0
17-
sass: ^1.33.0
17+
sass: ^1.34.0
1818
source_maps: ^0.10.5
1919
source_span: ^1.1.0
2020
stack_trace: ^1.6.0

0 commit comments

Comments
 (0)