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

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

130/ 160
pub points
117
downloads

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

692 out of 1986 API elements (34.8 %) 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 '../observability/health.dart' is unnecessary because all of the used elements are also provided by the import of '../observability/observability.dart'.

lib/src/http/router.dart:1:8

  ╷
1 │ import '../observability/health.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/http/router.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
code_assets ^0.19.7 0.19.10 2.0.0
crypto ^3.0.7 3.0.7 3.0.7
drift ^2.14.0 2.31.0 2.34.4
ffi ^2.1.0 2.2.0 2.2.0
hooks ^0.20.1 0.20.5 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
xml ^6.5.0 6.6.1 7.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
logging - 1.3.0 1.3.0
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
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 6 issues. Showing the first 2:

The constraint `^0.19.7` on code_assets does not support the stable version `1.0.0`.

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

The constraint `^0.20.1` on hooks does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions hooks 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, code_assets, crypto, drift, ffi, hooks, http, http_parser, mime, pointycastle, shelf_multipart, sqlite3, xml

More

Packages that depend on dartvel_core