Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.93.3

* Fix a performance regression that was introduced in 1.92.0.

## 1.93.2

* No user-visible changes.
Expand Down
7 changes: 0 additions & 7 deletions lib/src/ast/css/declaration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// https://opensource.org/licenses/MIT.

import 'package:source_span/source_span.dart';
import 'package:stack_trace/stack_trace.dart';

import '../../value.dart';
import 'node.dart';
Expand All @@ -17,12 +16,6 @@ abstract interface class CssDeclaration implements CssNode {
/// The value of this declaration.
CssValue<Value> get value;

/// The stack trace indicating where this node was created.
///
/// This is used to emit interleaved declaration warnings, and is only set if
/// [interleavedRules] isn't empty.
Trace? get trace;

/// The span for [value] that should be emitted to the source map.
///
/// When the declaration's expression is just a variable, this is the span
Expand Down
3 changes: 0 additions & 3 deletions lib/src/ast/css/modifiable/declaration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// https://opensource.org/licenses/MIT.

import 'package:source_span/source_span.dart';
import 'package:stack_trace/stack_trace.dart';

import '../../../value.dart';
import '../../../visitor/interface/modifiable_css.dart';
Expand All @@ -17,7 +16,6 @@ final class ModifiableCssDeclaration extends ModifiableCssNode
final CssValue<String> name;
final CssValue<Value> value;
final bool parsedAsCustomProperty;
final Trace? trace;
final FileSpan valueSpanForMap;
final FileSpan span;

Expand All @@ -29,7 +27,6 @@ final class ModifiableCssDeclaration extends ModifiableCssNode
this.value,
this.span, {
required this.parsedAsCustomProperty,
this.trace,
FileSpan? valueSpanForMap,
}) : valueSpanForMap = valueSpanForMap ?? value.span {
if (parsedAsCustomProperty) {
Expand Down
1 change: 0 additions & 1 deletion lib/src/visitor/async_evaluate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,6 @@ final class _EvaluateVisitor
CssValue(value, expression.span),
node.span,
parsedAsCustomProperty: node.isCustomProperty,
trace: _stackTrace(node.span),
valueSpanForMap:
_sourceMap ? node.value.andThen(_expressionNode)?.span : null,
),
Expand Down
3 changes: 1 addition & 2 deletions lib/src/visitor/evaluate.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_evaluate.dart.
// See tool/grind/synchronize.dart for details.
//
// Checksum: b79ed685f78b8d5356795eb2d1112f830abaf58e
// Checksum: 02a6149a29eca1d21306e9582a6b7df86f4cd2f2
//
// ignore_for_file: unused_import

Expand Down Expand Up @@ -1379,7 +1379,6 @@ final class _EvaluateVisitor
CssValue(value, expression.span),
node.span,
parsedAsCustomProperty: node.isCustomProperty,
trace: _stackTrace(node.span),
valueSpanForMap:
_sourceMap ? node.value.andThen(_expressionNode)?.span : null,
),
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.32

* No user-visible changes.

## 0.4.31

* 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.31",
"version": "0.4.32",
"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.12.3

* No user-visible changes.

## 15.12.2

* 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.12.2
version: 15.12.3
description: Additional APIs for Dart Sass.
homepage: https://github.com/sass/dart-sass

environment:
sdk: ">=3.6.0 <4.0.0"

dependencies:
sass: 1.93.2
sass: 1.93.3

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.93.2
version: 1.93.3
description: A Sass implementation in Dart.
homepage: https://github.com/sass/dart-sass

Expand Down
Loading