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
120/ 140
pub points
35%
popularity

We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

47 out of 170 API elements (27.6 %) have documentation comments.

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

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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
partial
Pass static analysis
40 / 50trigger folding of the section

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

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

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}}"
  │       ^^^^^^^^^^^^^^^^^
  ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
cli_util ^0.3.5 0.3.5 0.4.1
http_parser ^4.0.1 4.0.2 4.0.2
logging ^1.0.2 1.2.0 1.2.0
mapper ^0.2.3 0.2.3 0.2.3
mime ^1.0.2 1.0.5 1.0.5
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2

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.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

0
likes
120
pub points
35%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

cli_util, http_parser, logging, mapper, mime

More

Packages that depend on dartness