dsqlite 0.0.1 copy "dsqlite: ^0.0.1" to clipboard
dsqlite: ^0.0.1 copied to clipboard

Package dsqlite provides a driver implement of sqlite3 for package database_sql. The sql package must be used in conjunction with package database_sql.

2
likes
125/ 160
pub points
0%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/cozees/dart_databases/issues was unreachable. Make sure that the website is reachable via HEAD requests.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:72:38

   ╷
72 │ generate multiple output with format <a href="http://asmjs.org/">ASM</a> and <a href="https://webassembly.org/">WASM</a> in
   │                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

755 out of 1420 API elements (53.2 %) have documentation comments.

Some symbols that are missing documentation: dsqlite.ColumnInfo.autoincrement, dsqlite.ColumnInfo.collation, dsqlite.ColumnInfo.dataType, dsqlite.ColumnInfo.defaultValue, dsqlite.ColumnInfo.name.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dsqlite/dsqlite.dart that imports:
  • package:dsqlite/src/database.dart that imports:
  • package:dsqlite/sqlite.dart that imports:
  • package:dsqlite/src/sqlite/apis.g.dart that imports:
  • package:dsqlite/src/sqlite/native/library.g.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf16.dart that imports:
  • dart:ffi

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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 1258 issues. Showing the first 2:

WARNING: Unused import: 'dart:io'.

bin/util.dart:1:8

  ╷
1 │ import 'dart:io';
  │        ^^^^^^^^^
  ╵

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

WARNING: This function has a nullable return type of 'Pointer

lib/src/database.dart:403:19

    ╷
403 │   sqlite.Pointer? _unregisterHook(int index, Function api) {
    │                   ^^^^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
archive ^3.1.6 3.6.1 3.6.1
args ^2.2.0 2.6.0 2.6.0
database_sql ^0.0.2 0.0.2 0.0.2
ffi ^1.1.2 1.2.1 2.1.3
js ^0.6.3 0.6.7 0.7.1
logging ^1.0.2 1.3.0 1.3.0
package_config ^2.0.2 2.1.0 2.1.0
pubspec_parse ^1.1.0 1.3.0 1.3.0
yaml ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
checked_yaml - 2.0.3 2.0.3
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
json_annotation - 4.9.0 4.9.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0

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

The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.

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

The constraint `^0.6.3` on js does not support the stable version `0.7.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

2
likes
125
pub points
0%
popularity

Publisher

unverified uploader

Package dsqlite provides a driver implement of sqlite3 for package database_sql. The sql package must be used in conjunction with package database_sql.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

archive, args, database_sql, ffi, js, logging, package_config, pubspec_parse, yaml

More

Packages that depend on dsqlite