service_registry 2.0.1 service_registry: ^2.0.1 copied to clipboard
A Service registry for dart. It is a simple attempt to provide some sort of IoC in a dart environment, it makes much easier to test components that rely on external services, because we can easily moc [...]
We analyzed this package 33 hours ago, and awarded it 30 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
Dependency resolution failed, unable to run dartdoc
.
10/10 points: Package has an example
0/20 points: Platform support detection failed
Could not determine supported platforms as package resolution failed.
Run dart pub get
for more information.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
- Running
dart pub outdated
failed with the following output:
The lower bound of "sdk: '>=1.23.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.
0/10 points: All of the package dependencies are supported in the latest version
Sdk constraint doesn't support current Dart version 3.5.4. Cannot run `dart pub outdated`.
pubspec.yaml:12:8
╷
12 │ sdk: ">=1.23.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^^
╵
0/10 points: Package supports latest stable Dart and Flutter SDKs
Sdk constraint doesn't support current Dart version 3.5.4.
pubspec.yaml:12:8
╷
12 │ sdk: ">=1.23.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^^
╵
Try widening the upper boundary of the constraint.
0/20 points: Compatible with dependency constraint lower bounds
dart pub downgrade
failed with:
OUT:
Resolving dependencies...
ERR:
The lower bound of "sdk: '>=1.23.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.
The current Dart SDK (3.5.4) only supports null safety.
For details, see https://dart.dev/null-safety
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.15
, Dart 3.5.4
.
Check the analysis log for details.