postgresql2 1.7.1 copy "postgresql2: ^1.7.1" to clipboard
postgresql2: ^1.7.1 copied to clipboard

A fork of Greg's PostgreSQL driver (xxgreg/postgresql) using conserved substitution respecting strings and @@ operators. Also optimizing the pool implementation aggressivly.

115/ 160
pub points
753
downloads

We analyzed this package 6 days ago, and awarded it 115 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.7.1").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-2-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

98 out of 222 API elements (44.1 %) have documentation comments.

Some symbols that are missing documentation: postgresql, postgresql.ClientMessage.ClientMessage.new, postgresql.ClientMessage.exception, postgresql.ClientMessage.stackTrace, postgresql.Column.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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:postgresql2/constants.dart that imports:
  • package:postgresql2/pool.dart that imports:
  • package:postgresql2/src/pool_settings_impl.dart that imports:
  • package:postgresql2/postgresql.dart that imports:
  • package:postgresql2/src/postgresql_impl/postgresql_impl.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 131 issues. Showing the first 2:

INFO: Missing type annotation.

lib/postgresql.dart:291:17

    ╷
291 │   String encode(value, String? type, {String? connectionName});
    │                 ^^^^^
    ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/buffer.dart:26:7

   ╷
26 │       throw _createException("Attempted to read from an empty buffer.");
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/buffer.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
charcode >=1.0.0 1.4.0 1.4.0
convert >=1.0.0 3.1.2 3.1.2
crypto >=2.0.0 3.0.7 3.0.7
rikulo_commons >=5.0.1 7.1.0 7.1.0
sasl_scram >=0.1.0 0.1.1 0.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
buffer - 1.2.3 1.2.3
collection - 1.19.1 1.19.1
logging - 1.3.0 1.3.0
mime - 2.0.0 2.0.0
saslprep - 1.0.3 1.0.3
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.2 0.3.2
web - 1.1.1 1.1.1

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 1 error:

  • UNDEFINED_IDENTIFIER - lib/src/postgresql_impl/connection.dart:124:11 - Undefined name 'InvokeUtil'.

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.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
44
likes
115
points
753
downloads

Publisher

verified publisherquire.io

Weekly Downloads

A fork of Greg's PostgreSQL driver (xxgreg/postgresql) using conserved substitution respecting strings and @@ operators. Also optimizing the pool implementation aggressivly.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

charcode, convert, crypto, rikulo_commons, sasl_scram

More

Packages that depend on postgresql2