felangel / web_socket_client

A simple WebSocket client for Dart which includes automatic reconnection logic.
https://pub.dev/packages/web_socket_client
MIT License
150 stars 32 forks source link

fix: Update web dependency #61

Closed MahanRahmati closed 2 weeks ago

MahanRahmati commented 4 weeks ago

I'm not sure if I'm reporting to the correct repo, but the web package is bumped to version 1.0, and we can't update our other packages.
Thanks for creating this package! 🙏

Because share_plus >=10.0.1 depends on web ^1.0.0 and web_socket_client 0.1.4 depends on web ^0.5.0, share_plus >=10.0.1 is incompatible with web_socket_client 0.1.4. And because no versions of web_socket_client match >0.1.4 <0.2.0, share_plus >=10.0.1 is incompatible with web_socket_client ^0.1.4.
So, because sabertooth depends on both web_socket_client ^0.1.4 and share_plus ^10.0.2, version solving failed.
MahanRahmati commented 2 weeks ago

Fixed by using dependency_overrides

dependency_overrides:
  web: ^1.0.0