| $ pub outdated --json |
| { |
| "packages": [ |
| { |
| "package": "bar", |
| "current": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "upgradable": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "resolvable": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "latest": { |
| "version": "2.0.0" |
| } |
| }, |
| { |
| "package": "baz", |
| "current": { |
| "version": "2.0.0", |
| "overridden": true |
| }, |
| "upgradable": { |
| "version": "2.0.0", |
| "overridden": true |
| }, |
| "resolvable": { |
| "version": "2.0.0", |
| "overridden": true |
| }, |
| "latest": { |
| "version": "2.0.0" |
| } |
| }, |
| { |
| "package": "foo", |
| "current": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "upgradable": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "resolvable": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "latest": { |
| "version": "2.0.0" |
| } |
| } |
| ] |
| } |
| |
| $ pub outdated --no-color |
| Showing outdated packages. |
| [*] indicates versions that are not the latest available. |
| |
| Package Name Current Upgradable Resolvable Latest |
| |
| direct dependencies: |
| bar *1.0.1 (overridden) *1.0.1 (overridden) *1.0.1 (overridden) 2.0.0 |
| baz *2.0.0 (overridden) *2.0.0 (overridden) *2.0.0 (overridden) 2.0.0 |
| foo *1.0.1 (overridden) *1.0.1 (overridden) *1.0.1 (overridden) 2.0.0 |
| |
| Current dependencies are constrained to versions listed in Resolvable. |
| A resolution compatible with the Latest versions doesn't exist, as they are not |
| mutually compatible. |
| |
| $ pub outdated --no-color --no-transitive |
| Showing outdated packages. |
| [*] indicates versions that are not the latest available. |
| |
| Package Name Current Upgradable Resolvable Latest |
| |
| direct dependencies: |
| bar *1.0.1 (overridden) *1.0.1 (overridden) *1.0.1 (overridden) 2.0.0 |
| baz *2.0.0 (overridden) *2.0.0 (overridden) *2.0.0 (overridden) 2.0.0 |
| foo *1.0.1 (overridden) *1.0.1 (overridden) *1.0.1 (overridden) 2.0.0 |
| |
| Current dependencies are constrained to versions listed in Resolvable. |
| A resolution compatible with the Latest versions doesn't exist, as they are not |
| mutually compatible. |
| |
| $ 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: |
| bar *1.0.1 (overridden) *1.0.1 (overridden) *1.0.1 (overridden) 2.0.0 |
| baz *2.0.0 (overridden) *2.0.0 (overridden) *2.0.0 (overridden) 2.0.0 |
| foo *1.0.1 (overridden) *1.0.1 (overridden) *1.0.1 (overridden) 2.0.0 |
| |
| Current dependencies are constrained to versions listed in Resolvable. |
| A resolution compatible with the Latest versions doesn't exist, as they are not |
| mutually compatible. |
| |
| $ pub outdated --no-color --prereleases |
| Showing outdated packages. |
| [*] indicates versions that are not the latest available. |
| |
| Package Name Current Upgradable Resolvable Latest |
| |
| direct dependencies: |
| bar *1.0.1 (overridden) *1.0.1 (overridden) *1.0.1 (overridden) 2.0.0 |
| baz *2.0.0 (overridden) *2.0.0 (overridden) *2.0.0 (overridden) 2.0.0 |
| foo *1.0.1 (overridden) *1.0.1 (overridden) *1.0.1 (overridden) 2.0.0 |
| |
| Current dependencies are constrained to versions listed in Resolvable. |
| A resolution compatible with the Latest versions doesn't exist, as they are not |
| mutually compatible. |
| |
| $ pub outdated --no-color --no-dev-dependencies |
| Showing outdated packages. |
| [*] indicates versions that are not the latest available. |
| |
| Package Name Current Upgradable Resolvable Latest |
| |
| direct dependencies: |
| bar *1.0.1 (overridden) *1.0.1 (overridden) *1.0.1 (overridden) 2.0.0 |
| baz *2.0.0 (overridden) *2.0.0 (overridden) *2.0.0 (overridden) 2.0.0 |
| foo *1.0.1 (overridden) *1.0.1 (overridden) *1.0.1 (overridden) 2.0.0 |
| |
| Current dependencies are constrained to versions listed in Resolvable. |
| A resolution compatible with the Latest versions doesn't exist, as they are not |
| mutually compatible. |
| |
| $ pub outdated --no-color --no-dependency-overrides |
| Showing outdated packages. |
| [*] indicates versions that are not the latest available. |
| |
| Package Name Current Upgradable Resolvable Latest |
| |
| direct dependencies: |
| bar *1.0.1 (overridden) 2.0.0 2.0.0 2.0.0 |
| baz *2.0.0 (overridden) *1.0.0 2.0.0 2.0.0 |
| foo *1.0.1 (overridden) *1.0.0 *1.0.0 2.0.0 |
| |
| 3 upgradable dependencies are locked (in pubspec.lock) to older versions. |
| To update these dependencies, use `pub upgrade`. |
| |
| 1 dependency is constrained to a version that is older than a resolvable version. |
| To update it, edit pubspec.yaml. |
| |
| $ 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: |
| bar ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗2.0.0 |
| baz ✗2.0.0 (overridden) ✗2.0.0 (overridden) ✗2.0.0 (overridden) ✗2.0.0 |
| foo ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗2.0.0 |
| |
| Current dependencies are constrained to versions listed in Resolvable. |
| A resolution compatible with the Latest versions doesn't exist, as they are not |
| mutually compatible. |
| |
| $ 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: |
| bar ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗2.0.0 |
| baz ✗2.0.0 (overridden) ✗2.0.0 (overridden) ✗2.0.0 (overridden) ✗2.0.0 |
| foo ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗2.0.0 |
| |
| Current dependencies are constrained to versions listed in Resolvable. |
| A resolution compatible with the Latest versions doesn't exist, as they are not |
| mutually compatible. |
| |
| $ 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: |
| bar ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗2.0.0 |
| baz ✗2.0.0 (overridden) ✗2.0.0 (overridden) ✗2.0.0 (overridden) ✗2.0.0 |
| foo ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗1.0.1 (overridden) ✗2.0.0 |
| |
| Current dependencies are constrained to versions listed in Resolvable. |
| A resolution compatible with the Latest versions doesn't exist, as they are not |
| mutually compatible. |
| |
| $ pub outdated --json --mode=null-safety |
| { |
| "packages": [ |
| { |
| "package": "bar", |
| "current": { |
| "version": "1.0.1", |
| "overridden": true, |
| "nullSafety": false |
| }, |
| "upgradable": { |
| "version": "1.0.1", |
| "overridden": true, |
| "nullSafety": false |
| }, |
| "resolvable": { |
| "version": "1.0.1", |
| "overridden": true, |
| "nullSafety": false |
| }, |
| "latest": { |
| "version": "2.0.0", |
| "nullSafety": false |
| } |
| }, |
| { |
| "package": "baz", |
| "current": { |
| "version": "2.0.0", |
| "overridden": true, |
| "nullSafety": false |
| }, |
| "upgradable": { |
| "version": "2.0.0", |
| "overridden": true, |
| "nullSafety": false |
| }, |
| "resolvable": { |
| "version": "2.0.0", |
| "overridden": true, |
| "nullSafety": false |
| }, |
| "latest": { |
| "version": "2.0.0", |
| "nullSafety": false |
| } |
| }, |
| { |
| "package": "foo", |
| "current": { |
| "version": "1.0.1", |
| "overridden": true, |
| "nullSafety": false |
| }, |
| "upgradable": { |
| "version": "1.0.1", |
| "overridden": true, |
| "nullSafety": false |
| }, |
| "resolvable": { |
| "version": "1.0.1", |
| "overridden": true, |
| "nullSafety": false |
| }, |
| "latest": { |
| "version": "2.0.0", |
| "nullSafety": false |
| } |
| } |
| ] |
| } |
| |
| $ pub outdated --json --no-dev-dependencies |
| { |
| "packages": [ |
| { |
| "package": "bar", |
| "current": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "upgradable": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "resolvable": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "latest": { |
| "version": "2.0.0" |
| } |
| }, |
| { |
| "package": "baz", |
| "current": { |
| "version": "2.0.0", |
| "overridden": true |
| }, |
| "upgradable": { |
| "version": "2.0.0", |
| "overridden": true |
| }, |
| "resolvable": { |
| "version": "2.0.0", |
| "overridden": true |
| }, |
| "latest": { |
| "version": "2.0.0" |
| } |
| }, |
| { |
| "package": "foo", |
| "current": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "upgradable": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "resolvable": { |
| "version": "1.0.1", |
| "overridden": true |
| }, |
| "latest": { |
| "version": "2.0.0" |
| } |
| } |
| ] |
| } |
| |