Skip to content

Commit 4e9e206

Browse files
authored
Allow the Node.js pkg importer to return the same URL multiple times (#2575)
1 parent c6b2163 commit 4e9e206

File tree

7 files changed

+19
-4
lines changed

7 files changed

+19
-4
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.89.0
2+
3+
* Allow the Node package importer to load files even when there are multiple
4+
potential resolutions, as long as those resolutions all point to the same
5+
file.
6+
17
## 1.88.0
28

39
* Allow custom properties with empty values (such as `--var:;`).

lib/src/importer/node_package.dart

+1
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ class NodePackageImporter extends Importer {
271271
return null;
272272
})
273273
.nonNulls
274+
.toSet()
274275
.toList();
275276

276277
return switch (matches) {

pkg/sass-parser/CHANGELOG.md

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

37
* No user-visible changes.

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.21",
3+
"version": "0.4.22",
44
"description": "A PostCSS-compatible wrapper of the official Sass parser",
55
"repository": "sass/sass",
66
"author": "Google Inc.",

pkg/sass_api/CHANGELOG.md

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

37
* No user-visible changes.

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: 15.5.0
5+
version: 15.6.0
66
description: Additional APIs for Dart Sass.
77
homepage: https://github.com/sass/dart-sass
88

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

1212
dependencies:
13-
sass: 1.88.0
13+
sass: 1.89.0
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.88.0
2+
version: 1.89.0
33
description: A Sass implementation in Dart.
44
homepage: https://github.com/sass/dart-sass
55

0 commit comments

Comments
 (0)