SchabanBo / pub_manager

Manage packages in your Dart and Flutter projects. View package information, check for updates, and easily update your
MIT License
5 stars 1 forks source link

Unusual changes made to pubspec #1

Closed ajackson2907 closed 1 year ago

ajackson2907 commented 1 year ago

Hi,

I have just installed the extension and noticed an unexpected change. When updating the http package from 1.0.0 to 1.1.0, it changed the pubspec.yaml from

http: ^1.0.0 cached_network_image: git: url: http://github.com/lucasmiranda5/flutter_cached_network_image.git ref: dart3 path: cached_network_image

To this:

http: 1.1.0 cached_network_image: git: url: 1.1.0://github.com/lucasmiranda5/flutter_cached_network_image.git ref: dart3 path: cached_network_image

Notice the start of the URL has changed from http:// to 1.1.0://

Also, the ^ symbol does not persist when updating the version.

On further investigation, it also replaced any URL in comments throughout the whole pubspec.yaml file.

Also when I tried to run it on Windows, I got a service worker error.

Thanks for the extension 👏