@prisma/adapter-pg 6.5.0-integration-fix-improve-global-omit-api-performance.1 → 6.5.0-integration-fix-improve-global-omit-api-performance-2.2
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.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -500,7 +500,7 @@ var PgTransactionContext = class extends PgQueryable {
|
|
|
500
500
|
};
|
|
501
501
|
var PrismaPg = class extends PgQueryable {
|
|
502
502
|
constructor(client, options, release) {
|
|
503
|
-
if (!
|
|
503
|
+
if (!client) {
|
|
504
504
|
throw new TypeError(`PrismaPg must be initialized with an instance of Pool:
|
|
505
505
|
import { Pool } from 'pg'
|
|
506
506
|
const pool = new Pool({ connectionString: url })
|
package/dist/index.mjs
CHANGED
|
@@ -464,7 +464,7 @@ var PgTransactionContext = class extends PgQueryable {
|
|
|
464
464
|
};
|
|
465
465
|
var PrismaPg = class extends PgQueryable {
|
|
466
466
|
constructor(client, options, release) {
|
|
467
|
-
if (!
|
|
467
|
+
if (!client) {
|
|
468
468
|
throw new TypeError(`PrismaPg must be initialized with an instance of Pool:
|
|
469
469
|
import { Pool } from 'pg'
|
|
470
470
|
const pool = new Pool({ connectionString: url })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/adapter-pg",
|
|
3
|
-
"version": "6.5.0-integration-fix-improve-global-omit-api-performance.
|
|
3
|
+
"version": "6.5.0-integration-fix-improve-global-omit-api-performance-2.2",
|
|
4
4
|
"description": "Prisma's driver adapter for \"pg\"",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"postgres-array": "3.0.2",
|
|
35
|
-
"@prisma/driver-adapter-utils": "6.5.0-integration-fix-improve-global-omit-api-performance.
|
|
35
|
+
"@prisma/driver-adapter-utils": "6.5.0-integration-fix-improve-global-omit-api-performance-2.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@swc/core": "1.
|
|
38
|
+
"@swc/core": "1.11.5",
|
|
39
39
|
"@swc/jest": "0.2.37",
|
|
40
|
-
"@types/pg": "8.11.
|
|
40
|
+
"@types/pg": "8.11.11",
|
|
41
41
|
"jest": "29.7.0",
|
|
42
42
|
"jest-junit": "16.0.0",
|
|
43
|
-
"pg": "8.
|
|
43
|
+
"pg": "8.13.3"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"pg": "^8.11.3"
|