nakama 0.1.6 copy "nakama: ^0.1.6" to clipboard
nakama: ^0.1.6 copied to clipboard

Nakama is an open-source scalable game server that lets you focus on building games.

58
likes
100/ 140
pub points
76%
popularity

We analyzed this package 17 hours ago, and awarded it 100 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting nakama... Discovering libraries... Linking elements... Precaching local docs for 657022 elements... Initialized dartdoc with 573 libraries Generating docs for library rtapi.dart from package:nakama/rtapi.dart... Generating docs for library api.dart from package:nakama/api.dart... Generating docs for library nakama.dart from package:nakama/nakama.dart... Documented 3 public libraries in 60.4 seconds ERR: warning: ambiguous reexport of empty.pb.Empty, canonicalization candidates: (api, api) -> api (confidence 0.000) from empty.pb.Empty: (file:///tmp/pana_ICNINP/lib/src/api/proto/google/protobuf/empty.pb.dart:12:7) api: 0.1110 - (_Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1000), _Reason.locationPartStart (+0.001000)) api: 0.1110 - (_Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1000), _Reason.locationPartStart (+0.001000)) Use {@canonicalFor empty.pb.Empty} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [355 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:nakama/nakama.dart that imports:
  • package:nakama/src/nakama_client/nakama_grpc_client.dart that imports:
  • package:grpc/grpc_connection_interface.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 86 issues. Showing the first 2:

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

lib/src/rest/apigrpc.swagger.dart:1728:17

     ╷
1728 │   bool operator ==(dynamic other) {
     │                 ^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/rest/apigrpc.swagger.dart

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

lib/src/rest/apigrpc.swagger.dart:1782:17

     ╷
1782 │   bool operator ==(dynamic other) {
     │                 ^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/rest/apigrpc.swagger.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
chopper ^4.0.1 4.0.6 7.4.0
collection ^1.16.0 1.18.0 1.18.0
fixnum ^1.0.0 1.1.0 1.1.0
flutter flutter 0.0.0 0.0.0
grpc ^3.0.0 3.2.4 3.2.4
json_annotation ^4.4.0 4.9.0 4.9.0
jwt_decoder ^2.0.1 2.0.1 2.0.1
logging ^1.0.2 1.2.0 1.2.0
meta ^1.7.0 1.11.0 1.14.0
protobuf ^2.0.0 2.1.0 3.1.0
web_socket_channel ^2.1.0 2.4.5 2.4.5
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.5.0 3.5.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
crypto - 3.0.3 3.0.3
googleapis_auth - 1.4.1 1.6.0
http - 0.13.6 1.2.1
http2 - 2.3.0 2.3.0
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1

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

The constraint `^4.0.1` on chopper does not support the stable version `5.0.0`.

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

The constraint `^2.0.0` on protobuf does not support the stable version `3.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.