tz 0.1.0
tz: ^0.1.0 copied to clipboard
Platform-integrated timezone library for Dart and Flutter.
We analyzed this package 2 hours ago, and awarded it 55 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
No `README.md` found.
The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
9 out of 10 API elements (90.0 %) have documentation comments.
Some symbols that are missing documentation: tz.
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)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
ERROR: Target of URI hasn't been generated: 'package:tz/src/tz/universal/universal_tz.g.dart'.
lib/src/tz/universal/universal_tz.dart:16:6
╷
16 │ part 'universal_tz.g.dart';
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/tz/universal/universal_tz.dart
ERROR: Const variables must be initialized with a constant value.
lib/src/tz/universal/universal_tz.dart:30:21
╷
30 │ const _tzDatabase = _$_tzDatabase;
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/tz/universal/universal_tz.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
b |
^0.2.0 |
0.2.0 | 0.2.0 | |
collection |
^1.19.0 |
1.19.1 | 1.19.1 | |
embed_annotation |
^1.2.1 |
1.2.3 | 1.2.3 | |
equatable |
^2.0.7 |
2.1.0 | 3.0.0 | |
meta |
^1.15.0 |
1.19.0 | 1.19.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
invertible |
- | 2.0.0 | 2.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.0.7` on equatable does not support the stable version `3.0.0`, that was published 0 days ago.
When equatable is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions equatable to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
URI_HAS_NOT_BEEN_GENERATED-lib/src/tz/universal/universal_tz.dart:16:6- Target of URI hasn't been generated: 'package:tz/src/tz/universal/universal_tz.g.dart'.CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE-lib/src/tz/universal/universal_tz.dart:30:21- Const variables must be initialized with a constant value.
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.23.19, Dart 3.13.1.
Check the analysis log for details.