datahub 0.16.5 copy "datahub: ^0.16.5" to clipboard
datahub: ^0.16.5 copied to clipboard

DataHub is a Cloud Development Ecosystem aiming to bring the power of Dart into the Cloud.

3
likes
80/ 160
pub points
839
downloads

We analyzed this package 2 days ago, and awarded it 80 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

235 out of 1086 API elements (21.6 %) have documentation comments.

Some symbols that are missing documentation: datahub, datahub.AggregateSelect.AggregateSelect.new, datahub.AggregateSelect.alias, datahub.AggregateSelect.select, datahub.AggregateSelect.type.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:datahub/datahub.dart that imports:
  • package:datahub/postgresql.dart that imports:
  • package:datahub/src/persistence/postgresql/postgresql_database_connection.dart that imports:
  • package:datahub/src/persistence/postgresql/postgresql_database_context.dart that imports:
  • package:datahub/src/persistence/postgresql/sql/sql.dart that imports:
  • package:datahub/src/persistence/postgresql/sql/remove_table_builder.dart that imports:
  • package: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 check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 20 issues. Showing the first 2:

ERROR: 'CollectionObjectTransferBean.toObject' ('CollectionObject

lib/src/hub/collection_object.dart:43:23

   ╷
43 │   CollectionObject<T> toObject(Map<String, dynamic> data) =>
   │                       ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/hub/collection_object.dart

ERROR: The argument type 'T Function(dynamic)' can't be assigned to the parameter type 'dynamic Function(dynamic, String?)'.

lib/src/hub/collection_object.dart:50:11

   ╷
50 │           (p0) => elementBean.toObject(p0),
   │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/hub/collection_object.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
args ^2.3.1 2.7.0 2.7.0
boost ^1.8.8 1.8.10 1.8.10
dart_amqp ^0.2.3 0.2.5 0.3.1
http ^0.13.5 0.13.6 1.4.0
http2 ^2.0.0 2.3.1 2.3.1
intl ^0.17.0 0.17.0 0.20.2
minio ^3.5.0 3.5.0 3.5.7
path ^1.8.2 1.9.1 1.9.1
pointycastle ^3.6.2 3.9.1 4.0.0
postgres ^2.5.0 2.6.4 3.5.6
rxdart ^0.27.5 0.27.7 0.28.0
test ^1.21.6 1.26.2 1.26.2
uuid ^3.0.6 3.0.7 4.5.1
yaml ^3.1.1 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 85.0.0 85.0.0
analyzer - 7.5.2 7.5.2
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
buffer - 1.2.3 1.2.3
charcode - 1.4.0 1.4.0
cli_config - 0.2.0 0.2.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
coverage - 1.14.1 1.14.1
crypto - 3.0.6 3.0.6
file - 7.0.1 7.0.1
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.3 2.1.3
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
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
meta - 1.17.0 1.17.0
mime - 1.0.6 2.0.0
node_preamble - 2.0.2 2.0.2
package_config - 2.2.0 2.2.0
petitparser - 5.4.0 7.0.0
pool - 1.5.1 1.5.1
pub_semver - 2.2.0 2.2.0
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.3 1.0.3
shelf - 1.4.2 1.4.2
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 3.0.0 3.0.0
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.13 0.10.13
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.6
test_core - 0.6.11 0.6.11
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.1+1 0.3.1+1
vm_service - 15.0.2 15.0.2
watcher - 1.1.2 1.1.2
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
webkit_inspection_protocol - 1.2.1 1.2.1
xml - 5.4.1 6.6.0

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

Found 7 issues. Showing the first 2:

The constraint `^0.2.3` on dart_amqp does not support the stable version `0.3.0`.

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

The constraint `^0.13.5` on http does not support the stable version `1.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • INVALID_OVERRIDE - lib/src/hub/collection_object.dart:43:23 - 'CollectionObjectTransferBean.toObject' ('CollectionObject
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/hub/collection_object.dart:50:11 - The argument type 'T Function(dynamic)' can't be assigned to the parameter type 'dynamic Function(dynamic, String?)'.
  • INVALID_OVERRIDE - lib/src/hub/collection_size.dart:29:18 - 'CollectionSizeTransferBean.toObject' ('CollectionSize Function(Map<String, dynamic>)') isn't a valid override of 'TransferBean.toObject' ('CollectionSize Function(Map<String, dynamic>, {String? name})').

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
80
points
839
downloads

Publisher

verified publisherdatahubproject.net

Weekly Downloads

DataHub is a Cloud Development Ecosystem aiming to bring the power of Dart into the Cloud.

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, boost, dart_amqp, http, http2, intl, minio, path, pointycastle, postgres, rxdart, test, uuid, yaml

More

Packages that depend on datahub