Skip to content

Commit 5163644

Browse files
authored
Expose NodePackageImporter in sass_api (#2452)
1 parent 02fff80 commit 5163644

File tree

7 files changed

+19
-5
lines changed

7 files changed

+19
-5
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.81.1
2+
3+
* No user-visible changes.
4+
15
## 1.81.0
26

37
* Fix a few cases where deprecation warnings weren't being emitted for global

pkg/sass-parser/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.4.6
2+
3+
* No user-visible changes.
4+
15
## 0.4.5
26

37
* Add support for parsing the `@forward` rule.

pkg/sass-parser/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-parser",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "A PostCSS-compatible wrapper of the official Sass parser",
55
"repository": "sass/sass",
66
"author": "Google Inc.",

pkg/sass_api/CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 14.3.0
2+
3+
* Add `NodePackageImporter`, which loads `pkg:` URLs from `node_modules` within
4+
the provided `entryPointDirectory`.
5+
16
## 14.2.0
27

38
* No user-visible changes.
@@ -17,7 +22,7 @@
1722
## 14.1.0
1823

1924
* Add `Expression.isCalculationSafe`, which returns true when this expression
20-
can safely be used in a calcuation.
25+
can safely be used in a calculation.
2126

2227
## 14.0.0
2328

pkg/sass_api/lib/sass_api.dart

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export 'package:sass/src/ast/selector.dart';
1616
export 'package:sass/src/async_import_cache.dart';
1717
export 'package:sass/src/exception.dart' show SassFormatException;
1818
export 'package:sass/src/import_cache.dart';
19+
export 'package:sass/src/importer/node_package.dart';
1920
export 'package:sass/src/interpolation_map.dart';
2021
export 'package:sass/src/value.dart' hide ColorFormat, SpanColorFormat;
2122
export 'package:sass/src/visitor/find_dependencies.dart';

pkg/sass_api/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: sass_api
22
# Note: Every time we add a new Sass AST node, we need to bump the *major*
33
# version because it's a breaking change for anyone who's implementing the
44
# visitor interface(s).
5-
version: 14.2.0
5+
version: 14.3.0
66
description: Additional APIs for Dart Sass.
77
homepage: https://github.com/sass/dart-sass
88

99
environment:
1010
sdk: ">=3.3.0 <4.0.0"
1111

1212
dependencies:
13-
sass: 1.81.0
13+
sass: 1.81.1
1414

1515
dev_dependencies:
1616
dartdoc: ^8.0.14

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sass
2-
version: 1.81.0
2+
version: 1.81.1
33
description: A Sass implementation in Dart.
44
homepage: https://github.com/sass/dart-sass
55

0 commit comments

Comments
 (0)