w_common 3.0.1 copy "w_common: ^3.0.1" to clipboard
w_common: ^3.0.1 copied to clipboard

SDKDart

General utilities for Dart projects.

1
likes
60/ 140
pub points
89%
popularity

We analyzed this package 24 hours ago, and awarded it 60 pub points (of a possible 140):

failed
Follow Dart file conventions
10 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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.

failed
Platform support
0 / 20trigger folding of the section

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
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

WARNING: This 'onError' handler must return a value assignable to 'T', but ends without returning a value.

lib/src/common/disposable.dart:537:37

    ╷
537 │     completer.future.catchError((e) {
    │                                     ^
    ╵

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/disposable.dart:553:20

    ╷
553 │     if (disposable == null) {
    │                    ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/common/disposable.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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.2.0 1.2.0
meta ^1.3.0 1.14.0 1.14.0
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.1 1.1.1
path - 1.9.0 1.9.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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

1
likes
60
pub points
89%
popularity

Publisher

verified publisherworkiva.com

General utilities for Dart projects.

Repository
View/report issues
Contributing

Documentation

API reference

License

unknown (LICENSE)

Dependencies

intl, js, logging, meta

More

Packages that depend on w_common