clock 0.1.2 copy "clock: ^0.1.2" to clipboard
clock: ^0.1.2 copied to clipboard

outdatedDart 1 only

Provides testable replacements for the system clock APIs (`new DateTime.now()` and `new Stopwatch()`).

193
likes
20/ 160
pub points
99%
popularity

We analyzed this package 2 days ago, and awarded it 20 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 image link is insecure.

README.md:1:61

  ╷
1 │ <h1>clock <a href="https://pub.dartlang.org/packages/clock"><img src="http://img.shields.io/pub/v/clock.svg" alt="pub package" /></a> <a href="https://drone.io/github.com/seaneagan/clock/latest"><img src="https://drone.io/github.com/seaneagan/clock/status.png" alt="Build Status" /></a></h1>
  │                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

Dependency resolution failed, unable to run dartdoc.

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: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

failed
Pass static analysis
0 / 50trigger folding of the section

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.0.0 <=3.4.1'" must be 2.12.0'
or higher to enable null safety.
failed
Support up-to-date dependencies
0 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

  • Sdk constraint doesn't support current Dart version 3.4.1. Cannot run dart pub outdated.

0/10 points: Package supports latest stable Dart and Flutter SDKs

Pubspec.yaml does not have an sdk version constraint.

Try adding an sdk constraint to your pubspec.yaml

0/20 points: Compatible with dependency constraint lower bounds

dart pub downgrade failed with:

OUT:
Resolving dependencies...
ERR:
The lower bound of "sdk: '>=1.0.0 <=3.4.1'" must be 2.12.0'
or higher to enable null safety.

The current Dart SDK (3.4.1) 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.5, Dart 3.4.1.

Check the analysis log for details.

193
likes
20
pub points
99%
popularity

Publisher

verified publishertools.dart.dev

Provides testable replacements for the system clock APIs (`new DateTime.now()` and `new Stopwatch()`).

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

More

Packages that depend on clock