dart-code-linter icon indicating copy to clipboard operation
dart-code-linter copied to clipboard

update dependencies

Open seljad opened this issue 1 year ago • 7 comments

I have image_cropper package in my project. When I try to install dart_code_linter, I get this error:

Because image_cropper >=5.0.0 depends on image_cropper_platform_interface ^5.0.0 which depends on http ^1.0.0, image_cropper >=5.0.0 requires http ^1.0.0. And because every version of dart_code_linter depends on http ^0.13.5, image_cropper >=5.0.0 is incompatible with dart_code_linter. So, because the App depends on both image_cropper ^5.0.0 and dart_code_linter any, version solving failed..

Please update your dependencies.

seljad avatar Sep 22 '23 12:09 seljad

Assign to review: @santitigaga @ajtortolero

Same here with http package: we are using current http version 1.1.0 but dart_code_linter still requires version 0.13.5

So +1 for upgrading the dependencies!

hohlfma avatar Oct 25 '23 15:10 hohlfma

This is fixed on the branch. @santitigaga can you please create a new version on pub.dev

The-Redhat avatar Nov 02 '23 22:11 The-Redhat

Please also update uuid to the newest (4.2.1).

JTorkk avatar Nov 08 '23 08:11 JTorkk

ping @santitigaga

The-Redhat avatar Nov 21 '23 20:11 The-Redhat

I also have a dependency version problem with uuid: Because every version of dart_code_linter depends on uuid ^3.0.7 and my_project depends on uuid ^4.1.0, dart_code_linter is forbidden.

bastislack avatar Dec 12 '23 16:12 bastislack

The analyzer dependency was changed to 6.0.0 which introduces many breaking changes. The project right now does not compile. I think that change should be reverted.

rubenlop88 avatar Feb 17 '24 15:02 rubenlop88

Hi all, sorry for the delay in replying. I reverted the change of the dependency analyzer from version 6 to version 5, adjusted the failed unit tests and added this control in the CI pipeline. #139

Once the pull request is completed a new version will be generated.

santitigaga avatar Sep 04 '24 15:09 santitigaga