From 4f3e055b8df8eaed7028b4ac200b8be14452a562 Mon Sep 17 00:00:00 2001 From: Istvan Soos Date: Tue, 21 May 2024 09:30:35 +0200 Subject: [PATCH] Updated text --- lib/src/report/dependencies.dart | 3 ++- test/goldens/end2end/_dummy_pkg-1.0.0-null-safety.1.json | 2 +- .../end2end/_dummy_pkg-1.0.0-null-safety.1.json_report.md | 2 +- test/goldens/end2end/audio_service-0.18.10.json | 2 +- test/goldens/end2end/audio_service-0.18.10.json_report.md | 2 +- test/goldens/end2end/bulma_min-0.7.4.json | 2 +- test/goldens/end2end/bulma_min-0.7.4.json_report.md | 2 +- test/goldens/end2end/mime_type-0.3.2.json | 2 +- test/goldens/end2end/mime_type-0.3.2.json_report.md | 2 +- test/goldens/end2end/nsd_android-1.2.2.json | 2 +- test/goldens/end2end/nsd_android-1.2.2.json_report.md | 2 +- test/goldens/end2end/sdp_transform-0.2.0.json | 2 +- test/goldens/end2end/sdp_transform-0.2.0.json_report.md | 2 +- test/goldens/end2end/skiplist-0.1.0.json | 2 +- test/goldens/end2end/skiplist-0.1.0.json_report.md | 2 +- test/goldens/end2end/url_launcher-6.1.12.json | 2 +- test/goldens/end2end/url_launcher-6.1.12.json_report.md | 2 +- 17 files changed, 18 insertions(+), 17 deletions(-) diff --git a/lib/src/report/dependencies.dart b/lib/src/report/dependencies.dart index a93a01fd..32b7095b 100644 --- a/lib/src/report/dependencies.dart +++ b/lib/src/report/dependencies.dart @@ -236,7 +236,8 @@ Future trustworthyDependency(PackageContext context) async { Issue( '`pub downgrade` finds static analysis issue(s):\n\n$message'), RawParagraph( - 'You may run `dart pub upgrade --tighten` to update your dependency constraints.'), + 'You may run `dart pub upgrade --tighten` to update your dependency constraints, ' + 'or visit http://dart.dev/go/downgrade-testing for further help.'), ]; return Subsection( 'Compatible with dependency constraint lower bounds', diff --git a/test/goldens/end2end/_dummy_pkg-1.0.0-null-safety.1.json b/test/goldens/end2end/_dummy_pkg-1.0.0-null-safety.1.json index 701ca91b..4bda6dfa 100644 --- a/test/goldens/end2end/_dummy_pkg-1.0.0-null-safety.1.json +++ b/test/goldens/end2end/_dummy_pkg-1.0.0-null-safety.1.json @@ -73,7 +73,7 @@ "grantedPoints": 0, "maxPoints": 40, "status": "failed", - "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n\n\n`pubspec.yaml:6:8`\n\n```\n ╷\n6 │ sdk: \">=2.12.0-0 <2.12.0\"\n │ ^^^^^^^^^^^^^^^^^^^^\n ╵\n```\n\n
\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}.\n\n\n`pubspec.yaml:6:8`\n\n```\n ╷\n6 │ sdk: \">=2.12.0-0 <2.12.0\"\n │ ^^^^^^^^^^^^^^^^^^^^\n ╵\n```\n\nTry widening the upper boundary of the constraint.\n
\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nThe current Dart SDK version is {{sdk-version}}.\n\nBecause _dummy_pkg requires SDK version >=2.12.0-0 <2.12.0, version solving failed.\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints." + "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n\n\n`pubspec.yaml:6:8`\n\n```\n ╷\n6 │ sdk: \">=2.12.0-0 <2.12.0\"\n │ ^^^^^^^^^^^^^^^^^^^^\n ╵\n```\n\n
\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}.\n\n\n`pubspec.yaml:6:8`\n\n```\n ╷\n6 │ sdk: \">=2.12.0-0 <2.12.0\"\n │ ^^^^^^^^^^^^^^^^^^^^\n ╵\n```\n\nTry widening the upper boundary of the constraint.\n
\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nThe current Dart SDK version is {{sdk-version}}.\n\nBecause _dummy_pkg requires SDK version >=2.12.0-0 <2.12.0, version solving failed.\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help." } ] }, diff --git a/test/goldens/end2end/_dummy_pkg-1.0.0-null-safety.1.json_report.md b/test/goldens/end2end/_dummy_pkg-1.0.0-null-safety.1.json_report.md index f8b91f0a..ac57c5e6 100644 --- a/test/goldens/end2end/_dummy_pkg-1.0.0-null-safety.1.json_report.md +++ b/test/goldens/end2end/_dummy_pkg-1.0.0-null-safety.1.json_report.md @@ -151,4 +151,4 @@ The current Dart SDK version is {{sdk-version}}. Because _dummy_pkg requires SDK version >=2.12.0-0 <2.12.0, version solving failed. ``` -You may run `dart pub upgrade --tighten` to update your dependency constraints. \ No newline at end of file +You may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help. \ No newline at end of file diff --git a/test/goldens/end2end/audio_service-0.18.10.json b/test/goldens/end2end/audio_service-0.18.10.json index b086d4ff..61913232 100644 --- a/test/goldens/end2end/audio_service-0.18.10.json +++ b/test/goldens/end2end/audio_service-0.18.10.json @@ -130,7 +130,7 @@ "grantedPoints": 10, "maxPoints": 40, "status": "failed", - "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n* Could not run `flutter pub outdated`: `flutter pub get` failed:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter_web_plugins from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter_web_plugins from sdk depends on meta 1.12.0 which doesn't match any versions, flutter_web_plugins from sdk is forbidden.\nSo, because audio_service depends on flutter_web_plugins from sdk, version solving failed.\n```\n\n### [*] 10/10 points: Package supports latest stable Dart and Flutter SDKs\n\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter_web_plugins from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter_web_plugins from sdk depends on meta 1.12.0 which doesn't match any versions, flutter_web_plugins from sdk is forbidden.\nSo, because audio_service depends on flutter_web_plugins from sdk, version solving failed.\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints." + "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n* Could not run `flutter pub outdated`: `flutter pub get` failed:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter_web_plugins from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter_web_plugins from sdk depends on meta 1.12.0 which doesn't match any versions, flutter_web_plugins from sdk is forbidden.\nSo, because audio_service depends on flutter_web_plugins from sdk, version solving failed.\n```\n\n### [*] 10/10 points: Package supports latest stable Dart and Flutter SDKs\n\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter_web_plugins from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter_web_plugins from sdk depends on meta 1.12.0 which doesn't match any versions, flutter_web_plugins from sdk is forbidden.\nSo, because audio_service depends on flutter_web_plugins from sdk, version solving failed.\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help." } ] }, diff --git a/test/goldens/end2end/audio_service-0.18.10.json_report.md b/test/goldens/end2end/audio_service-0.18.10.json_report.md index 9d31b848..999bf423 100644 --- a/test/goldens/end2end/audio_service-0.18.10.json_report.md +++ b/test/goldens/end2end/audio_service-0.18.10.json_report.md @@ -81,4 +81,4 @@ Because every version of flutter_web_plugins from sdk depends on meta 1.12.0 whi So, because audio_service depends on flutter_web_plugins from sdk, version solving failed. ``` -You may run `dart pub upgrade --tighten` to update your dependency constraints. \ No newline at end of file +You may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help. \ No newline at end of file diff --git a/test/goldens/end2end/bulma_min-0.7.4.json b/test/goldens/end2end/bulma_min-0.7.4.json index 5fcafe10..e5fc3ac7 100644 --- a/test/goldens/end2end/bulma_min-0.7.4.json +++ b/test/goldens/end2end/bulma_min-0.7.4.json @@ -74,7 +74,7 @@ "grantedPoints": 0, "maxPoints": 40, "status": "failed", - "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n\n\n`pubspec.yaml:8:8`\n\n```\n ╷\n8 │ sdk: '>=1.0.0 <3.0.0'\n │ ^^^^^^^^^^^^^^^^\n ╵\n```\n\n
\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}.\n\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
\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`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.4.0) only supports null safety.\n\nFor details, see https://dart.dev/null-safety\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints." + "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n\n\n`pubspec.yaml:8:8`\n\n```\n ╷\n8 │ sdk: '>=1.0.0 <3.0.0'\n │ ^^^^^^^^^^^^^^^^\n ╵\n```\n\n
\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}.\n\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
\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`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.4.0) only supports null safety.\n\nFor details, see https://dart.dev/null-safety\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help." } ] }, diff --git a/test/goldens/end2end/bulma_min-0.7.4.json_report.md b/test/goldens/end2end/bulma_min-0.7.4.json_report.md index ae9c5c2f..769024dd 100644 --- a/test/goldens/end2end/bulma_min-0.7.4.json_report.md +++ b/test/goldens/end2end/bulma_min-0.7.4.json_report.md @@ -106,4 +106,4 @@ The current Dart SDK (3.4.0) only supports null safety. For details, see https://dart.dev/null-safety ``` -You may run `dart pub upgrade --tighten` to update your dependency constraints. \ No newline at end of file +You may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help. \ No newline at end of file diff --git a/test/goldens/end2end/mime_type-0.3.2.json b/test/goldens/end2end/mime_type-0.3.2.json index 34ca5b1e..221d16e1 100644 --- a/test/goldens/end2end/mime_type-0.3.2.json +++ b/test/goldens/end2end/mime_type-0.3.2.json @@ -67,7 +67,7 @@ "grantedPoints": 0, "maxPoints": 40, "status": "failed", - "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n\n\n`pubspec.yaml:10:10`\n\n```\n ╷\n10 │ sdk: '>=0.8.10 <3.0.0'\n │ ^^^^^^^^^^^^^^^^^\n ╵\n```\n\n
\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}.\n\n\n`pubspec.yaml:10:10`\n\n```\n ╷\n10 │ sdk: '>=0.8.10 <3.0.0'\n │ ^^^^^^^^^^^^^^^^^\n ╵\n```\n\nTry widening the upper boundary of the constraint.\n
\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nThe lower bound of \"sdk: '>=0.8.10 <3.0.0'\" must be 2.12.0'\nor higher to enable null safety.\n\nThe current Dart SDK (3.4.0) only supports null safety.\n\nFor details, see https://dart.dev/null-safety\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints." + "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n\n\n`pubspec.yaml:10:10`\n\n```\n ╷\n10 │ sdk: '>=0.8.10 <3.0.0'\n │ ^^^^^^^^^^^^^^^^^\n ╵\n```\n\n
\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}.\n\n\n`pubspec.yaml:10:10`\n\n```\n ╷\n10 │ sdk: '>=0.8.10 <3.0.0'\n │ ^^^^^^^^^^^^^^^^^\n ╵\n```\n\nTry widening the upper boundary of the constraint.\n
\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nThe lower bound of \"sdk: '>=0.8.10 <3.0.0'\" must be 2.12.0'\nor higher to enable null safety.\n\nThe current Dart SDK (3.4.0) only supports null safety.\n\nFor details, see https://dart.dev/null-safety\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help." } ] }, diff --git a/test/goldens/end2end/mime_type-0.3.2.json_report.md b/test/goldens/end2end/mime_type-0.3.2.json_report.md index c53a45df..8a27b157 100644 --- a/test/goldens/end2end/mime_type-0.3.2.json_report.md +++ b/test/goldens/end2end/mime_type-0.3.2.json_report.md @@ -135,4 +135,4 @@ The current Dart SDK (3.4.0) only supports null safety. For details, see https://dart.dev/null-safety ``` -You may run `dart pub upgrade --tighten` to update your dependency constraints. \ No newline at end of file +You may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help. \ No newline at end of file diff --git a/test/goldens/end2end/nsd_android-1.2.2.json b/test/goldens/end2end/nsd_android-1.2.2.json index e5f920af..1b9d2cec 100644 --- a/test/goldens/end2end/nsd_android-1.2.2.json +++ b/test/goldens/end2end/nsd_android-1.2.2.json @@ -92,7 +92,7 @@ "grantedPoints": 10, "maxPoints": 40, "status": "failed", - "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n* Could not run `flutter pub outdated`: `flutter pub get` failed:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter from sdk depends on meta 1.12.0 which doesn't match any versions, flutter from sdk is forbidden.\nSo, because nsd_android depends on flutter from sdk, version solving failed.\n```\n\n### [*] 10/10 points: Package supports latest stable Dart and Flutter SDKs\n\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter from sdk depends on meta 1.12.0 which doesn't match any versions, flutter from sdk is forbidden.\nSo, because nsd_android depends on flutter from sdk, version solving failed.\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints." + "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n* Could not run `flutter pub outdated`: `flutter pub get` failed:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter from sdk depends on meta 1.12.0 which doesn't match any versions, flutter from sdk is forbidden.\nSo, because nsd_android depends on flutter from sdk, version solving failed.\n```\n\n### [*] 10/10 points: Package supports latest stable Dart and Flutter SDKs\n\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter from sdk depends on meta 1.12.0 which doesn't match any versions, flutter from sdk is forbidden.\nSo, because nsd_android depends on flutter from sdk, version solving failed.\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help." } ] }, diff --git a/test/goldens/end2end/nsd_android-1.2.2.json_report.md b/test/goldens/end2end/nsd_android-1.2.2.json_report.md index a7f28986..4668ec64 100644 --- a/test/goldens/end2end/nsd_android-1.2.2.json_report.md +++ b/test/goldens/end2end/nsd_android-1.2.2.json_report.md @@ -88,4 +88,4 @@ Because every version of flutter from sdk depends on meta 1.12.0 which doesn't m So, because nsd_android depends on flutter from sdk, version solving failed. ``` -You may run `dart pub upgrade --tighten` to update your dependency constraints. \ No newline at end of file +You may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help. \ No newline at end of file diff --git a/test/goldens/end2end/sdp_transform-0.2.0.json b/test/goldens/end2end/sdp_transform-0.2.0.json index e1aa72a9..cfe0abe6 100644 --- a/test/goldens/end2end/sdp_transform-0.2.0.json +++ b/test/goldens/end2end/sdp_transform-0.2.0.json @@ -83,7 +83,7 @@ "grantedPoints": 0, "maxPoints": 40, "status": "failed", - "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n\n\n`pubspec.yaml:10:8`\n\n```\n ╷\n10 │ sdk: '<3.0.0'\n │ ^^^^^^^^\n ╵\n```\n\n
\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}.\n\n\n`pubspec.yaml:10:8`\n\n```\n ╷\n10 │ sdk: '<3.0.0'\n │ ^^^^^^^^\n ╵\n```\n\nTry widening the upper boundary of the constraint.\n
\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`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.4.0) only supports null safety.\n\nFor details, see https://dart.dev/null-safety\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints." + "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n\n\n`pubspec.yaml:10:8`\n\n```\n ╷\n10 │ sdk: '<3.0.0'\n │ ^^^^^^^^\n ╵\n```\n\n
\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n
\n\nSdk constraint doesn't support current Dart version {{sdk-version}}.\n\n\n`pubspec.yaml:10:8`\n\n```\n ╷\n10 │ sdk: '<3.0.0'\n │ ^^^^^^^^\n ╵\n```\n\nTry widening the upper boundary of the constraint.\n
\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`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.4.0) only supports null safety.\n\nFor details, see https://dart.dev/null-safety\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help." } ] }, diff --git a/test/goldens/end2end/sdp_transform-0.2.0.json_report.md b/test/goldens/end2end/sdp_transform-0.2.0.json_report.md index e82e6725..5c5e163c 100644 --- a/test/goldens/end2end/sdp_transform-0.2.0.json_report.md +++ b/test/goldens/end2end/sdp_transform-0.2.0.json_report.md @@ -112,4 +112,4 @@ The current Dart SDK (3.4.0) only supports null safety. For details, see https://dart.dev/null-safety ``` -You may run `dart pub upgrade --tighten` to update your dependency constraints. \ No newline at end of file +You may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help. \ No newline at end of file diff --git a/test/goldens/end2end/skiplist-0.1.0.json b/test/goldens/end2end/skiplist-0.1.0.json index dc1079b4..869c4f4f 100644 --- a/test/goldens/end2end/skiplist-0.1.0.json +++ b/test/goldens/end2end/skiplist-0.1.0.json @@ -80,7 +80,7 @@ "grantedPoints": 0, "maxPoints": 40, "status": "failed", - "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n* Sdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n
\n\nPubspec.yaml does not have an sdk version constraint.\n\n\nTry adding an sdk constraint to your `pubspec.yaml`\n
\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nThe lower bound of \"sdk: '>=1.0.0 <=3.4.0'\" must be 2.12.0'\nor higher to enable null safety.\n\nThe current Dart SDK (3.4.0) only supports null safety.\n\nFor details, see https://dart.dev/null-safety\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints." + "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n* Sdk constraint doesn't support current Dart version {{sdk-version}}. Cannot run `dart pub outdated`.\n\n### [x] 0/10 points: Package supports latest stable Dart and Flutter SDKs\n\n
\n\nPubspec.yaml does not have an sdk version constraint.\n\n\nTry adding an sdk constraint to your `pubspec.yaml`\n
\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nThe lower bound of \"sdk: '>=1.0.0 <=3.4.0'\" must be 2.12.0'\nor higher to enable null safety.\n\nThe current Dart SDK (3.4.0) only supports null safety.\n\nFor details, see https://dart.dev/null-safety\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help." } ] }, diff --git a/test/goldens/end2end/skiplist-0.1.0.json_report.md b/test/goldens/end2end/skiplist-0.1.0.json_report.md index 306b31e9..d1242d84 100644 --- a/test/goldens/end2end/skiplist-0.1.0.json_report.md +++ b/test/goldens/end2end/skiplist-0.1.0.json_report.md @@ -90,4 +90,4 @@ The current Dart SDK (3.4.0) only supports null safety. For details, see https://dart.dev/null-safety ``` -You may run `dart pub upgrade --tighten` to update your dependency constraints. \ No newline at end of file +You may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help. \ No newline at end of file diff --git a/test/goldens/end2end/url_launcher-6.1.12.json b/test/goldens/end2end/url_launcher-6.1.12.json index 6269dcef..dab9b38c 100644 --- a/test/goldens/end2end/url_launcher-6.1.12.json +++ b/test/goldens/end2end/url_launcher-6.1.12.json @@ -132,7 +132,7 @@ "grantedPoints": 10, "maxPoints": 40, "status": "failed", - "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n* Could not run `flutter pub outdated`: `flutter pub get` failed:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter from sdk depends on meta 1.12.0 which doesn't match any versions, flutter from sdk is forbidden.\nSo, because url_launcher depends on flutter from sdk, version solving failed.\n```\n\n### [*] 10/10 points: Package supports latest stable Dart and Flutter SDKs\n\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter from sdk depends on meta 1.12.0 which doesn't match any versions, flutter from sdk is forbidden.\nSo, because url_launcher depends on flutter from sdk, version solving failed.\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints." + "summary": "### [x] 0/10 points: All of the package dependencies are supported in the latest version\n\n* Could not run `flutter pub outdated`: `flutter pub get` failed:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter from sdk depends on meta 1.12.0 which doesn't match any versions, flutter from sdk is forbidden.\nSo, because url_launcher depends on flutter from sdk, version solving failed.\n```\n\n### [*] 10/10 points: Package supports latest stable Dart and Flutter SDKs\n\n\n### [x] 0/20 points: Compatible with dependency constraint lower bounds\n\n* `pub downgrade` finds static analysis issue(s):\n\n`pub downgrade` failed with:\n\n```\nOUT:\nResolving dependencies...\nERR:\nNote: meta is pinned to version 1.12.0 by flutter from the flutter SDK.\nSee https://dart.dev/go/sdk-version-pinning for details.\n\n\nBecause every version of flutter from sdk depends on meta 1.12.0 which doesn't match any versions, flutter from sdk is forbidden.\nSo, because url_launcher depends on flutter from sdk, version solving failed.\n```\n\nYou may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help." } ] }, diff --git a/test/goldens/end2end/url_launcher-6.1.12.json_report.md b/test/goldens/end2end/url_launcher-6.1.12.json_report.md index 864e0465..99ff1088 100644 --- a/test/goldens/end2end/url_launcher-6.1.12.json_report.md +++ b/test/goldens/end2end/url_launcher-6.1.12.json_report.md @@ -92,4 +92,4 @@ Because every version of flutter from sdk depends on meta 1.12.0 which doesn't m So, because url_launcher depends on flutter from sdk, version solving failed. ``` -You may run `dart pub upgrade --tighten` to update your dependency constraints. \ No newline at end of file +You may run `dart pub upgrade --tighten` to update your dependency constraints, or visit http://dart.dev/go/downgrade-testing for further help. \ No newline at end of file