serverpod_service_client 3.0.0-alpha.2 copy "serverpod_service_client: ^3.0.0-alpha.2" to clipboard
serverpod_service_client: ^3.0.0-alpha.2 copied to clipboard

Generated client for the Severpod service protocol.

80/ 160
pub points
4.46k
downloads

We analyzed this package 34 hours ago, and awarded it 80 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: BSD-3-Clause.

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

390 out of 565 API elements (69.0 %) have documentation comments.

Some symbols that are missing documentation: serverpod_service_client.AccessDeniedException, serverpod_service_client.AccessDeniedException.AccessDeniedException.fromJson, serverpod_service_client.AccessDeniedException.AccessDeniedException.new, serverpod_service_client.AccessDeniedException.message, serverpod_service_client.BulkData.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:serverpod_service_client/serverpod_service_client.dart that imports:
  • package:serverpod_service_client/src/service_key_manager.dart that imports:
  • package:serverpod_shared/serverpod_shared.dart that imports:
  • package:serverpod_shared/src/password_manager.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 1249 issues. Showing the first 2:

ERROR: The argument type 'dynamic' can't be assigned to the parameter type 'Map

lib/src/protocol/protocol.dart:144:52

    ╷
144 │       return _i2.DatabaseMigrationVersion.fromJson(data) as T;
    │                                                    ^^^^
    ╵

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

ERROR: The argument type 'dynamic' can't be assigned to the parameter type 'Map

lib/src/protocol/protocol.dart:147:38

    ╷
147 │       return _i3.CachesInfo.fromJson(data) as T;
    │                                      ^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
20 / 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
meta ^1.11.0 1.17.0 1.17.0
serverpod_client 3.0.0-alpha.2 3.0.0-alpha.2 3.0.0-alpha.2
serverpod_shared 3.0.0-alpha.2 3.0.0-alpha.2 3.0.0-alpha.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
path - 1.9.1 1.9.1
serverpod_serialization - 3.0.0-alpha.2 3.0.0-alpha.2
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
super_string - 1.0.3 1.0.3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
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

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

downgrade analysis failed failed with 112 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/protocol/protocol.dart:144:52 - The argument type 'dynamic' can't be assigned to the parameter type 'Map<String, dynamic>'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/protocol/protocol.dart:147:38 - The argument type 'dynamic' can't be assigned to the parameter type 'Map<String, dynamic>'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/protocol/protocol.dart:150:45 - The argument type 'dynamic' can't be assigned to the parameter type 'Map<String, dynamic>'.

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.22.24, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
80
points
4.46k
downloads

Publisher

verified publisherserverpod.dev

Weekly Downloads

Generated client for the Severpod service protocol.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

meta, serverpod_client, serverpod_shared

More

Packages that depend on serverpod_service_client