routed_validation 0.1.1 copy "routed_validation: ^0.1.1" to clipboard
routed_validation: ^0.1.1 copied to clipboard

Validation primitives and rule implementations for the Routed ecosystem.

140/ 160
pub points
586
downloads

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

331 out of 405 API elements (81.7 %) have documentation comments.

Some symbols that are missing documentation: routed_validation.AbstractValidationRule.AbstractValidationRule.new, routed_validation.AcceptedRule.AcceptedRule.new, routed_validation.ActiveUrlRule.ActiveUrlRule.new, routed_validation.AfterOrEqualRule.AfterOrEqualRule.new, routed_validation.AfterRule.AfterRule.new.

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:routed_validation/routed_validation.dart that imports:
  • package:routed_validation/src/validation/validator.dart that imports:
  • package:routed_core/routed_core.dart that imports:
  • package:routed_core/src/websocket/websocket_handler.dart that imports:
  • package:routed_core/src/http/transport.dart that imports:
  • package:routed_core/src/http/portable_message.dart that imports:
  • package:routed_core/src/engine/engine.dart that imports:
  • package:routed_core/src/engine/events/events.dart that imports:
  • package:routed_core/src/engine/events/route.dart that imports:
  • package:routed_core/src/context/context.dart that imports:
  • package:routed_core/src/router/types.dart that imports:
  • package:routed_core/src/response.dart that imports:
  • package:routed_core/src/http/adapter_http.dart that imports:
  • package:routed_core/src/request.dart that imports:
  • package:routed_core/src/engine/config.dart that imports:
  • package:routed_core/src/utils/debug.dart that imports:
  • package:routed_core/src/utils/process_env.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: Use an initializing formal to assign a parameter to a field.

lib/src/validation/validator.dart:200:8

    ╷
200 │   }) : _messages = messages;
    │        ^^^^^^^^^^^^^^^^^^^^
    ╵

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

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
collection ^1.19.1 1.19.1 1.19.1
file ^7.0.1 7.0.1 7.0.1
intl ^0.20.2 0.20.3 0.20.3
path ^1.9.1 1.9.1 1.9.1
routed_core >=0.4.0 <1.0.0 0.5.2 0.5.2
routed_http >=0.1.0 <1.0.0 0.1.3 0.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
ansicolor - 2.0.3 2.0.3
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
clock - 1.1.3 1.1.3
contextual - 2.2.0 2.2.0
csslib - 1.0.2 1.0.2
d4_array - 1.0.0 1.0.0
d4_time - 1.0.0 1.0.0
d4_time_format - 1.0.0 1.0.0
dart_mappable - 4.10.0 4.10.0
event_bus - 2.0.1 2.0.1
fuzzywuzzy - 1.2.0 1.2.0
gato - 0.0.5+1 0.0.5+1
html - 0.15.7 0.15.7
html_unescape - 2.0.0 2.0.0
http - 1.6.0 1.6.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
liquify - 1.6.1 1.6.1
logging - 1.3.0 1.3.0
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
petitparser - 7.0.2 7.0.2
server_contracts - 0.1.1 0.1.1
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
stream_transform - 2.1.2 2.1.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
timezone - 0.11.1 0.11.1
type_plus - 2.1.1 2.1.1
typed_data - 1.4.0 1.4.0
universal_io - 2.3.1 2.3.1
web - 1.1.1 1.1.1
xml - 6.6.1 7.0.1

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.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
586
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Validation primitives and rule implementations for the Routed ecosystem.

Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

collection, file, intl, path, routed_core, routed_http

More

Packages that depend on routed_validation