oryn 1.0.2 copy "oryn: ^1.0.2" to clipboard
oryn: ^1.0.2 copied to clipboard

A fast, light-weight web framework to provide a simple way to fulfill the needs of many modern web server these days.

105/ 160
pub points
63
downloads

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

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

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

300 out of 499 API elements (60.1 %) have documentation comments.

Some symbols that are missing documentation: orm, orm.AutoIncrement, orm.AutoIncrement.AutoIncrement.new, orm.Column, orm.Column.Column.new.

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 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:oryn/oryn.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:oryn/oryn.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.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 111 issues. Showing the first 2:

WARNING: Unnecessary type check; the result is always 'true'.

lib/src/app.dart:771:12

    ╷
771 │     assert(port is int && host is String, 'Invalid parameter');
    │            ^^^^^^^^^^^
    ╵

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

WARNING: Duplicate export.

lib/src/middlewares/middlewares.dart:13:8

   ╷
13 │ export 'text.dart';
   │        ^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
cryptography ^2.0.5 2.7.0 2.7.0
dart_jsonwebtoken ^2.4.0 2.17.0 3.3.1
dotenv ^3.0.0 3.0.0 4.2.0
http_parser ^4.0.0 4.1.2 4.1.2
http_status_code ^0.0.2 0.0.2 0.0.2
logger ^1.1.0 1.4.0 2.6.2
mime ^1.0.1 1.0.6 2.0.0
mime_type ^1.0.0 1.0.1 1.0.1
mustache_template ^2.0.0 2.0.2 2.0.2
queue ^3.1.0+1 3.4.0 3.4.0
sanitize_html ^2.0.0 2.1.0 2.1.0
sqlite3 ^2.7.6 2.9.4 2.9.4
uuid ^3.0.5 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
args - 2.7.0 2.7.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
ed25519_edwards - 0.3.1 0.3.1
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
html - 0.15.6 0.15.6
js - 0.6.7 0.7.2 Discontinued
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
pointycastle - 3.9.1 4.0.0
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
web - 1.1.1 1.1.1

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

Found 5 issues. Showing the first 2:

The constraint `^2.4.0` on dart_jsonwebtoken does not support the stable version `3.0.0`.

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

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.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 4 errors:

  • NON_TYPE_IN_CATCH_CLAUSE - lib/src/utils/jwt.dart:53:10 - The name 'JWTExpiredException' isn't a type and can't be used in an on-catch clause.
  • UNDEFINED_METHOD - lib/src/utils/jwt.dart:57:15 - The method 'JWTExpiredException' isn't defined for the type 'Jwt'.
  • NON_TYPE_IN_CATCH_CLAUSE - lib/src/utils/jwt.dart:59:10 - The name 'JWTException' isn't a type and can't be used in an on-catch clause.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.0, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
105
points
63
downloads

Publisher

unverified uploader

Weekly Downloads

A fast, light-weight web framework to provide a simple way to fulfill the needs of many modern web server these days.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cryptography, dart_jsonwebtoken, dotenv, http_parser, http_status_code, logger, mime, mime_type, mustache_template, queue, sanitize_html, sqlite3, uuid

More

Packages that depend on oryn