drift_postgres 1.3.1 copy "drift_postgres: ^1.3.1" to clipboard
drift_postgres: ^1.3.1 copied to clipboard

Postgres implementation and APIs for the drift database package.

20
likes
140/ 160
pub points
3.06k
downloads

We analyzed this package 2 days ago, and awarded it 140 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: MIT.

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

56 out of 92 API elements (60.9 %) have documentation comments.

Some symbols that are missing documentation: drift_postgres.PgDatabase.PgDatabase.new, drift_postgres.PgDatabase.beginTransactionInContext, drift_postgres.PgDatabase.impl, drift_postgres.PgDatabase.isSequential, drift_postgres.PgDatabase.logStatements.

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:drift_postgres/drift_postgres.dart that imports:
  • package:drift_postgres/src/pg_database.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/v3/database_info.dart that imports:
  • package:postgres/src/messages/logical_replication_messages.dart that imports:
  • package:postgres/src/messages/shared_messages.dart that imports:
  • package:postgres/src/messages/server_messages.dart that imports:
  • package:postgres/src/types.dart that imports:
  • package:postgres/src/types/type_registry.dart that imports:
  • package:postgres/src/types/text_search.dart that imports:
  • package:postgres/src/exceptions.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:drift_postgres/drift_postgres.dart that imports:
  • package:drift_postgres/src/pg_database.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/v3/database_info.dart that imports:
  • package:postgres/src/messages/logical_replication_messages.dart that imports:
  • package:postgres/src/messages/shared_messages.dart that imports:
  • package:postgres/src/messages/server_messages.dart that imports:
  • package:postgres/src/types.dart that imports:
  • package:postgres/src/types/type_registry.dart that imports:
  • package:postgres/src/types/text_search.dart that imports:
  • package:postgres/src/exceptions.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
collection ^1.16.0 1.19.1 1.19.1
drift ^2.0.0 2.27.0 2.27.0
meta ^1.8.0 1.17.0 1.17.0
postgres ^3.0.0 3.5.6 3.5.6
uuid ^4.2.0 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
buffer - 1.2.3 1.2.3
charcode - 1.4.0 1.4.0
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
path - 1.9.1 1.9.1
pool - 1.5.1 1.5.1
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.3 1.0.3
sprintf - 7.0.0 7.0.0
sqlite3 - 2.7.6 2.7.6
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.1+1 0.3.1+1
web - 1.1.1 1.1.1

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

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 21 errors:

  • UNDEFINED_CLASS - lib/drift_postgres.dart:41:16 - Undefined class 'CustomSqlType'.
  • UNDEFINED_CLASS - lib/drift_postgres.dart:44:16 - Undefined class 'CustomSqlType'.
  • UNDEFINED_CLASS - lib/drift_postgres.dart:47:16 - Undefined class 'CustomSqlType'.

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:
20
likes
140
points
3.06k
downloads

Publisher

verified publishersimonbinder.eu

Weekly Downloads

Postgres implementation and APIs for the drift database package.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#drift #database #postgres

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

collection, drift, meta, postgres, uuid

More

Packages that depend on drift_postgres