dartian_http 1.0.0 copy "dartian_http: ^1.0.0" to clipboard
dartian_http: ^1.0.0 copied to clipboard

HTTP kernel for Dartian with middleware pipeline, CORS, CSRF protection - Built on Shelf

130/ 160
pub points
155
downloads

We analyzed this package 43 hours ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

15 out of 22 API elements (68.2 %) have documentation comments.

Some symbols that are missing documentation: dartian_http.CsrfMiddleware.CsrfMiddleware.new, dartian_http.CsrfMiddleware.cookieName, dartian_http.CsrfMiddleware.safeMethods, dartian_http.CsrfMiddleware.secretKey, dartian_http.CsrfMiddleware.tokenExpiry.

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:dartian_http/dartian_http.dart that imports:
  • package:dartian_http/src/middleware.dart that imports:
  • package:dartian_i18n/dartian_i18n.dart that imports:
  • package:dartian_i18n/src/i18n.dart that imports:
  • package:dartian_i18n/src/translator.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

Found 3 issues. Showing the first 2:

/tmp/pana_CGGNCC/lib/src/kernel.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_CGGNCC/lib/src/middleware.dart doesn't match the Dart formatter.

To format your files run: dart format .

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
crypto ^3.0.0 3.0.7 3.0.7
dartian_core ^1.0.0 1.0.0 1.0.0
dartian_i18n ^1.0.0 1.0.0 1.0.0
shelf ^1.4.1 1.4.2 1.4.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
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

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

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.3, Dart 3.10.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
155
downloads

Publisher

verified publisherdartian.org

Weekly Downloads

HTTP kernel for Dartian with middleware pipeline, CORS, CSRF protection - Built on Shelf

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#http #server #middleware #shelf

Documentation

API reference

License

unknown (license)

Dependencies

crypto, dartian_core, dartian_i18n, shelf

More

Packages that depend on dartian_http