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.

125/ 160
pub points
25
downloads

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

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

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

Failed check 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.

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

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

Detected license: BSD-3-Clause.

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

756 out of 1427 API elements (53.0 %) have documentation comments.

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

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 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 report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 1276 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 report section
Support up-to-date dependencies
30 / 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
archive ^3.1.6 3.6.1 4.0.7
args ^2.2.0 2.7.0 2.7.0
database_sql ^0.0.2 0.0.2 0.0.2
ffi ^1.1.2 1.2.1 2.1.4
js ^0.6.3 0.6.7 0.7.2 Discontinued
logging ^1.0.2 1.3.0 1.3.0
package_config ^2.0.2 2.2.0 2.2.0
pubspec_parse ^1.1.0 1.5.0 1.5.0
yaml ^3.1.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
checked_yaml - 2.0.4 2.0.4
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
json_annotation - 4.9.0 4.9.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0

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

Found 4 issues. Showing the first 2:

The constraint `^3.1.6` on archive does not support the stable version `4.0.0`.

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

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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
125
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

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