blob: b7ad48eadacc361b75586955fda5cd6ee141d678 [file] [log] [blame]
$ pub outdated --json
{
"packages": []
}
$ pub outdated --no-color
Showing outdated packages.
[*] indicates versions that are not the latest available.
Found no outdated packages
$ pub outdated --no-color --no-transitive
Showing outdated packages.
[*] indicates versions that are not the latest available.
Found no outdated packages
$ pub outdated --no-color --up-to-date
Showing outdated packages.
[*] indicates versions that are not the latest available.
Package Name Current Upgradable Resolvable Latest
direct dependencies:
foo 2.0.0 2.0.0 2.0.0 2.0.0
dev_dependencies:
bar 2.0.0 2.0.0 2.0.0 2.0.0
transitive dev_dependencies:
devTransitive 1.0.0 1.0.0 1.0.0 1.0.0
You are already using the newest resolvable versions listed in the 'Resolvable' column.
Newer versions, listed in 'Latest', may not be mutually compatible.
$ pub outdated --no-color --prereleases
Showing outdated packages.
[*] indicates versions that are not the latest available.
Found no outdated packages
$ pub outdated --no-color --no-dev-dependencies
Showing outdated packages.
[*] indicates versions that are not the latest available.
Found no outdated packages
$ pub outdated --no-color --no-dependency-overrides
Showing outdated packages.
[*] indicates versions that are not the latest available.
Found no outdated packages
$ pub outdated --no-color --mode=null-safety
Showing dependencies that are currently not opted in to null-safety.
[✗] indicates versions without null safety support.
[✓] indicates versions opting in to null safety.
Package Name Current Upgradable Resolvable Latest
direct dependencies: all support null safety.
dev_dependencies: all support null safety.
All dependencies opt in to null-safety.
$ pub outdated --no-color --mode=null-safety --transitive
Showing dependencies that are currently not opted in to null-safety.
[✗] indicates versions without null safety support.
[✓] indicates versions opting in to null safety.
Package Name Current Upgradable Resolvable Latest
direct dependencies: all support null safety.
dev_dependencies: all support null safety.
transitive dev_dependencies:
devTransitive ✗1.0.0 ✗1.0.0 ✗1.0.0 ✗1.0.0
All dependencies opt in to null-safety.
$ pub outdated --no-color --mode=null-safety --no-prereleases
Showing dependencies that are currently not opted in to null-safety.
[✗] indicates versions without null safety support.
[✓] indicates versions opting in to null safety.
Package Name Current Upgradable Resolvable Latest
direct dependencies: all support null safety.
dev_dependencies: all support null safety.
All dependencies opt in to null-safety.
$ pub outdated --json --mode=null-safety
{
"packages": [
{
"package": "devTransitive",
"current": {
"version": "1.0.0",
"nullSafety": false
},
"upgradable": {
"version": "1.0.0",
"nullSafety": false
},
"resolvable": {
"version": "1.0.0",
"nullSafety": false
},
"latest": {
"version": "1.0.0",
"nullSafety": false
}
}
]
}
$ pub outdated --json --no-dev-dependencies
{
"packages": []
}