tmt_dart_utils 1.2.9
tmt_dart_utils: ^1.2.9 copied to clipboard
The sets of utilities and extension method for Dart projects.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting tmt_dart_utils... Discovering libraries... Linking elements... Precaching local docs for 159990 elements... Initialized dartdoc with 235 libraries Generating docs for library tmt_dart_extensions.dart from package:tmt_dart_utils/tmt_dart_extensions.dart... Generating docs for library tmt_dart_utils.dart from package:tmt_dart_utils/tmt_dart_utils.dart... Documented 2 public libraries in 29.0 seconds ERR: warning: ambiguous reexport of tmt_flutter_utils.getFirstDateOfWeek, canonicalization candidates: (tmt_dart_utils, tmt_dart_utils) -> tmt_dart_utils (confidence 0.000) from tmt_flutter_utils.getFirstDateOfWeek: (file:///tmp/pana_GUMEYA/lib/src/datetime/datetime_util.dart:7:10) tmt_dart_utils: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) tmt_dart_utils: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor tmt_flutter_utils.getFirstDateOfWeek} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [222 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:tmt_dart_utils/tmt_dart_utils.dart
that imports:package:tmt_dart_utils/src/other/internet_utils.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:tmt_dart_utils/tmt_dart_utils.dart
that imports:package:tmt_dart_utils/src/other/internet_utils.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: The import of 'package:tmt_dart_utils/src/string/string_extensions.dart' is unnecessary because all of the used elements are also provided by the import of '../../tmt_dart_utils.dart'.
lib/src/num/num_utils.dart:1:8
╷
1 │ import 'package:tmt_dart_utils/src/string/string_extensions.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/num/num_utils.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/string/string_extensions.dart:184:55
╷
184 │ /// using [jsonDecode] to convert Json String to Map<String,dynamic>
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/string/string_extensions.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
>=1.17.1 <2.0.0 |
1.19.1 | 1.19.1 | |
crypto |
^3.0.2 |
3.0.6 | 3.0.6 | |
diacritic |
^0.1.3 |
0.1.6 | 0.1.6 | |
intl |
>=0.17.0 <=0.19.0 |
0.19.0 | 0.20.2 | |
path |
>=1.8.3 <2.0.0 |
1.9.1 | 1.9.1 | |
timeago |
^3.3.0 |
3.7.1 | 3.7.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
clock |
- | 1.1.2 | 1.1.2 | |
meta |
- | 1.17.0 | 1.17.0 | |
typed_data |
- | 1.4.0 | 1.4.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.20.0`.
Try running dart pub upgrade --major-versions intl
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.22.21
, Dart 3.8.1
.
Check the analysis log for details.