dartness 0.5.0 copy "dartness: ^0.5.0" to clipboard
dartness: ^0.5.0 copied to clipboard

middleware based micro framework for dart. Made for rest api.

0
likes
140/ 160
pub points
53
downloads

We analyzed this package 8 days ago, and awarded it 140 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-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

47 out of 172 API elements (27.3 %) have documentation comments.

Some symbols that are missing documentation: dartness, dartness.Argument, dartness.Argument.Argument.new, dartness.Argument.name, dartness.Argument.symbolName.

Passed check 10/10 points: Package has 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:dartness/dartness.dart that imports:
  • package:dartness/src/middlewares/static.dart that imports:
  • package:dartness/src/context.dart that imports:
  • package:mapper/mapper.dart that imports:
  • package:mapper/src/instance.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:dartness/dartness.dart that imports:
  • package:dartness/src/middlewares/static.dart that imports:
  • package:dartness/src/context.dart that imports:
  • package:mapper/mapper.dart that imports:
  • package:mapper/src/instance.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:dartness/dartness.dart that imports:
  • package:dartness/src/middlewares/static.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dartness/dartness.dart that imports:
  • package:dartness/src/middlewares/static.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.dev/web/wasm for details.

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

INFO: Using a colon as the separator before a default value is deprecated and will not be supported in language version 3.0 and later.

lib/dartness.dart:40:49

40void use(Function middleware, {bool catchError: false}) {
   │                                                 ^
   ╵
copied to clipboard

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

INFO: The package name '{{projectName}}' isn't a lower_case_with_underscores identifier.

lib/src/cli/templates/pubspec.yaml:1:7

  
1  name: "{{projectName}}"
         ^^^^^^^^^^^^^^^^^
  
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/cli/templates/pubspec.yaml

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
cli_util ^0.3.5 0.3.5 0.4.2
http_parser ^4.0.1 4.1.2 4.1.2
logging ^1.0.2 1.3.0 1.3.0
mapper ^0.2.3 0.2.3 0.2.3
mime ^1.0.2 1.0.6 2.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
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.

The constraint `^0.3.5` on cli_util does not support the stable version `0.4.0`.

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

The constraint `^1.0.2` 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.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 11Aug 8Sep 5Oct 3Oct 31Nov 28Dec 26Jan 23Feb 20Mar 20051015202530>=0.0.0-0 <1.0.0
0
likes
140
points
53
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.26 - 2025.04.10

middleware based micro framework for dart. Made for rest api.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cli_util, http_parser, logging, mapper, mime

More

Packages that depend on dartness