Closed tnc1997 closed 3 years ago
Please do!
On Sat, Dec 5, 2020 at 4:05 AM Thomas Clark notifications@github.com wrote:
I was wondering if there are any plans to migrate this package to null safety?
I would be happy to have an attempt at null safety migration if there are not.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/shelf_static/issues/41, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEFCU6WE3456PRIFRXEWTSTIOXBANCNFSM4UOQCAEA .
You might want to wait until we publish pkg:shelf, though!
On Sat, Dec 5, 2020 at 2:11 PM Kevin Moore kevmoo@google.com wrote:
Please do!
On Sat, Dec 5, 2020 at 4:05 AM Thomas Clark notifications@github.com wrote:
I was wondering if there are any plans to migrate this package to null safety?
I would be happy to have an attempt at null safety migration if there are not.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/shelf_static/issues/41, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEFCU6WE3456PRIFRXEWTSTIOXBANCNFSM4UOQCAEA .
I second this request. I think, all that needs to change (besides tests which I didn't test) is this.
pubspec.yaml:
version: 1.0.0
...
environment:
sdk: '>=2.12.0-0 <3.0.0'
dependencies:
convert: '>=3.0.0 <4.0.0'
http_parser: '>=4.0.0 <5.0.0'
mime: '>=1.0.0 <2.0.0'
path: '>=1.8.0 <2.0.0'
shelf: '>=1.0.0 <2.0.0'
and static_handler.dart:
I was wondering if there are any plans to migrate this package to null safety?
I would be happy to have an attempt at null safety migration if there are not.