postgres_utils 2.0.0-rc.8
postgres_utils: ^2.0.0-rc.8 copied to clipboard
A few utils for working with postgresql databases.
We analyzed this package 43 hours ago, and awarded it 140 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
7 out of 81 API elements (8.6 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: postgres_utils.CustomBind, postgres_utils.CustomBind.CustomBind.new, postgres_utils.CustomBind.formatString, postgres_utils.CustomBind.value, postgres_utils.DatabaseAccessBase.
10/10 points: Package has 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:postgres_utils/postgres_utils.dartthat imports:package:postgres_utils/src/tables/base_tables.dartthat imports:package:postgres/postgres.dartthat imports:package:postgres/src/v3/database_info.dartthat imports:package:postgres/src/messages/logical_replication_messages.dartthat imports:package:postgres/src/messages/shared_messages.dartthat imports:package:postgres/src/messages/server_messages.dartthat imports:package:postgres/src/types.dartthat imports:package:postgres/src/types/type_registry.dartthat imports:package:postgres/src/types/text_search.dartthat imports:package:postgres/src/exceptions.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: The argument type 'Null' isn't related to 'Object'.
lib/src/database_access.dart:108:31
╷
108 │ if (where.values.contains(null)) {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/database_access.dart
INFO: 'Optional' is deprecated and shouldn't be used. Generally, migrate to a nullable type.
lib/src/database_access.dart:111:57
╷
111 │ assert(!setContainsOptional || set.values.whereType<Optional>().isEmpty);
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/database_access.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
^1.1.0 |
1.1.3 | 1.1.3 | |
json_annotation |
^4.0.1 |
4.12.0 | 4.12.0 | |
logging |
^1.0.0 |
1.3.0 | 1.3.0 | |
meta |
^1.3.0 |
1.19.0 | 1.19.0 | |
postgres |
^3.5.0 |
3.5.20 | 3.5.20 | |
quiver |
^3.0.0 |
3.2.2 | 3.2.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
buffer |
- | 1.2.3 | 1.2.3 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
matcher |
- | 0.12.20 | 0.12.20 | |
path |
- | 1.9.1 | 1.9.1 | |
pool |
- | 1.5.3 | 1.5.3 | |
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 | |
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
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.