Skip to content

Commit aedb1e6

Browse files
jonasfjparlough
authored and
Tony Sansone
committed
[3.5] Document dart pub downgrade --tighten (dart-lang#5807)
Landed in dart-lang/pub#4245 Probably won't be out until Dart 3.5 --------- Co-authored-by: Parker Lougheed <parlough@gmail.com>
1 parent 7c9b8f1 commit aedb1e6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/content/tools/pub/cmd/pub-downgrade.md

+9
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,14 @@ For options that apply to all pub commands, see
111111

112112
Reports what dependencies would change but doesn't change any.
113113

114+
### `--tighten`
115+
116+
:::version-note
117+
Support for the `--tighten` option is set to be added in Dart 3.5.
118+
:::
119+
120+
Updates the lower bounds of dependencies in `pubspec.yaml` to match the
121+
resolved versions, and returns a list of the changed constraints.
122+
Can be applied to [specific dependencies](#downgrading-specific-dependencies).
114123

115124
{% render 'pub-problems.md' %}

0 commit comments

Comments
 (0)