Skip to main content

tom_core_server 1.3.0 copy "tom_core_server: ^1.3.0" to clipboard
tom_core_server: ^1.3.0 copied to clipboard

Server library for the TOM framework.

120/ 160
pub points
38
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Repository URL doesn't exist.

At the time of the analysis https://github.com/al-the-bear/tom_core was unreachable. Make sure that the website is reachable via HEAD requests.

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

9487 out of 10036 API elements (94.5 %) have documentation comments.

Some symbols that are missing documentation: tom_core_server.ApiReflectCapability.ApiReflectCapability.new, tom_core_server.Audience.Audience.new, tom_core_server.Audience.Audience.one, tom_core_server.Audience.toJson, tom_core_server.ClassMirror.ClassMirror.new.

Passed check 10/10 points: Package has 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 does not support platform `Web`.

Because:

  • package:tom_core_server/tom_core_server.dart that imports:
  • package:mysql_client/exception.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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 20 issues. Showing the first 2:

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/src/tomserver/authentication/authentication_server.dart:370:9

    ╷
370 │         return _issueTokens(principal, null, m, twoFactorSatisfied: true);
    │         ^^^^^^
    ╵

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

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/src/tomserver/authentication/authentication_server.dart:762:7

    ╷
762 │       return _issueTokens(
    │       ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/tomserver/authentication/authentication_server.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
async ^2.11.0 2.13.1 2.13.1
crypto ^3.0.0 3.0.8 3.0.8
dart_jsonwebtoken ^3.1.1 3.4.1 3.4.1
http ^1.6.0 1.6.0 1.6.0
http2 ^2.3.1 2.3.1 3.1.0
meta ^1.18.0 1.19.0 1.19.0
mysql_client ^0.0.27 0.0.27 0.0.27
opentelemetry ^0.18.11 0.18.11+1 0.18.11+1
path ^1.9.1 1.9.1 1.9.1
pdf ^3.12.0 3.13.1 3.13.1
pointycastle ^4.0.0 4.0.0 4.0.0
postgres ^3.5.20 3.5.20 3.5.20
shelf ^1.4.2 1.4.3 1.4.3
shelf_multipart ^2.0.1 2.0.2 2.0.2
shelf_router ^1.1.2 1.1.5 1.1.5
shelf_web_socket ^3.0.0 3.0.0 3.0.0
tom_basics_console ^1.0.0 1.0.0 1.0.0
tom_core_kernel ^1.1.16 1.1.16 1.1.16
tom_reflection ^1.0.2 1.0.2 1.0.2
uuid ^4.6.0 4.6.0 4.6.0
web_socket_channel ^3.0.0 3.0.3 3.0.3
xml ^7.0.1 7.1.0 7.1.0
yaml ^3.1.4 3.1.4 3.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.5.2 4.5.2
args - 2.7.0 2.7.0
asn1lib - 1.6.8 1.6.8
barcode - 2.2.9 2.2.9
bidi - 2.0.13 2.0.13
boolean_selector - 2.1.2 2.1.2
buffer - 1.2.3 1.2.3
chalkdart - 2.4.0 3.1.0
charcode - 1.4.0 1.4.0
clock - 1.1.3 1.1.3
collection - 1.19.1 1.19.1
console_markdown - 0.0.3 0.0.3
convert - 3.1.2 3.1.2
ffi - 2.2.0 2.2.0
fixnum - 1.1.1 1.1.1
http_methods - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
image - 4.12.0 4.12.0
logging - 1.3.0 1.3.0
marked - 0.2.5 0.2.5
matcher - 0.12.20 0.12.20
mime - 2.1.0 2.1.0
opentelemetry_wk - 0.18.11 0.18.11
path_parsing - 1.1.0 1.1.0
petitparser - 7.1.0 7.1.0
pool - 1.5.3 1.5.3
posix - 6.5.4 6.5.4
protobuf - 6.1.0 6.1.0
qr - 3.0.2 4.0.0
quiver - 3.2.2 3.2.2
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.15 0.7.15
timezone - 0.11.2 0.11.2
tom_basics - 3.3.0 3.3.0
tom_crypto - 1.4.0 1.4.0
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2
web_socket - 1.0.1 1.0.1
yaml_edit - 2.2.4 2.2.4

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

The constraint `^2.3.1` on http2 does not support the stable version `3.1.0`.

Try running dart pub upgrade --major-versions http2 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.23.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: