express_dt 1.0.5 copy "express_dt: ^1.0.5" to clipboard
express_dt: ^1.0.5 copied to clipboard

A Dart library to easily create http servers and perform requests.

120/ 160
pub points
26
downloads

We analyzed this package 2 days ago, and awarded it 120 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: BSD-2-Clause.

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

123 out of 275 API elements (44.7 %) have documentation comments.

Some symbols that are missing documentation: express_dt, express_dt.Cors, express_dt.Cors.Cors.new, express_dt.Cors.allowed_origins, express_dt.Express.

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 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:express_dt/express_dt.dart that imports:
  • package:express_dt/src/session/verifysession.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:express_dt/express_dt.dart that imports:
  • package:express_dt/src/session/verifysession.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.dart that imports:
  • dart:io

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.cn/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 140 issues. Showing the first 2:

WARNING: The value of the local variable 'data' isn't used.

lib/src/foundation.dart:530:26

    ╷
530 │           await for (var data in fileC.streamController!.stream) {
    │                          ^^^^
    ╵

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

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/src/http_server/src/http_multipart_form_data_impl.dart:34:33

   ╷
34 │     if (contentTransferEncoding != null) {
   │                                 ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/http_server/src/http_multipart_form_data_impl.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
collection ^1.15.0 1.19.1 1.19.1
crypto ^3.0.1 3.0.6 3.0.6
dotenv ^3.0.0 3.0.0 4.2.0
path ^1.8.0 1.9.1 1.9.1
pedantic ^1.11.0 1.11.1 1.11.1 Discontinued
stack_trace ^1.10.0 1.12.1 1.12.1
universal_io ^2.0.4 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.0 1.4.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0

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

The constraint `^3.0.0` on dotenv does not support the stable version `4.0.0`.

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • pedantic.

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.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
120
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart library to easily create http servers and perform requests.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

collection, crypto, dotenv, flutter, path, pedantic, stack_trace, universal_io

More

Packages that depend on express_dt