corsac-dart / jwt

Lightweight implementation of JSON Web Tokens (JWT)
BSD 2-Clause "Simplified" License
45 stars 28 forks source link

Null safety #22

Closed dxvid-pts closed 3 years ago

dxvid-pts commented 3 years ago

This is a request to add support for null safety to this package. See the migration guide for details about enabling null safety.

technolion commented 3 years ago

With the release of flutter beta 2.2.0 today, this issue got more pressing, because it requires mockito ^5.0.0 which in turn requires crypto ^3.0.0.

Because mockito >=5.0.0 depends on analyzer ^1.0.0 which depends on crypto ^3.0.0, mockito >=5.0.0 requires crypto ^3.0.0.
Because analyzer ^1.0.0 depends on crypto ^3.0.0 and corsac_jwt 0.4.0 depends on crypto ^2.1.5, analyzer ^1.0.0 is incompatible with corsac_jwt 0.4.0.

This means, that corsac-dart cannot be used with flutter beta channel. Since flutter desktop development has to be done on beta channel, this package needs to be upgraded really quickly.

MisterJimson commented 3 years ago

Anyone know of a solid alternative package?

pulyaevskiy commented 3 years ago

Fixed by #21