From 2ab89b34b81aaf25c666b72f89aebfab936367f7 Mon Sep 17 00:00:00 2001 From: Jonas Finnemann Jensen Date: Mon, 13 May 2024 20:00:28 +0200 Subject: [PATCH] Remove `dart pub upgrade --null-safety` (#5806) Removing `dart pub upgrade --null-safety`. After Dart 3.0.0, this is no longer relevant, and the flag has been removed. --- src/content/tools/pub/cmd/pub-upgrade.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/content/tools/pub/cmd/pub-upgrade.md b/src/content/tools/pub/cmd/pub-upgrade.md index 178fe724a..ccbb5b420 100644 --- a/src/content/tools/pub/cmd/pub-upgrade.md +++ b/src/content/tools/pub/cmd/pub-upgrade.md @@ -123,20 +123,6 @@ By default, pub precompiles executables in immediate dependencies (`--precompile`). To prevent precompilation, use `--no-precompile`. -### `--null-safety` - -Gets the packages that -[`dart pub outdated --mode=null-safety`][`dart pub outdated`] -lists as _resolvable_, -ignoring any upper-bound constraint in the `pubspec.yaml` file. -Also updates `pubspec.yaml` with the new constraints. -This command is similar to `--major-versions`. - -:::tip -Commit the `pubspec.yaml` file before running this command, -so that you can undo the changes if necessary. -::: - ### `--major-versions` Gets the packages that [`dart pub outdated`][] lists as _resolvable_,