serverpod_shared 2.9.2
serverpod_shared: ^2.9.2 copied to clipboard
Severpod code that is shared between serverpod and tooling.
We analyzed this package 34 hours ago, and awarded it 80 pub points (of a possible 160):
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
154 out of 164 API elements (93.9 %) have documentation comments.
Some symbols that are missing documentation: annotations, serverpod_shared, serverpod_shared.CliArgsConstants.CliArgsConstants.new, serverpod_shared.DatabaseConstants.DatabaseConstants.new, serverpod_shared.GenerateMigrationDatabaseDefinitionException.GenerateMigrationDatabaseDefinitionException.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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_shared/serverpod_shared.dartthat imports:package:serverpod_shared/src/password_manager.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 71 issues. Showing the first 2:
ERROR: The argument type 'dynamic' can't be assigned to the parameter type 'Map
lib/src/config.dart:249:7
╷
249 │ doc,
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/config.dart
ERROR: The argument type 'dynamic' can't be assigned to the parameter type 'int'.
lib/src/config.dart:368:13
╷
368 │ port: serverSetup[ServerpodServerConfigMap.port],
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/config.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.2 |
3.0.7 | 3.0.7 | |
meta |
^1.11.0 |
1.17.0 | 1.17.0 | |
path |
^1.8.2 |
1.9.1 | 1.9.1 | |
super_string |
^1.0.3 |
1.0.3 | 1.0.3 | |
yaml |
^3.1.2 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
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 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 34 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/config.dart:249:7- The argument type 'dynamic' can't be assigned to the parameter type 'Map<dynamic, dynamic>'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/config.dart:368:13- The argument type 'dynamic' can't be assigned to the parameter type 'int'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/config.dart:369:19- The argument type 'dynamic' can't be assigned to the parameter type 'String'.
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.2, Dart 3.10.0.
Check the analysis log for details.