leto 0.0.1-dev.2 copy "leto: ^0.0.1-dev.2" to clipboard
leto: ^0.0.1-dev.2 copied to clipboard

Base package for implementing GraphQL servers. You might prefer `package:leto_shelf` for building GraphQL web server with leto and shelf.

130/ 160
pub points
34
downloads

We analyzed this package 4 days ago, and awarded it 130 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

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

OUT: Documenting leto... Discovering libraries... ERR: dartdoc 9.0.6 (/home/worker/dartdoc/build/dartdoc) failed: Null check operator used on a null value #0 CommentReferenceResolver._resolveSimpleIdentifier (package:analyzer/src/dart/resolver/comment_reference_resolver.dart:165) #1 CommentReferenceResolver._resolvePrefixedIdentifierReference (package:analyzer/src/dart/resolver/comment_reference_resolver.dart:59) #2 CommentReferenceResolver.resolve (package:analyzer/src/dart/resolver/comment_reference_resolver.dart:39) #3 ElementResolver.visitCommentReference (package:analyzer/src/generated/element_resolver.dart:108) #4 ResolverVisitor.visitCommentReference (package:analyzer/src/generated/resolver.dart:2382) #5 CommentReferenceImpl.accept (package:analyzer/src/dart/ast/ast.dart:5763) #6 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:23996) #7 WithClauseImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:35331) #8 ResolverVisitor.visitComment (package:analyzer/src/generated/resolver.dart:2373) [43 more lines]

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/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 5 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/types/time.dart:376:17

    ╷
376 │   bool operator ==(Object? other) =>
    │                 ^^
    ╵

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

INFO: Dangling library doc comment.

lib/dataloader.dart:3:1

  ╷
3 │ /// Copyright (c) 2019-present, GraphQL Foundation
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/dataloader.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
async ^2.0.0 2.13.1 2.13.1
clock ^1.1.0 1.1.2 1.1.2
collection ^1.16.0 1.19.1 1.19.1
crypto ^3.0.2 3.0.7 3.0.7
gql ^1.0.0 1.0.1 1.0.1
leto_schema ^0.0.1-dev.3 0.0.1-dev.6 0.0.1-dev.6
meta ^1.0.0 1.19.0 1.19.0
oxidized ^6.0.0 6.2.0 6.2.0
source_span ^1.0.0 1.10.2 1.10.2
stream_channel ^2.0.0 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
equatable - 2.1.0 2.1.0
path - 1.9.1 1.9.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
yaml - 3.1.3 3.1.3

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.14, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
11
likes
130
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

Base package for implementing GraphQL servers. You might prefer `package:leto_shelf` for building GraphQL web server with leto and shelf.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

async, clock, collection, crypto, gql, leto_schema, meta, oxidized, source_span, stream_channel

More

Packages that depend on leto