@prisma/migrate 6.5.0-dev.57 → 6.5.0-dev.59
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/bin.js +4 -4
- package/dist/{chunk-56PLVP2I.js → chunk-QBA7W2BT.js} +5 -5
- package/dist/{chunk-PHD26T4E.js → chunk-UUIB2ZT3.js} +6 -6
- package/dist/{chunk-XRTNIFND.js → chunk-YYPMC5FN.js} +203 -108
- package/dist/commands/MigrateDiff.js +3 -3
- package/dist/index.js +3 -3
- package/dist/utils/setupMysql.js +231 -99
- package/package.json +7 -7
package/dist/utils/setupMysql.js
CHANGED
|
@@ -33,16 +33,16 @@ __export(setupMysql_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(setupMysql_exports);
|
|
35
35
|
var import_chunk_LOGAFLCN = require("../chunk-LOGAFLCN.js");
|
|
36
|
-
var
|
|
36
|
+
var import_chunk_YYPMC5FN = require("../chunk-YYPMC5FN.js");
|
|
37
37
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
38
38
|
var import_internals = require("@prisma/internals");
|
|
39
39
|
var import_fs = __toESM(require("fs"));
|
|
40
40
|
var import_path = __toESM(require("path"));
|
|
41
41
|
var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
42
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
42
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/package.json"(exports, module2) {
|
|
43
43
|
module2.exports = {
|
|
44
44
|
name: "mariadb",
|
|
45
|
-
version: "3.
|
|
45
|
+
version: "3.4.0",
|
|
46
46
|
description: "fast mariadb or mysql connector.",
|
|
47
47
|
main: "promise.js",
|
|
48
48
|
types: "types/index.d.ts",
|
|
@@ -91,14 +91,14 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
91
91
|
license: "LGPL-2.1-or-later",
|
|
92
92
|
dependencies: {
|
|
93
93
|
"@types/geojson": "^7946.0.14",
|
|
94
|
-
"@types/node": "^
|
|
94
|
+
"@types/node": "^22.5.4",
|
|
95
95
|
denque: "^2.1.0",
|
|
96
96
|
"iconv-lite": "^0.6.3",
|
|
97
|
-
"lru-cache": "^10.
|
|
97
|
+
"lru-cache": "^10.3.0"
|
|
98
98
|
},
|
|
99
99
|
devDependencies: {
|
|
100
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
101
|
-
"@typescript-eslint/parser": "^
|
|
100
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
101
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
102
102
|
benchmark: "^2.1.4",
|
|
103
103
|
chai: "^4.4.1",
|
|
104
104
|
chalk: "^4.1.2",
|
|
@@ -111,7 +111,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
111
111
|
"mocha-lcov-reporter": "^1.3.0",
|
|
112
112
|
nyc: "^15.1.0",
|
|
113
113
|
prettier: "^3.0.3",
|
|
114
|
-
typescript: "^5.
|
|
114
|
+
typescript: "^5.6.2",
|
|
115
115
|
winston: "^3.10.0"
|
|
116
116
|
},
|
|
117
117
|
bugs: {
|
|
@@ -122,7 +122,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
124
|
var require_check_node = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
125
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
125
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/check-node.js"(exports, module2) {
|
|
126
126
|
"use strict";
|
|
127
127
|
var hasMinVersion = function(nodeVersionStr, connectorRequirement2) {
|
|
128
128
|
const versNode = nodeVersionStr.split(".");
|
|
@@ -460,7 +460,7 @@ var require_denque = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
460
460
|
}
|
|
461
461
|
});
|
|
462
462
|
var require_error_code = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
463
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
463
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/const/error-code.js"(exports, module2) {
|
|
464
464
|
"use strict";
|
|
465
465
|
var codes = {};
|
|
466
466
|
codes[120] = "HA_ERR_KEY_NOT_FOUND";
|
|
@@ -1758,7 +1758,7 @@ var require_error_code = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
1758
1758
|
}
|
|
1759
1759
|
});
|
|
1760
1760
|
var require_errors = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
1761
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
1761
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/misc/errors.js"(exports, module2) {
|
|
1762
1762
|
"use strict";
|
|
1763
1763
|
var ErrorCodes = require_error_code();
|
|
1764
1764
|
var SqlError = class extends Error {
|
|
@@ -1847,6 +1847,8 @@ var require_errors = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
1847
1847
|
module2.exports.ER_MISSING_DATABASE_PARAMETER = 45055;
|
|
1848
1848
|
module2.exports.ER_SELF_SIGNED = 45056;
|
|
1849
1849
|
module2.exports.ER_SELF_SIGNED_NO_PWD = 45057;
|
|
1850
|
+
module2.exports.ER_PRIVATE_FIELDS_USE = 45058;
|
|
1851
|
+
module2.exports.ER_TLS_IDENTITY_ERROR = 45059;
|
|
1850
1852
|
var keys = Object.keys(module2.exports);
|
|
1851
1853
|
var errByNo = {};
|
|
1852
1854
|
for (let i = 0; i < keys.length; i++) {
|
|
@@ -1859,7 +1861,7 @@ var require_errors = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
1859
1861
|
}
|
|
1860
1862
|
});
|
|
1861
1863
|
var require_packet = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
1862
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
1864
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/io/packet.js"(exports, module2) {
|
|
1863
1865
|
"use strict";
|
|
1864
1866
|
var Errors = require_errors();
|
|
1865
1867
|
var Packet = class {
|
|
@@ -2334,7 +2336,7 @@ var require_packet = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
2334
2336
|
}
|
|
2335
2337
|
});
|
|
2336
2338
|
var require_packet_node_encoded = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
2337
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
2339
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/io/packet-node-encoded.js"(exports, module2) {
|
|
2338
2340
|
"use strict";
|
|
2339
2341
|
var Packet = require_packet();
|
|
2340
2342
|
var PacketNodeEncoded = class _PacketNodeEncoded extends Packet {
|
|
@@ -2365,7 +2367,7 @@ var require_packet_node_encoded = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
2365
2367
|
}
|
|
2366
2368
|
});
|
|
2367
2369
|
var require_packet_node_iconv = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
2368
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
2370
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/io/packet-node-iconv.js"(exports, module2) {
|
|
2369
2371
|
"use strict";
|
|
2370
2372
|
var Packet = require_packet();
|
|
2371
2373
|
var Iconv = (0, import_chunk_LOGAFLCN.require_lib)();
|
|
@@ -2397,7 +2399,7 @@ var require_packet_node_iconv = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
2397
2399
|
}
|
|
2398
2400
|
});
|
|
2399
2401
|
var require_collations = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
2400
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
2402
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/const/collations.js"(exports, module2) {
|
|
2401
2403
|
"use strict";
|
|
2402
2404
|
var charsets = [];
|
|
2403
2405
|
var defaultCharsets = [];
|
|
@@ -3778,7 +3780,7 @@ var require_collations = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
3778
3780
|
}
|
|
3779
3781
|
});
|
|
3780
3782
|
var require_text_encoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
3781
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
3783
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/encoder/text-encoder.js"(exports, module2) {
|
|
3782
3784
|
"use strict";
|
|
3783
3785
|
var QUOTE = 39;
|
|
3784
3786
|
var formatDigit = function(val, significantDigit) {
|
|
@@ -3987,7 +3989,7 @@ var require_text_encoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
3987
3989
|
}
|
|
3988
3990
|
});
|
|
3989
3991
|
var require_utils = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
3990
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
3992
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/misc/utils.js"(exports, module2) {
|
|
3991
3993
|
"use strict";
|
|
3992
3994
|
var hexArray = "0123456789ABCDEF".split("");
|
|
3993
3995
|
var Errors = require_errors();
|
|
@@ -4186,7 +4188,7 @@ var require_utils = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
4186
4188
|
}
|
|
4187
4189
|
});
|
|
4188
4190
|
var require_packet_input_stream = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
4189
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
4191
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/io/packet-input-stream.js"(exports, module2) {
|
|
4190
4192
|
"use strict";
|
|
4191
4193
|
var PacketNodeEncoded = require_packet_node_encoded();
|
|
4192
4194
|
var PacketIconvEncoded = require_packet_node_iconv();
|
|
@@ -4351,7 +4353,7 @@ ${Utils.log(this.opts, packet.buf, packet.pos, packet.end, this.header)}`
|
|
|
4351
4353
|
}
|
|
4352
4354
|
});
|
|
4353
4355
|
var require_packet_output_stream = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
4354
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
4356
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/io/packet-output-stream.js"(exports, module2) {
|
|
4355
4357
|
"use strict";
|
|
4356
4358
|
var Iconv = (0, import_chunk_LOGAFLCN.require_lib)();
|
|
4357
4359
|
var Utils = require_utils();
|
|
@@ -4980,7 +4982,7 @@ ${Utils.log(
|
|
|
4980
4982
|
}
|
|
4981
4983
|
});
|
|
4982
4984
|
var require_compression_input_stream = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
4983
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
4985
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/io/compression-input-stream.js"(exports, module2) {
|
|
4984
4986
|
"use strict";
|
|
4985
4987
|
var ZLib = (0, import_chunk_WWAWV7DQ.__require)("zlib");
|
|
4986
4988
|
var Utils = require_utils();
|
|
@@ -5102,7 +5104,7 @@ ${Utils.log(this.opts, chunk, 0, chunk.length, this.header)}`
|
|
|
5102
5104
|
}
|
|
5103
5105
|
});
|
|
5104
5106
|
var require_compression_output_stream = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5105
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5107
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/io/compression-output-stream.js"(exports, module2) {
|
|
5106
5108
|
"use strict";
|
|
5107
5109
|
var Utils = require_utils();
|
|
5108
5110
|
var ZLib = (0, import_chunk_WWAWV7DQ.__require)("zlib");
|
|
@@ -5233,7 +5235,7 @@ ${Utils.log(this.opts, emptyBuf, 0, 7)}`
|
|
|
5233
5235
|
}
|
|
5234
5236
|
});
|
|
5235
5237
|
var require_server_status = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5236
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5238
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/const/server-status.js"(exports, module2) {
|
|
5237
5239
|
"use strict";
|
|
5238
5240
|
module2.exports.STATUS_IN_TRANS = 1;
|
|
5239
5241
|
module2.exports.STATUS_AUTOCOMMIT = 2;
|
|
@@ -5252,7 +5254,7 @@ var require_server_status = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5252
5254
|
}
|
|
5253
5255
|
});
|
|
5254
5256
|
var require_connection_information = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5255
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5257
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/misc/connection-information.js"(exports, module2) {
|
|
5256
5258
|
"use strict";
|
|
5257
5259
|
var _redirectFct;
|
|
5258
5260
|
var ConnectionInformation = class {
|
|
@@ -5319,7 +5321,7 @@ var require_connection_information = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5319
5321
|
}
|
|
5320
5322
|
});
|
|
5321
5323
|
var require_capabilities = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5322
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5324
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/const/capabilities.js"(exports, module2) {
|
|
5323
5325
|
"use strict";
|
|
5324
5326
|
module2.exports.MYSQL = 1n;
|
|
5325
5327
|
module2.exports.FOUND_ROWS = 2n;
|
|
@@ -5353,7 +5355,7 @@ var require_capabilities = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5353
5355
|
}
|
|
5354
5356
|
});
|
|
5355
5357
|
var require_connection_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5356
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5358
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/config/connection-options.js"(exports, module2) {
|
|
5357
5359
|
"use strict";
|
|
5358
5360
|
var Collations = require_collations();
|
|
5359
5361
|
var urlFormat = /mariadb:\/\/(([^/@:]+)?(:([^/]+))?@)?(([^/:]+)(:([0-9]+))?)\/([^?]+)(\?(.*))?$/;
|
|
@@ -5443,6 +5445,11 @@ var require_connection_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5443
5445
|
this.queryTimeout = opts.queryTimeout === void 0 ? 0 : opts.queryTimeout;
|
|
5444
5446
|
this.socketTimeout = opts.socketTimeout === void 0 ? 0 : opts.socketTimeout;
|
|
5445
5447
|
this.keepAliveDelay = opts.keepAliveDelay === void 0 ? 0 : opts.keepAliveDelay;
|
|
5448
|
+
if (!opts.keepAliveDelay) {
|
|
5449
|
+
if (opts.enableKeepAlive === true && opts.keepAliveInitialDelay !== void 0) {
|
|
5450
|
+
this.keepAliveDelay = opts.keepAliveInitialDelay;
|
|
5451
|
+
}
|
|
5452
|
+
}
|
|
5446
5453
|
this.trace = opts.trace || false;
|
|
5447
5454
|
this.checkDuplicate = opts.checkDuplicate === void 0 ? true : opts.checkDuplicate;
|
|
5448
5455
|
this.dateStrings = opts.dateStrings || false;
|
|
@@ -5453,6 +5460,10 @@ var require_connection_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5453
5460
|
this.namedPlaceholders = opts.namedPlaceholders || false;
|
|
5454
5461
|
this.nestTables = opts.nestTables;
|
|
5455
5462
|
this.autoJsonMap = opts.autoJsonMap === void 0 ? true : opts.autoJsonMap;
|
|
5463
|
+
this.jsonStrings = opts.jsonStrings || false;
|
|
5464
|
+
if (opts.jsonStrings !== void 0) {
|
|
5465
|
+
this.autoJsonMap = !this.jsonStrings;
|
|
5466
|
+
}
|
|
5456
5467
|
this.bitOneIsBoolean = opts.bitOneIsBoolean === void 0 ? true : opts.bitOneIsBoolean;
|
|
5457
5468
|
this.arrayParenthesis = opts.arrayParenthesis || false;
|
|
5458
5469
|
this.permitSetMultiParamEntries = opts.permitSetMultiParamEntries || false;
|
|
@@ -5537,6 +5548,9 @@ var require_connection_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5537
5548
|
if (opts.trace) opts.trace = opts.trace === "true";
|
|
5538
5549
|
if (opts.ssl && (opts.ssl === "true" || opts.ssl === "false")) opts.ssl = opts.ssl === "true";
|
|
5539
5550
|
if (opts.bitOneIsBoolean) opts.bitOneIsBoolean = opts.bitOneIsBoolean === "true";
|
|
5551
|
+
if (opts.jsonStrings) opts.jsonStrings = opts.jsonStrings === "true";
|
|
5552
|
+
if (opts.enableKeepAlive) opts.enableKeepAlive = opts.enableKeepAlive === "true";
|
|
5553
|
+
if (opts.keepAliveInitialDelay) opts.keepAliveInitialDelay = parseInt(opts.keepAliveInitialDelay);
|
|
5540
5554
|
return opts;
|
|
5541
5555
|
}
|
|
5542
5556
|
static parse(opts) {
|
|
@@ -5572,7 +5586,7 @@ var require_connection_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5572
5586
|
}
|
|
5573
5587
|
});
|
|
5574
5588
|
var require_command = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5575
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5589
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/command.js"(exports, module2) {
|
|
5576
5590
|
"use strict";
|
|
5577
5591
|
var EventEmitter = (0, import_chunk_WWAWV7DQ.__require)("events");
|
|
5578
5592
|
var Errors = require_errors();
|
|
@@ -5695,7 +5709,7 @@ var require_command = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5695
5709
|
}
|
|
5696
5710
|
});
|
|
5697
5711
|
var require_plugin_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5698
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5712
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/auth/plugin-auth.js"(exports, module2) {
|
|
5699
5713
|
"use strict";
|
|
5700
5714
|
var Command = require_command();
|
|
5701
5715
|
var PluginAuth = class extends Command {
|
|
@@ -5714,7 +5728,7 @@ var require_plugin_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5714
5728
|
}
|
|
5715
5729
|
});
|
|
5716
5730
|
var require_initial_handshake = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5717
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5731
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/auth/initial-handshake.js"(exports, module2) {
|
|
5718
5732
|
"use strict";
|
|
5719
5733
|
var Capabilities = require_capabilities();
|
|
5720
5734
|
var Collations = require_collations();
|
|
@@ -5769,7 +5783,7 @@ var require_initial_handshake = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5769
5783
|
}
|
|
5770
5784
|
});
|
|
5771
5785
|
var require_client_capabilities = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5772
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5786
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/client-capabilities.js"(exports, module2) {
|
|
5773
5787
|
"use strict";
|
|
5774
5788
|
var Capabilities = require_capabilities();
|
|
5775
5789
|
module2.exports.init = function(opts, info) {
|
|
@@ -5812,7 +5826,7 @@ var require_client_capabilities = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5812
5826
|
}
|
|
5813
5827
|
});
|
|
5814
5828
|
var require_ssl_request = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5815
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5829
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/ssl-request.js"(exports, module2) {
|
|
5816
5830
|
"use strict";
|
|
5817
5831
|
var Capabilities = require_capabilities();
|
|
5818
5832
|
module2.exports.send = function sendSSLRequest(cmd, out, info, opts) {
|
|
@@ -5833,7 +5847,7 @@ var require_ssl_request = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5833
5847
|
}
|
|
5834
5848
|
});
|
|
5835
5849
|
var require_native_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5836
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5850
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/auth/native-password-auth.js"(exports, module2) {
|
|
5837
5851
|
"use strict";
|
|
5838
5852
|
var PluginAuth = require_plugin_auth();
|
|
5839
5853
|
var Crypto = (0, import_chunk_WWAWV7DQ.__require)("crypto");
|
|
@@ -5886,7 +5900,7 @@ var require_native_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5886
5900
|
}
|
|
5887
5901
|
});
|
|
5888
5902
|
var require_handshake = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
5889
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
5903
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/auth/handshake.js"(exports, module2) {
|
|
5890
5904
|
"use strict";
|
|
5891
5905
|
var PluginAuth = require_plugin_auth();
|
|
5892
5906
|
var InitialHandshake = require_initial_handshake();
|
|
@@ -5929,6 +5943,7 @@ var require_handshake = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5929
5943
|
info.selfSignedCertificate = !secureSocket.authorized;
|
|
5930
5944
|
info.tlsAuthorizationError = secureSocket.authorizationError;
|
|
5931
5945
|
const serverCert = secureSocket.getPeerCertificate(false);
|
|
5946
|
+
info.tlsCert = serverCert;
|
|
5932
5947
|
info.tlsFingerprint = serverCert ? serverCert.fingerprint256.replace(/:/gi, "").toLowerCase() : null;
|
|
5933
5948
|
_Handshake.send.call(this, this, out, opts, handshake.pluginName, info);
|
|
5934
5949
|
});
|
|
@@ -6050,7 +6065,7 @@ var require_handshake = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
6050
6065
|
}
|
|
6051
6066
|
});
|
|
6052
6067
|
var require_state_change = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
6053
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
6068
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/const/state-change.js"(exports, module2) {
|
|
6054
6069
|
"use strict";
|
|
6055
6070
|
module2.exports.SESSION_TRACK_SYSTEM_VARIABLES = 0;
|
|
6056
6071
|
module2.exports.SESSION_TRACK_SCHEMA = 1;
|
|
@@ -6061,7 +6076,7 @@ var require_state_change = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
6061
6076
|
}
|
|
6062
6077
|
});
|
|
6063
6078
|
var require_clear_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
6064
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
6079
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/auth/clear-password-auth.js"(exports, module2) {
|
|
6065
6080
|
"use strict";
|
|
6066
6081
|
var PluginAuth = require_plugin_auth();
|
|
6067
6082
|
var ClearPasswordAuth = class extends PluginAuth {
|
|
@@ -6109,7 +6124,7 @@ var require_clear_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
6109
6124
|
}
|
|
6110
6125
|
});
|
|
6111
6126
|
var require_ed25519_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
6112
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
6127
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/auth/ed25519-password-auth.js"(exports, module2) {
|
|
6113
6128
|
"use strict";
|
|
6114
6129
|
var PluginAuth = require_plugin_auth();
|
|
6115
6130
|
var Crypto = (0, import_chunk_WWAWV7DQ.__require)("crypto");
|
|
@@ -6847,8 +6862,68 @@ var require_ed25519_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
6847
6862
|
module2.exports = Ed25519PasswordAuth;
|
|
6848
6863
|
}
|
|
6849
6864
|
});
|
|
6865
|
+
var require_parsec_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
6866
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/auth/parsec-auth.js"(exports, module2) {
|
|
6867
|
+
"use strict";
|
|
6868
|
+
var PluginAuth = require_plugin_auth();
|
|
6869
|
+
var crypto = (0, import_chunk_WWAWV7DQ.__require)("crypto");
|
|
6870
|
+
var Errors = require_errors();
|
|
6871
|
+
var ParsecAuth = class extends PluginAuth {
|
|
6872
|
+
constructor(packSeq, compressPackSeq, pluginData, cmdParam, reject, multiAuthResolver) {
|
|
6873
|
+
super(cmdParam, multiAuthResolver, reject);
|
|
6874
|
+
this.multiAuthResolver = multiAuthResolver;
|
|
6875
|
+
this.pluginData = pluginData;
|
|
6876
|
+
this.sequenceNo = packSeq;
|
|
6877
|
+
this.compressSequenceNo = compressPackSeq;
|
|
6878
|
+
}
|
|
6879
|
+
start(out, opts, info) {
|
|
6880
|
+
if (!info.extSalt) {
|
|
6881
|
+
out.startPacket(this);
|
|
6882
|
+
out.writeEmptyPacket(true);
|
|
6883
|
+
this.onPacketReceive = this.requestForSalt;
|
|
6884
|
+
} else {
|
|
6885
|
+
this.parseExtSalt(Buffer.from(info.extSalt, "hex"), info);
|
|
6886
|
+
this.sendScramble(out, opts, info);
|
|
6887
|
+
}
|
|
6888
|
+
}
|
|
6889
|
+
requestForSalt(packet, out, opts, info) {
|
|
6890
|
+
this.parseExtSalt(packet.readBufferRemaining(), info);
|
|
6891
|
+
this.sendScramble(out, opts, info);
|
|
6892
|
+
}
|
|
6893
|
+
parseExtSalt(extSalt, info) {
|
|
6894
|
+
if (extSalt.length < 2 || extSalt[0] !== 80 || extSalt[1] > 3) {
|
|
6895
|
+
return this.throwError(
|
|
6896
|
+
Errors.createFatalError("Wrong parsec authentication format", Errors.ER_AUTHENTICATION_BAD_PACKET, info),
|
|
6897
|
+
info
|
|
6898
|
+
);
|
|
6899
|
+
}
|
|
6900
|
+
this.iterations = extSalt[1];
|
|
6901
|
+
this.salt = extSalt.slice(2);
|
|
6902
|
+
}
|
|
6903
|
+
sendScramble(out, opts, info) {
|
|
6904
|
+
const derivedKey = crypto.pbkdf2Sync(opts.password || "", this.salt, 1024 << this.iterations, 32, "sha512");
|
|
6905
|
+
const privateKey = toPkcs8der(derivedKey);
|
|
6906
|
+
const client_scramble = crypto.randomBytes(32);
|
|
6907
|
+
const message = Buffer.concat([this.pluginData, client_scramble]);
|
|
6908
|
+
const signature = crypto.sign(null, message, privateKey);
|
|
6909
|
+
out.startPacket(this);
|
|
6910
|
+
out.writeBuffer(client_scramble, 0, 32);
|
|
6911
|
+
out.writeBuffer(signature, 0, 64);
|
|
6912
|
+
out.flushPacket();
|
|
6913
|
+
this.emit("send_end");
|
|
6914
|
+
this.onPacketReceive = this.multiAuthResolver;
|
|
6915
|
+
}
|
|
6916
|
+
};
|
|
6917
|
+
var toPkcs8der = (rawB64) => {
|
|
6918
|
+
const prefixPrivateEd25519 = Buffer.from("302e020100300506032b657004220420", "hex");
|
|
6919
|
+
const der = Buffer.concat([prefixPrivateEd25519, rawB64]);
|
|
6920
|
+
return crypto.createPrivateKey({ key: der, format: "der", type: "pkcs8" });
|
|
6921
|
+
};
|
|
6922
|
+
module2.exports = ParsecAuth;
|
|
6923
|
+
}
|
|
6924
|
+
});
|
|
6850
6925
|
var require_pam_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
6851
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
6926
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/auth/pam-password-auth.js"(exports, module2) {
|
|
6852
6927
|
"use strict";
|
|
6853
6928
|
var PluginAuth = require_plugin_auth();
|
|
6854
6929
|
var PamPasswordAuth = class extends PluginAuth {
|
|
@@ -6898,7 +6973,7 @@ var require_pam_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
6898
6973
|
}
|
|
6899
6974
|
});
|
|
6900
6975
|
var require_sha256_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
6901
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
6976
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/auth/sha256-password-auth.js"(exports, module2) {
|
|
6902
6977
|
"use strict";
|
|
6903
6978
|
var PluginAuth = require_plugin_auth();
|
|
6904
6979
|
var fs2 = (0, import_chunk_WWAWV7DQ.__require)("fs");
|
|
@@ -7026,7 +7101,7 @@ var require_sha256_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7026
7101
|
}
|
|
7027
7102
|
});
|
|
7028
7103
|
var require_caching_sha2_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7029
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
7104
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/auth/caching-sha2-password-auth.js"(exports, module2) {
|
|
7030
7105
|
"use strict";
|
|
7031
7106
|
var PluginAuth = require_plugin_auth();
|
|
7032
7107
|
var fs2 = (0, import_chunk_WWAWV7DQ.__require)("fs");
|
|
@@ -7136,7 +7211,7 @@ var require_caching_sha2_password_auth = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7136
7211
|
}
|
|
7137
7212
|
});
|
|
7138
7213
|
var require_authentication = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7139
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
7214
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/handshake/authentication.js"(exports, module2) {
|
|
7140
7215
|
"use strict";
|
|
7141
7216
|
var Command = require_command();
|
|
7142
7217
|
var Errors = require_errors();
|
|
@@ -7147,10 +7222,12 @@ var require_authentication = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7147
7222
|
var Collations = require_collations();
|
|
7148
7223
|
var Crypto = (0, import_chunk_WWAWV7DQ.__require)("crypto");
|
|
7149
7224
|
var utils = require_utils();
|
|
7225
|
+
var tls = (0, import_chunk_WWAWV7DQ.__require)("tls");
|
|
7150
7226
|
var authenticationPlugins = {
|
|
7151
7227
|
mysql_native_password: require_native_password_auth(),
|
|
7152
7228
|
mysql_clear_password: require_clear_password_auth(),
|
|
7153
7229
|
client_ed25519: require_ed25519_password_auth(),
|
|
7230
|
+
parsec: require_parsec_auth(),
|
|
7154
7231
|
dialog: require_pam_password_auth(),
|
|
7155
7232
|
sha256_password: require_sha256_password_auth(),
|
|
7156
7233
|
caching_sha2_password: require_caching_sha2_password_auth()
|
|
@@ -7198,26 +7275,39 @@ var require_authentication = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7198
7275
|
packet.skipLengthCodedNumber();
|
|
7199
7276
|
packet.skipLengthCodedNumber();
|
|
7200
7277
|
info.status = packet.readUInt16();
|
|
7201
|
-
if (info.requireValidCert
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
if (
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7278
|
+
if (info.requireValidCert) {
|
|
7279
|
+
if (info.selfSignedCertificate) {
|
|
7280
|
+
packet.skip(2);
|
|
7281
|
+
if (packet.remaining()) {
|
|
7282
|
+
const validationHash = packet.readBufferLengthEncoded();
|
|
7283
|
+
if (validationHash.length > 0) {
|
|
7284
|
+
if (!this.plugin.permitHash() || !this.cmdParam.opts.password || this.cmdParam.opts.password === "") {
|
|
7285
|
+
return this.throwNewError(
|
|
7286
|
+
"Self signed certificates. Either set `ssl: { rejectUnauthorized: false }` (trust mode) or provide server certificate to client",
|
|
7287
|
+
true,
|
|
7288
|
+
info,
|
|
7289
|
+
"08000",
|
|
7290
|
+
Errors.ER_SELF_SIGNED_NO_PWD
|
|
7291
|
+
);
|
|
7292
|
+
}
|
|
7293
|
+
if (this.validateFingerPrint(validationHash, info)) {
|
|
7294
|
+
return this.successEnd();
|
|
7295
|
+
}
|
|
7217
7296
|
}
|
|
7218
7297
|
}
|
|
7298
|
+
return this.throwNewError("self-signed certificate", true, info, "08000", Errors.ER_SELF_SIGNED);
|
|
7299
|
+
} else if (info.requireIdentifyCheck) {
|
|
7300
|
+
const identityError = tls.checkServerIdentity(opts.host, info.tlsCert);
|
|
7301
|
+
if (identityError) {
|
|
7302
|
+
return this.throwNewError(
|
|
7303
|
+
"certificate identify Error: " + identityError.message,
|
|
7304
|
+
true,
|
|
7305
|
+
info,
|
|
7306
|
+
"08000",
|
|
7307
|
+
Errors.ER_TLS_IDENTITY_ERROR
|
|
7308
|
+
);
|
|
7309
|
+
}
|
|
7219
7310
|
}
|
|
7220
|
-
return this.throwNewError("self-signed certificate", true, info, "08000", Errors.ER_SELF_SIGNED);
|
|
7221
7311
|
}
|
|
7222
7312
|
let mustRedirect = false;
|
|
7223
7313
|
if (info.status & ServerStatus.SESSION_STATE_CHANGED) {
|
|
@@ -7279,6 +7369,15 @@ var require_authentication = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7279
7369
|
this.plugin.onPacketReceive = null;
|
|
7280
7370
|
const authErr = packet.readError(info, this.displaySql(), void 0);
|
|
7281
7371
|
authErr.fatal = true;
|
|
7372
|
+
if (info.requireValidCert && info.selfSignedCertificate) {
|
|
7373
|
+
return this.plugin.throwNewError(
|
|
7374
|
+
"Self signed certificates. Either set `ssl: { rejectUnauthorized: false }` (trust mode) or provide server certificate to client",
|
|
7375
|
+
true,
|
|
7376
|
+
info,
|
|
7377
|
+
"08000",
|
|
7378
|
+
Errors.ER_SELF_SIGNED_NO_PWD
|
|
7379
|
+
);
|
|
7380
|
+
}
|
|
7282
7381
|
return this.plugin.throwError(authErr, info);
|
|
7283
7382
|
//*********************************************************************************************************
|
|
7284
7383
|
//* unexpected
|
|
@@ -7381,7 +7480,7 @@ var require_authentication = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7381
7480
|
}
|
|
7382
7481
|
});
|
|
7383
7482
|
var require_quit = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7384
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
7483
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/quit.js"(exports, module2) {
|
|
7385
7484
|
"use strict";
|
|
7386
7485
|
var Command = require_command();
|
|
7387
7486
|
var QUIT_COMMAND = new Uint8Array([1, 0, 0, 0, 1]);
|
|
@@ -7403,7 +7502,7 @@ var require_quit = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7403
7502
|
}
|
|
7404
7503
|
});
|
|
7405
7504
|
var require_ping = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7406
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
7505
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/ping.js"(exports, module2) {
|
|
7407
7506
|
"use strict";
|
|
7408
7507
|
var Command = require_command();
|
|
7409
7508
|
var ServerStatus = require_server_status();
|
|
@@ -7445,7 +7544,7 @@ var require_ping = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7445
7544
|
}
|
|
7446
7545
|
});
|
|
7447
7546
|
var require_reset = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7448
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
7547
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/reset.js"(exports, module2) {
|
|
7449
7548
|
"use strict";
|
|
7450
7549
|
var Command = require_command();
|
|
7451
7550
|
var ServerStatus = require_server_status();
|
|
@@ -7487,7 +7586,7 @@ var require_reset = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7487
7586
|
}
|
|
7488
7587
|
});
|
|
7489
7588
|
var require_field_type = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7490
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
7589
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/const/field-type.js"(exports, module2) {
|
|
7491
7590
|
"use strict";
|
|
7492
7591
|
module2.exports.DECIMAL = 0;
|
|
7493
7592
|
module2.exports.TINY = 1;
|
|
@@ -7556,7 +7655,7 @@ var require_field_type = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7556
7655
|
}
|
|
7557
7656
|
});
|
|
7558
7657
|
var require_field_detail = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7559
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
7658
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/const/field-detail.js"(exports, module2) {
|
|
7560
7659
|
"use strict";
|
|
7561
7660
|
module2.exports.NOT_NULL = 1;
|
|
7562
7661
|
module2.exports.PRIMARY_KEY = 2;
|
|
@@ -7576,7 +7675,7 @@ var require_field_detail = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7576
7675
|
}
|
|
7577
7676
|
});
|
|
7578
7677
|
var require_column_definition = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7579
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
7678
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/column-definition.js"(exports, module2) {
|
|
7580
7679
|
"use strict";
|
|
7581
7680
|
var Collations = require_collations();
|
|
7582
7681
|
var FieldType = require_field_type();
|
|
@@ -7731,7 +7830,7 @@ var require_column_definition = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7731
7830
|
}
|
|
7732
7831
|
});
|
|
7733
7832
|
var require_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
7734
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
7833
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/misc/parse.js"(exports, module2) {
|
|
7735
7834
|
"use strict";
|
|
7736
7835
|
var Errors = require_errors();
|
|
7737
7836
|
var State = {
|
|
@@ -8143,7 +8242,7 @@ var require_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8143
8242
|
}
|
|
8144
8243
|
});
|
|
8145
8244
|
var require_binary_decoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
8146
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
8245
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/decoder/binary-decoder.js"(exports, module2) {
|
|
8147
8246
|
"use strict";
|
|
8148
8247
|
var FieldType = require_field_type();
|
|
8149
8248
|
var Errors = require_errors();
|
|
@@ -8221,6 +8320,8 @@ var require_binary_decoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8221
8320
|
return readBitBinaryBoolean;
|
|
8222
8321
|
}
|
|
8223
8322
|
return readBinaryBuffer;
|
|
8323
|
+
case FieldType.JSON:
|
|
8324
|
+
return opts.jsonStrings ? readStringBinary : readJsonBinary;
|
|
8224
8325
|
default:
|
|
8225
8326
|
if (col.dataTypeFormat && col.dataTypeFormat === "json" && opts.autoJsonMap) {
|
|
8226
8327
|
return readJsonBinary;
|
|
@@ -8364,7 +8465,6 @@ var require_binary_decoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8364
8465
|
DEFAULT_SIGNED_PARSER_TYPE[FieldType.DOUBLE] = readDoubleBinary;
|
|
8365
8466
|
DEFAULT_SIGNED_PARSER_TYPE[FieldType.DATE] = readDateBinary;
|
|
8366
8467
|
DEFAULT_SIGNED_PARSER_TYPE[FieldType.TIME] = readTimeBinary;
|
|
8367
|
-
DEFAULT_SIGNED_PARSER_TYPE[FieldType.JSON] = readJsonBinary;
|
|
8368
8468
|
var DEFAULT_UNSIGNED_PARSER_TYPE = Array(256);
|
|
8369
8469
|
DEFAULT_UNSIGNED_PARSER_TYPE[FieldType.TINY] = readTinyBinaryUnsigned;
|
|
8370
8470
|
DEFAULT_UNSIGNED_PARSER_TYPE[FieldType.YEAR] = readShortBinaryUnsigned;
|
|
@@ -8375,11 +8475,10 @@ var require_binary_decoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8375
8475
|
DEFAULT_UNSIGNED_PARSER_TYPE[FieldType.DOUBLE] = readDoubleBinary;
|
|
8376
8476
|
DEFAULT_UNSIGNED_PARSER_TYPE[FieldType.DATE] = readDateBinary;
|
|
8377
8477
|
DEFAULT_UNSIGNED_PARSER_TYPE[FieldType.TIME] = readTimeBinary;
|
|
8378
|
-
DEFAULT_UNSIGNED_PARSER_TYPE[FieldType.JSON] = readJsonBinary;
|
|
8379
8478
|
}
|
|
8380
8479
|
});
|
|
8381
8480
|
var require_text_decoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
8382
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
8481
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/decoder/text-decoder.js"(exports, module2) {
|
|
8383
8482
|
"use strict";
|
|
8384
8483
|
var FieldType = require_field_type();
|
|
8385
8484
|
var Errors = require_errors();
|
|
@@ -8401,6 +8500,8 @@ var require_text_decoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8401
8500
|
return readBitAsBoolean;
|
|
8402
8501
|
}
|
|
8403
8502
|
return readBufferLengthEncoded;
|
|
8503
|
+
case FieldType.JSON:
|
|
8504
|
+
return opts.jsonStrings ? readStringLengthEncoded : readJson;
|
|
8404
8505
|
default:
|
|
8405
8506
|
if (col.dataTypeFormat && col.dataTypeFormat === "json" && opts.autoJsonMap) {
|
|
8406
8507
|
return readJson;
|
|
@@ -8550,11 +8651,10 @@ var require_text_decoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8550
8651
|
DEFAULT_PARSER_TYPE[FieldType.DATETIME] = readTimestamp;
|
|
8551
8652
|
DEFAULT_PARSER_TYPE[FieldType.TIMESTAMP] = readTimestamp;
|
|
8552
8653
|
DEFAULT_PARSER_TYPE[FieldType.TIME] = readAsciiStringLengthEncoded;
|
|
8553
|
-
DEFAULT_PARSER_TYPE[FieldType.JSON] = readJson;
|
|
8554
8654
|
}
|
|
8555
8655
|
});
|
|
8556
8656
|
var require_ok_packet = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
8557
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
8657
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/class/ok-packet.js"(exports, module2) {
|
|
8558
8658
|
"use strict";
|
|
8559
8659
|
var OkPacket = class {
|
|
8560
8660
|
constructor(affectedRows, insertId, warningStatus) {
|
|
@@ -8567,7 +8667,7 @@ var require_ok_packet = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8567
8667
|
}
|
|
8568
8668
|
});
|
|
8569
8669
|
var require_parser = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
8570
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
8670
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/parser.js"(exports, module2) {
|
|
8571
8671
|
"use strict";
|
|
8572
8672
|
var Command = require_command();
|
|
8573
8673
|
var ServerStatus = require_server_status();
|
|
@@ -8730,6 +8830,9 @@ var require_parser = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8730
8830
|
}
|
|
8731
8831
|
}
|
|
8732
8832
|
}
|
|
8833
|
+
if (this.inStream) {
|
|
8834
|
+
this.handleNewRows(okPacket);
|
|
8835
|
+
}
|
|
8733
8836
|
if (!mustRedirect) {
|
|
8734
8837
|
if (info.redirectRequest && (info.status & ServerStatus.STATUS_IN_TRANS) === 0 && (info.status & ServerStatus.MORE_RESULTS_EXISTS) === 0) {
|
|
8735
8838
|
info.redirect(info.redirectRequest, this.okPacketSuccess.bind(this, okPacket, info));
|
|
@@ -8816,7 +8919,7 @@ var require_parser = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8816
8919
|
for (let i = 0; i < this._columnCount; i++) {
|
|
8817
8920
|
this.tableHeader[i] = [this._columns[i].table(), this._columns[i].name()];
|
|
8818
8921
|
}
|
|
8819
|
-
this.
|
|
8922
|
+
this.checkNestTablesDuplicatesAndPrivateFields();
|
|
8820
8923
|
}
|
|
8821
8924
|
} else {
|
|
8822
8925
|
for (let i = 0; i < this._columnCount; i++) {
|
|
@@ -8846,7 +8949,7 @@ var require_parser = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8846
8949
|
}
|
|
8847
8950
|
}
|
|
8848
8951
|
}
|
|
8849
|
-
|
|
8952
|
+
checkNestTablesDuplicatesAndPrivateFields() {
|
|
8850
8953
|
if (this.opts.checkDuplicate) {
|
|
8851
8954
|
for (let i = 0; i < this._columnCount; i++) {
|
|
8852
8955
|
for (let j = 0; j < i; j++) {
|
|
@@ -8863,6 +8966,20 @@ var require_parser = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8863
8966
|
}
|
|
8864
8967
|
}
|
|
8865
8968
|
}
|
|
8969
|
+
for (let i = 0; i < this._columnCount; i++) {
|
|
8970
|
+
if (privateFields.has(this.tableHeader[i][0])) {
|
|
8971
|
+
this.throwUnexpectedError(
|
|
8972
|
+
`Use of \`${this.tableHeader[i][0]}\` is not permitted with option \`nestTables\``,
|
|
8973
|
+
false,
|
|
8974
|
+
null,
|
|
8975
|
+
"42000",
|
|
8976
|
+
Errors.ER_PRIVATE_FIELDS_USE
|
|
8977
|
+
);
|
|
8978
|
+
this.parseRow = () => {
|
|
8979
|
+
return {};
|
|
8980
|
+
};
|
|
8981
|
+
}
|
|
8982
|
+
}
|
|
8866
8983
|
}
|
|
8867
8984
|
/**
|
|
8868
8985
|
* Read intermediate EOF.
|
|
@@ -9148,11 +9265,18 @@ var require_parser = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
9148
9265
|
function getStringDate(param) {
|
|
9149
9266
|
return "'" + ("00" + (param.getMonth() + 1)).slice(-2) + "/" + ("00" + param.getDate()).slice(-2) + "/" + param.getFullYear() + " " + ("00" + param.getHours()).slice(-2) + ":" + ("00" + param.getMinutes()).slice(-2) + ":" + ("00" + param.getSeconds()).slice(-2) + "." + ("000" + param.getMilliseconds()).slice(-3) + "'";
|
|
9150
9267
|
}
|
|
9268
|
+
var privateFields = /* @__PURE__ */ new Set([
|
|
9269
|
+
"__defineGetter__",
|
|
9270
|
+
"__defineSetter__",
|
|
9271
|
+
"__lookupGetter__",
|
|
9272
|
+
"__lookupSetter__",
|
|
9273
|
+
"__proto__"
|
|
9274
|
+
]);
|
|
9151
9275
|
module2.exports = Parser;
|
|
9152
9276
|
}
|
|
9153
9277
|
});
|
|
9154
9278
|
var require_query = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
9155
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
9279
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/query.js"(exports, module2) {
|
|
9156
9280
|
"use strict";
|
|
9157
9281
|
var Parser = require_parser();
|
|
9158
9282
|
var Errors = require_errors();
|
|
@@ -9467,7 +9591,7 @@ var require_query = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
9467
9591
|
}
|
|
9468
9592
|
});
|
|
9469
9593
|
var require_binary_encoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
9470
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
9594
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/encoder/binary-encoder.js"(exports, module2) {
|
|
9471
9595
|
"use strict";
|
|
9472
9596
|
var BinaryEncoder = class {
|
|
9473
9597
|
/**
|
|
@@ -9706,7 +9830,7 @@ var require_binary_encoder = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
9706
9830
|
}
|
|
9707
9831
|
});
|
|
9708
9832
|
var require_prepare_wrapper = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
9709
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
9833
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/class/prepare-wrapper.js"(exports, module2) {
|
|
9710
9834
|
"use strict";
|
|
9711
9835
|
var _closed, _cacheWrapper, _prepare, _conn;
|
|
9712
9836
|
var PrepareWrapper = class {
|
|
@@ -9766,7 +9890,7 @@ var require_prepare_wrapper = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
9766
9890
|
}
|
|
9767
9891
|
});
|
|
9768
9892
|
var require_prepare_cache_wrapper = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
9769
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
9893
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/class/prepare-cache-wrapper.js"(exports, module2) {
|
|
9770
9894
|
"use strict";
|
|
9771
9895
|
var PrepareWrapper = require_prepare_wrapper();
|
|
9772
9896
|
var _use, _cached, _prepare;
|
|
@@ -9805,7 +9929,7 @@ var require_prepare_cache_wrapper = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
9805
9929
|
}
|
|
9806
9930
|
});
|
|
9807
9931
|
var require_execute = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
9808
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
9932
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/execute.js"(exports, module2) {
|
|
9809
9933
|
"use strict";
|
|
9810
9934
|
var Parser = require_parser();
|
|
9811
9935
|
var Errors = require_errors();
|
|
@@ -10100,7 +10224,7 @@ var require_execute = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
10100
10224
|
}
|
|
10101
10225
|
});
|
|
10102
10226
|
var require_execute_stream = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
10103
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
10227
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/execute-stream.js"(exports, module2) {
|
|
10104
10228
|
"use strict";
|
|
10105
10229
|
var Execute = require_execute();
|
|
10106
10230
|
var { Readable } = (0, import_chunk_WWAWV7DQ.__require)("stream");
|
|
@@ -10152,7 +10276,7 @@ var require_execute_stream = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
10152
10276
|
}
|
|
10153
10277
|
});
|
|
10154
10278
|
var require_prepare_result_packet = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
10155
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
10279
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/class/prepare-result-packet.js"(exports, module2) {
|
|
10156
10280
|
"use strict";
|
|
10157
10281
|
var Errors = require_errors();
|
|
10158
10282
|
var ExecuteStream = require_execute_stream();
|
|
@@ -10272,7 +10396,7 @@ var require_prepare_result_packet = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
10272
10396
|
}
|
|
10273
10397
|
});
|
|
10274
10398
|
var require_prepare = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
10275
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
10399
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/prepare.js"(exports, module2) {
|
|
10276
10400
|
"use strict";
|
|
10277
10401
|
var Parser = require_parser();
|
|
10278
10402
|
var Parse = require_parse();
|
|
@@ -10422,7 +10546,7 @@ var require_prepare = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
10422
10546
|
}
|
|
10423
10547
|
});
|
|
10424
10548
|
var require_close_prepare = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
10425
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
10549
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/close-prepare.js"(exports, module2) {
|
|
10426
10550
|
"use strict";
|
|
10427
10551
|
var Command = require_command();
|
|
10428
10552
|
var ClosePrepare = class extends Command {
|
|
@@ -10453,7 +10577,7 @@ var require_close_prepare = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
10453
10577
|
}
|
|
10454
10578
|
});
|
|
10455
10579
|
var require_batch_bulk = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
10456
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
10580
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/batch-bulk.js"(exports, module2) {
|
|
10457
10581
|
"use strict";
|
|
10458
10582
|
var Parser = require_parser();
|
|
10459
10583
|
var Errors = require_errors();
|
|
@@ -10887,7 +11011,7 @@ var require_batch_bulk = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
10887
11011
|
}
|
|
10888
11012
|
});
|
|
10889
11013
|
var require_change_user = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
10890
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
11014
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/change-user.js"(exports, module2) {
|
|
10891
11015
|
"use strict";
|
|
10892
11016
|
var Iconv = (0, import_chunk_LOGAFLCN.require_lib)();
|
|
10893
11017
|
var Capabilities = require_capabilities();
|
|
@@ -11014,7 +11138,7 @@ var require_change_user = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
11014
11138
|
}
|
|
11015
11139
|
});
|
|
11016
11140
|
var require_connection_status = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
11017
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
11141
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/const/connection_status.js"(exports, module2) {
|
|
11018
11142
|
"use strict";
|
|
11019
11143
|
var Status = {
|
|
11020
11144
|
NOT_CONNECTED: 1,
|
|
@@ -11029,9 +11153,9 @@ var require_connection_status = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
11029
11153
|
}
|
|
11030
11154
|
});
|
|
11031
11155
|
var require_lru_prepare_cache = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
11032
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
11156
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/lru-prepare-cache.js"(exports, module2) {
|
|
11033
11157
|
"use strict";
|
|
11034
|
-
var LRU = (0,
|
|
11158
|
+
var LRU = (0, import_chunk_YYPMC5FN.require_commonjs)();
|
|
11035
11159
|
var _lruCache, _info;
|
|
11036
11160
|
var LruPrepareCache = class {
|
|
11037
11161
|
constructor(info, prepareCacheLength) {
|
|
@@ -11073,7 +11197,7 @@ var require_lru_prepare_cache = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
11073
11197
|
}
|
|
11074
11198
|
});
|
|
11075
11199
|
var require_connection = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
11076
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
11200
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/connection.js"(exports, module2) {
|
|
11077
11201
|
"use strict";
|
|
11078
11202
|
var EventEmitter = (0, import_chunk_WWAWV7DQ.__require)("events");
|
|
11079
11203
|
var Queue = require_denque();
|
|
@@ -11800,6 +11924,11 @@ var require_connection = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
11800
11924
|
}
|
|
11801
11925
|
if (this.opts.socketPath) {
|
|
11802
11926
|
this.socket = Net.connect(this.opts.socketPath);
|
|
11927
|
+
if (this.opts.enableKeepAlive) {
|
|
11928
|
+
this.stream.on("connect", () => {
|
|
11929
|
+
this.stream.setKeepAlive(true, this.opts.keepAliveInitialDelay);
|
|
11930
|
+
});
|
|
11931
|
+
}
|
|
11803
11932
|
} else if (this.opts.stream) {
|
|
11804
11933
|
if (typeof this.opts.stream === "function") {
|
|
11805
11934
|
const tmpSocket = this.opts.stream(
|
|
@@ -11926,10 +12055,13 @@ var require_connection = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
11926
12055
|
*/
|
|
11927
12056
|
createSecureContext(info, callback) {
|
|
11928
12057
|
info.requireValidCert = this.opts.ssl === true || this.opts.ssl.rejectUnauthorized === void 0 || this.opts.ssl.rejectUnauthorized === true;
|
|
12058
|
+
info.requireIdentifyCheck = this.opts.ssl === true || this.opts.ssl.checkServerIdentity === void 0;
|
|
11929
12059
|
const baseConf = {
|
|
11930
12060
|
servername: this.opts.host,
|
|
11931
12061
|
socket: this.socket,
|
|
11932
|
-
rejectUnauthorized: false
|
|
12062
|
+
rejectUnauthorized: false,
|
|
12063
|
+
checkServerIdentity: () => {
|
|
12064
|
+
}
|
|
11933
12065
|
};
|
|
11934
12066
|
const sslOption = this.opts.ssl === true ? baseConf : Object.assign({}, this.opts.ssl, baseConf);
|
|
11935
12067
|
try {
|
|
@@ -12676,7 +12808,7 @@ ${Utils.log(this.opts, packet.buf, packet.pos, packet.end)}`,
|
|
|
12676
12808
|
}
|
|
12677
12809
|
});
|
|
12678
12810
|
var require_stream = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
12679
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
12811
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cmd/stream.js"(exports, module2) {
|
|
12680
12812
|
"use strict";
|
|
12681
12813
|
var Query = require_query();
|
|
12682
12814
|
var { Readable } = (0, import_chunk_WWAWV7DQ.__require)("stream");
|
|
@@ -12727,7 +12859,7 @@ var require_stream = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
12727
12859
|
}
|
|
12728
12860
|
});
|
|
12729
12861
|
var require_connection_promise = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
12730
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
12862
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/connection-promise.js"(exports, module2) {
|
|
12731
12863
|
"use strict";
|
|
12732
12864
|
var Stream = require_stream();
|
|
12733
12865
|
var Errors = require_errors();
|
|
@@ -13045,7 +13177,7 @@ var require_connection_promise = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
13045
13177
|
}
|
|
13046
13178
|
});
|
|
13047
13179
|
var require_pool = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
13048
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
13180
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/pool.js"(exports, module2) {
|
|
13049
13181
|
"use strict";
|
|
13050
13182
|
var { EventEmitter } = (0, import_chunk_WWAWV7DQ.__require)("events");
|
|
13051
13183
|
var Queue = require_denque();
|
|
@@ -13617,7 +13749,7 @@ var require_pool = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
13617
13749
|
}
|
|
13618
13750
|
});
|
|
13619
13751
|
var require_pool_promise = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
13620
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
13752
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/pool-promise.js"(exports, module2) {
|
|
13621
13753
|
"use strict";
|
|
13622
13754
|
var { EventEmitter } = (0, import_chunk_WWAWV7DQ.__require)("events");
|
|
13623
13755
|
var Pool = require_pool();
|
|
@@ -13782,7 +13914,7 @@ var require_pool_promise = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
13782
13914
|
}
|
|
13783
13915
|
});
|
|
13784
13916
|
var require_cluster_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
13785
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
13917
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/config/cluster-options.js"(exports, module2) {
|
|
13786
13918
|
"use strict";
|
|
13787
13919
|
var ClusterOptions = class {
|
|
13788
13920
|
constructor(opts) {
|
|
@@ -13803,7 +13935,7 @@ var require_cluster_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
13803
13935
|
}
|
|
13804
13936
|
});
|
|
13805
13937
|
var require_pool_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
13806
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
13938
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/config/pool-options.js"(exports, module2) {
|
|
13807
13939
|
"use strict";
|
|
13808
13940
|
var ConnOptions = require_connection_options();
|
|
13809
13941
|
var PoolOptions = class {
|
|
@@ -13841,7 +13973,7 @@ var require_pool_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
13841
13973
|
}
|
|
13842
13974
|
});
|
|
13843
13975
|
var require_connection_callback = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
13844
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
13976
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/connection-callback.js"(exports, module2) {
|
|
13845
13977
|
"use strict";
|
|
13846
13978
|
var Errors = require_errors();
|
|
13847
13979
|
var { Status } = require_connection_status();
|
|
@@ -14286,7 +14418,7 @@ var require_connection_callback = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
14286
14418
|
}
|
|
14287
14419
|
});
|
|
14288
14420
|
var require_pool_callback = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
14289
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
14421
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/pool-callback.js"(exports, module2) {
|
|
14290
14422
|
"use strict";
|
|
14291
14423
|
var { EventEmitter } = (0, import_chunk_WWAWV7DQ.__require)("events");
|
|
14292
14424
|
var Pool = require_pool();
|
|
@@ -14482,7 +14614,7 @@ var require_pool_callback = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
14482
14614
|
}
|
|
14483
14615
|
});
|
|
14484
14616
|
var require_filtered_cluster = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
14485
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
14617
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/filtered-cluster.js"(exports, module2) {
|
|
14486
14618
|
"use strict";
|
|
14487
14619
|
var _cluster, _pattern, _selector;
|
|
14488
14620
|
var FilteredCluster = class {
|
|
@@ -14573,7 +14705,7 @@ var require_filtered_cluster = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
14573
14705
|
}
|
|
14574
14706
|
});
|
|
14575
14707
|
var require_cluster = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
14576
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
14708
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/lib/cluster.js"(exports, module2) {
|
|
14577
14709
|
"use strict";
|
|
14578
14710
|
var ClusterOptions = require_cluster_options();
|
|
14579
14711
|
var PoolOptions = require_pool_options();
|
|
@@ -14907,7 +15039,7 @@ var require_cluster = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
14907
15039
|
}
|
|
14908
15040
|
});
|
|
14909
15041
|
var require_promise = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
14910
|
-
"../../node_modules/.pnpm/mariadb@3.
|
|
15042
|
+
"../../node_modules/.pnpm/mariadb@3.4.0/node_modules/mariadb/promise.js"(exports, module2) {
|
|
14911
15043
|
"use strict";
|
|
14912
15044
|
require_check_node();
|
|
14913
15045
|
var Connection = require_connection();
|