这是indexloc提供的服务,不要输入任何密码

drift_dev 1.7.1 copy "drift_dev: ^1.7.1" to clipboard
drift_dev: ^1.7.1 copied to clipboard

outdated

Dev-dependency for users of drift. Contains a the generator and development tools.

54
likes
70/ 160
pub points
220k
downloads

We analyzed this package 5 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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

317 out of 695 API elements (45.6 %) have documentation comments.

Some symbols that are missing documentation: build, build.moorBuilder, build.moorBuilderNotShared, build.moorCleanup, build.preparingBuilder.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:drift_dev/integrations/build.dart that imports:
  • package:drift_dev/src/backends/build/moor_builder.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:drift_dev/integrations/build.dart that imports:
  • package:drift_dev/src/backends/build/moor_builder.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:drift_dev/api/migrations.dart that imports:
  • package:sqlite3/sqlite3.dart that imports:
  • package:sqlite3/src/ffi/api.dart that imports:
  • package:sqlite3/src/ffi/implementation.dart that imports:
  • package:sqlite3/src/ffi/sqlite3.g.dart that imports:
  • dart:ffi

Failed check 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 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 34 issues. Showing the first 2:

ERROR: The language version must be >=2.12.0.

bin/drift_dev.dart:1:1

  ╷
1 │ // @dart=2.9
  │ ^^^^^^^^^^^^
  ╵

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

WARNING: This API is available since SDK 2.15.0, but constraints '>=2.14.0 <3.0.0' don't guarantee it.

lib/src/backends/common/driver.dart:121:7

    ╷
121 │       unawaited(session
    │       ^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
analyzer ^4.4.0 4.7.0 8.0.0
analyzer_plugin ^0.11.0 0.11.1 0.13.5
args >=1.5.0 <3.0.0 2.7.0 2.7.0
build ^2.0.0 2.4.1 3.0.0
build_config >=0.3.1 <2.0.0 1.1.2 1.1.2
build_resolvers ^2.0.0 2.0.10 3.0.0
charcode ^1.2.0 1.4.0 1.4.0
cli_util >=0.2.0 <0.4.0 0.3.5 0.4.2
collection ^1.14.0 1.19.1 1.19.1
dart_style >=1.3.3 <3.0.0 2.2.4 3.1.1
drift >=1.7.0 <1.8.0 1.7.1 2.28.1
io ^1.0.3 1.0.5 1.0.5
json_annotation ^4.1.0 4.9.0 4.9.0
logging >=0.11.0 <2.0.0 1.3.0 1.3.0
meta ^1.1.0 1.17.0 1.17.0
package_config ^2.0.0 2.2.0 2.2.0
path ^1.6.0 1.9.1 1.9.1
pub_semver ^2.0.0 2.2.0 2.2.0
recase >=2.0.1 <5.0.0 4.1.0 4.1.0
source_gen >=0.9.4 <2.0.0 1.2.6 3.0.0
source_span ^1.5.5 1.10.1 1.10.1
sqlite3 >=0.1.6 <2.0.0 1.11.2 2.8.0
sqlparser ^0.22.0 0.22.0 0.41.1
stream_transform >=0.1.0 <3.0.0 2.1.1 2.1.1
yaml ^3.1.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 47.0.0 86.0.0
async - 2.13.0 2.13.0
checked_yaml - 2.0.4 2.0.4
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
graphs - 2.3.2 2.3.2
js - 0.6.7 0.7.2 Discontinued
pool - 1.5.1 1.5.1
pubspec_parse - 1.5.0 1.5.0
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
watcher - 1.1.2 1.1.2

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

Found 10 issues. Showing the first 2:

The constraint `^4.4.0` on analyzer does not support the stable version `5.0.0`.

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

The constraint `^0.11.0` on analyzer_plugin does not support the stable version `0.12.0`.

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

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 1 error:

  • ILLEGAL_LANGUAGE_VERSION_OVERRIDE - bin/drift_dev.dart:1:1 - The language version must be >=2.12.0.

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: