cl_datahub 0.11.2
cl_datahub: ^0.11.2 copied to clipboard
A Framework for creating Web APIs.
We analyzed this package 41 hours ago, and awarded it 80 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://www.corelightservices.com was unreachable. Make sure that the website is reachable via HEAD requests.
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 cl_datahub... Discovering libraries... Linking elements... Precaching local docs for 310323 elements... Initialized dartdoc with 1076 libraries Generating docs for library ioc.dart from package:cl_datahub/ioc.dart... Generating docs for library api.dart from package:cl_datahub/api.dart... Generating docs for library postgresql.dart from package:cl_datahub/postgresql.dart... Generating docs for library broker.dart from package:cl_datahub/broker.dart... Generating docs for library utils.dart from package:cl_datahub/utils.dart... [6 more lines] ERR: warning: ambiguous reexport of postgresql_database_adapter.PostgreSQLDatabaseAdapter, canonicalization candidates: (cl_datahub, cl_datahub) -> cl_datahub (confidence 0.000) from postgresql_database_adapter.PostgreSQLDatabaseAdapter: (file:///tmp/pana_PBCGLV/lib/src/persistence/postgresql/postgresql_database_adapter.dart:12:7) cl_datahub: 1.153 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1429)) cl_datahub: 1.153 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1429)) Use {@canonicalFor postgresql_database_adapter.PostgreSQLDatabaseAdapter} 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 [47 more lines]
10/10 points: Package has 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:cl_datahub/cl_datahub.dartthat imports:package:cl_datahub/postgresql.dartthat imports:package:cl_datahub/src/persistence/postgresql/postgresql_database_connection.dartthat imports:package:cl_datahub/src/persistence/postgresql/sql/sql.dartthat imports:package:cl_datahub/src/persistence/postgresql/sql/remove_table_builder.dartthat imports:package:cl_datahub/src/persistence/postgresql/sql/sql_builder.dartthat imports:package:postgres/postgres.dartthat imports:package:postgres/src/substituter.dartthat imports:package:postgres/src/query.dartthat imports:package:postgres/src/execution_context.dartthat imports:package:postgres/src/connection.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 41 issues. Showing the first 2:
ERROR: The method 'enumName' isn't defined for the type 'ByteStreamResponse'.
lib/src/api/api_response.dart:160:18
╷
160 │ '${enumName(disposition)}; filename="$fileName"',
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/api_response.dart
WARNING: Duplicate export.
lib/api.dart:6:8
╷
6 │ export 'src/api/api_endpoint.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/api.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
^4.0.0 |
4.7.0 | 10.0.2 | |
boost |
^1.7.0 |
1.8.10 | 2.0.0 | |
build |
^2.3.0 |
2.4.1 | 4.0.4 | |
build_runner |
^2.1.10 |
2.4.13 | 2.11.1 | |
cl_datahub_common |
0.8.1 |
0.8.1 | 0.8.1 | Discontinued |
dart_amqp |
^0.2.1 |
0.2.5 | 0.3.1 | |
intl |
^0.17.0 |
0.17.0 | 0.20.2 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
postgres |
^2.4.3 |
2.6.4 | 3.5.9 | |
source_gen |
^1.2.2 |
1.2.6 | 4.2.0 | |
uuid |
^3.0.1 |
3.0.7 | 4.5.2 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 47.0.0 | 94.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
buffer |
- | 1.2.3 | 1.2.3 | |
build_config |
- | 1.1.2 | 1.2.0 | |
build_daemon |
- | 4.1.1 | 4.1.1 | |
build_resolvers |
- | 2.0.10 | 3.0.4 | Discontinued |
build_runner_core |
- | 7.2.10 | 9.3.2 | Discontinued |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.3 | 8.12.3 | |
charcode |
- | 1.4.0 | 1.4.0 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_builder |
- | 4.11.1 | 4.11.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 2.2.4 | 3.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
frontend_server_client |
- | 4.0.0 | 4.0.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
graphs |
- | 2.3.2 | 2.3.2 | |
http_multi_server |
- | 3.2.2 | 3.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
io |
- | 1.0.5 | 1.0.5 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.10.0 | 4.10.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
meta |
- | 1.18.1 | 1.18.1 | |
mime |
- | 2.0.0 | 2.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pool |
- | 1.5.2 | 1.5.2 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
sasl_scram |
- | 0.1.2 | 0.1.2 | |
saslprep |
- | 1.0.3 | 1.0.3 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_web_socket |
- | 2.0.1 | 3.0.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
timing |
- | 1.0.2 | 1.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.2 | 0.3.2 | |
watcher |
- | 1.2.1 | 1.2.1 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 9 issues. Showing the first 2:
The constraint `^4.0.0` on analyzer does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions analyzer to update the constraint.
The constraint `^1.7.0` on boost does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions boost 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.