w_common 3.2.0
w_common: ^3.2.0 copied to clipboard
General utilities for Dart projects.
We analyzed this package 4 days ago, and awarded it 85 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 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("3.2.0").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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
120 out of 150 API elements (80.0 %) have documentation comments.
Some symbols that are missing documentation: async_extensions, async_extensions.CompleterExtensions.completeErrorIfNotCompleted, async_extensions.CompleterExtensions.completeIfNotCompleted, cache, cache.Cache.Cache.new.
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.dartthat imports:package:w_common/src/browser/disposable_browser.dartthat imports:dart:js
Package not compatible with platform iOS
Because:
package:w_common/disposable_browser.dartthat imports:package:w_common/src/browser/disposable_browser.dartthat imports:dart:js
Package not compatible with platform Windows
Because:
package:w_common/disposable_browser.dartthat imports:package:w_common/src/browser/disposable_browser.dartthat imports:dart:js
Package not compatible with platform Linux
Because:
package:w_common/disposable_browser.dartthat imports:package:w_common/src/browser/disposable_browser.dartthat imports:dart:js
Package not compatible with platform macOS
Because:
package:w_common/disposable_browser.dartthat imports:package:w_common/src/browser/disposable_browser.dartthat imports:dart:js
Package not compatible with platform Web
Because:
package:w_common/test_utils.dartthat imports:dart:mirrors
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.
lib/invalidation_mixin.dart:16:1
╷
16 │ import 'dart:html';
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/invalidation_mixin.dart
INFO: Angle brackets will be interpreted as HTML.
lib/json_serializable.dart:32:81
╷
32 │ /// A type definition for a map that represents the default JSON object type Map<String, dynamic>.
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/json_serializable.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
intl |
>=0.17.0 <0.19.0 |
0.18.1 | 0.20.2 | |
js |
^0.6.3 |
0.6.7 | 0.7.2 | Discontinued |
logging |
^1.0.0 |
1.3.0 | 1.3.0 | |
meta |
^1.3.0 |
1.17.0 | 1.17.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
- | 1.1.2 | 1.1.2 | |
path |
- | 1.9.1 | 1.9.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
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.23.3, Dart 3.10.4.
Check the analysis log for details.