Skip to content

Commit

Permalink
Merge branch 'main' into wasm-page
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryaBelanger authored May 13, 2024
2 parents 2ceeff4 + 2ab89b3 commit b916a1c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/content/tools/pub/cmd/pub-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_,
Expand Down

0 comments on commit b916a1c

Please sign in to comment.