Closed monsieurtanuki closed 1 month ago
Follow Dart file conventions - 10/10 points: Provide a valid pubspec.yaml (Issue tracker URL doesn't exist)
pana still assigns all the necessary points. I'm not sure why it doesn't detect it as a valid URL, whether it's GitHub refusing the requests from pub.dev for whatever reason (or whatever domain is running pana), or pana is broken. I might make an issue report to pana, as I've seen this before.
Platform support: 0/0 points: WASM compatibility
This appears to be because we depend on https://pub.dev/packages/logger, which pana decides isn't Wasm compatible because it imports dart:io
in a specific library. But due to platform dependent imports, this doesn't actually make it Wasm incompatible. The only solution here is for pana to get better at detection with these platform dependent import situations (which is also why packages manually define supported platforms, otherwise it would say we're not compatible with Web) (which I suppose is difficult to do statically?), or give us an option to label the package Wasm ready ourselves. See https://github.com/dart-lang/pana/issues/1324 & https://github.com/dart-lang/pub-dev/issues/6785.
Thanks for reporting this, I'm trying to keep an eye on it in general (https://github.com/dart-lang/pub-dev/issues/6785#issuecomment-2380885388).
What is the bug?
Having a look at https://pub.dev/packages/flutter_map/score, we see that though the score is maximum (160), there are pending issues that will decrease the score.
How can we reproduce it?
Just go to https://pub.dev/packages/flutter_map/score
Do you have a potential solution?
No response
Platforms
Whatever
Severity
Minimum: Allows normal functioning