Skip to content

Commit 6f64b0d

Browse files
authored
Upgrade SDKs on CI. (#1525)
1 parent 607dd26 commit 6f64b0d

28 files changed

+79
-57
lines changed

.github/workflows/test-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
sdk: [3.9.0]
24+
sdk: [3.10.1]
2525
steps:
2626
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2727
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
@@ -49,8 +49,8 @@ jobs:
4949
# TODO(sigurdm): our end2end test creates longer filenames than we can
5050
# handle on windows. See https://github.com/dart-lang/sdk/issues/42416
5151
os: [ubuntu-latest, macos-latest]
52-
sdk: [3.9.0]
53-
flutter: [3.35.1]
52+
sdk: [3.10.1]
53+
flutter: [3.38.2]
5454
shard: [0, 1, 2, 3, 4, 5, 6, 7]
5555
steps:
5656
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.23.3
2+
3+
4+
15
## 0.23.2
26

37
- Allow `package:analyzer` range to accept `^9.0.0` too.

lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pana
22
description: PAckage aNAlyzer - produce a report summarizing the health and quality of a Dart package.
3-
version: 0.23.2
3+
version: 0.23.3-dev
44
repository: https://github.com/dart-lang/pana
55
topics:
66
- tool

test/end2end_test.dart

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import 'dart:io';
77

88
import 'package:pana/pana.dart';
99
import 'package:path/path.dart' as p;
10+
import 'package:pub_semver/pub_semver.dart';
1011
import 'package:test/test.dart';
1112

1213
import 'env_utils.dart';
@@ -61,6 +62,13 @@ void main() {
6162
flutterVersions: {},
6263
),
6364
);
65+
// 3.10.1 -> 3.10.0
66+
final parsedSdkVersion = Version.parse(sdkVersion);
67+
final sdkZeroVersion = Version(
68+
parsedSdkVersion.major,
69+
parsedSdkVersion.minor,
70+
0,
71+
).toString();
6472

6573
// summary.toJson contains types which are not directly JSON-able
6674
// throwing it through `JSON.encode` does the trick
@@ -74,10 +82,18 @@ void main() {
7482
'The current Dart SDK version is $sdkVersion.',
7583
'The current Dart SDK version is {{sdk-version}}.',
7684
)
85+
.replaceAll(
86+
'The current Dart SDK ($sdkVersion)',
87+
'The current Dart SDK ({{sdk-version}})',
88+
)
7789
.replaceAll(
7890
' support current Dart version $sdkVersion.',
7991
' support current Dart version {{sdk-version}}.',
8092
)
93+
.replaceAll(
94+
'sdk: \'^$sdkZeroVersion\'',
95+
'sdk: \'^{{sdk-zero-version}}\'',
96+
)
8197
.replaceAll(
8298
'the Dart version used by the latest stable Flutter ($flutterDartVersion)',
8399
'the Dart version used by the latest stable Flutter ({{flutter-dart-version}})',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-08-15T08:40:49.125539Z
1+
2025-11-23T06:34:34.636340Z

test/goldens/end2end/audio_service-0.18.17.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"material_color_utilities",
9191
"meta",
9292
"mockito",
93+
"objective_c",
9394
"path",
9495
"path_provider",
9596
"path_provider_android",
@@ -99,9 +100,9 @@
99100
"path_provider_windows",
100101
"platform",
101102
"plugin_platform_interface",
103+
"pub_semver",
102104
"rxdart",
103105
"source_span",
104-
"sprintf",
105106
"sqflite",
106107
"sqflite_android",
107108
"sqflite_common",
@@ -172,7 +173,7 @@
172173
"grantedPoints": 30,
173174
"maxPoints": 40,
174175
"status": "failed",
175-
"summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n|Package|Constraint|Compatible|Latest|Notes|\n|:-|:-|:-|:-|:-|\n|[`audio_service_platform_interface`]|`^0.1.3`|0.1.3|0.1.3||\n|[`audio_service_web`]|`^0.1.4`|0.1.4|0.1.4||\n|[`audio_session`]|`^0.1.25`|0.1.25|**0.2.2**||\n|[`clock`]|`^1.1.0`|1.1.2|1.1.2||\n|[`flutter_cache_manager`]|`^3.3.1`|3.4.1|3.4.1||\n|[`js`]|`>=0.6.3 <0.8.0`|0.7.2|0.7.2|**Discontinued**|\n|[`rxdart`]|`>=0.26.0 <0.29.0`|0.28.0|0.28.0||\n\n<details><summary>Transitive dependencies</summary>\n\n|Package|Constraint|Compatible|Latest|Notes|\n|:-|:-|:-|:-|:-|\n|[`async`]|-|2.13.0|2.13.0||\n|[`characters`]|-|1.4.0|1.4.1||\n|[`collection`]|-|1.19.1|1.19.1||\n|[`crypto`]|-|3.0.6|3.0.6||\n|[`ffi`]|-|2.1.4|2.1.4||\n|[`file`]|-|7.0.1|7.0.1||\n|[`fixnum`]|-|1.1.1|1.1.1||\n|[`http`]|-|1.5.0|1.5.0||\n|[`http_parser`]|-|4.1.2|4.1.2||\n|[`material_color_utilities`]|-|0.11.1|0.13.0||\n|[`meta`]|-|1.16.0|1.17.0||\n|[`path`]|-|1.9.1|1.9.1||\n|[`path_provider`]|-|2.1.5|2.1.5||\n|[`path_provider_android`]|-|2.2.17|2.2.17||\n|[`path_provider_foundation`]|-|2.4.1|2.4.1||\n|[`path_provider_linux`]|-|2.2.1|2.2.1||\n|[`path_provider_platform_interface`]|-|2.1.2|2.1.2||\n|[`path_provider_windows`]|-|2.3.0|2.3.0||\n|[`platform`]|-|3.1.6|3.1.6||\n|[`plugin_platform_interface`]|-|2.1.8|2.1.8||\n|[`source_span`]|-|1.10.1|1.10.1||\n|[`sprintf`]|-|7.0.0|7.0.0||\n|[`sqflite`]|-|2.4.2|2.4.2||\n|[`sqflite_android`]|-|2.4.1|2.4.1||\n|[`sqflite_common`]|-|2.5.6|2.5.6||\n|[`sqflite_darwin`]|-|2.4.2|2.4.2||\n|[`sqflite_platform_interface`]|-|2.4.0|2.4.0||\n|[`string_scanner`]|-|1.4.1|1.4.1||\n|[`synchronized`]|-|3.4.0|3.4.0||\n|[`term_glyph`]|-|1.2.2|1.2.2||\n|[`typed_data`]|-|1.4.0|1.4.0||\n|[`uuid`]|-|4.5.1|4.5.1||\n|[`vector_math`]|-|2.2.0|2.2.0||\n|[`web`]|-|1.1.1|1.1.1||\n|[`xdg_directories`]|-|1.1.0|1.1.0||\n</details>\n\nTo reproduce run `dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides`.\n\n[`audio_service_platform_interface`]: https://pub.dev/packages/audio_service_platform_interface\n[`audio_service_web`]: https://pub.dev/packages/audio_service_web\n[`audio_session`]: https://pub.dev/packages/audio_session\n[`clock`]: https://pub.dev/packages/clock\n[`flutter_cache_manager`]: https://pub.dev/packages/flutter_cache_manager\n[`js`]: https://pub.dev/packages/js\n[`rxdart`]: https://pub.dev/packages/rxdart\n[`async`]: https://pub.dev/packages/async\n[`characters`]: https://pub.dev/packages/characters\n[`collection`]: https://pub.dev/packages/collection\n[`crypto`]: https://pub.dev/packages/crypto\n[`ffi`]: https://pub.dev/packages/ffi\n[`file`]: https://pub.dev/packages/file\n[`fixnum`]: https://pub.dev/packages/fixnum\n[`http`]: https://pub.dev/packages/http\n[`http_parser`]: https://pub.dev/packages/http_parser\n[`material_color_utilities`]: https://pub.dev/packages/material_color_utilities\n[`meta`]: https://pub.dev/packages/meta\n[`path`]: https://pub.dev/packages/path\n[`path_provider`]: https://pub.dev/packages/path_provider\n[`path_provider_android`]: https://pub.dev/packages/path_provider_android\n[`path_provider_foundation`]: https://pub.dev/packages/path_provider_foundation\n[`path_provider_linux`]: https://pub.dev/packages/path_provider_linux\n[`path_provider_platform_interface`]: https://pub.dev/packages/path_provider_platform_interface\n[`path_provider_windows`]: https://pub.dev/packages/path_provider_windows\n[`platform`]: https://pub.dev/packages/platform\n[`plugin_platform_interface`]: https://pub.dev/packages/plugin_platform_interface\n[`source_span`]: https://pub.dev/packages/source_span\n[`sprintf`]: https://pub.dev/packages/sprintf\n[`sqflite`]: https://pub.dev/packages/sqflite\n[`sqflite_android`]: https://pub.dev/packages/sqflite_android\n[`sqflite_common`]: https://pub.dev/packages/sqflite_common\n[`sqflite_darwin`]: https://pub.dev/packages/sqflite_darwin\n[`sqflite_platform_interface`]: https://pub.dev/packages/sqflite_platform_interface\n[`string_scanner`]: https://pub.dev/packages/string_scanner\n[`synchronized`]: https://pub.dev/packages/synchronized\n[`term_glyph`]: https://pub.dev/packages/term_glyph\n[`typed_data`]: https://pub.dev/packages/typed_data\n[`uuid`]: https://pub.dev/packages/uuid\n[`vector_math`]: https://pub.dev/packages/vector_math\n[`web`]: https://pub.dev/packages/web\n[`xdg_directories`]: https://pub.dev/packages/xdg_directories\n\n<details>\n<summary>\nThe constraint `^0.1.25` on audio_session does not support the stable version `0.2.0`.\n</summary>\n\nTry running `dart pub upgrade --major-versions audio_session` to update the constraint.\n</details>\n\n<details>\n<summary>\nThe package has one or more discontinued direct dependencies.\n\nDiscontinued packages are no longer maintained, and can end up being a\nliability.\n\n</summary>\n\nConsider migrating away from these dependencies: \n\n* js.\n\n</details>\n\n### [*] 10/10 points: Package supports latest stable Dart and Flutter SDKs\n\n### [*] 20/20 points: Compatible with dependency constraint lower bounds\n\n`pub downgrade` does not expose any static analysis error.\n"
176+
"summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n|Package|Constraint|Compatible|Latest|Notes|\n|:-|:-|:-|:-|:-|\n|[`audio_service_platform_interface`]|`^0.1.3`|0.1.3|0.1.3||\n|[`audio_service_web`]|`^0.1.4`|0.1.4|0.1.4||\n|[`audio_session`]|`^0.1.25`|0.1.25|**0.2.2**||\n|[`clock`]|`^1.1.0`|1.1.2|1.1.2||\n|[`flutter_cache_manager`]|`^3.3.1`|3.4.1|3.4.1||\n|[`js`]|`>=0.6.3 <0.8.0`|0.7.2|0.7.2|**Discontinued**|\n|[`rxdart`]|`>=0.26.0 <0.29.0`|0.28.0|0.28.0||\n\n<details><summary>Transitive dependencies</summary>\n\n|Package|Constraint|Compatible|Latest|Notes|\n|:-|:-|:-|:-|:-|\n|[`async`]|-|2.13.0|2.13.0||\n|[`characters`]|-|1.4.0|1.4.1||\n|[`collection`]|-|1.19.1|1.19.1||\n|[`crypto`]|-|3.0.7|3.0.7||\n|[`ffi`]|-|2.1.4|2.1.4||\n|[`file`]|-|7.0.1|7.0.1||\n|[`fixnum`]|-|1.1.1|1.1.1||\n|[`http`]|-|1.6.0|1.6.0||\n|[`http_parser`]|-|4.1.2|4.1.2||\n|[`material_color_utilities`]|-|0.11.1|0.13.0||\n|[`meta`]|-|1.17.0|1.17.0||\n|[`objective_c`]|-|9.1.0|9.1.0||\n|[`path`]|-|1.9.1|1.9.1||\n|[`path_provider`]|-|2.1.5|2.1.5||\n|[`path_provider_android`]|-|2.2.22|2.2.22||\n|[`path_provider_foundation`]|-|2.5.0|2.5.0||\n|[`path_provider_linux`]|-|2.2.1|2.2.1||\n|[`path_provider_platform_interface`]|-|2.1.2|2.1.2||\n|[`path_provider_windows`]|-|2.3.0|2.3.0||\n|[`platform`]|-|3.1.6|3.1.6||\n|[`plugin_platform_interface`]|-|2.1.8|2.1.8||\n|[`pub_semver`]|-|2.2.0|2.2.0||\n|[`source_span`]|-|1.10.1|1.10.1||\n|[`sqflite`]|-|2.4.2|2.4.2||\n|[`sqflite_android`]|-|2.4.2+2|2.4.2+2||\n|[`sqflite_common`]|-|2.5.6|2.5.6||\n|[`sqflite_darwin`]|-|2.4.2|2.4.2||\n|[`sqflite_platform_interface`]|-|2.4.0|2.4.0||\n|[`string_scanner`]|-|1.4.1|1.4.1||\n|[`synchronized`]|-|3.4.0|3.4.0||\n|[`term_glyph`]|-|1.2.2|1.2.2||\n|[`typed_data`]|-|1.4.0|1.4.0||\n|[`uuid`]|-|4.5.2|4.5.2||\n|[`vector_math`]|-|2.2.0|2.2.0||\n|[`web`]|-|1.1.1|1.1.1||\n|[`xdg_directories`]|-|1.1.0|1.1.0||\n</details>\n\nTo reproduce run `dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides`.\n\n[`audio_service_platform_interface`]: https://pub.dev/packages/audio_service_platform_interface\n[`audio_service_web`]: https://pub.dev/packages/audio_service_web\n[`audio_session`]: https://pub.dev/packages/audio_session\n[`clock`]: https://pub.dev/packages/clock\n[`flutter_cache_manager`]: https://pub.dev/packages/flutter_cache_manager\n[`js`]: https://pub.dev/packages/js\n[`rxdart`]: https://pub.dev/packages/rxdart\n[`async`]: https://pub.dev/packages/async\n[`characters`]: https://pub.dev/packages/characters\n[`collection`]: https://pub.dev/packages/collection\n[`crypto`]: https://pub.dev/packages/crypto\n[`ffi`]: https://pub.dev/packages/ffi\n[`file`]: https://pub.dev/packages/file\n[`fixnum`]: https://pub.dev/packages/fixnum\n[`http`]: https://pub.dev/packages/http\n[`http_parser`]: https://pub.dev/packages/http_parser\n[`material_color_utilities`]: https://pub.dev/packages/material_color_utilities\n[`meta`]: https://pub.dev/packages/meta\n[`objective_c`]: https://pub.dev/packages/objective_c\n[`path`]: https://pub.dev/packages/path\n[`path_provider`]: https://pub.dev/packages/path_provider\n[`path_provider_android`]: https://pub.dev/packages/path_provider_android\n[`path_provider_foundation`]: https://pub.dev/packages/path_provider_foundation\n[`path_provider_linux`]: https://pub.dev/packages/path_provider_linux\n[`path_provider_platform_interface`]: https://pub.dev/packages/path_provider_platform_interface\n[`path_provider_windows`]: https://pub.dev/packages/path_provider_windows\n[`platform`]: https://pub.dev/packages/platform\n[`plugin_platform_interface`]: https://pub.dev/packages/plugin_platform_interface\n[`pub_semver`]: https://pub.dev/packages/pub_semver\n[`source_span`]: https://pub.dev/packages/source_span\n[`sqflite`]: https://pub.dev/packages/sqflite\n[`sqflite_android`]: https://pub.dev/packages/sqflite_android\n[`sqflite_common`]: https://pub.dev/packages/sqflite_common\n[`sqflite_darwin`]: https://pub.dev/packages/sqflite_darwin\n[`sqflite_platform_interface`]: https://pub.dev/packages/sqflite_platform_interface\n[`string_scanner`]: https://pub.dev/packages/string_scanner\n[`synchronized`]: https://pub.dev/packages/synchronized\n[`term_glyph`]: https://pub.dev/packages/term_glyph\n[`typed_data`]: https://pub.dev/packages/typed_data\n[`uuid`]: https://pub.dev/packages/uuid\n[`vector_math`]: https://pub.dev/packages/vector_math\n[`web`]: https://pub.dev/packages/web\n[`xdg_directories`]: https://pub.dev/packages/xdg_directories\n\n<details>\n<summary>\nThe constraint `^0.1.25` on audio_session does not support the stable version `0.2.0`.\n</summary>\n\nTry running `dart pub upgrade --major-versions audio_session` to update the constraint.\n</details>\n\n<details>\n<summary>\nThe package has one or more discontinued direct dependencies.\n\nDiscontinued packages are no longer maintained, and can end up being a\nliability.\n\n</summary>\n\nConsider migrating away from these dependencies: \n\n* js.\n\n</details>\n\n### [*] 10/10 points: Package supports latest stable Dart and Flutter SDKs\n\n### [*] 20/20 points: Compatible with dependency constraint lower bounds\n\n`pub downgrade` does not expose any static analysis error.\n"
176177
}
177178
]
178179
},

test/goldens/end2end/audio_service-0.18.17.json_report.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,35 +134,36 @@ To reproduce make sure you are using the [lints_core](https://pub.dev/packages/l
134134
|[`async`]|-|2.13.0|2.13.0||
135135
|[`characters`]|-|1.4.0|1.4.1||
136136
|[`collection`]|-|1.19.1|1.19.1||
137-
|[`crypto`]|-|3.0.6|3.0.6||
137+
|[`crypto`]|-|3.0.7|3.0.7||
138138
|[`ffi`]|-|2.1.4|2.1.4||
139139
|[`file`]|-|7.0.1|7.0.1||
140140
|[`fixnum`]|-|1.1.1|1.1.1||
141-
|[`http`]|-|1.5.0|1.5.0||
141+
|[`http`]|-|1.6.0|1.6.0||
142142
|[`http_parser`]|-|4.1.2|4.1.2||
143143
|[`material_color_utilities`]|-|0.11.1|0.13.0||
144-
|[`meta`]|-|1.16.0|1.17.0||
144+
|[`meta`]|-|1.17.0|1.17.0||
145+
|[`objective_c`]|-|9.1.0|9.1.0||
145146
|[`path`]|-|1.9.1|1.9.1||
146147
|[`path_provider`]|-|2.1.5|2.1.5||
147-
|[`path_provider_android`]|-|2.2.17|2.2.17||
148-
|[`path_provider_foundation`]|-|2.4.1|2.4.1||
148+
|[`path_provider_android`]|-|2.2.22|2.2.22||
149+
|[`path_provider_foundation`]|-|2.5.0|2.5.0||
149150
|[`path_provider_linux`]|-|2.2.1|2.2.1||
150151
|[`path_provider_platform_interface`]|-|2.1.2|2.1.2||
151152
|[`path_provider_windows`]|-|2.3.0|2.3.0||
152153
|[`platform`]|-|3.1.6|3.1.6||
153154
|[`plugin_platform_interface`]|-|2.1.8|2.1.8||
155+
|[`pub_semver`]|-|2.2.0|2.2.0||
154156
|[`source_span`]|-|1.10.1|1.10.1||
155-
|[`sprintf`]|-|7.0.0|7.0.0||
156157
|[`sqflite`]|-|2.4.2|2.4.2||
157-
|[`sqflite_android`]|-|2.4.1|2.4.1||
158+
|[`sqflite_android`]|-|2.4.2+2|2.4.2+2||
158159
|[`sqflite_common`]|-|2.5.6|2.5.6||
159160
|[`sqflite_darwin`]|-|2.4.2|2.4.2||
160161
|[`sqflite_platform_interface`]|-|2.4.0|2.4.0||
161162
|[`string_scanner`]|-|1.4.1|1.4.1||
162163
|[`synchronized`]|-|3.4.0|3.4.0||
163164
|[`term_glyph`]|-|1.2.2|1.2.2||
164165
|[`typed_data`]|-|1.4.0|1.4.0||
165-
|[`uuid`]|-|4.5.1|4.5.1||
166+
|[`uuid`]|-|4.5.2|4.5.2||
166167
|[`vector_math`]|-|2.2.0|2.2.0||
167168
|[`web`]|-|1.1.1|1.1.1||
168169
|[`xdg_directories`]|-|1.1.0|1.1.0||
@@ -188,6 +189,7 @@ To reproduce run `dart pub outdated --no-dev-dependencies --up-to-date --no-depe
188189
[`http_parser`]: https://pub.dev/packages/http_parser
189190
[`material_color_utilities`]: https://pub.dev/packages/material_color_utilities
190191
[`meta`]: https://pub.dev/packages/meta
192+
[`objective_c`]: https://pub.dev/packages/objective_c
191193
[`path`]: https://pub.dev/packages/path
192194
[`path_provider`]: https://pub.dev/packages/path_provider
193195
[`path_provider_android`]: https://pub.dev/packages/path_provider_android
@@ -197,8 +199,8 @@ To reproduce run `dart pub outdated --no-dev-dependencies --up-to-date --no-depe
197199
[`path_provider_windows`]: https://pub.dev/packages/path_provider_windows
198200
[`platform`]: https://pub.dev/packages/platform
199201
[`plugin_platform_interface`]: https://pub.dev/packages/plugin_platform_interface
202+
[`pub_semver`]: https://pub.dev/packages/pub_semver
200203
[`source_span`]: https://pub.dev/packages/source_span
201-
[`sprintf`]: https://pub.dev/packages/sprintf
202204
[`sqflite`]: https://pub.dev/packages/sqflite
203205
[`sqflite_android`]: https://pub.dev/packages/sqflite_android
204206
[`sqflite_common`]: https://pub.dev/packages/sqflite_common

test/goldens/end2end/bulma_min-0.7.4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"grantedPoints": 0,
6565
"maxPoints": 40,
6666
"status": "failed",
67-
"summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n<details>\n<summary>\nSdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n</summary>\n\n`pubspec.yaml:8:8`\n\n```\n ╷\n8 │ sdk: '>=1.0.0 <3.0.0'\n │ ^^^^^^^^^^^^^^^^\n ╵\n```\n\n</details>\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n<details>\n<summary>\nSdk constraint doesn't support current Dart version {{sdk-version}}.\n</summary>\n\n`pubspec.yaml:8:8`\n\n```\n ╷\n8 │ sdk: '>=1.0.0 <3.0.0'\n │ ^^^^^^^^^^^^^^^^\n ╵\n```\n\nTry widening the upper boundary of the constraint.\n</details>\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n`dart pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nThe lower bound of \"sdk: '>=1.0.0 <3.0.0'\" must be 2.12.0'\nor higher to enable null safety.\n\nThe current Dart SDK (3.9.0) only supports null safety.\n\nFor details, see https://dart.dev/null-safety\n```\n\nRun `dart pub downgrade` and then `dart analyze` to reproduce the above problem.\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints, see [dart.dev/go/downgrade-testing](https://dart.dev/go/downgrade-testing) for details.\n"
67+
"summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n<details>\n<summary>\nSdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n</summary>\n\n`pubspec.yaml:8:8`\n\n```\n ╷\n8 │ sdk: '>=1.0.0 <3.0.0'\n │ ^^^^^^^^^^^^^^^^\n ╵\n```\n\n</details>\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n<details>\n<summary>\nSdk constraint doesn't support current Dart version {{sdk-version}}.\n</summary>\n\n`pubspec.yaml:8:8`\n\n```\n ╷\n8 │ sdk: '>=1.0.0 <3.0.0'\n │ ^^^^^^^^^^^^^^^^\n ╵\n```\n\nTry widening the upper boundary of the constraint.\n</details>\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n`dart pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nThe lower bound of \"sdk: '>=1.0.0 <3.0.0'\" must be 2.12.0'\nor higher to enable null safety.\n\nThe current Dart SDK ({{sdk-version}}) only supports null safety.\n\nFor details, see https://dart.dev/null-safety\n```\n\nRun `dart pub downgrade` and then `dart analyze` to reproduce the above problem.\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints, see [dart.dev/go/downgrade-testing](https://dart.dev/go/downgrade-testing) for details.\n"
6868
}
6969
]
7070
},

test/goldens/end2end/bulma_min-0.7.4.json_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ERR:
9999
The lower bound of "sdk: '>=1.0.0 <3.0.0'" must be 2.12.0'
100100
or higher to enable null safety.
101101
102-
The current Dart SDK (3.9.0) only supports null safety.
102+
The current Dart SDK ({{sdk-version}}) only supports null safety.
103103
104104
For details, see https://dart.dev/null-safety
105105
```

0 commit comments

Comments
 (0)