lb_core 1.2.1
lb_core: ^1.2.1 copied to clipboard
Logbot Core client to be used for API requests to Logbot Core APIs for users management
We analyzed this package 6 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: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting lb_core... Discovering libraries... Linking elements... Precaching local docs for 675546 elements... Initialized dartdoc with 515 libraries Generating docs for library lb_core.dart from package:lb_core/lb_core.dart... Generating docs for library api.dart from package:lb_core/api.dart... Documented 2 public libraries in 21.6 seconds ERR: warning: logbot.sdk.core has no library level documentation comments from logbot.sdk.core: (file:///tmp/pana_SXKXRC/lib/lb_core.dart:1:1) warning: logbot.sdk.core has no library level documentation comments from logbot.sdk.core: (file:///tmp/pana_SXKXRC/lib/api.dart:1:1) error: file already written at "logbot.sdk.core/index.html" for symbol logbot.sdk.core: (file:///tmp/pana_SXKXRC/lib/api.dart:1:1) conflicting with file already generated by logbot.sdk.core: (file:///tmp/pana_SXKXRC/lib/lb_core.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'logbot.sdk.core' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, [16 more lines]
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
SDK issues found:
Package is not compatible with the Dart SDK.
Because:
lb_corethat depends on:lb_commonsthat is a package requiring flutter.
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:lb_core/lb_core.dartthat imports:package:lb_core/api.dartthat imports:package:lb_commons/services/logbot_logger.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 43 issues. Showing the first 2:
WARNING: This default clause is covered by the previous cases.
lib/src/logbot_env.dart:36:7
╷
36 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/logbot_env.dart
INFO: The part-of directive uses a library name.
lib/api/info_api.dart:15:1
╷
15 │ part of logbot.sdk.core;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/api/info_api.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
intl |
^0.18.1 |
0.18.1 | 0.20.2 | |
lb_auth |
^1.1.0 |
1.1.0 | 1.1.0 | |
lb_commons |
^1.1.0 |
1.1.0 | 1.1.0 | |
meta |
^1.1.8 |
1.17.0 | 1.18.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jwt_decoder |
- | 2.0.1 | 2.0.1 | |
logger |
- | 2.6.2 | 2.6.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.18.1` on intl does not support the stable version `0.19.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.23.9, Dart 3.11.0.
Check the analysis log for details.