serinus_drift 1.0.0 copy "serinus_drift: ^1.0.0" to clipboard
serinus_drift: ^1.0.0 copied to clipboard

Drift integration for Serinus, allows you to use Serinus with Drift as the database layer.

70/ 160
pub points
19
downloads

We analyzed this package 13 hours ago, and awarded it 70 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

19 out of 29 API elements (65.5 %) have documentation comments.

Some symbols that are missing documentation: serinus_drift, serinus_drift.DatabaseManager, serinus_drift.DatabaseManager.DatabaseManager.new, serinus_drift.DriftFeatureModule, serinus_drift.DriftFeatureModule.DriftFeatureModule.new.

Passed check 10/10 points: Package has an example

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

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

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 16 issues. Showing the first 2:

ERROR: Target of URI hasn't been generated: 'file:///tmp/pana_QBWUAR/bin/serinus_drift.g.dart'.

bin/serinus_drift.dart:5:6

  ╷
5 │ part 'serinus_drift.g.dart';
  │      ^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/serinus_drift.dart

ERROR: No associated positional super constructor parameter.

bin/serinus_drift.dart:14:21

   ╷
14 │   AppDatabase(super.e);
   │                     ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/serinus_drift.dart

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
drift >=2.32.0 <3.0.0 2.33.0 2.33.0
drift_postgres ^1.3.1 1.3.1 1.3.1
serinus >=2.1.7 <3.0.0 2.1.9 2.1.9
Transitive dependencies
Package Constraint Compatible Latest Notes
acanthis - 1.5.4 1.5.4
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.1 2.13.1
buffer - 1.2.3 1.2.3
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
email_validator - 3.0.0 3.0.0
encrypt - 5.0.3 5.0.3
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
hooks - 1.0.3 1.0.3
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
meta - 1.18.2 1.18.2
mime - 2.0.0 2.0.0
nanoid2 - 2.0.1 2.0.1
native_toolchain_c - 0.17.6 0.18.0
openapi_types - 2.1.0 2.1.0
path - 1.9.1 1.9.1
pointycastle - 3.9.1 4.0.0
pool - 1.5.2 1.5.2
postgres - 3.5.10 3.5.10
pub_semver - 2.2.0 2.2.0
record_use - 0.6.0 0.6.0
secure_session - 1.0.5 1.0.5
shelf - 1.4.2 1.4.2
source_span - 1.10.2 1.10.2
sqlite3 - 3.3.1 3.3.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
typed_data - 1.4.0 1.4.0
uuid - 4.5.3 4.5.3
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
yaml - 3.1.3 3.1.3
yaml_writer - 2.1.0 2.1.0

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

  • URI_HAS_NOT_BEEN_GENERATED - bin/serinus_drift.dart:5:6 - Target of URI hasn't been generated: 'file:///tmp/pana_QBWUAR/bin/serinus_drift.g.dart'.
  • SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_POSITIONAL - bin/serinus_drift.dart:14:21 - No associated positional super constructor parameter.
  • TYPE_ARGUMENT_NOT_MATCHING_BOUNDS - bin/serinus_drift.dart:21:41 - 'AppDatabase' doesn't conform to the bound 'GeneratedDatabase' of the type parameter 'T'.

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.23.12, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
70
points
19
downloads

Documentation

Documentation
API reference

Publisher

verified publisherserinus.app

Weekly Downloads

Drift integration for Serinus, allows you to use Serinus with Drift as the database layer.

Homepage
Repository (GitHub)
View/report issues

Topics

#dart #flutter #database #drift #serinus

License

MIT (license)

Dependencies

drift, drift_postgres, serinus

More

Packages that depend on serinus_drift