@prisma/migrate 6.6.0-integration-mcp.3 → 6.6.0-integration-feat-orm-693-d1-driver-create-migration-adapter-using-new-http-binding.5

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.
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_QVMYNWAN_exports = {};
20
- __export(chunk_QVMYNWAN_exports, {
19
+ var chunk_TGV6QGEF_exports = {};
20
+ __export(chunk_TGV6QGEF_exports, {
21
21
  require_lib: () => require_lib2
22
22
  });
23
- module.exports = __toCommonJS(chunk_QVMYNWAN_exports);
23
+ module.exports = __toCommonJS(chunk_TGV6QGEF_exports);
24
24
  var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
25
25
  var require_postgres_array = (0, import_chunk_2ESYSVXG.__commonJS)({
26
26
  "../../node_modules/.pnpm/postgres-array@2.0.0/node_modules/postgres-array/index.js"(exports) {
@@ -938,7 +938,7 @@ var require_pg_types = (0, import_chunk_2ESYSVXG.__commonJS)({
938
938
  }
939
939
  });
940
940
  var require_defaults = (0, import_chunk_2ESYSVXG.__commonJS)({
941
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/defaults.js"(exports, module2) {
941
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/defaults.js"(exports, module2) {
942
942
  "use strict";
943
943
  module2.exports = {
944
944
  // database host. defaults to localhost
@@ -998,7 +998,7 @@ var require_defaults = (0, import_chunk_2ESYSVXG.__commonJS)({
998
998
  }
999
999
  });
1000
1000
  var require_utils = (0, import_chunk_2ESYSVXG.__commonJS)({
1001
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/utils.js"(exports, module2) {
1001
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/utils.js"(exports, module2) {
1002
1002
  "use strict";
1003
1003
  var defaults = require_defaults();
1004
1004
  function escapeElement(elementRepresentation) {
@@ -1146,7 +1146,7 @@ var require_utils = (0, import_chunk_2ESYSVXG.__commonJS)({
1146
1146
  }
1147
1147
  });
1148
1148
  var require_utils_legacy = (0, import_chunk_2ESYSVXG.__commonJS)({
1149
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/crypto/utils-legacy.js"(exports, module2) {
1149
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/crypto/utils-legacy.js"(exports, module2) {
1150
1150
  "use strict";
1151
1151
  var nodeCrypto = (0, import_chunk_2ESYSVXG.__require)("crypto");
1152
1152
  function md5(string) {
@@ -1160,10 +1160,6 @@ var require_utils_legacy = (0, import_chunk_2ESYSVXG.__commonJS)({
1160
1160
  function sha256(text) {
1161
1161
  return nodeCrypto.createHash("sha256").update(text).digest();
1162
1162
  }
1163
- function hashByName(hashName, text) {
1164
- hashName = hashName.replace(/(\D)-/, "$1");
1165
- return nodeCrypto.createHash(hashName).update(text).digest();
1166
- }
1167
1163
  function hmacSha256(key, msg) {
1168
1164
  return nodeCrypto.createHmac("sha256", key).update(msg).digest();
1169
1165
  }
@@ -1175,14 +1171,13 @@ var require_utils_legacy = (0, import_chunk_2ESYSVXG.__commonJS)({
1175
1171
  randomBytes: nodeCrypto.randomBytes,
1176
1172
  deriveKey,
1177
1173
  sha256,
1178
- hashByName,
1179
1174
  hmacSha256,
1180
1175
  md5
1181
1176
  };
1182
1177
  }
1183
1178
  });
1184
1179
  var require_utils_webcrypto = (0, import_chunk_2ESYSVXG.__commonJS)({
1185
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/crypto/utils-webcrypto.js"(exports, module2) {
1180
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/crypto/utils-webcrypto.js"(exports, module2) {
1186
1181
  "use strict";
1187
1182
  var nodeCrypto = (0, import_chunk_2ESYSVXG.__require)("crypto");
1188
1183
  module2.exports = {
@@ -1190,7 +1185,6 @@ var require_utils_webcrypto = (0, import_chunk_2ESYSVXG.__commonJS)({
1190
1185
  randomBytes,
1191
1186
  deriveKey,
1192
1187
  sha256,
1193
- hashByName,
1194
1188
  hmacSha256,
1195
1189
  md5
1196
1190
  };
@@ -1217,9 +1211,6 @@ var require_utils_webcrypto = (0, import_chunk_2ESYSVXG.__commonJS)({
1217
1211
  async function sha256(text) {
1218
1212
  return await subtleCrypto.digest("SHA-256", text);
1219
1213
  }
1220
- async function hashByName(hashName, text) {
1221
- return await subtleCrypto.digest(hashName, text);
1222
- }
1223
1214
  async function hmacSha256(keyBuffer, msg) {
1224
1215
  const key = await subtleCrypto.importKey("raw", keyBuffer, { name: "HMAC", hash: "SHA-256" }, false, ["sign"]);
1225
1216
  return await subtleCrypto.sign("HMAC", key, textEncoder.encode(msg));
@@ -1232,7 +1223,7 @@ var require_utils_webcrypto = (0, import_chunk_2ESYSVXG.__commonJS)({
1232
1223
  }
1233
1224
  });
1234
1225
  var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
1235
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/crypto/utils.js"(exports, module2) {
1226
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/crypto/utils.js"(exports, module2) {
1236
1227
  "use strict";
1237
1228
  var useLegacyCrypto = parseInt(process.versions && process.versions.node && process.versions.node.split(".")[0]) < 15;
1238
1229
  if (useLegacyCrypto) {
@@ -1242,142 +1233,23 @@ var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
1242
1233
  }
1243
1234
  }
1244
1235
  });
1245
- var require_cert_signatures = (0, import_chunk_2ESYSVXG.__commonJS)({
1246
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/crypto/cert-signatures.js"(exports, module2) {
1247
- "use strict";
1248
- function x509Error(msg, cert) {
1249
- throw new Error("SASL channel binding: " + msg + " when parsing public certificate " + cert.toString("base64"));
1250
- }
1251
- function readASN1Length(data, index) {
1252
- let length = data[index++];
1253
- if (length < 128) return { length, index };
1254
- const lengthBytes = length & 127;
1255
- if (lengthBytes > 4) x509Error("bad length", data);
1256
- length = 0;
1257
- for (let i = 0; i < lengthBytes; i++) {
1258
- length = length << 8 | data[index++];
1259
- }
1260
- return { length, index };
1261
- }
1262
- function readASN1OID(data, index) {
1263
- if (data[index++] !== 6) x509Error("non-OID data", data);
1264
- const { length: OIDLength, index: indexAfterOIDLength } = readASN1Length(data, index);
1265
- index = indexAfterOIDLength;
1266
- lastIndex = index + OIDLength;
1267
- const byte1 = data[index++];
1268
- let oid = (byte1 / 40 >> 0) + "." + byte1 % 40;
1269
- while (index < lastIndex) {
1270
- let value = 0;
1271
- while (index < lastIndex) {
1272
- const nextByte = data[index++];
1273
- value = value << 7 | nextByte & 127;
1274
- if (nextByte < 128) break;
1275
- }
1276
- oid += "." + value;
1277
- }
1278
- return { oid, index };
1279
- }
1280
- function expectASN1Seq(data, index) {
1281
- if (data[index++] !== 48) x509Error("non-sequence data", data);
1282
- return readASN1Length(data, index);
1283
- }
1284
- function signatureAlgorithmHashFromCertificate(data, index) {
1285
- if (index === void 0) index = 0;
1286
- index = expectASN1Seq(data, index).index;
1287
- const { length: certInfoLength, index: indexAfterCertInfoLength } = expectASN1Seq(data, index);
1288
- index = indexAfterCertInfoLength + certInfoLength;
1289
- index = expectASN1Seq(data, index).index;
1290
- const { oid, index: indexAfterOID } = readASN1OID(data, index);
1291
- switch (oid) {
1292
- // RSA
1293
- case "1.2.840.113549.1.1.4":
1294
- return "MD5";
1295
- case "1.2.840.113549.1.1.5":
1296
- return "SHA-1";
1297
- case "1.2.840.113549.1.1.11":
1298
- return "SHA-256";
1299
- case "1.2.840.113549.1.1.12":
1300
- return "SHA-384";
1301
- case "1.2.840.113549.1.1.13":
1302
- return "SHA-512";
1303
- case "1.2.840.113549.1.1.14":
1304
- return "SHA-224";
1305
- case "1.2.840.113549.1.1.15":
1306
- return "SHA512-224";
1307
- case "1.2.840.113549.1.1.16":
1308
- return "SHA512-256";
1309
- // ECDSA
1310
- case "1.2.840.10045.4.1":
1311
- return "SHA-1";
1312
- case "1.2.840.10045.4.3.1":
1313
- return "SHA-224";
1314
- case "1.2.840.10045.4.3.2":
1315
- return "SHA-256";
1316
- case "1.2.840.10045.4.3.3":
1317
- return "SHA-384";
1318
- case "1.2.840.10045.4.3.4":
1319
- return "SHA-512";
1320
- // RSASSA-PSS: hash is indicated separately
1321
- case "1.2.840.113549.1.1.10":
1322
- index = indexAfterOID;
1323
- index = expectASN1Seq(data, index).index;
1324
- if (data[index++] !== 160) x509Error("non-tag data", data);
1325
- index = readASN1Length(data, index).index;
1326
- index = expectASN1Seq(data, index).index;
1327
- const { oid: hashOID } = readASN1OID(data, index);
1328
- switch (hashOID) {
1329
- // standalone hash OIDs
1330
- case "1.2.840.113549.2.5":
1331
- return "MD5";
1332
- case "1.3.14.3.2.26":
1333
- return "SHA-1";
1334
- case "2.16.840.1.101.3.4.2.1":
1335
- return "SHA-256";
1336
- case "2.16.840.1.101.3.4.2.2":
1337
- return "SHA-384";
1338
- case "2.16.840.1.101.3.4.2.3":
1339
- return "SHA-512";
1340
- }
1341
- x509Error("unknown hash OID " + hashOID, data);
1342
- // Ed25519 -- see https: return//github.com/openssl/openssl/issues/15477
1343
- case "1.3.101.110":
1344
- case "1.3.101.112":
1345
- return "SHA-512";
1346
- // Ed448 -- still not in pg 17.2 (if supported, digest would be SHAKE256 x 64 bytes)
1347
- case "1.3.101.111":
1348
- case "1.3.101.113":
1349
- x509Error("Ed448 certificate channel binding is not currently supported by Postgres");
1350
- }
1351
- x509Error("unknown OID " + oid, data);
1352
- }
1353
- module2.exports = { signatureAlgorithmHashFromCertificate };
1354
- }
1355
- });
1356
1236
  var require_sasl = (0, import_chunk_2ESYSVXG.__commonJS)({
1357
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/crypto/sasl.js"(exports, module2) {
1237
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/crypto/sasl.js"(exports, module2) {
1358
1238
  "use strict";
1359
1239
  var crypto = require_utils2();
1360
- var { signatureAlgorithmHashFromCertificate } = require_cert_signatures();
1361
- function startSession(mechanisms, stream) {
1362
- const candidates = ["SCRAM-SHA-256"];
1363
- if (stream) candidates.unshift("SCRAM-SHA-256-PLUS");
1364
- const mechanism = candidates.find((candidate) => mechanisms.includes(candidate));
1365
- if (!mechanism) {
1366
- throw new Error("SASL: Only mechanism(s) " + candidates.join(" and ") + " are supported");
1367
- }
1368
- if (mechanism === "SCRAM-SHA-256-PLUS" && typeof stream.getPeerCertificate !== "function") {
1369
- throw new Error("SASL: Mechanism SCRAM-SHA-256-PLUS requires a certificate");
1240
+ function startSession(mechanisms) {
1241
+ if (mechanisms.indexOf("SCRAM-SHA-256") === -1) {
1242
+ throw new Error("SASL: Only mechanism SCRAM-SHA-256 is currently supported");
1370
1243
  }
1371
1244
  const clientNonce = crypto.randomBytes(18).toString("base64");
1372
- const gs2Header = mechanism === "SCRAM-SHA-256-PLUS" ? "p=tls-server-end-point" : stream ? "y" : "n";
1373
1245
  return {
1374
- mechanism,
1246
+ mechanism: "SCRAM-SHA-256",
1375
1247
  clientNonce,
1376
- response: gs2Header + ",,n=*,r=" + clientNonce,
1248
+ response: "n,,n=*,r=" + clientNonce,
1377
1249
  message: "SASLInitialResponse"
1378
1250
  };
1379
1251
  }
1380
- async function continueSession(session, password, serverData, stream) {
1252
+ async function continueSession(session, password, serverData) {
1381
1253
  if (session.message !== "SASLInitialResponse") {
1382
1254
  throw new Error("SASL: Last message was not SASLInitialResponse");
1383
1255
  }
@@ -1398,16 +1270,7 @@ var require_sasl = (0, import_chunk_2ESYSVXG.__commonJS)({
1398
1270
  }
1399
1271
  var clientFirstMessageBare = "n=*,r=" + session.clientNonce;
1400
1272
  var serverFirstMessage = "r=" + sv.nonce + ",s=" + sv.salt + ",i=" + sv.iteration;
1401
- let channelBinding = stream ? "eSws" : "biws";
1402
- if (session.mechanism === "SCRAM-SHA-256-PLUS") {
1403
- const peerCert = stream.getPeerCertificate().raw;
1404
- let hashName = signatureAlgorithmHashFromCertificate(peerCert);
1405
- if (hashName === "MD5" || hashName === "SHA-1") hashName = "SHA-256";
1406
- const certHash = await crypto.hashByName(hashName, peerCert);
1407
- const bindingData = Buffer.concat([Buffer.from("p=tls-server-end-point,,"), Buffer.from(certHash)]);
1408
- channelBinding = bindingData.toString("base64");
1409
- }
1410
- var clientFinalMessageWithoutProof = "c=" + channelBinding + ",r=" + sv.nonce;
1273
+ var clientFinalMessageWithoutProof = "c=biws,r=" + sv.nonce;
1411
1274
  var authMessage = clientFirstMessageBare + "," + serverFirstMessage + "," + clientFinalMessageWithoutProof;
1412
1275
  var saltBytes = Buffer.from(sv.salt, "base64");
1413
1276
  var saltedPassword = await crypto.deriveKey(password, saltBytes, sv.iteration);
@@ -1519,7 +1382,7 @@ var require_sasl = (0, import_chunk_2ESYSVXG.__commonJS)({
1519
1382
  }
1520
1383
  });
1521
1384
  var require_type_overrides = (0, import_chunk_2ESYSVXG.__commonJS)({
1522
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/type-overrides.js"(exports, module2) {
1385
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/type-overrides.js"(exports, module2) {
1523
1386
  "use strict";
1524
1387
  var types = require_pg_types();
1525
1388
  function TypeOverrides(userTypes) {
@@ -1635,7 +1498,7 @@ var require_pg_connection_string = (0, import_chunk_2ESYSVXG.__commonJS)({
1635
1498
  }
1636
1499
  });
1637
1500
  var require_connection_parameters = (0, import_chunk_2ESYSVXG.__commonJS)({
1638
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/connection-parameters.js"(exports, module2) {
1501
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/connection-parameters.js"(exports, module2) {
1639
1502
  "use strict";
1640
1503
  var dns = (0, import_chunk_2ESYSVXG.__require)("dns");
1641
1504
  var defaults = require_defaults();
@@ -1771,7 +1634,7 @@ var require_connection_parameters = (0, import_chunk_2ESYSVXG.__commonJS)({
1771
1634
  }
1772
1635
  });
1773
1636
  var require_result = (0, import_chunk_2ESYSVXG.__commonJS)({
1774
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/result.js"(exports, module2) {
1637
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/result.js"(exports, module2) {
1775
1638
  "use strict";
1776
1639
  var types = require_pg_types();
1777
1640
  var matchRegexp = /^([A-Za-z]+)(?: (\d+))?(?: (\d+))?/;
@@ -1859,7 +1722,7 @@ var require_result = (0, import_chunk_2ESYSVXG.__commonJS)({
1859
1722
  }
1860
1723
  });
1861
1724
  var require_query = (0, import_chunk_2ESYSVXG.__commonJS)({
1862
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/query.js"(exports, module2) {
1725
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/query.js"(exports, module2) {
1863
1726
  "use strict";
1864
1727
  var { EventEmitter } = (0, import_chunk_2ESYSVXG.__require)("events");
1865
1728
  var Result = require_result();
@@ -1989,12 +1852,7 @@ var require_query = (0, import_chunk_2ESYSVXG.__commonJS)({
1989
1852
  return new Error("Query values must be an array");
1990
1853
  }
1991
1854
  if (this.requiresPreparation()) {
1992
- connection.stream.cork && connection.stream.cork();
1993
- try {
1994
- this.prepare(connection);
1995
- } finally {
1996
- connection.stream.uncork && connection.stream.uncork();
1997
- }
1855
+ this.prepare(connection);
1998
1856
  } else {
1999
1857
  connection.query(this.text);
2000
1858
  }
@@ -2055,7 +1913,7 @@ var require_query = (0, import_chunk_2ESYSVXG.__commonJS)({
2055
1913
  }
2056
1914
  });
2057
1915
  var require_messages = (0, import_chunk_2ESYSVXG.__commonJS)({
2058
- "../../node_modules/.pnpm/pg-protocol@1.8.0/node_modules/pg-protocol/dist/messages.js"(exports) {
1916
+ "../../node_modules/.pnpm/pg-protocol@1.7.1/node_modules/pg-protocol/dist/messages.js"(exports) {
2059
1917
  "use strict";
2060
1918
  Object.defineProperty(exports, "__esModule", { value: true });
2061
1919
  exports.NoticeMessage = exports.DataRowMessage = exports.CommandCompleteMessage = exports.ReadyForQueryMessage = exports.NotificationResponseMessage = exports.BackendKeyDataMessage = exports.AuthenticationMD5Password = exports.ParameterStatusMessage = exports.ParameterDescriptionMessage = exports.RowDescriptionMessage = exports.Field = exports.CopyResponse = exports.CopyDataMessage = exports.DatabaseError = exports.copyDone = exports.emptyQuery = exports.replicationStart = exports.portalSuspended = exports.noData = exports.closeComplete = exports.bindComplete = exports.parseComplete = void 0;
@@ -2218,7 +2076,7 @@ var require_messages = (0, import_chunk_2ESYSVXG.__commonJS)({
2218
2076
  }
2219
2077
  });
2220
2078
  var require_buffer_writer = (0, import_chunk_2ESYSVXG.__commonJS)({
2221
- "../../node_modules/.pnpm/pg-protocol@1.8.0/node_modules/pg-protocol/dist/buffer-writer.js"(exports) {
2079
+ "../../node_modules/.pnpm/pg-protocol@1.7.1/node_modules/pg-protocol/dist/buffer-writer.js"(exports) {
2222
2080
  "use strict";
2223
2081
  Object.defineProperty(exports, "__esModule", { value: true });
2224
2082
  exports.Writer = void 0;
@@ -2297,7 +2155,7 @@ var require_buffer_writer = (0, import_chunk_2ESYSVXG.__commonJS)({
2297
2155
  }
2298
2156
  });
2299
2157
  var require_serializer = (0, import_chunk_2ESYSVXG.__commonJS)({
2300
- "../../node_modules/.pnpm/pg-protocol@1.8.0/node_modules/pg-protocol/dist/serializer.js"(exports) {
2158
+ "../../node_modules/.pnpm/pg-protocol@1.7.1/node_modules/pg-protocol/dist/serializer.js"(exports) {
2301
2159
  "use strict";
2302
2160
  Object.defineProperty(exports, "__esModule", { value: true });
2303
2161
  exports.serialize = void 0;
@@ -2511,7 +2369,7 @@ var require_serializer = (0, import_chunk_2ESYSVXG.__commonJS)({
2511
2369
  }
2512
2370
  });
2513
2371
  var require_buffer_reader = (0, import_chunk_2ESYSVXG.__commonJS)({
2514
- "../../node_modules/.pnpm/pg-protocol@1.8.0/node_modules/pg-protocol/dist/buffer-reader.js"(exports) {
2372
+ "../../node_modules/.pnpm/pg-protocol@1.7.1/node_modules/pg-protocol/dist/buffer-reader.js"(exports) {
2515
2373
  "use strict";
2516
2374
  Object.defineProperty(exports, "__esModule", { value: true });
2517
2375
  exports.BufferReader = void 0;
@@ -2569,7 +2427,7 @@ var require_buffer_reader = (0, import_chunk_2ESYSVXG.__commonJS)({
2569
2427
  }
2570
2428
  });
2571
2429
  var require_parser = (0, import_chunk_2ESYSVXG.__commonJS)({
2572
- "../../node_modules/.pnpm/pg-protocol@1.8.0/node_modules/pg-protocol/dist/parser.js"(exports) {
2430
+ "../../node_modules/.pnpm/pg-protocol@1.7.1/node_modules/pg-protocol/dist/parser.js"(exports) {
2573
2431
  "use strict";
2574
2432
  Object.defineProperty(exports, "__esModule", { value: true });
2575
2433
  exports.Parser = void 0;
@@ -2858,7 +2716,7 @@ var require_parser = (0, import_chunk_2ESYSVXG.__commonJS)({
2858
2716
  }
2859
2717
  });
2860
2718
  var require_dist = (0, import_chunk_2ESYSVXG.__commonJS)({
2861
- "../../node_modules/.pnpm/pg-protocol@1.8.0/node_modules/pg-protocol/dist/index.js"(exports) {
2719
+ "../../node_modules/.pnpm/pg-protocol@1.7.1/node_modules/pg-protocol/dist/index.js"(exports) {
2862
2720
  "use strict";
2863
2721
  Object.defineProperty(exports, "__esModule", { value: true });
2864
2722
  exports.DatabaseError = exports.serialize = exports.parse = void 0;
@@ -2891,7 +2749,7 @@ var init_empty = (0, import_chunk_2ESYSVXG.__esm)({
2891
2749
  }
2892
2750
  });
2893
2751
  var require_stream = (0, import_chunk_2ESYSVXG.__commonJS)({
2894
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/stream.js"(exports, module2) {
2752
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/stream.js"(exports, module2) {
2895
2753
  "use strict";
2896
2754
  var { getStream, getSecureStream } = getStreamFuncs();
2897
2755
  module2.exports = {
@@ -2956,7 +2814,7 @@ var require_stream = (0, import_chunk_2ESYSVXG.__commonJS)({
2956
2814
  }
2957
2815
  });
2958
2816
  var require_connection = (0, import_chunk_2ESYSVXG.__commonJS)({
2959
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/connection.js"(exports, module2) {
2817
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/connection.js"(exports, module2) {
2960
2818
  "use strict";
2961
2819
  var EventEmitter = (0, import_chunk_2ESYSVXG.__require)("events").EventEmitter;
2962
2820
  var { parse, serialize } = require_dist();
@@ -3425,7 +3283,7 @@ var require_lib = (0, import_chunk_2ESYSVXG.__commonJS)({
3425
3283
  }
3426
3284
  });
3427
3285
  var require_client = (0, import_chunk_2ESYSVXG.__commonJS)({
3428
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/client.js"(exports, module2) {
3286
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/client.js"(exports, module2) {
3429
3287
  "use strict";
3430
3288
  var EventEmitter = (0, import_chunk_2ESYSVXG.__require)("events").EventEmitter;
3431
3289
  var utils = require_utils();
@@ -3460,7 +3318,6 @@ var require_client = (0, import_chunk_2ESYSVXG.__commonJS)({
3460
3318
  this._connected = false;
3461
3319
  this._connectionError = false;
3462
3320
  this._queryable = true;
3463
- this.enableChannelBinding = Boolean(c.enableChannelBinding);
3464
3321
  this.connection = c.connection || new Connection({
3465
3322
  stream: c.stream,
3466
3323
  ssl: this.connectionParameters.ssl,
@@ -3510,9 +3367,6 @@ var require_client = (0, import_chunk_2ESYSVXG.__commonJS)({
3510
3367
  con._ending = true;
3511
3368
  con.stream.destroy(new Error("timeout expired"));
3512
3369
  }, this._connectionTimeoutMillis);
3513
- if (this.connectionTimeoutHandle.unref) {
3514
- this.connectionTimeoutHandle.unref();
3515
- }
3516
3370
  }
3517
3371
  if (this.host && this.host.indexOf("/") === 0) {
3518
3372
  con.connect(this.host + "/.s.PGSQL." + this.port);
@@ -3640,7 +3494,7 @@ var require_client = (0, import_chunk_2ESYSVXG.__commonJS)({
3640
3494
  _handleAuthSASL(msg) {
3641
3495
  this._checkPgPass(() => {
3642
3496
  try {
3643
- this.saslSession = sasl.startSession(msg.mechanisms, this.enableChannelBinding && this.connection.stream);
3497
+ this.saslSession = sasl.startSession(msg.mechanisms);
3644
3498
  this.connection.sendSASLInitialResponseMessage(this.saslSession.mechanism, this.saslSession.response);
3645
3499
  } catch (err) {
3646
3500
  this.connection.emit("error", err);
@@ -3649,12 +3503,7 @@ var require_client = (0, import_chunk_2ESYSVXG.__commonJS)({
3649
3503
  }
3650
3504
  async _handleAuthSASLContinue(msg) {
3651
3505
  try {
3652
- await sasl.continueSession(
3653
- this.saslSession,
3654
- this.password,
3655
- msg.data,
3656
- this.enableChannelBinding && this.connection.stream
3657
- );
3506
+ await sasl.continueSession(this.saslSession, this.password, msg.data);
3658
3507
  this.connection.sendSCRAMClientFinalMessage(this.saslSession.response);
3659
3508
  } catch (err) {
3660
3509
  this.connection.emit("error", err);
@@ -3950,7 +3799,7 @@ var require_client = (0, import_chunk_2ESYSVXG.__commonJS)({
3950
3799
  }
3951
3800
  });
3952
3801
  var require_pg_pool = (0, import_chunk_2ESYSVXG.__commonJS)({
3953
- "../../node_modules/.pnpm/pg-pool@3.8.0_pg@8.14.1/node_modules/pg-pool/index.js"(exports, module2) {
3802
+ "../../node_modules/.pnpm/pg-pool@3.7.1_pg@8.13.3/node_modules/pg-pool/index.js"(exports, module2) {
3954
3803
  "use strict";
3955
3804
  var EventEmitter = (0, import_chunk_2ESYSVXG.__require)("events").EventEmitter;
3956
3805
  var NOOP = function() {
@@ -4116,9 +3965,6 @@ var require_pg_pool = (0, import_chunk_2ESYSVXG.__commonJS)({
4116
3965
  pendingItem.timedOut = true;
4117
3966
  response.callback(new Error("timeout exceeded when trying to connect"));
4118
3967
  }, this.options.connectionTimeoutMillis);
4119
- if (tid.unref) {
4120
- tid.unref();
4121
- }
4122
3968
  this._pendingQueue.push(pendingItem);
4123
3969
  return result;
4124
3970
  }
@@ -4334,7 +4180,7 @@ var require_pg_pool = (0, import_chunk_2ESYSVXG.__commonJS)({
4334
4180
  }
4335
4181
  });
4336
4182
  var require_query2 = (0, import_chunk_2ESYSVXG.__commonJS)({
4337
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/native/query.js"(exports, module2) {
4183
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/native/query.js"(exports, module2) {
4338
4184
  "use strict";
4339
4185
  var EventEmitter = (0, import_chunk_2ESYSVXG.__require)("events").EventEmitter;
4340
4186
  var util = (0, import_chunk_2ESYSVXG.__require)("util");
@@ -4474,7 +4320,7 @@ var require_query2 = (0, import_chunk_2ESYSVXG.__commonJS)({
4474
4320
  }
4475
4321
  });
4476
4322
  var require_client2 = (0, import_chunk_2ESYSVXG.__commonJS)({
4477
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/native/client.js"(exports, module2) {
4323
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/native/client.js"(exports, module2) {
4478
4324
  "use strict";
4479
4325
  var Native;
4480
4326
  try {
@@ -4712,13 +4558,13 @@ var require_client2 = (0, import_chunk_2ESYSVXG.__commonJS)({
4712
4558
  }
4713
4559
  });
4714
4560
  var require_native = (0, import_chunk_2ESYSVXG.__commonJS)({
4715
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/native/index.js"(exports, module2) {
4561
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/native/index.js"(exports, module2) {
4716
4562
  "use strict";
4717
4563
  module2.exports = require_client2();
4718
4564
  }
4719
4565
  });
4720
4566
  var require_lib2 = (0, import_chunk_2ESYSVXG.__commonJS)({
4721
- "../../node_modules/.pnpm/pg@8.14.1/node_modules/pg/lib/index.js"(exports, module2) {
4567
+ "../../node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/index.js"(exports, module2) {
4722
4568
  "use strict";
4723
4569
  var Client = require_client();
4724
4570
  var defaults = require_defaults();