Skip to content

Commit

Permalink
Expose NodePackageImporter in sass_api (#2452)
Browse files Browse the repository at this point in the history
  • Loading branch information
jathak authored Dec 3, 2024
1 parent 02fff80 commit 5163644
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.81.1

* No user-visible changes.

## 1.81.0

* Fix a few cases where deprecation warnings weren't being emitted for global
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.6

* No user-visible changes.

## 0.4.5

* Add support for parsing the `@forward` rule.
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.5",
"version": "0.4.6",
"description": "A PostCSS-compatible wrapper of the official Sass parser",
"repository": "sass/sass",
"author": "Google Inc.",
Expand Down
7 changes: 6 additions & 1 deletion pkg/sass_api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 14.3.0

* Add `NodePackageImporter`, which loads `pkg:` URLs from `node_modules` within
the provided `entryPointDirectory`.

## 14.2.0

* No user-visible changes.
Expand All @@ -17,7 +22,7 @@
## 14.1.0

* Add `Expression.isCalculationSafe`, which returns true when this expression
can safely be used in a calcuation.
can safely be used in a calculation.

## 14.0.0

Expand Down
1 change: 1 addition & 0 deletions pkg/sass_api/lib/sass_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export 'package:sass/src/ast/selector.dart';
export 'package:sass/src/async_import_cache.dart';
export 'package:sass/src/exception.dart' show SassFormatException;
export 'package:sass/src/import_cache.dart';
export 'package:sass/src/importer/node_package.dart';
export 'package:sass/src/interpolation_map.dart';
export 'package:sass/src/value.dart' hide ColorFormat, SpanColorFormat;
export 'package:sass/src/visitor/find_dependencies.dart';
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: 14.2.0
version: 14.3.0
description: Additional APIs for Dart Sass.
homepage: https://github.com/sass/dart-sass

environment:
sdk: ">=3.3.0 <4.0.0"

dependencies:
sass: 1.81.0
sass: 1.81.1

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

Expand Down

0 comments on commit 5163644

Please sign in to comment.