chirp_addons 0.0.2
chirp_addons: ^0.0.2 copied to clipboard
Dio logging and pretty JSON addons for the chirp logging package.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
68 out of 70 API elements (97.1 %) have documentation comments.
Some symbols that are missing documentation: chirp_addons.ChirpPrettyJsonFormatter.dimmed, chirp_addons.CompactFormatOptions.CompactFormatOptions.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Statements in an if should be enclosed in a block.
lib/src/chirp_pretty_json_formatter.dart:108:7
╷
108 │ ┌ spans.addAll([
109 │ │ if (record.error != null) ...[
110 │ │ dimmed(PlainText('Error:')),
111 │ │ Whitespace(),
112 │ │ AnsiStyled(
113 │ │ foreground: levelColor,
114 │ │ child: PlainText(record.error.toString()),
115 │ │ ),
116 │ │ NewLine(),
117 │ │ ],
118 │ │
119 │ │ if (record.stackTrace != null) ...[
120 │ │ dimmed(PlainText('StackTrace:')),
121 │ │ NewLine(),
122 │ │ StackTraceSpan(record.stackTrace!),
123 │ │ NewLine(),
124 │ │ ],
125 │ └ ]);
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/chirp_pretty_json_formatter.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
chirp |
^0.9.0 |
0.9.0 | 0.9.0 | |
dio |
^5.9.2 |
5.11.1 | 5.11.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.2 | 3.4.2 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
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.23.19, Dart 3.13.1.
Check the analysis log for details.