Is there a way to list and update packages that have crossed a major version in pubspec.yaml? (like this method used in NPM)
E.g. when the pubspec.yaml file has this
There a quick and dirty solution that just reads the pubspec.yaml file and then checks the latest version by web-scraping.
https://gist.github.com/spidgorny/ed475cbbe303e1c09c0f6c9f9f57dcad
Example:
cupertino_icons: 0.1.2
location: 2.3.5
flutter_local_notifications: 0.8.4
http: 0.12.0+1
=> 0.12.0+2
haversine: 1.0.2
flutter_map: 0.1.4
=> 0.7.3
map_native: 0.0.11
url_launcher: 5.1.4
flutter_html_view: 0.5.12
flutter_html: 0.8.2
background_fetch: 0.2.0
=> 0.3.2
package_info: 0.4.0+2
=> 0.4.0+6
liquid_pull_to_refresh: 1.1.1
provider: 3.0.0
=> 3.1.0
yaml: any
google_maps_flutter: 0.5.21+7