w_common 3.1.1 w_common: ^3.1.1 copied to clipboard
General utilities for Dart projects.
We analyzed this package 16 hours ago, and awarded it 80 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
118 out of 135 API elements (87.4 %) have documentation comments.
Some symbols that are missing documentation: async_extensions
, async_extensions.CompleterExtensions.completeErrorIfNotCompleted
, async_extensions.CompleterExtensions.completeIfNotCompleted
, cache
, cache.Cache.applyToItemCallBacks
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package not compatible with platform Android
Because:
package:w_common/disposable_browser.dart
that imports:package:w_common/src/browser/disposable_browser.dart
that imports:dart:js
Package not compatible with platform iOS
Because:
package:w_common/disposable_browser.dart
that imports:package:w_common/src/browser/disposable_browser.dart
that imports:dart:js
Package not compatible with platform Windows
Because:
package:w_common/disposable_browser.dart
that imports:package:w_common/src/browser/disposable_browser.dart
that imports:dart:js
Package not compatible with platform Linux
Because:
package:w_common/disposable_browser.dart
that imports:package:w_common/src/browser/disposable_browser.dart
that imports:dart:js
Package not compatible with platform macOS
Because:
package:w_common/disposable_browser.dart
that imports:package:w_common/src/browser/disposable_browser.dart
that imports:dart:js
Package not compatible with platform Web
Because:
package:w_common/test_utils.dart
that imports:dart:mirrors
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:w_common/disposable_browser.dart
that imports:package:w_common/src/browser/disposable_browser.dart
that imports:dart:js
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: The operand can't be null, so the condition is always 'false'.
lib/src/common/disposable.dart:556:20
╷
556 │ if (disposable == null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/common/disposable.dart
WARNING: The operand can't be null, so the condition is always 'false'.
lib/src/common/managed_stream_subscription.dart:46:16
╷
46 │ if (result == null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/common/managed_stream_subscription.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
intl |
>=0.17.0 <0.19.0 |
0.18.1 | 0.19.0 |
js |
^0.6.3 |
0.6.7 | 0.7.1 |
logging |
^1.0.0 |
1.3.0 | 1.3.0 |
meta |
^1.3.0 |
1.16.0 | 1.16.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=0.17.0 <0.19.0` on intl does not support the stable version `0.19.0`.
Try running dart pub upgrade --major-versions intl
to update the constraint.
The constraint `^0.6.3` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.13
, Dart 3.5.3
.
Check the analysis log for details.