deno_postgres_interop 0.0.4
deno_postgres_interop: ^0.0.4 copied to clipboard
An interop for js package deno-postgres - PostgreSQL driver that can be used in deno-deploy (supabase edge functions).
We analyzed this package 6 days ago, and awarded it 150 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
226 out of 231 API elements (97.8 %) have documentation comments.
Some symbols that are missing documentation: deno_postgres_interop.ConnectionError.ConnectionError.new
, deno_postgres_interop.ConnectionParamsError.ConnectionParamsError.new
, deno_postgres_interop.PostgresError.PostgresError.new
, deno_postgres_interop.Session.Session.new
, deno_postgres_interop.TransactionError.TransactionError.new
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:deno_postgres_interop/deno_postgres_interop.dart
that declares support for platforms:Web
.
Package does not support platform `iOS`.
Because:
package:deno_postgres_interop/deno_postgres_interop.dart
that declares support for platforms:Web
.
Package does not support platform `Windows`.
Because:
package:deno_postgres_interop/deno_postgres_interop.dart
that declares support for platforms:Web
.
Package does not support platform `Linux`.
Because:
package:deno_postgres_interop/deno_postgres_interop.dart
that declares support for platforms:Web
.
Package does not support platform `macOS`.
Because:
package:deno_postgres_interop/deno_postgres_interop.dart
that declares support for platforms:Web
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:deno_postgres_interop/deno_postgres_interop.dart
that imports:package:deno_postgres_interop/src/transaction_options.dart
that imports:dart:js_util
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 22 issues. Showing the first 2:
INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.
bin/add_imports.dart:38:8
╷
38 │ .whereNotNull()
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/add_imports.dart
INFO: 'dart:js_util' is deprecated and shouldn't be used. Use dart:js_interop instead.
lib/src/client.dart:2:1
╷
2 │ import 'dart:js_util';
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/client.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
^2.4.2 |
2.7.0 | 2.7.0 | |
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
yaml |
^3.1.2 |
3.1.3 | 3.1.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
path |
- | 1.9.1 | 1.9.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 |
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.22.20
, Dart 3.7.2
.
Check the analysis log for details.