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

Implement CanonicalizeRequest.fromImport #41

Merged
merged 3 commits into from
May 26, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,3 +1,3 @@
## 1.0.0-beta.8

* Internal changes only.
* Set CanonicalizeRequest.fromImport.
3 changes: 2 additions & 1 deletion lib/src/importer.dart
Expand Up @@ -29,7 +29,8 @@ class Importer extends sass.Importer {
.sendCanonicalizeRequest(OutboundMessage_CanonicalizeRequest()
..compilationId = _compilationId
..importerId = _importerId
..url = url.toString());
..url = url.toString()
..fromImport = fromImport);

switch (response.whichResult()) {
case InboundMessage_CanonicalizeResponse_Result.url:
Expand Down
5 changes: 4 additions & 1 deletion pubspec.yaml
Expand Up @@ -14,7 +14,7 @@ dependencies:
async: ">=1.13.0 <3.0.0"
meta: ^1.1.0
protobuf: ^2.0.0
sass: ^1.25.0
sass: ^1.33.0
source_maps: ^0.10.5
source_span: ^1.1.0
stack_trace: ^1.6.0
Expand All @@ -28,3 +28,6 @@ dev_dependencies:
path: ^1.6.0
test: ^1.0.0
test_descriptor: ^2.0.0

dependency_overrides:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still needed?

sass: {git: git://github.com/sass/dart-sass}