@mikro-orm/postgresql 7.3.0-dev.17 → 7.3.0-dev.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,8 +15,8 @@ export declare class PostgreSqlConnection extends AbstractSqlConnection {
15
15
  * Both of the paths that emit one are unguarded by default: `pg-pool` removes its own listener
16
16
  * from a client while that client is checked out, deliberately leaving errors to whoever holds it,
17
17
  * and it re-emits errors of idle clients on the pool itself. The query in flight still rejects on
18
- * its own, so there is nothing to do here beyond logging — the pool has already discarded the
19
- * broken client by the time we see it.
18
+ * its own, so there is nothing to do here beyond logging — the pool discards the broken client once
19
+ * kysely releases it, which it does after a failed query, commit or rollback as well.
20
20
  */
21
21
  private handlePoolErrors;
22
22
  /** Applies the active EM's session context (or resets it) on every pooled connection acquire. */
@@ -35,8 +35,8 @@ export class PostgreSqlConnection extends AbstractSqlConnection {
35
35
  * Both of the paths that emit one are unguarded by default: `pg-pool` removes its own listener
36
36
  * from a client while that client is checked out, deliberately leaving errors to whoever holds it,
37
37
  * and it re-emits errors of idle clients on the pool itself. The query in flight still rejects on
38
- * its own, so there is nothing to do here beyond logging — the pool has already discarded the
39
- * broken client by the time we see it.
38
+ * its own, so there is nothing to do here beyond logging — the pool discards the broken client once
39
+ * kysely releases it, which it does after a failed query, commit or rollback as well.
40
40
  */
41
41
  handlePoolErrors(pool) {
42
42
  pool.on('connect', client => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/postgresql",
3
- "version": "7.3.0-dev.17",
3
+ "version": "7.3.0-dev.19",
4
4
  "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
5
5
  "keywords": [
6
6
  "data-mapper",
@@ -47,19 +47,19 @@
47
47
  "copy": "node ../../scripts/copy.mjs"
48
48
  },
49
49
  "dependencies": {
50
- "@mikro-orm/sql": "7.3.0-dev.17",
51
- "kysely": "0.29.6",
52
- "pg": "8.23.0",
53
- "pg-cursor": "2.22.0",
50
+ "@mikro-orm/sql": "7.3.0-dev.19",
51
+ "kysely": "0.29.8",
52
+ "pg": "8.23.1",
53
+ "pg-cursor": "2.22.1",
54
54
  "postgres-array": "3.0.4",
55
55
  "postgres-date": "2.1.0",
56
56
  "postgres-interval": "4.1.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@mikro-orm/core": "^7.2.3"
59
+ "@mikro-orm/core": "^7.2.6"
60
60
  },
61
61
  "peerDependencies": {
62
- "@mikro-orm/core": "7.3.0-dev.17"
62
+ "@mikro-orm/core": "7.3.0-dev.19"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">= 22.17.0"