enough_convert 1.5.0 enough_convert: ^1.5.0 copied to clipboard
Support for character encodings / charsets / codecs missing from `dart:convert` - ISO 8859 / Latin, Windows, GBK, Big5, and KOI8 R/U.
We analyzed this package 3 days ago, and awarded it 140 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: MPL-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting enough_convert... Discovering libraries... Linking elements... Precaching local docs for 141168 elements... Initialized dartdoc with 81 libraries Generating docs for library koi8.dart from package:enough_convert/koi8.dart... Generating docs for library windows.dart from package:enough_convert/windows.dart... Generating docs for library enough_convert.dart from package:enough_convert/enough_convert.dart... Generating docs for library gbk.dart from package:enough_convert/gbk.dart... Generating docs for library latin.dart from package:enough_convert/latin.dart... [2 more lines] ERR: warning: ambiguous reexport of koi8_r.Koi8rCodec, canonicalization candidates: (enough_convert, enough_convert) -> enough_convert (confidence 0.000) from koi8_r.Koi8rCodec: (file:///tmp/pana_EYMSOX/lib/src/koi8/koi8_r.dart:6:7) enough_convert: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) enough_convert: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor koi8_r.Koi8rCodec} 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 [440 more lines]
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional 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 4 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/src/gbk/gbk.dart:1:1
╷
1 │ /// Forked from https://github.com/lixiangthinker/fast_gbk
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/gbk/gbk.dart
INFO: Unnecessary override.
lib/src/gbk/gbk.dart:109:21
╷
109 │ Stream<List<int>> bind(Stream<String> stream) => super.bind(stream);
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/gbk/gbk.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.17
, Dart 3.6.0
.
Check the analysis log for details.