Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.93.0
Copy link
Contributor

Choose a reason for hiding this comment

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

If this is just a bug fix, it should only be a patch version bump.


* Fix a bug where variable definitions from one imported, forwarded module
would not be passed as implicit configuration to a later imported, forwarded
module.

## 1.92.0

* **Breaking change:** Emit declarations, childless at-rules, and comments in
Expand Down
6 changes: 6 additions & 0 deletions lib/src/async_environment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,12 @@ final class AsyncEnvironment {
/// environment.
Configuration toImplicitConfiguration() {
var configuration = <String, ConfiguredValue>{};
for (var module in _importedModules.keys) {
for (var (name, value) in module.variables.pairs) {
configuration[name] =
ConfiguredValue.implicit(value, module.variableNodes[name]!);
}
}
for (var i = 0; i < _variables.length; i++) {
var values = _variables[i];
var nodes = _variableNodes[i];
Expand Down
8 changes: 7 additions & 1 deletion lib/src/environment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// DO NOT EDIT. This file was generated from async_environment.dart.
// See tool/grind/synchronize.dart for details.
//
// Checksum: 72b802e4004aae8a84f7aa78ec728861339b846b
// Checksum: 608af187f35a7483a87d8a54e97793e776ba215c
//
// ignore_for_file: unused_import

Expand Down Expand Up @@ -842,6 +842,12 @@ final class Environment {
/// environment.
Configuration toImplicitConfiguration() {
var configuration = <String, ConfiguredValue>{};
for (var module in _importedModules.keys) {
for (var (name, value) in module.variables.pairs) {
configuration[name] =
ConfiguredValue.implicit(value, module.variableNodes[name]!);
}
}
for (var i = 0; i < _variables.length; i++) {
var values = _variables[i];
var nodes = _variableNodes[i];
Expand Down
4 changes: 4 additions & 0 deletions pkg/sass-parser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.28

* No user-visible changes.

## 0.4.27

* No user-visible changes.
Expand Down
2 changes: 1 addition & 1 deletion pkg/sass-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-parser",
"version": "0.4.27",
"version": "0.4.28",
"description": "A PostCSS-compatible wrapper of the official Sass parser",
"repository": "sass/sass",
"author": "Google Inc.",
Expand Down
4 changes: 4 additions & 0 deletions pkg/sass_api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 15.11.0

* No user-visible changes.

## 15.10.0

* No user-visible changes.
Expand Down
4 changes: 2 additions & 2 deletions pkg/sass_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: sass_api
# Note: Every time we add a new Sass AST node, we need to bump the *major*
# version because it's a breaking change for anyone who's implementing the
# visitor interface(s).
version: 15.10.0
version: 15.11.0
description: Additional APIs for Dart Sass.
homepage: https://github.com/sass/dart-sass

environment:
sdk: ">=3.6.0 <4.0.0"

dependencies:
sass: 1.92.0
sass: 1.93.0

dev_dependencies:
dartdoc: ^8.0.14
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sass
version: 1.92.0
version: 1.93.0
description: A Sass implementation in Dart.
homepage: https://github.com/sass/dart-sass

Expand Down