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
715
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

235 out of 1028 API elements (22.9 %) have documentation comments.

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

10/10 points: Package has an example

failed
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: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

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
Pass static analysis
0 / 50trigger folding of the section

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

Found 17 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
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
args ^2.3.1 2.6.0 2.6.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.2.2
http2 ^2.0.0 2.3.1 2.3.1
intl ^0.17.0 0.17.0 0.20.1
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 3.9.1
postgres ^2.5.0 2.6.4 3.4.5
rxdart ^0.27.5 0.27.7 0.28.0
test ^1.21.6 1.25.14 1.25.14
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
_fe_analyzer_shared - 78.0.0 78.0.0
_macros - 0.3.3 0.3.3
analyzer - 7.1.0 7.1.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
buffer - 1.2.3 1.2.3
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
coverage - 1.11.1 1.11.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.2 2.1.2
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.1 4.1.1
io - 1.0.5 1.0.5
js - 0.7.1 0.7.1
logging - 1.3.0 1.3.0
macros - 0.1.3-main.0 0.1.3-main.0
matcher - 0.12.17 0.12.17
meta - 1.16.0 1.16.0
mime - 1.0.6 2.0.0
node_preamble - 2.0.2 2.0.2
package_config - 2.1.1 2.1.1
petitparser - 5.4.0 6.0.2
pool - 1.5.1 1.5.1
pub_semver - 2.1.5 2.1.5
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 - 2.0.1 2.0.1
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.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
test_core - 0.6.8 0.6.8
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.0 0.3.0
vm_service - 15.0.0 15.0.0
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
webkit_inspection_protocol - 1.2.1 1.2.1
xml - 5.4.1 6.5.0

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

Found 6 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.

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

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.17, Dart 3.6.0.

Check the analysis log for details.

3
likes
80
points
715
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