tz 0.1.0 copy "tz: ^0.1.0" to clipboard
tz: ^0.1.0 copied to clipboard

discontinued

Platform-integrated timezone library for Dart and Flutter.

55/ 160
pub points
10
downloads

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

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 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.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Partially passed check 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.

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

Failed check 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.

Weekly downloads

Display as:
By versions:
0
likes
55
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Platform-integrated timezone library for Dart and Flutter.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

b, collection, embed_annotation, equatable, meta, path

More

Packages that depend on tz