cl_datahub 0.11.2 copy "cl_datahub: ^0.11.2" to clipboard
cl_datahub: ^0.11.2 copied to clipboard

discontinuedreplaced by: datahub

A Framework for creating Web APIs.

1
likes
60/ 140
pub points
0%
popularity

We analyzed this package 5 days ago, and awarded it 60 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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 60 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.

failed
Provide documentation
10 / 20trigger folding of the section

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 309787 elements... Initialized dartdoc with 1060 libraries Generating docs for library api.dart from package:cl_datahub/api.dart... Generating docs for library utils.dart from package:cl_datahub/utils.dart... Generating docs for library broker.dart from package:cl_datahub/broker.dart... Generating docs for library cl_datahub.dart from package:cl_datahub/cl_datahub.dart... Generating docs for library builder.dart from package:cl_datahub/builder.dart... [6 more lines] ERR: warning: private API of package:cl_datahub_common is reexported by libraries in other packages: from cl_datahub.ApiException: (file:///tmp/analyzerKHCJZR/pub-cache/hosted/20240418t083500-dot-dartlang-pub.appspot.com/cl_datahub_common-0.8.1/lib/src/utils/api_exception.dart:3:7) referred to by cl_datahub: (file:///tmp/pana_DBGYWT/lib/cl_datahub.dart:1:9) warning: private API of package:cl_datahub_common is reexported by libraries in other packages: from cl_datahub.ApiException.ApiException: (file:///tmp/analyzerKHCJZR/pub-cache/hosted/20240418t083500-dot-dartlang-pub.appspot.com/cl_datahub_common-0.8.1/lib/src/utils/api_exception.dart:7:3) referred to by cl_datahub: (file:///tmp/pana_DBGYWT/lib/cl_datahub.dart:1:9) warning: private API of package:cl_datahub_common is reexported by libraries in other packages: from cl_datahub.CopyWith: (file:///tmp/analyzerKHCJZR/pub-cache/hosted/20240418t083500-dot-dartlang-pub.appspot.com/cl_datahub_common-0.8.1/lib/src/api/dto/copy_with.dart:2:7) referred to by cl_datahub: (file:///tmp/pana_DBGYWT/lib/cl_datahub.dart:1:9) warning: private API of package:cl_datahub_common is reexported by libraries in other packages: [127 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.dart that imports:
  • package:cl_datahub/postgresql.dart that imports:
  • package:cl_datahub/src/persistence/postgresql/postgresql_database_connection.dart that imports:
  • package:cl_datahub/src/persistence/postgresql/sql/sql.dart that imports:
  • package:cl_datahub/src/persistence/postgresql/sql/remove_table_builder.dart that imports:
  • package:cl_datahub/src/persistence/postgresql/sql/sql_builder.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/substituter.dart that imports:
  • package:postgres/src/query.dart that imports:
  • package:postgres/src/execution_context.dart that imports:
  • package:postgres/src/connection.dart that imports:
  • dart:io
failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 28 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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
analyzer ^4.0.0 4.7.0 6.4.1
boost ^1.7.0 1.8.10 1.8.10
build ^2.3.0 2.4.1 2.4.1
build_runner ^2.1.10 2.4.9 2.4.9
cl_datahub_common 0.8.1 0.8.1 0.8.1
dart_amqp ^0.2.1 0.2.5 0.2.5
intl ^0.17.0 0.17.0 0.19.0
path ^1.8.0 1.9.0 1.9.0
postgres ^2.4.3 2.6.4 3.2.0
source_gen ^1.2.2 1.2.6 1.5.0
uuid ^3.0.1 3.0.7 4.4.0
yaml ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 47.0.0 67.0.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
buffer - 1.2.3 1.2.3
build_config - 1.1.1 1.1.1
build_daemon - 4.0.1 4.0.1
build_resolvers - 2.0.10 2.4.2
build_runner_core - 7.2.10 7.3.0
built_collection - 5.1.1 5.1.1
built_value - 8.9.2 8.9.2
charcode - 1.3.1 1.3.1
checked_yaml - 2.0.3 2.0.3
clock - 1.1.1 1.1.1
code_builder - 4.10.0 4.10.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dart_style - 2.2.4 2.3.6
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.2 2.1.2
graphs - 2.3.1 2.3.1
http_multi_server - 3.2.1 3.2.1
http_parser - 4.0.2 4.0.2
io - 1.0.4 1.0.4
js - 0.7.1 0.7.1
json_annotation - 4.8.1 4.8.1
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
meta - 1.14.0 1.14.0
mime - 1.0.5 1.0.5
package_config - 2.1.0 2.1.0
pedantic - 1.11.1 1.11.1
pool - 1.5.1 1.5.1
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.2.3 1.2.3
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.2 1.0.2
shelf - 1.4.1 1.4.1
shelf_web_socket - 1.0.4 1.0.4
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
timing - 1.0.1 1.0.1
typed_data - 1.3.2 1.3.2
unorm_dart - 0.2.0 0.3.0
watcher - 1.1.0 1.1.0
web - 0.5.1 0.5.1
web_socket_channel - 2.4.5 2.4.5

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 4 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 `^0.17.0` on intl does not support the stable version `0.18.0`.

Try running dart pub upgrade --major-versions intl to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

1
likes
60
pub points
0%
popularity

Publisher

unverified uploader

A Framework for creating Web APIs.

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

analyzer, boost, build, build_runner, cl_datahub_common, dart_amqp, intl, path, postgres, source_gen, uuid, yaml

More

Packages that depend on cl_datahub