dartvel_core 0.2.1 copy "dartvel_core: ^0.2.1" to clipboard
dartvel_core: ^0.2.1 copied to clipboard

Core helpers (Res), types, simple CORS hint for dartvel backend

130/ 160
pub points
117
downloads

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

560 out of 1672 API elements (33.5 %) have documentation comments.

Some symbols that are missing documentation: dartvel_core, dartvel_core.AlgoliaSearchProvider.AlgoliaSearchProvider.new, dartvel_core.AlgoliaSearchProvider.applicationId, dartvel_core.AlgoliaSearchProvider.buildRequest, dartvel_core.AlgoliaSearchProvider.providerName.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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:dartvel_core/dartvel.dart that imports:
  • package:dartvel_core/src/updates/ota.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: The import of 'protocol.dart' is unnecessary because all of the used elements are also provided by the import of 'transport.dart'.

lib/src/http/native_client_web.dart:19:8

   ╷
19 │ import 'protocol.dart';
   │        ^^^^^^^^^^^^^^^
   ╵

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

INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.

lib/src/http/transport.dart:461:16

    ╷
461 │       : assert(transports.length > 0, 'a composite needs a transport');
    │                ^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/http/transport.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
async ^2.13.1 2.13.1 2.13.1
crypto ^3.0.7 3.0.7 3.0.7
dartvel_shelf ^0.3.0 0.3.0 0.4.1
drift ^2.14.0 2.31.0 2.34.4
ffi ^2.1.0 2.2.0 2.2.0
http ^1.6.0 1.6.0 1.6.0
http_parser ^4.0.2 4.1.2 4.1.2
mime ^1.0.4 1.0.6 2.1.0
pointycastle ^4.0.0 4.0.0 4.0.0
shelf_multipart ^1.0.0 1.0.0 2.0.1
sqlite3 ^2.9.4 2.9.4 3.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
code_assets - 0.19.10 2.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
hooks - 0.20.5 2.2.0
logging - 1.3.0 1.3.0
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
pub_semver - 2.2.1 2.2.1
shelf - 1.4.2 1.4.2
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
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
web - 1.1.1 1.1.1
yaml - 3.1.4 3.1.4

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

Found 4 issues. Showing the first 2:

The constraint `^0.3.0` on dartvel_shelf does not support the stable version `0.4.1`, that was published 2 days ago.

When dartvel_shelf is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^1.0.4` on mime does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions mime 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.23.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
117
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Core helpers (Res), types, simple CORS hint for dartvel backend

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

async, crypto, dartvel_shelf, drift, ffi, http, http_parser, mime, pointycastle, shelf_multipart, sqlite3

More

Packages that depend on dartvel_core