drizzle-kit 0.18.1-a48fd5c → 0.18.1-b5dc75c

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.
@@ -1,21 +1,14 @@
1
- #!/usr/bin/env -S node --loader drizzle-kit/loader.mjs -r esbuild-register --no-warnings
1
+ #!/usr/bin/env -S node --loader drizzle-kit/loader.mjs --no-warnings
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
- }) : x)(function(x) {
11
- if (typeof require !== "undefined")
12
- return require.apply(this, arguments);
13
- throw new Error('Dynamic require of "' + x + '" is not supported');
14
- });
15
8
  var __esm = (fn, res) => function __init() {
16
9
  return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
17
10
  };
18
- var __commonJS = (cb, mod) => function __require2() {
11
+ var __commonJS = (cb, mod) => function __require() {
19
12
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
20
13
  };
21
14
  var __export = (target, all) => {
@@ -38,6 +31,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
38
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
39
32
  mod
40
33
  ));
34
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
41
35
 
42
36
  // node_modules/.pnpm/zod@3.20.2/node_modules/zod/lib/index.mjs
43
37
  function getErrorMap() {
@@ -3377,10 +3371,7 @@ var init_ansi_styles = __esm({
3377
3371
  });
3378
3372
 
3379
3373
  // node_modules/.pnpm/chalk@5.2.0/node_modules/chalk/source/vendor/supports-color/index.js
3380
- import process2 from "node:process";
3381
- import os from "node:os";
3382
- import tty from "node:tty";
3383
- function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process2.argv) {
3374
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
3384
3375
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
3385
3376
  const position = argv.indexOf(prefix + flag);
3386
3377
  const terminatorPosition = argv.indexOf("--");
@@ -3435,8 +3426,8 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
3435
3426
  if (env.TERM === "dumb") {
3436
3427
  return min;
3437
3428
  }
3438
- if (process2.platform === "win32") {
3439
- const osRelease = os.release().split(".");
3429
+ if (import_node_process.default.platform === "win32") {
3430
+ const osRelease = import_node_os.default.release().split(".");
3440
3431
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
3441
3432
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
3442
3433
  }
@@ -3489,18 +3480,21 @@ function createSupportsColor(stream, options = {}) {
3489
3480
  });
3490
3481
  return translateLevel(level);
3491
3482
  }
3492
- var env, flagForceColor, supportsColor, supports_color_default;
3483
+ var import_node_process, import_node_os, import_node_tty, env, flagForceColor, supportsColor, supports_color_default;
3493
3484
  var init_supports_color = __esm({
3494
3485
  "node_modules/.pnpm/chalk@5.2.0/node_modules/chalk/source/vendor/supports-color/index.js"() {
3495
- ({ env } = process2);
3486
+ import_node_process = __toESM(require("node:process"), 1);
3487
+ import_node_os = __toESM(require("node:os"), 1);
3488
+ import_node_tty = __toESM(require("node:tty"), 1);
3489
+ ({ env } = import_node_process.default);
3496
3490
  if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
3497
3491
  flagForceColor = 0;
3498
3492
  } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
3499
3493
  flagForceColor = 1;
3500
3494
  }
3501
3495
  supportsColor = {
3502
- stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
3503
- stderr: createSupportsColor({ isTTY: tty.isatty(2) })
3496
+ stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
3497
+ stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
3504
3498
  };
3505
3499
  supports_color_default = supportsColor;
3506
3500
  }
@@ -3705,7 +3699,7 @@ var require_readline = __commonJS({
3705
3699
  var prepareReadLine = () => {
3706
3700
  const stdin = process.stdin;
3707
3701
  const stdout = process.stdout;
3708
- const readline = __require("readline");
3702
+ const readline = require("readline");
3709
3703
  const rl = readline.createInterface({
3710
3704
  input: stdin,
3711
3705
  escapeCodeTimeout: 50
@@ -3723,7 +3717,7 @@ var require_readline = __commonJS({
3723
3717
 
3724
3718
  // node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
3725
3719
  var require_src = __commonJS({
3726
- "node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports, module) {
3720
+ "node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports, module2) {
3727
3721
  "use strict";
3728
3722
  var ESC = "\x1B";
3729
3723
  var CSI = `${ESC}[`;
@@ -3778,7 +3772,7 @@ var require_src = __commonJS({
3778
3772
  return clear;
3779
3773
  }
3780
3774
  };
3781
- module.exports = { cursor, scroll, erase, beep };
3775
+ module2.exports = { cursor, scroll, erase, beep };
3782
3776
  }
3783
3777
  });
3784
3778
 
@@ -3814,7 +3808,7 @@ var require_utils = __commonJS({
3814
3808
 
3815
3809
  // node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js
3816
3810
  var require_lodash = __commonJS({
3817
- "node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js"(exports, module) {
3811
+ "node_modules/.pnpm/lodash.throttle@4.1.1/node_modules/lodash.throttle/index.js"(exports, module2) {
3818
3812
  var FUNC_ERROR_TEXT = "Expected a function";
3819
3813
  var NAN = 0 / 0;
3820
3814
  var symbolTag = "[object Symbol]";
@@ -3956,7 +3950,7 @@ var require_lodash = __commonJS({
3956
3950
  var isBinary = reIsBinary.test(value);
3957
3951
  return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
3958
3952
  }
3959
- module.exports = throttle;
3953
+ module2.exports = throttle;
3960
3954
  }
3961
3955
  });
3962
3956
 
@@ -5289,7 +5283,6 @@ var init_sqliteSchema = __esm({
5289
5283
  });
5290
5284
 
5291
5285
  // src/jsonDiffer.js
5292
- import { diff } from "json-diff";
5293
5286
  function diffForRenamedTables(pairs) {
5294
5287
  const renamed = pairs.map((it) => {
5295
5288
  const from = it.from;
@@ -5304,20 +5297,20 @@ function diffForRenamedTables(pairs) {
5304
5297
  }
5305
5298
  function diffForRenamedTable(t1, t2) {
5306
5299
  t1.name = t2.name;
5307
- const diffed = diff(t1, t2) || {};
5300
+ const diffed = (0, import_json_diff.diff)(t1, t2) || {};
5308
5301
  diffed.name = t2.name;
5309
5302
  return findAlternationsInTable(diffed, t2.schema);
5310
5303
  }
5311
5304
  function diffForRenamedColumn(t1, t2) {
5312
5305
  const renamed = { ...t1, name: t2.name };
5313
- const diffed = diff(renamed, t2) || {};
5306
+ const diffed = (0, import_json_diff.diff)(renamed, t2) || {};
5314
5307
  diffed.name = t2.name;
5315
5308
  return alternationsInColumn(diffed);
5316
5309
  }
5317
5310
  function applyJsonDiff(json1, json2) {
5318
5311
  json1 = JSON.parse(JSON.stringify(json1));
5319
5312
  json2 = JSON.parse(JSON.stringify(json2));
5320
- const rawDiff = diff(json1, json2);
5313
+ const rawDiff = (0, import_json_diff.diff)(json1, json2);
5321
5314
  const difference = rawDiff;
5322
5315
  const tableToSchema = Object.entries(json2.tables).reduce((res, it) => {
5323
5316
  res[it[0]] = it[1].schema;
@@ -5364,10 +5357,11 @@ function applyJsonDiff(json1, json2) {
5364
5357
  deletedSchemas
5365
5358
  };
5366
5359
  }
5367
- var findAlternationsInTable, alternationsInColumn;
5360
+ var import_json_diff, findAlternationsInTable, alternationsInColumn;
5368
5361
  var init_jsonDiffer = __esm({
5369
5362
  "src/jsonDiffer.js"() {
5370
5363
  "use-strict";
5364
+ import_json_diff = require("json-diff");
5371
5365
  findAlternationsInTable = (table4, tableSchema) => {
5372
5366
  const columns = table4.columns ?? {};
5373
5367
  let schema4 = {
@@ -5527,26 +5521,24 @@ var mysqlImports_exports = {};
5527
5521
  __export(mysqlImports_exports, {
5528
5522
  prepareFromMySqlImports: () => prepareFromMySqlImports
5529
5523
  });
5530
- import {
5531
- isMySqlSchema,
5532
- MySqlTable
5533
- } from "drizzle-orm/mysql-core";
5534
- var prepareFromMySqlImports;
5524
+ var import_mysql_core, import_drizzle_orm, prepareFromMySqlImports;
5535
5525
  var init_mysqlImports = __esm({
5536
5526
  "src/serializer/mysqlImports.ts"() {
5527
+ import_mysql_core = require("drizzle-orm/mysql-core");
5528
+ import_drizzle_orm = require("drizzle-orm");
5537
5529
  prepareFromMySqlImports = async (imports) => {
5538
5530
  const tables = [];
5539
5531
  const enums = [];
5540
5532
  const schemas = [];
5541
5533
  for (let i = 0; i < imports.length; i++) {
5542
5534
  const it = imports[i];
5543
- const i0 = await import(it);
5535
+ const i0 = await import(`drizzle://${it}`);
5544
5536
  const i0values = Object.values(i0);
5545
5537
  i0values.forEach((t) => {
5546
- if (t instanceof MySqlTable) {
5538
+ if ((0, import_drizzle_orm.is)(t, import_mysql_core.MySqlTable)) {
5547
5539
  tables.push(t);
5548
5540
  }
5549
- if (isMySqlSchema(t)) {
5541
+ if ((0, import_drizzle_orm.is)(t, import_mysql_core.MySqlSchema)) {
5550
5542
  schemas.push(t);
5551
5543
  }
5552
5544
  });
@@ -5563,12 +5555,6 @@ __export(mysqlSerializer_exports, {
5563
5555
  generateMySqlSnapshot: () => generateMySqlSnapshot,
5564
5556
  indexName: () => indexName
5565
5557
  });
5566
- import {
5567
- MySqlDialect
5568
- } from "drizzle-orm/mysql-core";
5569
- import { getTableName } from "drizzle-orm";
5570
- import { getTableConfig } from "drizzle-orm/mysql-core";
5571
- import { SQL } from "drizzle-orm";
5572
5558
  function clearDefaults(defaultValue, collate) {
5573
5559
  if (typeof collate === "undefined" || collate === null) {
5574
5560
  collate = `utf8mb4`;
@@ -5586,11 +5572,15 @@ function clearDefaults(defaultValue, collate) {
5586
5572
  return `(${resultDefault})`;
5587
5573
  }
5588
5574
  }
5589
- var dialect3, indexName, generateMySqlSnapshot, fromDatabase;
5575
+ var import_mysql_core2, import_drizzle_orm2, import_mysql_core3, import_drizzle_orm3, dialect3, indexName, generateMySqlSnapshot, fromDatabase;
5590
5576
  var init_mysqlSerializer = __esm({
5591
5577
  "src/serializer/mysqlSerializer.ts"() {
5578
+ import_mysql_core2 = require("drizzle-orm/mysql-core");
5579
+ import_drizzle_orm2 = require("drizzle-orm");
5580
+ import_mysql_core3 = require("drizzle-orm/mysql-core");
5581
+ import_drizzle_orm3 = require("drizzle-orm");
5592
5582
  init_serializer();
5593
- dialect3 = new MySqlDialect();
5583
+ dialect3 = new import_mysql_core2.MySqlDialect();
5594
5584
  indexName = (tableName, columns) => {
5595
5585
  return `${tableName}_${columns.join("_")}_index`;
5596
5586
  };
@@ -5604,7 +5594,7 @@ var init_mysqlSerializer = __esm({
5604
5594
  foreignKeys,
5605
5595
  schema: schema4,
5606
5596
  primaryKeys
5607
- } = getTableConfig(table4);
5597
+ } = (0, import_mysql_core3.getTableConfig)(table4);
5608
5598
  const columnsObject = {};
5609
5599
  const indexesObject = {};
5610
5600
  const foreignKeysObject = {};
@@ -5630,7 +5620,7 @@ var init_mysqlSerializer = __esm({
5630
5620
  // : undefined,
5631
5621
  };
5632
5622
  if (column6.default !== void 0) {
5633
- if (column6.default instanceof SQL) {
5623
+ if (column6.default instanceof import_drizzle_orm3.SQL) {
5634
5624
  columnToSet.default = sqlToStr(column6.default);
5635
5625
  } else {
5636
5626
  if (typeof column6.default === "string") {
@@ -5672,7 +5662,7 @@ var init_mysqlSerializer = __esm({
5672
5662
  const onUpdate = fk4.onUpdate ?? "no action";
5673
5663
  const reference = fk4.reference();
5674
5664
  const referenceFT = reference.foreignTable;
5675
- const tableTo = getTableName(referenceFT);
5665
+ const tableTo = (0, import_drizzle_orm2.getTableName)(referenceFT);
5676
5666
  const columnsFrom = reference.columns.map((it) => it.name);
5677
5667
  const columnsTo = reference.foreignColumns.map((it) => it.name);
5678
5668
  return {
@@ -5692,7 +5682,7 @@ var init_mysqlSerializer = __esm({
5692
5682
  const columns2 = value.config.columns;
5693
5683
  const name = value.config.name;
5694
5684
  let indexColumns = columns2.map((it) => {
5695
- if (it instanceof SQL) {
5685
+ if (it instanceof import_drizzle_orm3.SQL) {
5696
5686
  return dialect3.sqlToQuery(it).sql;
5697
5687
  } else {
5698
5688
  return it.name;
@@ -5942,31 +5932,29 @@ var pgImports_exports = {};
5942
5932
  __export(pgImports_exports, {
5943
5933
  prepareFromPgImports: () => prepareFromPgImports
5944
5934
  });
5945
- import {
5946
- PgTable,
5947
- isPgEnum,
5948
- PgSchema
5949
- } from "drizzle-orm/pg-core";
5950
- var prepareFromPgImports;
5935
+ var import_pg_core, import_drizzle_orm4, prepareFromPgImports;
5951
5936
  var init_pgImports = __esm({
5952
5937
  "src/serializer/pgImports.ts"() {
5938
+ import_pg_core = require("drizzle-orm/pg-core");
5939
+ import_drizzle_orm4 = require("drizzle-orm");
5953
5940
  prepareFromPgImports = async (imports) => {
5954
5941
  const tables = [];
5955
5942
  const enums = [];
5956
5943
  const schemas = [];
5957
5944
  for (let i = 0; i < imports.length; i++) {
5958
5945
  const it = imports[i];
5959
- const i0 = await import(it);
5946
+ const i0 = await import(`drizzle://${it}`);
5947
+ console.log(i0);
5960
5948
  const i0values = Object.values(i0);
5961
5949
  i0values.forEach((t) => {
5962
- if (isPgEnum(t)) {
5950
+ if ((0, import_pg_core.isPgEnum)(t)) {
5963
5951
  enums.push(t);
5964
5952
  return;
5965
5953
  }
5966
- if (t instanceof PgTable) {
5954
+ if ((0, import_drizzle_orm4.is)(t, import_pg_core.PgTable)) {
5967
5955
  tables.push(t);
5968
5956
  }
5969
- if (t instanceof PgSchema) {
5957
+ if ((0, import_drizzle_orm4.is)(t, import_pg_core.PgSchema)) {
5970
5958
  schemas.push(t);
5971
5959
  }
5972
5960
  });
@@ -5983,17 +5971,15 @@ __export(pgSerializer_exports, {
5983
5971
  generatePgSnapshot: () => generatePgSnapshot,
5984
5972
  indexName: () => indexName2
5985
5973
  });
5986
- import {
5987
- PgDialect
5988
- } from "drizzle-orm/pg-core";
5989
- import { getTableConfig as getTableConfig2 } from "drizzle-orm/pg-core";
5990
- import { SQL as SQL2 } from "drizzle-orm";
5991
- import { getTableName as getTableName2 } from "drizzle-orm";
5992
- var dialect4, indexName2, generatePgSnapshot, trimChar, fromDatabase2, columnToDefault, defaultForColumn;
5974
+ var import_pg_core2, import_pg_core3, import_drizzle_orm5, import_drizzle_orm6, dialect4, indexName2, generatePgSnapshot, trimChar, fromDatabase2, columnToDefault, defaultForColumn;
5993
5975
  var init_pgSerializer = __esm({
5994
5976
  "src/serializer/pgSerializer.ts"() {
5977
+ import_pg_core2 = require("drizzle-orm/pg-core");
5978
+ import_pg_core3 = require("drizzle-orm/pg-core");
5979
+ import_drizzle_orm5 = require("drizzle-orm");
5980
+ import_drizzle_orm6 = require("drizzle-orm");
5995
5981
  init_serializer();
5996
- dialect4 = new PgDialect();
5982
+ dialect4 = new import_pg_core2.PgDialect();
5997
5983
  indexName2 = (tableName, columns) => {
5998
5984
  return `${tableName}_${columns.join("_")}_index`;
5999
5985
  };
@@ -6008,7 +5994,7 @@ var init_pgSerializer = __esm({
6008
5994
  checks,
6009
5995
  schema: schema4,
6010
5996
  primaryKeys
6011
- } = getTableConfig2(table4);
5997
+ } = (0, import_pg_core3.getTableConfig)(table4);
6012
5998
  const columnsObject = {};
6013
5999
  const indexesObject = {};
6014
6000
  const foreignKeysObject = {};
@@ -6024,7 +6010,7 @@ var init_pgSerializer = __esm({
6024
6010
  notNull
6025
6011
  };
6026
6012
  if (column6.default !== void 0) {
6027
- if (column6.default instanceof SQL2) {
6013
+ if (column6.default instanceof import_drizzle_orm5.SQL) {
6028
6014
  columnToSet.default = sqlToStr(column6.default);
6029
6015
  } else {
6030
6016
  if (typeof column6.default === "string") {
@@ -6063,7 +6049,7 @@ var init_pgSerializer = __esm({
6063
6049
  const onDelete = fk4.onDelete;
6064
6050
  const onUpdate = fk4.onUpdate;
6065
6051
  const reference = fk4.reference();
6066
- const tableTo = getTableName2(reference.foreignTable);
6052
+ const tableTo = (0, import_drizzle_orm6.getTableName)(reference.foreignTable);
6067
6053
  const columnsFrom = reference.columns.map((it) => it.name);
6068
6054
  const columnsTo = reference.foreignColumns.map((it) => it.name);
6069
6055
  return {
@@ -6087,7 +6073,7 @@ var init_pgSerializer = __esm({
6087
6073
  columns2.map((it) => it.name)
6088
6074
  );
6089
6075
  let indexColumns = columns2.map((it) => {
6090
- if (it instanceof SQL2) {
6076
+ if (it instanceof import_drizzle_orm5.SQL) {
6091
6077
  return dialect4.sqlToQuery(it).sql;
6092
6078
  } else {
6093
6079
  return it.name;
@@ -6474,24 +6460,24 @@ var sqliteImports_exports = {};
6474
6460
  __export(sqliteImports_exports, {
6475
6461
  prepareFromSqliteImports: () => prepareFromSqliteImports
6476
6462
  });
6477
- import { SQLiteTable } from "drizzle-orm/sqlite-core";
6478
- var prepareFromSqliteImports;
6463
+ var import_sqlite_core, import_drizzle_orm7, prepareFromSqliteImports;
6479
6464
  var init_sqliteImports = __esm({
6480
6465
  "src/serializer/sqliteImports.ts"() {
6466
+ import_sqlite_core = require("drizzle-orm/sqlite-core");
6467
+ import_drizzle_orm7 = require("drizzle-orm");
6481
6468
  prepareFromSqliteImports = async (imports) => {
6482
6469
  const tables = [];
6483
6470
  const enums = [];
6484
6471
  for (let i = 0; i < imports.length; i++) {
6485
6472
  const it = imports[i];
6486
- const i0 = await import(it);
6473
+ const i0 = await import(`drizzle://${it}`);
6487
6474
  const i0values = Object.values(i0);
6488
6475
  i0values.forEach((t) => {
6489
- if (t instanceof SQLiteTable) {
6476
+ if ((0, import_drizzle_orm7.is)(t, import_sqlite_core.SQLiteTable)) {
6490
6477
  tables.push(t);
6491
6478
  }
6492
6479
  });
6493
6480
  }
6494
- ;
6495
6481
  return { tables, enums };
6496
6482
  };
6497
6483
  }
@@ -6502,18 +6488,14 @@ var sqliteSerializer_exports = {};
6502
6488
  __export(sqliteSerializer_exports, {
6503
6489
  generateSqliteSnapshot: () => generateSqliteSnapshot
6504
6490
  });
6505
- import { getTableName as getTableName3 } from "drizzle-orm";
6506
- import { SQL as SQL3 } from "drizzle-orm";
6507
- import {
6508
- getTableConfig as getTableConfig3,
6509
- SQLiteBaseInteger,
6510
- SQLiteSyncDialect
6511
- } from "drizzle-orm/sqlite-core";
6512
- var dialect5, generateSqliteSnapshot;
6491
+ var import_drizzle_orm8, import_drizzle_orm9, import_sqlite_core2, dialect5, generateSqliteSnapshot;
6513
6492
  var init_sqliteSerializer = __esm({
6514
6493
  "src/serializer/sqliteSerializer.ts"() {
6494
+ import_drizzle_orm8 = require("drizzle-orm");
6495
+ import_drizzle_orm9 = require("drizzle-orm");
6496
+ import_sqlite_core2 = require("drizzle-orm/sqlite-core");
6515
6497
  init_serializer();
6516
- dialect5 = new SQLiteSyncDialect();
6498
+ dialect5 = new import_sqlite_core2.SQLiteSyncDialect();
6517
6499
  generateSqliteSnapshot = (tables, enums) => {
6518
6500
  const result = {};
6519
6501
  for (const table4 of tables) {
@@ -6527,7 +6509,7 @@ var init_sqliteSerializer = __esm({
6527
6509
  indexes,
6528
6510
  foreignKeys: tableForeignKeys,
6529
6511
  primaryKeys
6530
- } = getTableConfig3(table4);
6512
+ } = (0, import_sqlite_core2.getTableConfig)(table4);
6531
6513
  columns.forEach((column6) => {
6532
6514
  const notNull = column6.notNull;
6533
6515
  const primaryKey = column6.primary;
@@ -6536,10 +6518,10 @@ var init_sqliteSerializer = __esm({
6536
6518
  type: column6.getSQLType(),
6537
6519
  primaryKey,
6538
6520
  notNull,
6539
- autoincrement: column6 instanceof SQLiteBaseInteger ? column6.autoIncrement : void 0
6521
+ autoincrement: column6 instanceof import_sqlite_core2.SQLiteBaseInteger ? column6.autoIncrement : void 0
6540
6522
  };
6541
6523
  if (column6.default !== void 0) {
6542
- if (column6.default instanceof SQL3) {
6524
+ if (column6.default instanceof import_drizzle_orm9.SQL) {
6543
6525
  columnToSet.default = sqlToStr(column6.default);
6544
6526
  } else {
6545
6527
  columnToSet.default = typeof column6.default === "string" ? `'${column6.default}'` : column6.default;
@@ -6557,7 +6539,7 @@ var init_sqliteSerializer = __esm({
6557
6539
  const onUpdate = fk4.onUpdate;
6558
6540
  const reference = fk4.reference();
6559
6541
  const referenceFT = reference.foreignTable;
6560
- const tableTo = getTableName3(referenceFT);
6542
+ const tableTo = (0, import_drizzle_orm8.getTableName)(referenceFT);
6561
6543
  const columnsFrom = reference.columns.map((it) => it.name);
6562
6544
  const columnsTo = reference.foreignColumns.map((it) => it.name);
6563
6545
  return {
@@ -6577,7 +6559,7 @@ var init_sqliteSerializer = __esm({
6577
6559
  const columns2 = value.config.columns;
6578
6560
  const name = value.config.name;
6579
6561
  let indexColumns = columns2.map((it) => {
6580
- if (it instanceof SQL3) {
6562
+ if (it instanceof import_drizzle_orm9.SQL) {
6581
6563
  return dialect5.sqlToQuery(it).sql;
6582
6564
  } else {
6583
6565
  return it.name;
@@ -6585,7 +6567,7 @@ var init_sqliteSerializer = __esm({
6585
6567
  });
6586
6568
  let where = void 0;
6587
6569
  if (value.config.where !== void 0) {
6588
- if (value.config.where instanceof SQL3) {
6570
+ if (value.config.where instanceof import_drizzle_orm9.SQL) {
6589
6571
  where = dialect5.sqlToQuery(value.config.where).sql;
6590
6572
  }
6591
6573
  }
@@ -6624,12 +6606,12 @@ var init_sqliteSerializer = __esm({
6624
6606
  });
6625
6607
 
6626
6608
  // src/serializer/index.ts
6627
- import fs from "fs";
6628
- import Path from "path";
6629
- import * as glob from "glob";
6630
- var sqlToStr, serializeMySql, serializePg, serializeSQLite, prepareFilenames;
6609
+ var import_fs, import_path, glob, sqlToStr, serializeMySql, serializePg, serializeSQLite, prepareFilenames;
6631
6610
  var init_serializer = __esm({
6632
6611
  "src/serializer/index.ts"() {
6612
+ import_fs = __toESM(require("fs"));
6613
+ import_path = __toESM(require("path"));
6614
+ glob = __toESM(require("glob"));
6633
6615
  init_source();
6634
6616
  sqlToStr = (sql) => {
6635
6617
  return sql.toQuery({
@@ -6675,9 +6657,9 @@ ${filenames.join("\n")}
6675
6657
  const result = path3.reduce((result2, cur) => {
6676
6658
  const globbed = glob.sync(cur);
6677
6659
  globbed.forEach((it) => {
6678
- const fileName = fs.lstatSync(it).isDirectory() ? null : Path.resolve(it);
6679
- const filenames = fileName ? [fileName] : fs.readdirSync(it).map((file) => Path.join(Path.resolve(it), file));
6680
- filenames.filter((file) => !fs.lstatSync(file).isDirectory()).forEach((file) => result2.add(file));
6660
+ const fileName = import_fs.default.lstatSync(it).isDirectory() ? null : import_path.default.resolve(it);
6661
+ const filenames = fileName ? [fileName] : import_fs.default.readdirSync(it).map((file) => import_path.default.join(import_path.default.resolve(it), file));
6662
+ filenames.filter((file) => !import_fs.default.lstatSync(file).isDirectory()).forEach((file) => result2.add(file));
6681
6663
  });
6682
6664
  return result2;
6683
6665
  }, /* @__PURE__ */ new Set());
@@ -6687,18 +6669,18 @@ ${filenames.join("\n")}
6687
6669
  });
6688
6670
 
6689
6671
  // src/migrationPreparator.ts
6690
- import fs2 from "fs";
6691
- import { randomUUID } from "crypto";
6692
- var prepareMySqlDbPushSnapshot, prepareMySqlMigrationSnapshot, prepareSqliteMigrationSnapshot, preparePgMigrationSnapshot, preparePrevSnapshot;
6672
+ var import_fs2, import_crypto, prepareMySqlDbPushSnapshot, prepareMySqlMigrationSnapshot, prepareSqliteMigrationSnapshot, preparePgMigrationSnapshot, preparePrevSnapshot;
6693
6673
  var init_migrationPreparator = __esm({
6694
6674
  "src/migrationPreparator.ts"() {
6675
+ import_fs2 = __toESM(require("fs"));
6676
+ import_crypto = require("crypto");
6695
6677
  init_serializer();
6696
6678
  init_pgSchema();
6697
6679
  init_sqliteSchema();
6698
6680
  init_mysqlSchema();
6699
6681
  prepareMySqlDbPushSnapshot = async (prev, schemaPath) => {
6700
6682
  const serialized = await serializeMySql(schemaPath);
6701
- const id = randomUUID();
6683
+ const id = (0, import_crypto.randomUUID)();
6702
6684
  const idPrev = prev.id;
6703
6685
  const { version, dialect: dialect6, ...rest } = serialized;
6704
6686
  const result = { version, dialect: dialect6, id, prevId: idPrev, ...rest };
@@ -6709,7 +6691,7 @@ var init_migrationPreparator = __esm({
6709
6691
  preparePrevSnapshot(migrationFolders, dryMySql)
6710
6692
  );
6711
6693
  const serialized = await serializeMySql(schemaPath);
6712
- const id = randomUUID();
6694
+ const id = (0, import_crypto.randomUUID)();
6713
6695
  const idPrev = prevSnapshot.id;
6714
6696
  const { version, dialect: dialect6, ...rest } = serialized;
6715
6697
  const result = { version, dialect: dialect6, id, prevId: idPrev, ...rest };
@@ -6726,7 +6708,7 @@ var init_migrationPreparator = __esm({
6726
6708
  preparePrevSnapshot(snapshots, drySQLite)
6727
6709
  );
6728
6710
  const serialized = await serializeSQLite(schemaPath);
6729
- const id = randomUUID();
6711
+ const id = (0, import_crypto.randomUUID)();
6730
6712
  const idPrev = prevSnapshot.id;
6731
6713
  const { version, dialect: dialect6, ...rest } = serialized;
6732
6714
  const result = {
@@ -6747,7 +6729,7 @@ var init_migrationPreparator = __esm({
6747
6729
  preparePgMigrationSnapshot = async (snapshots, schemaPath) => {
6748
6730
  const prevSnapshot = pgSchema.parse(preparePrevSnapshot(snapshots, dryPg));
6749
6731
  const serialized = await serializePg(schemaPath);
6750
- const id = randomUUID();
6732
+ const id = (0, import_crypto.randomUUID)();
6751
6733
  const idPrev = prevSnapshot.id;
6752
6734
  const { version, dialect: dialect6, ...rest } = serialized;
6753
6735
  const result = { version, dialect: dialect6, id, prevId: idPrev, ...rest };
@@ -6765,7 +6747,7 @@ var init_migrationPreparator = __esm({
6765
6747
  prevSnapshot = defaultPrev;
6766
6748
  } else {
6767
6749
  const lastSnapshot = snapshots[snapshots.length - 1];
6768
- prevSnapshot = JSON.parse(fs2.readFileSync(lastSnapshot).toString());
6750
+ prevSnapshot = JSON.parse(import_fs2.default.readFileSync(lastSnapshot).toString());
6769
6751
  }
6770
6752
  return prevSnapshot;
6771
6753
  };
@@ -8105,13 +8087,13 @@ __export(migrate_exports, {
8105
8087
  prepareSnapshotFolderName: () => prepareSnapshotFolderName,
8106
8088
  writeResult: () => writeResult
8107
8089
  });
8108
- import fs3 from "fs";
8109
- import path, { join } from "path";
8110
- var import_hanji2, prepareAndMigratePg, prepareMySQLPush, prepareAndMigrateMySql, prepareAndMigrateSqlite, prepareSQL, promptColumnsConflicts, promptTablesConflict, promptSchemasConflict, BREAKPOINT, writeResult, prepareSnapshotFolderName, two;
8090
+ var import_fs3, import_path2, import_hanji2, prepareAndMigratePg, prepareMySQLPush, prepareAndMigrateMySql, prepareAndMigrateSqlite, prepareSQL, promptColumnsConflicts, promptTablesConflict, promptSchemasConflict, BREAKPOINT, writeResult, prepareSnapshotFolderName, two;
8111
8091
  var init_migrate = __esm({
8112
8092
  "src/cli/commands/migrate.ts"() {
8093
+ import_fs3 = __toESM(require("fs"));
8113
8094
  init_migrationPreparator();
8114
8095
  init_snapshotsDiffer();
8096
+ import_path2 = __toESM(require("path"));
8115
8097
  import_hanji2 = __toESM(require_hanji());
8116
8098
  init_views();
8117
8099
  init_source();
@@ -8472,10 +8454,10 @@ var init_migrate = __esm({
8472
8454
  const { prefix, tag } = prepareMigrationMetadata(idx);
8473
8455
  const toSave = JSON.parse(JSON.stringify(cur));
8474
8456
  toSave["_meta"] = _meta;
8475
- const metaFolderPath = join(outFolder, "meta");
8476
- const metaJournal = join(metaFolderPath, "_journal.json");
8477
- fs3.writeFileSync(
8478
- join(metaFolderPath, `${prefix}_snapshot.json`),
8457
+ const metaFolderPath = (0, import_path2.join)(outFolder, "meta");
8458
+ const metaJournal = (0, import_path2.join)(metaFolderPath, "_journal.json");
8459
+ import_fs3.default.writeFileSync(
8460
+ (0, import_path2.join)(metaFolderPath, `${prefix}_snapshot.json`),
8479
8461
  JSON.stringify(toSave, null, 2)
8480
8462
  );
8481
8463
  const sqlDelimiter = breakpoints ? BREAKPOINT : "\n";
@@ -8498,13 +8480,13 @@ ${sql}
8498
8480
  tag,
8499
8481
  breakpoints
8500
8482
  });
8501
- fs3.writeFileSync(metaJournal, JSON.stringify(journal, null, 2));
8502
- fs3.writeFileSync(`${outFolder}/${tag}.sql`, sql);
8483
+ import_fs3.default.writeFileSync(metaJournal, JSON.stringify(journal, null, 2));
8484
+ import_fs3.default.writeFileSync(`${outFolder}/${tag}.sql`, sql);
8503
8485
  (0, import_hanji2.render)(
8504
8486
  `[${source_default.green(
8505
8487
  "\u2713"
8506
8488
  )}] Your SQL migration file \u279C ${source_default.bold.underline.blue(
8507
- path.join(`${outFolder}/${tag}.sql`)
8489
+ import_path2.default.join(`${outFolder}/${tag}.sql`)
8508
8490
  )} \u{1F680}`
8509
8491
  );
8510
8492
  };
@@ -10758,12 +10740,12 @@ var init_snapshotsDiffer = __esm({
10758
10740
  });
10759
10741
 
10760
10742
  // src/cli/commands/pgUp.ts
10761
- import { randomUUID as randomUUID2 } from "crypto";
10762
- import { writeFileSync } from "fs";
10763
- var upPgHandlerV4toV5, upPgHandler, upPgHandlerV4, updateUpToV4, update1to2, update2to3, update3to4;
10743
+ var import_crypto2, import_fs4, upPgHandlerV4toV5, upPgHandler, upPgHandlerV4, updateUpToV4, update1to2, update2to3, update3to4;
10764
10744
  var init_pgUp = __esm({
10765
10745
  "src/cli/commands/pgUp.ts"() {
10766
10746
  init_source();
10747
+ import_crypto2 = require("crypto");
10748
+ import_fs4 = require("fs");
10767
10749
  init_global();
10768
10750
  init_pgSchema();
10769
10751
  init_utils();
@@ -10829,7 +10811,7 @@ var init_pgUp = __esm({
10829
10811
  const result = updateUpToV4(it.raw, prevId);
10830
10812
  prevId = result.id;
10831
10813
  console.log(`[${source_default.green("\u2713")}] ${path3}`);
10832
- writeFileSync(path3, JSON.stringify(result, null, 2));
10814
+ (0, import_fs4.writeFileSync)(path3, JSON.stringify(result, null, 2));
10833
10815
  });
10834
10816
  console.log("Everything's fine \u{1F436}\u{1F525}");
10835
10817
  };
@@ -10944,7 +10926,7 @@ var init_pgUp = __esm({
10944
10926
  return {
10945
10927
  version: "3",
10946
10928
  dialect: "pg",
10947
- id: randomUUID2(),
10929
+ id: (0, import_crypto2.randomUUID)(),
10948
10930
  prevId,
10949
10931
  tables,
10950
10932
  enums: json.enums
@@ -10986,7 +10968,7 @@ var init_pgUp = __esm({
10986
10968
  return {
10987
10969
  version: "4",
10988
10970
  dialect: "pg",
10989
- id: randomUUID2(),
10971
+ id: (0, import_crypto2.randomUUID)(),
10990
10972
  prevId: json.prevId,
10991
10973
  tables,
10992
10974
  enums: json.enums,
@@ -10997,11 +10979,11 @@ var init_pgUp = __esm({
10997
10979
  });
10998
10980
 
10999
10981
  // src/cli/commands/mysqlUp.ts
11000
- import fs4 from "fs";
11001
- var upMysqlHandler, upMySqlHandlerV4toV5, upMysqlHandlerV4, updateToLatestV4, updateV3toV4;
10982
+ var import_fs5, upMysqlHandler, upMySqlHandlerV4toV5, upMysqlHandlerV4, updateToLatestV4, updateV3toV4;
11002
10983
  var init_mysqlUp = __esm({
11003
10984
  "src/cli/commands/mysqlUp.ts"() {
11004
10985
  init_source();
10986
+ import_fs5 = __toESM(require("fs"));
11005
10987
  init_mysqlSchema();
11006
10988
  init_utils();
11007
10989
  upMysqlHandler = (out) => {
@@ -11083,7 +11065,7 @@ var init_mysqlUp = __esm({
11083
11065
  const path3 = it.path;
11084
11066
  const result = updateToLatestV4(it.raw);
11085
11067
  console.log(`[${source_default.green("\u2713")}] ${path3}`);
11086
- fs4.writeFileSync(path3, JSON.stringify(result, null, 2));
11068
+ import_fs5.default.writeFileSync(path3, JSON.stringify(result, null, 2));
11087
11069
  });
11088
11070
  console.log("Everything's fine \u{1F436}\u{1F525}");
11089
11071
  };
@@ -11107,18 +11089,11 @@ var init_mysqlUp = __esm({
11107
11089
  });
11108
11090
 
11109
11091
  // src/cli/commands/upFolders.ts
11110
- import {
11111
- existsSync,
11112
- mkdirSync,
11113
- readdirSync,
11114
- readFileSync,
11115
- rmSync,
11116
- writeFileSync as writeFileSync2
11117
- } from "fs";
11118
- import { join as join2 } from "path";
11119
- var schemasResolverWithSQL, resolveSchemas, resolveTablesWithSQL, resolveTables, resolveColumnsWithSQL, resolveColumns, fullfill, fullfillpg, fullfillmysql, fullfillsqlite, upgradeFolders;
11092
+ var import_fs6, import_path3, schemasResolverWithSQL, resolveSchemas, resolveTablesWithSQL, resolveTables, resolveColumnsWithSQL, resolveColumns, fullfill, fullfillpg, fullfillmysql, fullfillsqlite, upgradeFolders;
11120
11093
  var init_upFolders = __esm({
11121
11094
  "src/cli/commands/upFolders.ts"() {
11095
+ import_fs6 = require("fs");
11096
+ import_path3 = require("path");
11122
11097
  init_jsonDiffer();
11123
11098
  init_mysqlSchema();
11124
11099
  init_sqliteSchema();
@@ -11565,12 +11540,12 @@ var init_upFolders = __esm({
11565
11540
  };
11566
11541
  };
11567
11542
  upgradeFolders = (dialect6, out) => {
11568
- const oldMigrationFolders = readdirSync(out).filter(
11543
+ const oldMigrationFolders = (0, import_fs6.readdirSync)(out).filter(
11569
11544
  (it) => it.length === 14 && /^\d+$/.test(it)
11570
11545
  );
11571
11546
  oldMigrationFolders.sort();
11572
- const metaFolder = join2(`${out}`, "meta");
11573
- if (existsSync(join2(metaFolder, "_journal.json"))) {
11547
+ const metaFolder = (0, import_path3.join)(`${out}`, "meta");
11548
+ if ((0, import_fs6.existsSync)((0, import_path3.join)(metaFolder, "_journal.json"))) {
11574
11549
  return;
11575
11550
  }
11576
11551
  const res = oldMigrationFolders.reduce(
@@ -11583,11 +11558,11 @@ var init_upFolders = __esm({
11583
11558
  date.setUTCMinutes(Number(it.substring(10, 12)));
11584
11559
  date.setUTCSeconds(Number(it.substring(12, 14)));
11585
11560
  date.setUTCMilliseconds(0);
11586
- const path3 = join2(out, it);
11587
- const pathJson = join2(out, it, "snapshot.json");
11588
- const pathSQL = join2(out, it, "migration.sql");
11589
- const snapshot = JSON.parse(readFileSync(pathJson).toString());
11590
- const sql = readFileSync(pathSQL).toString();
11561
+ const path3 = (0, import_path3.join)(out, it);
11562
+ const pathJson = (0, import_path3.join)(out, it, "snapshot.json");
11563
+ const pathSQL = (0, import_path3.join)(out, it, "migration.sql");
11564
+ const snapshot = JSON.parse((0, import_fs6.readFileSync)(pathJson).toString());
11565
+ const sql = (0, import_fs6.readFileSync)(pathSQL).toString();
11591
11566
  res2.entries.push({
11592
11567
  idx: res2.idx,
11593
11568
  version: snapshot["version"],
@@ -11604,8 +11579,8 @@ var init_upFolders = __esm({
11604
11579
  idx: 0
11605
11580
  }
11606
11581
  );
11607
- if (!existsSync(metaFolder)) {
11608
- mkdirSync(metaFolder, { recursive: true });
11582
+ if (!(0, import_fs6.existsSync)(metaFolder)) {
11583
+ (0, import_fs6.mkdirSync)(metaFolder, { recursive: true });
11609
11584
  }
11610
11585
  const journal = dryJournal(dialect6);
11611
11586
  let prev = void 0;
@@ -11619,43 +11594,37 @@ var init_upFolders = __esm({
11619
11594
  breakpoints: false
11620
11595
  });
11621
11596
  const patchedJSON = fullfill(prev, it.json, it.sql, dialect6);
11622
- writeFileSync2(
11623
- join2(`${out}`, "meta", `${prefix}_snapshot.json`),
11597
+ (0, import_fs6.writeFileSync)(
11598
+ (0, import_path3.join)(`${out}`, "meta", `${prefix}_snapshot.json`),
11624
11599
  JSON.stringify(patchedJSON)
11625
11600
  );
11626
- writeFileSync2(join2(`${out}`, `${tag}.sql`), it.sql);
11627
- rmSync(it.path, { recursive: true });
11601
+ (0, import_fs6.writeFileSync)((0, import_path3.join)(`${out}`, `${tag}.sql`), it.sql);
11602
+ (0, import_fs6.rmSync)(it.path, { recursive: true });
11628
11603
  prev = it.json;
11629
11604
  });
11630
- writeFileSync2(join2(metaFolder, "_journal.json"), JSON.stringify(journal));
11605
+ (0, import_fs6.writeFileSync)((0, import_path3.join)(metaFolder, "_journal.json"), JSON.stringify(journal));
11631
11606
  };
11632
11607
  }
11633
11608
  });
11634
11609
 
11635
11610
  // src/utils.ts
11636
- import {
11637
- existsSync as existsSync2,
11638
- mkdirSync as mkdirSync2,
11639
- readdirSync as readdirSync2,
11640
- readFileSync as readFileSync2,
11641
- writeFileSync as writeFileSync3
11642
- } from "fs";
11643
- import { join as join3 } from "path";
11644
- var assertV1OutFolder, dryJournal, snapshotsPriorV4, prepareOutFolder2, mapValues, validatorForDialect, validateWithReport, prepareMigrationFolder, prepareMigrationMeta, schemaRenameKey, tableRenameKey, columnRenameKey;
11611
+ var import_fs7, import_path4, assertV1OutFolder, dryJournal, snapshotsPriorV4, prepareOutFolder2, mapValues, validatorForDialect, validateWithReport, prepareMigrationFolder, prepareMigrationMeta, schemaRenameKey, tableRenameKey, columnRenameKey;
11645
11612
  var init_utils = __esm({
11646
11613
  "src/utils.ts"() {
11614
+ import_fs7 = require("fs");
11647
11615
  init_views();
11648
11616
  init_mysqlSchema();
11649
11617
  init_pgSchema();
11650
11618
  init_sqliteSchema();
11651
11619
  init_source();
11620
+ import_path4 = require("path");
11652
11621
  init_global();
11653
11622
  init_upFolders();
11654
11623
  init_snapshotsDiffer();
11655
11624
  assertV1OutFolder = (out, dialect6) => {
11656
- if (!existsSync2(out))
11625
+ if (!(0, import_fs7.existsSync)(out))
11657
11626
  return;
11658
- const oldMigrationFolders = readdirSync2(out).filter(
11627
+ const oldMigrationFolders = (0, import_fs7.readdirSync)(out).filter(
11659
11628
  (it) => it.length === 14 && /^\d+$/.test(it)
11660
11629
  );
11661
11630
  if (oldMigrationFolders.length > 0) {
@@ -11675,25 +11644,25 @@ var init_utils = __esm({
11675
11644
  };
11676
11645
  };
11677
11646
  snapshotsPriorV4 = (out) => {
11678
- const oldMigrationFolders = readdirSync2(out).filter(
11647
+ const oldMigrationFolders = (0, import_fs7.readdirSync)(out).filter(
11679
11648
  (it) => it.length === 14 && /^\d+$/.test(it)
11680
11649
  );
11681
11650
  oldMigrationFolders.sort();
11682
11651
  return oldMigrationFolders.map((it) => {
11683
- const pathJson = join3(out, it, "snapshot.json");
11652
+ const pathJson = (0, import_path4.join)(out, it, "snapshot.json");
11684
11653
  console.log(pathJson);
11685
11654
  return pathJson;
11686
11655
  });
11687
11656
  };
11688
11657
  prepareOutFolder2 = (out, dialect6) => {
11689
- const meta = join3(out, "meta");
11690
- const journalPath = join3(meta, "_journal.json");
11691
- if (!existsSync2(join3(out, "meta"))) {
11692
- mkdirSync2(meta, { recursive: true });
11693
- writeFileSync3(journalPath, JSON.stringify(dryJournal(dialect6)));
11694
- }
11695
- const journal = JSON.parse(readFileSync2(journalPath).toString());
11696
- const snapshots = readdirSync2(meta).filter((it) => !it.startsWith("_")).map((it) => join3(meta, it));
11658
+ const meta = (0, import_path4.join)(out, "meta");
11659
+ const journalPath = (0, import_path4.join)(meta, "_journal.json");
11660
+ if (!(0, import_fs7.existsSync)((0, import_path4.join)(out, "meta"))) {
11661
+ (0, import_fs7.mkdirSync)(meta, { recursive: true });
11662
+ (0, import_fs7.writeFileSync)(journalPath, JSON.stringify(dryJournal(dialect6)));
11663
+ }
11664
+ const journal = JSON.parse((0, import_fs7.readFileSync)(journalPath).toString());
11665
+ const snapshots = (0, import_fs7.readdirSync)(meta).filter((it) => !it.startsWith("_")).map((it) => (0, import_path4.join)(meta, it));
11697
11666
  snapshots.sort();
11698
11667
  return { meta, snapshots, journal };
11699
11668
  };
@@ -11718,7 +11687,7 @@ var init_utils = __esm({
11718
11687
  const { validator, version } = validatorForDialect(dialect6);
11719
11688
  const result = snapshots.reduce(
11720
11689
  (accum, it) => {
11721
- const raw = JSON.parse(readFileSync2(`./${it}`).toString());
11690
+ const raw = JSON.parse((0, import_fs7.readFileSync)(`./${it}`).toString());
11722
11691
  accum.rawMap[it] = raw;
11723
11692
  if (raw["version"] && Number(raw["version"]) > version) {
11724
11693
  console.log(
@@ -12141,14 +12110,14 @@ var require_SqlString = __commonJS({
12141
12110
 
12142
12111
  // node_modules/.pnpm/sqlstring@2.3.3/node_modules/sqlstring/index.js
12143
12112
  var require_sqlstring = __commonJS({
12144
- "node_modules/.pnpm/sqlstring@2.3.3/node_modules/sqlstring/index.js"(exports, module) {
12145
- module.exports = require_SqlString();
12113
+ "node_modules/.pnpm/sqlstring@2.3.3/node_modules/sqlstring/index.js"(exports, module2) {
12114
+ module2.exports = require_SqlString();
12146
12115
  }
12147
12116
  });
12148
12117
 
12149
12118
  // node_modules/.pnpm/denque@2.1.0/node_modules/denque/index.js
12150
12119
  var require_denque = __commonJS({
12151
- "node_modules/.pnpm/denque@2.1.0/node_modules/denque/index.js"(exports, module) {
12120
+ "node_modules/.pnpm/denque@2.1.0/node_modules/denque/index.js"(exports, module2) {
12152
12121
  "use strict";
12153
12122
  function Denque(array, options) {
12154
12123
  var options = options || {};
@@ -12490,15 +12459,15 @@ var require_denque = __commonJS({
12490
12459
  var nextPow2 = 1 << log2 + 1;
12491
12460
  return Math.max(nextPow2, 4);
12492
12461
  };
12493
- module.exports = Denque;
12462
+ module2.exports = Denque;
12494
12463
  }
12495
12464
  });
12496
12465
 
12497
12466
  // node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js
12498
12467
  var require_iterator = __commonJS({
12499
- "node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js"(exports, module) {
12468
+ "node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js"(exports, module2) {
12500
12469
  "use strict";
12501
- module.exports = function(Yallist) {
12470
+ module2.exports = function(Yallist) {
12502
12471
  Yallist.prototype[Symbol.iterator] = function* () {
12503
12472
  for (let walker = this.head; walker; walker = walker.next) {
12504
12473
  yield walker.value;
@@ -12510,9 +12479,9 @@ var require_iterator = __commonJS({
12510
12479
 
12511
12480
  // node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js
12512
12481
  var require_yallist = __commonJS({
12513
- "node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js"(exports, module) {
12482
+ "node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js"(exports, module2) {
12514
12483
  "use strict";
12515
- module.exports = Yallist;
12484
+ module2.exports = Yallist;
12516
12485
  Yallist.Node = Node;
12517
12486
  Yallist.create = Yallist;
12518
12487
  function Yallist(list) {
@@ -12879,7 +12848,7 @@ var require_yallist = __commonJS({
12879
12848
 
12880
12849
  // node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js
12881
12850
  var require_lru_cache = __commonJS({
12882
- "node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js"(exports, module) {
12851
+ "node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js"(exports, module2) {
12883
12852
  "use strict";
12884
12853
  var Yallist = require_yallist();
12885
12854
  var MAX = Symbol("max");
@@ -13143,7 +13112,7 @@ var require_lru_cache = __commonJS({
13143
13112
  if (hit)
13144
13113
  fn.call(thisp, hit.value, hit.key, self2);
13145
13114
  };
13146
- module.exports = LRUCache;
13115
+ module2.exports = LRUCache;
13147
13116
  }
13148
13117
  });
13149
13118
 
@@ -15232,8 +15201,8 @@ var require_errors = __commonJS({
15232
15201
 
15233
15202
  // node_modules/.pnpm/long@4.0.0/node_modules/long/src/long.js
15234
15203
  var require_long = __commonJS({
15235
- "node_modules/.pnpm/long@4.0.0/node_modules/long/src/long.js"(exports, module) {
15236
- module.exports = Long;
15204
+ "node_modules/.pnpm/long@4.0.0/node_modules/long/src/long.js"(exports, module2) {
15205
+ module2.exports = Long;
15237
15206
  var wasm = null;
15238
15207
  try {
15239
15208
  wasm = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([
@@ -16095,9 +16064,9 @@ var require_long = __commonJS({
16095
16064
 
16096
16065
  // node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.js
16097
16066
  var require_safer = __commonJS({
16098
- "node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.js"(exports, module) {
16067
+ "node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.js"(exports, module2) {
16099
16068
  "use strict";
16100
- var buffer = __require("buffer");
16069
+ var buffer = require("buffer");
16101
16070
  var Buffer2 = buffer.Buffer;
16102
16071
  var safer = {};
16103
16072
  var key;
@@ -16161,7 +16130,7 @@ var require_safer = __commonJS({
16161
16130
  safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength;
16162
16131
  }
16163
16132
  }
16164
- module.exports = safer;
16133
+ module2.exports = safer;
16165
16134
  }
16166
16135
  });
16167
16136
 
@@ -16211,10 +16180,10 @@ var require_bom_handling = __commonJS({
16211
16180
 
16212
16181
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.js
16213
16182
  var require_internal = __commonJS({
16214
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.js"(exports, module) {
16183
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.js"(exports, module2) {
16215
16184
  "use strict";
16216
16185
  var Buffer2 = require_safer().Buffer;
16217
- module.exports = {
16186
+ module2.exports = {
16218
16187
  // Encodings
16219
16188
  utf8: { type: "_internal", bomAware: true },
16220
16189
  cesu8: { type: "_internal", bomAware: true },
@@ -16243,7 +16212,7 @@ var require_internal = __commonJS({
16243
16212
  }
16244
16213
  InternalCodec.prototype.encoder = InternalEncoder;
16245
16214
  InternalCodec.prototype.decoder = InternalDecoder;
16246
- var StringDecoder = __require("string_decoder").StringDecoder;
16215
+ var StringDecoder = require("string_decoder").StringDecoder;
16247
16216
  if (!StringDecoder.prototype.end)
16248
16217
  StringDecoder.prototype.end = function() {
16249
16218
  };
@@ -16985,9 +16954,9 @@ var require_sbcs_codec = __commonJS({
16985
16954
 
16986
16955
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.js
16987
16956
  var require_sbcs_data = __commonJS({
16988
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.js"(exports, module) {
16957
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.js"(exports, module2) {
16989
16958
  "use strict";
16990
- module.exports = {
16959
+ module2.exports = {
16991
16960
  // Not supported by iconv, not sure why.
16992
16961
  "10029": "maccenteuro",
16993
16962
  "maccenteuro": {
@@ -17138,9 +17107,9 @@ var require_sbcs_data = __commonJS({
17138
17107
 
17139
17108
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.js
17140
17109
  var require_sbcs_data_generated = __commonJS({
17141
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports, module) {
17110
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports, module2) {
17142
17111
  "use strict";
17143
- module.exports = {
17112
+ module2.exports = {
17144
17113
  "437": "cp437",
17145
17114
  "737": "cp737",
17146
17115
  "775": "cp775",
@@ -18014,8 +17983,8 @@ var require_dbcs_codec = __commonJS({
18014
17983
 
18015
17984
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.json
18016
17985
  var require_shiftjis = __commonJS({
18017
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.json"(exports, module) {
18018
- module.exports = [
17986
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.json"(exports, module2) {
17987
+ module2.exports = [
18019
17988
  ["0", "\0", 128],
18020
17989
  ["a1", "\uFF61", 62],
18021
17990
  ["8140", "\u3000\u3001\u3002\uFF0C\uFF0E\u30FB\uFF1A\uFF1B\uFF1F\uFF01\u309B\u309C\xB4\uFF40\xA8\uFF3E\uFFE3\uFF3F\u30FD\u30FE\u309D\u309E\u3003\u4EDD\u3005\u3006\u3007\u30FC\u2015\u2010\uFF0F\uFF3C\uFF5E\u2225\uFF5C\u2026\u2025\u2018\u2019\u201C\u201D\uFF08\uFF09\u3014\u3015\uFF3B\uFF3D\uFF5B\uFF5D\u3008", 9, "\uFF0B\uFF0D\xB1\xD7"],
@@ -18145,8 +18114,8 @@ var require_shiftjis = __commonJS({
18145
18114
 
18146
18115
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.json
18147
18116
  var require_eucjp = __commonJS({
18148
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.json"(exports, module) {
18149
- module.exports = [
18117
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.json"(exports, module2) {
18118
+ module2.exports = [
18150
18119
  ["0", "\0", 127],
18151
18120
  ["8ea1", "\uFF61", 62],
18152
18121
  ["a1a1", "\u3000\u3001\u3002\uFF0C\uFF0E\u30FB\uFF1A\uFF1B\uFF1F\uFF01\u309B\u309C\xB4\uFF40\xA8\uFF3E\uFFE3\uFF3F\u30FD\u30FE\u309D\u309E\u3003\u4EDD\u3005\u3006\u3007\u30FC\u2015\u2010\uFF0F\uFF3C\uFF5E\u2225\uFF5C\u2026\u2025\u2018\u2019\u201C\u201D\uFF08\uFF09\u3014\u3015\uFF3B\uFF3D\uFF5B\uFF5D\u3008", 9, "\uFF0B\uFF0D\xB1\xD7\xF7\uFF1D\u2260\uFF1C\uFF1E\u2266\u2267\u221E\u2234\u2642\u2640\xB0\u2032\u2033\u2103\uFFE5\uFF04\uFFE0\uFFE1\uFF05\uFF03\uFF06\uFF0A\uFF20\xA7\u2606\u2605\u25CB\u25CF\u25CE\u25C7"],
@@ -18333,8 +18302,8 @@ var require_eucjp = __commonJS({
18333
18302
 
18334
18303
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.json
18335
18304
  var require_cp936 = __commonJS({
18336
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.json"(exports, module) {
18337
- module.exports = [
18305
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.json"(exports, module2) {
18306
+ module2.exports = [
18338
18307
  ["0", "\0", 127, "\u20AC"],
18339
18308
  ["8140", "\u4E02\u4E04\u4E05\u4E06\u4E0F\u4E12\u4E17\u4E1F\u4E20\u4E21\u4E23\u4E26\u4E29\u4E2E\u4E2F\u4E31\u4E33\u4E35\u4E37\u4E3C\u4E40\u4E41\u4E42\u4E44\u4E46\u4E4A\u4E51\u4E55\u4E57\u4E5A\u4E5B\u4E62\u4E63\u4E64\u4E65\u4E67\u4E68\u4E6A", 5, "\u4E72\u4E74", 9, "\u4E7F", 6, "\u4E87\u4E8A"],
18340
18309
  ["8180", "\u4E90\u4E96\u4E97\u4E99\u4E9C\u4E9D\u4E9E\u4EA3\u4EAA\u4EAF\u4EB0\u4EB1\u4EB4\u4EB6\u4EB7\u4EB8\u4EB9\u4EBC\u4EBD\u4EBE\u4EC8\u4ECC\u4ECF\u4ED0\u4ED2\u4EDA\u4EDB\u4EDC\u4EE0\u4EE2\u4EE6\u4EE7\u4EE9\u4EED\u4EEE\u4EEF\u4EF1\u4EF4\u4EF8\u4EF9\u4EFA\u4EFC\u4EFE\u4F00\u4F02", 6, "\u4F0B\u4F0C\u4F12", 4, "\u4F1C\u4F1D\u4F21\u4F23\u4F28\u4F29\u4F2C\u4F2D\u4F2E\u4F31\u4F33\u4F35\u4F37\u4F39\u4F3B\u4F3E", 4, "\u4F44\u4F45\u4F47", 5, "\u4F52\u4F54\u4F56\u4F61\u4F62\u4F66\u4F68\u4F6A\u4F6B\u4F6D\u4F6E\u4F71\u4F72\u4F75\u4F77\u4F78\u4F79\u4F7A\u4F7D\u4F80\u4F81\u4F82\u4F85\u4F86\u4F87\u4F8A\u4F8C\u4F8E\u4F90\u4F92\u4F93\u4F95\u4F96\u4F98\u4F99\u4F9A\u4F9C\u4F9E\u4F9F\u4FA1\u4FA2"],
@@ -18603,8 +18572,8 @@ var require_cp936 = __commonJS({
18603
18572
 
18604
18573
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.json
18605
18574
  var require_gbk_added = __commonJS({
18606
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.json"(exports, module) {
18607
- module.exports = [
18575
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.json"(exports, module2) {
18576
+ module2.exports = [
18608
18577
  ["a140", "\uE4C6", 62],
18609
18578
  ["a180", "\uE505", 32],
18610
18579
  ["a240", "\uE526", 62],
@@ -18665,15 +18634,15 @@ var require_gbk_added = __commonJS({
18665
18634
 
18666
18635
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json
18667
18636
  var require_gb18030_ranges = __commonJS({
18668
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json"(exports, module) {
18669
- module.exports = { uChars: [128, 165, 169, 178, 184, 216, 226, 235, 238, 244, 248, 251, 253, 258, 276, 284, 300, 325, 329, 334, 364, 463, 465, 467, 469, 471, 473, 475, 477, 506, 594, 610, 712, 716, 730, 930, 938, 962, 970, 1026, 1104, 1106, 8209, 8215, 8218, 8222, 8231, 8241, 8244, 8246, 8252, 8365, 8452, 8454, 8458, 8471, 8482, 8556, 8570, 8596, 8602, 8713, 8720, 8722, 8726, 8731, 8737, 8740, 8742, 8748, 8751, 8760, 8766, 8777, 8781, 8787, 8802, 8808, 8816, 8854, 8858, 8870, 8896, 8979, 9322, 9372, 9548, 9588, 9616, 9622, 9634, 9652, 9662, 9672, 9676, 9680, 9702, 9735, 9738, 9793, 9795, 11906, 11909, 11913, 11917, 11928, 11944, 11947, 11951, 11956, 11960, 11964, 11979, 12284, 12292, 12312, 12319, 12330, 12351, 12436, 12447, 12535, 12543, 12586, 12842, 12850, 12964, 13200, 13215, 13218, 13253, 13263, 13267, 13270, 13384, 13428, 13727, 13839, 13851, 14617, 14703, 14801, 14816, 14964, 15183, 15471, 15585, 16471, 16736, 17208, 17325, 17330, 17374, 17623, 17997, 18018, 18212, 18218, 18301, 18318, 18760, 18811, 18814, 18820, 18823, 18844, 18848, 18872, 19576, 19620, 19738, 19887, 40870, 59244, 59336, 59367, 59413, 59417, 59423, 59431, 59437, 59443, 59452, 59460, 59478, 59493, 63789, 63866, 63894, 63976, 63986, 64016, 64018, 64021, 64025, 64034, 64037, 64042, 65074, 65093, 65107, 65112, 65127, 65132, 65375, 65510, 65536], gbChars: [0, 36, 38, 45, 50, 81, 89, 95, 96, 100, 103, 104, 105, 109, 126, 133, 148, 172, 175, 179, 208, 306, 307, 308, 309, 310, 311, 312, 313, 341, 428, 443, 544, 545, 558, 741, 742, 749, 750, 805, 819, 820, 7922, 7924, 7925, 7927, 7934, 7943, 7944, 7945, 7950, 8062, 8148, 8149, 8152, 8164, 8174, 8236, 8240, 8262, 8264, 8374, 8380, 8381, 8384, 8388, 8390, 8392, 8393, 8394, 8396, 8401, 8406, 8416, 8419, 8424, 8437, 8439, 8445, 8482, 8485, 8496, 8521, 8603, 8936, 8946, 9046, 9050, 9063, 9066, 9076, 9092, 9100, 9108, 9111, 9113, 9131, 9162, 9164, 9218, 9219, 11329, 11331, 11334, 11336, 11346, 11361, 11363, 11366, 11370, 11372, 11375, 11389, 11682, 11686, 11687, 11692, 11694, 11714, 11716, 11723, 11725, 11730, 11736, 11982, 11989, 12102, 12336, 12348, 12350, 12384, 12393, 12395, 12397, 12510, 12553, 12851, 12962, 12973, 13738, 13823, 13919, 13933, 14080, 14298, 14585, 14698, 15583, 15847, 16318, 16434, 16438, 16481, 16729, 17102, 17122, 17315, 17320, 17402, 17418, 17859, 17909, 17911, 17915, 17916, 17936, 17939, 17961, 18664, 18703, 18814, 18962, 19043, 33469, 33470, 33471, 33484, 33485, 33490, 33497, 33501, 33505, 33513, 33520, 33536, 33550, 37845, 37921, 37948, 38029, 38038, 38064, 38065, 38066, 38069, 38075, 38076, 38078, 39108, 39109, 39113, 39114, 39115, 39116, 39265, 39394, 189e3] };
18637
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json"(exports, module2) {
18638
+ module2.exports = { uChars: [128, 165, 169, 178, 184, 216, 226, 235, 238, 244, 248, 251, 253, 258, 276, 284, 300, 325, 329, 334, 364, 463, 465, 467, 469, 471, 473, 475, 477, 506, 594, 610, 712, 716, 730, 930, 938, 962, 970, 1026, 1104, 1106, 8209, 8215, 8218, 8222, 8231, 8241, 8244, 8246, 8252, 8365, 8452, 8454, 8458, 8471, 8482, 8556, 8570, 8596, 8602, 8713, 8720, 8722, 8726, 8731, 8737, 8740, 8742, 8748, 8751, 8760, 8766, 8777, 8781, 8787, 8802, 8808, 8816, 8854, 8858, 8870, 8896, 8979, 9322, 9372, 9548, 9588, 9616, 9622, 9634, 9652, 9662, 9672, 9676, 9680, 9702, 9735, 9738, 9793, 9795, 11906, 11909, 11913, 11917, 11928, 11944, 11947, 11951, 11956, 11960, 11964, 11979, 12284, 12292, 12312, 12319, 12330, 12351, 12436, 12447, 12535, 12543, 12586, 12842, 12850, 12964, 13200, 13215, 13218, 13253, 13263, 13267, 13270, 13384, 13428, 13727, 13839, 13851, 14617, 14703, 14801, 14816, 14964, 15183, 15471, 15585, 16471, 16736, 17208, 17325, 17330, 17374, 17623, 17997, 18018, 18212, 18218, 18301, 18318, 18760, 18811, 18814, 18820, 18823, 18844, 18848, 18872, 19576, 19620, 19738, 19887, 40870, 59244, 59336, 59367, 59413, 59417, 59423, 59431, 59437, 59443, 59452, 59460, 59478, 59493, 63789, 63866, 63894, 63976, 63986, 64016, 64018, 64021, 64025, 64034, 64037, 64042, 65074, 65093, 65107, 65112, 65127, 65132, 65375, 65510, 65536], gbChars: [0, 36, 38, 45, 50, 81, 89, 95, 96, 100, 103, 104, 105, 109, 126, 133, 148, 172, 175, 179, 208, 306, 307, 308, 309, 310, 311, 312, 313, 341, 428, 443, 544, 545, 558, 741, 742, 749, 750, 805, 819, 820, 7922, 7924, 7925, 7927, 7934, 7943, 7944, 7945, 7950, 8062, 8148, 8149, 8152, 8164, 8174, 8236, 8240, 8262, 8264, 8374, 8380, 8381, 8384, 8388, 8390, 8392, 8393, 8394, 8396, 8401, 8406, 8416, 8419, 8424, 8437, 8439, 8445, 8482, 8485, 8496, 8521, 8603, 8936, 8946, 9046, 9050, 9063, 9066, 9076, 9092, 9100, 9108, 9111, 9113, 9131, 9162, 9164, 9218, 9219, 11329, 11331, 11334, 11336, 11346, 11361, 11363, 11366, 11370, 11372, 11375, 11389, 11682, 11686, 11687, 11692, 11694, 11714, 11716, 11723, 11725, 11730, 11736, 11982, 11989, 12102, 12336, 12348, 12350, 12384, 12393, 12395, 12397, 12510, 12553, 12851, 12962, 12973, 13738, 13823, 13919, 13933, 14080, 14298, 14585, 14698, 15583, 15847, 16318, 16434, 16438, 16481, 16729, 17102, 17122, 17315, 17320, 17402, 17418, 17859, 17909, 17911, 17915, 17916, 17936, 17939, 17961, 18664, 18703, 18814, 18962, 19043, 33469, 33470, 33471, 33484, 33485, 33490, 33497, 33501, 33505, 33513, 33520, 33536, 33550, 37845, 37921, 37948, 38029, 38038, 38064, 38065, 38066, 38069, 38075, 38076, 38078, 39108, 39109, 39113, 39114, 39115, 39116, 39265, 39394, 189e3] };
18670
18639
  }
18671
18640
  });
18672
18641
 
18673
18642
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.json
18674
18643
  var require_cp949 = __commonJS({
18675
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.json"(exports, module) {
18676
- module.exports = [
18644
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.json"(exports, module2) {
18645
+ module2.exports = [
18677
18646
  ["0", "\0", 127],
18678
18647
  ["8141", "\uAC02\uAC03\uAC05\uAC06\uAC0B", 4, "\uAC18\uAC1E\uAC1F\uAC21\uAC22\uAC23\uAC25", 6, "\uAC2E\uAC32\uAC33\uAC34"],
18679
18648
  ["8161", "\uAC35\uAC36\uAC37\uAC3A\uAC3B\uAC3D\uAC3E\uAC3F\uAC41", 9, "\uAC4C\uAC4E", 5, "\uAC55"],
@@ -18951,8 +18920,8 @@ var require_cp949 = __commonJS({
18951
18920
 
18952
18921
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.json
18953
18922
  var require_cp950 = __commonJS({
18954
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.json"(exports, module) {
18955
- module.exports = [
18923
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.json"(exports, module2) {
18924
+ module2.exports = [
18956
18925
  ["0", "\0", 127],
18957
18926
  ["a140", "\u3000\uFF0C\u3001\u3002\uFF0E\u2027\uFF1B\uFF1A\uFF1F\uFF01\uFE30\u2026\u2025\uFE50\uFE51\uFE52\xB7\uFE54\uFE55\uFE56\uFE57\uFF5C\u2013\uFE31\u2014\uFE33\u2574\uFE34\uFE4F\uFF08\uFF09\uFE35\uFE36\uFF5B\uFF5D\uFE37\uFE38\u3014\u3015\uFE39\uFE3A\u3010\u3011\uFE3B\uFE3C\u300A\u300B\uFE3D\uFE3E\u3008\u3009\uFE3F\uFE40\u300C\u300D\uFE41\uFE42\u300E\u300F\uFE43\uFE44\uFE59\uFE5A"],
18958
18927
  ["a1a1", "\uFE5B\uFE5C\uFE5D\uFE5E\u2018\u2019\u201C\u201D\u301D\u301E\u2035\u2032\uFF03\uFF06\uFF0A\u203B\xA7\u3003\u25CB\u25CF\u25B3\u25B2\u25CE\u2606\u2605\u25C7\u25C6\u25A1\u25A0\u25BD\u25BC\u32A3\u2105\xAF\uFFE3\uFF3F\u02CD\uFE49\uFE4A\uFE4D\uFE4E\uFE4B\uFE4C\uFE5F\uFE60\uFE61\uFF0B\uFF0D\xD7\xF7\xB1\u221A\uFF1C\uFF1E\uFF1D\u2266\u2267\u2260\u221E\u2252\u2261\uFE62", 4, "\uFF5E\u2229\u222A\u22A5\u2220\u221F\u22BF\u33D2\u33D1\u222B\u222E\u2235\u2234\u2640\u2642\u2295\u2299\u2191\u2193\u2190\u2192\u2196\u2197\u2199\u2198\u2225\u2223\uFF0F"],
@@ -19134,8 +19103,8 @@ var require_cp950 = __commonJS({
19134
19103
 
19135
19104
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.json
19136
19105
  var require_big5_added = __commonJS({
19137
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.json"(exports, module) {
19138
- module.exports = [
19106
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.json"(exports, module2) {
19107
+ module2.exports = [
19139
19108
  ["8740", "\u43F0\u4C32\u4603\u45A6\u4578\u{27267}\u4D77\u45B3\u{27CB1}\u4CE2\u{27CC5}\u3B95\u4736\u4744\u4C47\u4C40\u{242BF}\u{23617}\u{27352}\u{26E8B}\u{270D2}\u4C57\u{2A351}\u474F\u45DA\u4C85\u{27C6C}\u4D07\u4AA4\u46A1\u{26B23}\u7225\u{25A54}\u{21A63}\u{23E06}\u{23F61}\u664D\u56FB"],
19140
19109
  ["8767", "\u7D95\u591D\u{28BB9}\u3DF4\u9734\u{27BEF}\u5BDB\u{21D5E}\u5AA4\u3625\u{29EB0}\u5AD1\u5BB7\u5CFC\u676E\u8593\u{29945}\u7461\u749D\u3875\u{21D53}\u{2369E}\u{26021}\u3EEC"],
19141
19110
  ["87a1", "\u{258DE}\u3AF5\u7AFC\u9F97\u{24161}\u{2890D}\u{231EA}\u{20A8A}\u{2325E}\u430A\u8484\u9F96\u942F\u4930\u8613\u5896\u974A\u9218\u79D0\u7A32\u6660\u6A29\u889D\u744C\u7BC5\u6782\u7A2C\u524F\u9046\u34E6\u73C4\u{25DB9}\u74C6\u9FC7\u57B3\u492F\u544C\u4131\u{2368E}\u5818\u7A72\u{27B65}\u8B8F\u46AE\u{26E88}\u4181\u{25D99}\u7BAE\u{224BC}\u9FC8\u{224C1}\u{224C9}\u{224CC}\u9FC9\u8504\u{235BB}\u40B4\u9FCA\u44E1\u{2ADFF}\u62C1\u706E\u9FCB"],
@@ -19262,9 +19231,9 @@ var require_big5_added = __commonJS({
19262
19231
 
19263
19232
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.js
19264
19233
  var require_dbcs_data = __commonJS({
19265
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.js"(exports, module) {
19234
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.js"(exports, module2) {
19266
19235
  "use strict";
19267
- module.exports = {
19236
+ module2.exports = {
19268
19237
  // == Japanese/ShiftJIS ====================================================
19269
19238
  // All japanese encodings are based on JIS X set of standards:
19270
19239
  // JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF.
@@ -19509,7 +19478,7 @@ var require_dbcs_data = __commonJS({
19509
19478
 
19510
19479
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.js
19511
19480
  var require_encodings = __commonJS({
19512
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.js"(exports, module) {
19481
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.js"(exports, module2) {
19513
19482
  "use strict";
19514
19483
  var modules = [
19515
19484
  require_internal(),
@@ -19523,12 +19492,12 @@ var require_encodings = __commonJS({
19523
19492
  require_dbcs_data()
19524
19493
  ];
19525
19494
  for (i = 0; i < modules.length; i++) {
19526
- module = modules[i];
19527
- for (enc in module)
19528
- if (Object.prototype.hasOwnProperty.call(module, enc))
19529
- exports[enc] = module[enc];
19495
+ module2 = modules[i];
19496
+ for (enc in module2)
19497
+ if (Object.prototype.hasOwnProperty.call(module2, enc))
19498
+ exports[enc] = module2[enc];
19530
19499
  }
19531
- var module;
19500
+ var module2;
19532
19501
  var enc;
19533
19502
  var i;
19534
19503
  }
@@ -19536,10 +19505,10 @@ var require_encodings = __commonJS({
19536
19505
 
19537
19506
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.js
19538
19507
  var require_streams = __commonJS({
19539
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.js"(exports, module) {
19508
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.js"(exports, module2) {
19540
19509
  "use strict";
19541
19510
  var Buffer2 = require_safer().Buffer;
19542
- module.exports = function(stream_module) {
19511
+ module2.exports = function(stream_module) {
19543
19512
  var Transform = stream_module.Transform;
19544
19513
  function IconvLiteEncoderStream(conv, options) {
19545
19514
  this.conv = conv;
@@ -19635,11 +19604,11 @@ var require_streams = __commonJS({
19635
19604
 
19636
19605
  // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.js
19637
19606
  var require_lib = __commonJS({
19638
- "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.js"(exports, module) {
19607
+ "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.js"(exports, module2) {
19639
19608
  "use strict";
19640
19609
  var Buffer2 = require_safer().Buffer;
19641
19610
  var bomHandling = require_bom_handling();
19642
- var iconv = module.exports;
19611
+ var iconv = module2.exports;
19643
19612
  iconv.encodings = null;
19644
19613
  iconv.defaultCharUnicode = "\uFFFD";
19645
19614
  iconv.defaultCharSingleByte = "?";
@@ -19737,7 +19706,7 @@ var require_lib = __commonJS({
19737
19706
  };
19738
19707
  var stream_module;
19739
19708
  try {
19740
- stream_module = __require("stream");
19709
+ stream_module = require("stream");
19741
19710
  } catch (e) {
19742
19711
  }
19743
19712
  if (stream_module && stream_module.Transform) {
@@ -19781,10 +19750,10 @@ var require_string = __commonJS({
19781
19750
 
19782
19751
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/packet.js
19783
19752
  var require_packet = __commonJS({
19784
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/packet.js"(exports, module) {
19753
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/packet.js"(exports, module2) {
19785
19754
  "use strict";
19786
19755
  var ErrorCodeToName = require_errors();
19787
- var NativeBuffer = __require("buffer").Buffer;
19756
+ var NativeBuffer = require("buffer").Buffer;
19788
19757
  var Long = require_long();
19789
19758
  var StringParser = require_string();
19790
19759
  var INVALID_DATE = /* @__PURE__ */ new Date(NaN);
@@ -20549,13 +20518,13 @@ var require_packet = __commonJS({
20549
20518
  return res;
20550
20519
  }
20551
20520
  };
20552
- module.exports = Packet;
20521
+ module2.exports = Packet;
20553
20522
  }
20554
20523
  });
20555
20524
 
20556
20525
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packet_parser.js
20557
20526
  var require_packet_parser = __commonJS({
20558
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packet_parser.js"(exports, module) {
20527
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packet_parser.js"(exports, module2) {
20559
20528
  "use strict";
20560
20529
  var Packet = require_packet();
20561
20530
  var MAX_PACKET_LENGTH = 16777215;
@@ -20716,13 +20685,13 @@ var require_packet_parser = __commonJS({
20716
20685
  return this.executePayload(chunk.slice(1));
20717
20686
  }
20718
20687
  };
20719
- module.exports = PacketParser;
20688
+ module2.exports = PacketParser;
20720
20689
  }
20721
20690
  });
20722
20691
 
20723
20692
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/auth_switch_request.js
20724
20693
  var require_auth_switch_request = __commonJS({
20725
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/auth_switch_request.js"(exports, module) {
20694
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/auth_switch_request.js"(exports, module2) {
20726
20695
  "use strict";
20727
20696
  var Packet = require_packet();
20728
20697
  var AuthSwitchRequest = class {
@@ -20750,13 +20719,13 @@ var require_auth_switch_request = __commonJS({
20750
20719
  });
20751
20720
  }
20752
20721
  };
20753
- module.exports = AuthSwitchRequest;
20722
+ module2.exports = AuthSwitchRequest;
20754
20723
  }
20755
20724
  });
20756
20725
 
20757
20726
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js
20758
20727
  var require_auth_switch_request_more_data = __commonJS({
20759
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js"(exports, module) {
20728
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js"(exports, module2) {
20760
20729
  "use strict";
20761
20730
  var Packet = require_packet();
20762
20731
  var AuthSwitchRequestMoreData = class {
@@ -20781,13 +20750,13 @@ var require_auth_switch_request_more_data = __commonJS({
20781
20750
  return packet.peekByte() === 1;
20782
20751
  }
20783
20752
  };
20784
- module.exports = AuthSwitchRequestMoreData;
20753
+ module2.exports = AuthSwitchRequestMoreData;
20785
20754
  }
20786
20755
  });
20787
20756
 
20788
20757
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/auth_switch_response.js
20789
20758
  var require_auth_switch_response = __commonJS({
20790
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/auth_switch_response.js"(exports, module) {
20759
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/auth_switch_response.js"(exports, module2) {
20791
20760
  "use strict";
20792
20761
  var Packet = require_packet();
20793
20762
  var AuthSwitchResponse = class {
@@ -20810,7 +20779,7 @@ var require_auth_switch_response = __commonJS({
20810
20779
  return new AuthSwitchResponse(data);
20811
20780
  }
20812
20781
  };
20813
- module.exports = AuthSwitchResponse;
20782
+ module2.exports = AuthSwitchResponse;
20814
20783
  }
20815
20784
  });
20816
20785
 
@@ -20851,7 +20820,7 @@ var require_types = __commonJS({
20851
20820
 
20852
20821
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/binary_row.js
20853
20822
  var require_binary_row = __commonJS({
20854
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/binary_row.js"(exports, module) {
20823
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/binary_row.js"(exports, module2) {
20855
20824
  "use strict";
20856
20825
  var Types = require_types();
20857
20826
  var Packet = require_packet();
@@ -20890,15 +20859,15 @@ var require_binary_row = __commonJS({
20890
20859
  binaryReader[12] = Packet.prototype.readDateTime;
20891
20860
  binaryReader[13] = Packet.prototype.readInt16;
20892
20861
  binaryReader[Types.VAR_STRING] = Packet.prototype.readLengthCodedString;
20893
- module.exports = BinaryRow;
20862
+ module2.exports = BinaryRow;
20894
20863
  }
20895
20864
  });
20896
20865
 
20897
20866
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/commands.js
20898
20867
  var require_commands = __commonJS({
20899
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/commands.js"(exports, module) {
20868
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/commands.js"(exports, module2) {
20900
20869
  "use strict";
20901
- module.exports = {
20870
+ module2.exports = {
20902
20871
  SLEEP: 0,
20903
20872
  // deprecated
20904
20873
  QUIT: 1,
@@ -20944,7 +20913,7 @@ var require_commands = __commonJS({
20944
20913
 
20945
20914
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/binlog_dump.js
20946
20915
  var require_binlog_dump = __commonJS({
20947
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/binlog_dump.js"(exports, module) {
20916
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/binlog_dump.js"(exports, module2) {
20948
20917
  "use strict";
20949
20918
  var Packet = require_packet();
20950
20919
  var CommandCodes = require_commands();
@@ -20968,7 +20937,7 @@ var require_binlog_dump = __commonJS({
20968
20937
  return packet;
20969
20938
  }
20970
20939
  };
20971
- module.exports = BinlogDump;
20940
+ module2.exports = BinlogDump;
20972
20941
  }
20973
20942
  });
20974
20943
 
@@ -21010,7 +20979,7 @@ var require_client = __commonJS({
21010
20979
  var require_auth_41 = __commonJS({
21011
20980
  "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/auth_41.js"(exports) {
21012
20981
  "use strict";
21013
- var crypto = __require("crypto");
20982
+ var crypto = require("crypto");
21014
20983
  function sha1(msg, msg1, msg2) {
21015
20984
  const hash = crypto.createHash("sha1");
21016
20985
  hash.update(msg);
@@ -21079,9 +21048,9 @@ var require_auth_41 = __commonJS({
21079
21048
 
21080
21049
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/charset_encodings.js
21081
21050
  var require_charset_encodings = __commonJS({
21082
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/charset_encodings.js"(exports, module) {
21051
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/charset_encodings.js"(exports, module2) {
21083
21052
  "use strict";
21084
- module.exports = [
21053
+ module2.exports = [
21085
21054
  "utf8",
21086
21055
  "big5",
21087
21056
  "latin2",
@@ -21394,7 +21363,7 @@ var require_charset_encodings = __commonJS({
21394
21363
 
21395
21364
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/change_user.js
21396
21365
  var require_change_user = __commonJS({
21397
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/change_user.js"(exports, module) {
21366
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/change_user.js"(exports, module2) {
21398
21367
  "use strict";
21399
21368
  var CommandCode = require_commands();
21400
21369
  var ClientConstants = require_client();
@@ -21483,13 +21452,13 @@ var require_change_user = __commonJS({
21483
21452
  return this.serializeToBuffer(Buffer.allocUnsafe(p.offset));
21484
21453
  }
21485
21454
  };
21486
- module.exports = ChangeUser;
21455
+ module2.exports = ChangeUser;
21487
21456
  }
21488
21457
  });
21489
21458
 
21490
21459
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/close_statement.js
21491
21460
  var require_close_statement = __commonJS({
21492
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/close_statement.js"(exports, module) {
21461
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/close_statement.js"(exports, module2) {
21493
21462
  "use strict";
21494
21463
  var Packet = require_packet();
21495
21464
  var CommandCodes = require_commands();
@@ -21506,13 +21475,13 @@ var require_close_statement = __commonJS({
21506
21475
  return packet;
21507
21476
  }
21508
21477
  };
21509
- module.exports = CloseStatement;
21478
+ module2.exports = CloseStatement;
21510
21479
  }
21511
21480
  });
21512
21481
 
21513
21482
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/column_definition.js
21514
21483
  var require_column_definition = __commonJS({
21515
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/column_definition.js"(exports, module) {
21484
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/column_definition.js"(exports, module2) {
21516
21485
  "use strict";
21517
21486
  var Packet = require_packet();
21518
21487
  var StringParser = require_string();
@@ -21627,15 +21596,15 @@ var require_column_definition = __commonJS({
21627
21596
  addString("table");
21628
21597
  addString("orgTable");
21629
21598
  addString("orgName");
21630
- module.exports = ColumnDefinition;
21599
+ module2.exports = ColumnDefinition;
21631
21600
  }
21632
21601
  });
21633
21602
 
21634
21603
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/cursor.js
21635
21604
  var require_cursor = __commonJS({
21636
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/cursor.js"(exports, module) {
21605
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/cursor.js"(exports, module2) {
21637
21606
  "use strict";
21638
- module.exports = {
21607
+ module2.exports = {
21639
21608
  NO_CURSOR: 0,
21640
21609
  READ_ONLY: 1,
21641
21610
  FOR_UPDATE: 2,
@@ -21646,7 +21615,7 @@ var require_cursor = __commonJS({
21646
21615
 
21647
21616
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/execute.js
21648
21617
  var require_execute = __commonJS({
21649
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/execute.js"(exports, module) {
21618
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/execute.js"(exports, module2) {
21650
21619
  "use strict";
21651
21620
  var CursorType = require_cursor();
21652
21621
  var CommandCodes = require_commands();
@@ -21764,13 +21733,13 @@ var require_execute = __commonJS({
21764
21733
  return packet;
21765
21734
  }
21766
21735
  };
21767
- module.exports = Execute;
21736
+ module2.exports = Execute;
21768
21737
  }
21769
21738
  });
21770
21739
 
21771
21740
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/handshake.js
21772
21741
  var require_handshake = __commonJS({
21773
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/handshake.js"(exports, module) {
21742
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/handshake.js"(exports, module2) {
21774
21743
  "use strict";
21775
21744
  var Packet = require_packet();
21776
21745
  var ClientConstants = require_client();
@@ -21787,7 +21756,7 @@ var require_handshake = __commonJS({
21787
21756
  this.autPluginName = args.autPluginName;
21788
21757
  }
21789
21758
  setScrambleData(cb) {
21790
- __require("crypto").randomBytes(20, (err2, data) => {
21759
+ require("crypto").randomBytes(20, (err2, data) => {
21791
21760
  if (err2) {
21792
21761
  cb(err2);
21793
21762
  return;
@@ -21866,13 +21835,13 @@ var require_handshake = __commonJS({
21866
21835
  return new Handshake(args);
21867
21836
  }
21868
21837
  };
21869
- module.exports = Handshake;
21838
+ module2.exports = Handshake;
21870
21839
  }
21871
21840
  });
21872
21841
 
21873
21842
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/handshake_response.js
21874
21843
  var require_handshake_response = __commonJS({
21875
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/handshake_response.js"(exports, module) {
21844
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/handshake_response.js"(exports, module2) {
21876
21845
  "use strict";
21877
21846
  var ClientConstants = require_client();
21878
21847
  var CharsetToEncoding = require_charset_encodings();
@@ -22006,13 +21975,13 @@ var require_handshake_response = __commonJS({
22006
21975
  return args;
22007
21976
  }
22008
21977
  };
22009
- module.exports = HandshakeResponse;
21978
+ module2.exports = HandshakeResponse;
22010
21979
  }
22011
21980
  });
22012
21981
 
22013
21982
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/prepare_statement.js
22014
21983
  var require_prepare_statement = __commonJS({
22015
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/prepare_statement.js"(exports, module) {
21984
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/prepare_statement.js"(exports, module2) {
22016
21985
  "use strict";
22017
21986
  var Packet = require_packet();
22018
21987
  var CommandCodes = require_commands();
@@ -22035,13 +22004,13 @@ var require_prepare_statement = __commonJS({
22035
22004
  return packet;
22036
22005
  }
22037
22006
  };
22038
- module.exports = PrepareStatement;
22007
+ module2.exports = PrepareStatement;
22039
22008
  }
22040
22009
  });
22041
22010
 
22042
22011
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/prepared_statement_header.js
22043
22012
  var require_prepared_statement_header = __commonJS({
22044
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/prepared_statement_header.js"(exports, module) {
22013
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/prepared_statement_header.js"(exports, module2) {
22045
22014
  "use strict";
22046
22015
  var PreparedStatementHeader = class {
22047
22016
  constructor(packet) {
@@ -22053,13 +22022,13 @@ var require_prepared_statement_header = __commonJS({
22053
22022
  this.warningCount = packet.readInt16();
22054
22023
  }
22055
22024
  };
22056
- module.exports = PreparedStatementHeader;
22025
+ module2.exports = PreparedStatementHeader;
22057
22026
  }
22058
22027
  });
22059
22028
 
22060
22029
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/query.js
22061
22030
  var require_query = __commonJS({
22062
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/query.js"(exports, module) {
22031
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/query.js"(exports, module2) {
22063
22032
  "use strict";
22064
22033
  var Packet = require_packet();
22065
22034
  var CommandCode = require_commands();
@@ -22082,13 +22051,13 @@ var require_query = __commonJS({
22082
22051
  return packet;
22083
22052
  }
22084
22053
  };
22085
- module.exports = Query;
22054
+ module2.exports = Query;
22086
22055
  }
22087
22056
  });
22088
22057
 
22089
22058
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/register_slave.js
22090
22059
  var require_register_slave = __commonJS({
22091
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/register_slave.js"(exports, module) {
22060
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/register_slave.js"(exports, module2) {
22092
22061
  "use strict";
22093
22062
  var Packet = require_packet();
22094
22063
  var CommandCodes = require_commands();
@@ -22122,7 +22091,7 @@ var require_register_slave = __commonJS({
22122
22091
  return packet;
22123
22092
  }
22124
22093
  };
22125
- module.exports = RegisterSlave;
22094
+ module2.exports = RegisterSlave;
22126
22095
  }
22127
22096
  });
22128
22097
 
@@ -22149,9 +22118,9 @@ var require_server_status = __commonJS({
22149
22118
 
22150
22119
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/encoding_charset.js
22151
22120
  var require_encoding_charset = __commonJS({
22152
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/encoding_charset.js"(exports, module) {
22121
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/constants/encoding_charset.js"(exports, module2) {
22153
22122
  "use strict";
22154
- module.exports = {
22123
+ module2.exports = {
22155
22124
  big5: 1,
22156
22125
  latin2: 2,
22157
22126
  dec8: 3,
@@ -22215,7 +22184,7 @@ var require_session_track = __commonJS({
22215
22184
 
22216
22185
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/resultset_header.js
22217
22186
  var require_resultset_header = __commonJS({
22218
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/resultset_header.js"(exports, module) {
22187
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/resultset_header.js"(exports, module2) {
22219
22188
  "use strict";
22220
22189
  var Packet = require_packet();
22221
22190
  var ClientConstants = require_client();
@@ -22312,13 +22281,13 @@ var require_resultset_header = __commonJS({
22312
22281
  return packet;
22313
22282
  }
22314
22283
  };
22315
- module.exports = ResultSetHeader;
22284
+ module2.exports = ResultSetHeader;
22316
22285
  }
22317
22286
  });
22318
22287
 
22319
22288
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/ssl_request.js
22320
22289
  var require_ssl_request = __commonJS({
22321
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/ssl_request.js"(exports, module) {
22290
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/ssl_request.js"(exports, module2) {
22322
22291
  "use strict";
22323
22292
  var ClientConstants = require_client();
22324
22293
  var Packet = require_packet();
@@ -22339,13 +22308,13 @@ var require_ssl_request = __commonJS({
22339
22308
  return packet;
22340
22309
  }
22341
22310
  };
22342
- module.exports = SSLRequest;
22311
+ module2.exports = SSLRequest;
22343
22312
  }
22344
22313
  });
22345
22314
 
22346
22315
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/text_row.js
22347
22316
  var require_text_row = __commonJS({
22348
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/text_row.js"(exports, module) {
22317
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/text_row.js"(exports, module2) {
22349
22318
  "use strict";
22350
22319
  var Packet = require_packet();
22351
22320
  var TextRow = class {
@@ -22386,15 +22355,15 @@ var require_text_row = __commonJS({
22386
22355
  return packet;
22387
22356
  }
22388
22357
  };
22389
- module.exports = TextRow;
22358
+ module2.exports = TextRow;
22390
22359
  }
22391
22360
  });
22392
22361
 
22393
22362
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/index.js
22394
22363
  var require_packets = __commonJS({
22395
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/index.js"(exports, module) {
22364
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/index.js"(exports, module2) {
22396
22365
  "use strict";
22397
- var process3 = __require("process");
22366
+ var process3 = require("process");
22398
22367
  var AuthSwitchRequest = require_auth_switch_request();
22399
22368
  var AuthSwitchRequestMoreData = require_auth_switch_request_more_data();
22400
22369
  var AuthSwitchResponse = require_auth_switch_response();
@@ -22434,7 +22403,7 @@ var require_packets = __commonJS({
22434
22403
  TextRow
22435
22404
  };
22436
22405
  Object.entries(ctorMap).forEach(([name, ctor]) => {
22437
- module.exports[name] = ctor;
22406
+ module2.exports[name] = ctor;
22438
22407
  if (process3.env.NODE_DEBUG) {
22439
22408
  if (ctor.prototype.toPacket) {
22440
22409
  const old = ctor.prototype.toPacket;
@@ -22520,10 +22489,10 @@ var require_packets = __commonJS({
22520
22489
 
22521
22490
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/command.js
22522
22491
  var require_command = __commonJS({
22523
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/command.js"(exports, module) {
22492
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/command.js"(exports, module2) {
22524
22493
  "use strict";
22525
- var EventEmitter = __require("events").EventEmitter;
22526
- var Timers = __require("timers");
22494
+ var EventEmitter = require("events").EventEmitter;
22495
+ var Timers = require("timers");
22527
22496
  var Command2 = class extends EventEmitter {
22528
22497
  constructor() {
22529
22498
  super();
@@ -22568,16 +22537,16 @@ var require_command = __commonJS({
22568
22537
  return true;
22569
22538
  }
22570
22539
  };
22571
- module.exports = Command2;
22540
+ module2.exports = Command2;
22572
22541
  }
22573
22542
  });
22574
22543
 
22575
22544
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/auth_plugins/sha256_password.js
22576
22545
  var require_sha256_password = __commonJS({
22577
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/auth_plugins/sha256_password.js"(exports, module) {
22546
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/auth_plugins/sha256_password.js"(exports, module2) {
22578
22547
  "use strict";
22579
22548
  var PLUGIN_NAME = "sha256_password";
22580
- var crypto = __require("crypto");
22549
+ var crypto = require("crypto");
22581
22550
  var { xor } = require_auth_41();
22582
22551
  var REQUEST_SERVER_KEY_PACKET = Buffer.from([1]);
22583
22552
  var STATE_INITIAL = 0;
@@ -22590,7 +22559,7 @@ var require_sha256_password = __commonJS({
22590
22559
  );
22591
22560
  return crypto.publicEncrypt(key, stage1);
22592
22561
  }
22593
- module.exports = (pluginOptions = {}) => ({ connection }) => {
22562
+ module2.exports = (pluginOptions = {}) => ({ connection }) => {
22594
22563
  let state = 0;
22595
22564
  let scramble = null;
22596
22565
  const password = connection.config.password;
@@ -22628,10 +22597,10 @@ var require_sha256_password = __commonJS({
22628
22597
 
22629
22598
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js
22630
22599
  var require_caching_sha2_password = __commonJS({
22631
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js"(exports, module) {
22600
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js"(exports, module2) {
22632
22601
  "use strict";
22633
22602
  var PLUGIN_NAME = "caching_sha2_password";
22634
- var crypto = __require("crypto");
22603
+ var crypto = require("crypto");
22635
22604
  var { xor, xorRotating } = require_auth_41();
22636
22605
  var REQUEST_SERVER_KEY_PACKET = Buffer.from([2]);
22637
22606
  var FAST_AUTH_SUCCESS_PACKET = Buffer.from([3]);
@@ -22661,7 +22630,7 @@ var require_caching_sha2_password = __commonJS({
22661
22630
  );
22662
22631
  return crypto.publicEncrypt(key, stage1);
22663
22632
  }
22664
- module.exports = (pluginOptions = {}) => ({ connection }) => {
22633
+ module2.exports = (pluginOptions = {}) => ({ connection }) => {
22665
22634
  let state = 0;
22666
22635
  let scramble = null;
22667
22636
  const password = connection.config.password;
@@ -22716,10 +22685,10 @@ var require_caching_sha2_password = __commonJS({
22716
22685
 
22717
22686
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js
22718
22687
  var require_mysql_native_password = __commonJS({
22719
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js"(exports, module) {
22688
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js"(exports, module2) {
22720
22689
  "use strict";
22721
22690
  var auth41 = require_auth_41();
22722
- module.exports = (pluginOptions) => ({ connection, command }) => {
22691
+ module2.exports = (pluginOptions) => ({ connection, command }) => {
22723
22692
  const password = command.password || pluginOptions.password || connection.config.password;
22724
22693
  const passwordSha1 = command.passwordSha1 || pluginOptions.passwordSha1 || connection.config.passwordSha1;
22725
22694
  return (data) => {
@@ -22747,7 +22716,7 @@ var require_mysql_native_password = __commonJS({
22747
22716
 
22748
22717
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/auth_switch.js
22749
22718
  var require_auth_switch = __commonJS({
22750
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/auth_switch.js"(exports, module) {
22719
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/auth_switch.js"(exports, module2) {
22751
22720
  "use strict";
22752
22721
  var Packets = require_packets();
22753
22722
  var sha256_password = require_sha256_password();
@@ -22827,7 +22796,7 @@ var require_auth_switch = __commonJS({
22827
22796
  authSwitchPluginError(err2, command);
22828
22797
  });
22829
22798
  }
22830
- module.exports = {
22799
+ module2.exports = {
22831
22800
  authSwitchRequest,
22832
22801
  authSwitchRequestMoreData
22833
22802
  };
@@ -22836,9 +22805,9 @@ var require_auth_switch = __commonJS({
22836
22805
 
22837
22806
  // node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/lib/seq-queue.js
22838
22807
  var require_seq_queue = __commonJS({
22839
- "node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/lib/seq-queue.js"(exports, module) {
22840
- var EventEmitter = __require("events").EventEmitter;
22841
- var util2 = __require("util");
22808
+ "node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/lib/seq-queue.js"(exports, module2) {
22809
+ var EventEmitter = require("events").EventEmitter;
22810
+ var util2 = require("util");
22842
22811
  var DEFAULT_TIMEOUT = 3e3;
22843
22812
  var INIT_ID = 0;
22844
22813
  var EVENT_CLOSED = "closed";
@@ -22937,7 +22906,7 @@ var require_seq_queue = __commonJS({
22937
22906
  });
22938
22907
  }
22939
22908
  };
22940
- var SeqQueueManager = module.exports;
22909
+ var SeqQueueManager = module2.exports;
22941
22910
  SeqQueueManager.STATUS_IDLE = 0;
22942
22911
  SeqQueueManager.STATUS_BUSY = 1;
22943
22912
  SeqQueueManager.STATUS_CLOSED = 2;
@@ -22950,16 +22919,16 @@ var require_seq_queue = __commonJS({
22950
22919
 
22951
22920
  // node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/index.js
22952
22921
  var require_seq_queue2 = __commonJS({
22953
- "node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/index.js"(exports, module) {
22954
- module.exports = require_seq_queue();
22922
+ "node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/index.js"(exports, module2) {
22923
+ module2.exports = require_seq_queue();
22955
22924
  }
22956
22925
  });
22957
22926
 
22958
22927
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/compressed_protocol.js
22959
22928
  var require_compressed_protocol = __commonJS({
22960
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/compressed_protocol.js"(exports, module) {
22929
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/compressed_protocol.js"(exports, module2) {
22961
22930
  "use strict";
22962
- var zlib = __require("zlib");
22931
+ var zlib = require("zlib");
22963
22932
  var PacketParser = require_packet_parser();
22964
22933
  function handleCompressedPacket(packet) {
22965
22934
  const connection = this;
@@ -23051,7 +23020,7 @@ var require_compressed_protocol = __commonJS({
23051
23020
  connection.inflateQueue = seqqueue.createQueue();
23052
23021
  connection.deflateQueue = seqqueue.createQueue();
23053
23022
  }
23054
- module.exports = {
23023
+ module2.exports = {
23055
23024
  enableCompression
23056
23025
  };
23057
23026
  }
@@ -23059,7 +23028,7 @@ var require_compressed_protocol = __commonJS({
23059
23028
 
23060
23029
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/client_handshake.js
23061
23030
  var require_client_handshake = __commonJS({
23062
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/client_handshake.js"(exports, module) {
23031
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/client_handshake.js"(exports, module2) {
23063
23032
  "use strict";
23064
23033
  var Command2 = require_command();
23065
23034
  var Packets = require_packets();
@@ -23226,13 +23195,13 @@ var require_client_handshake = __commonJS({
23226
23195
  return null;
23227
23196
  }
23228
23197
  };
23229
- module.exports = ClientHandshake;
23198
+ module2.exports = ClientHandshake;
23230
23199
  }
23231
23200
  });
23232
23201
 
23233
23202
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/server_handshake.js
23234
23203
  var require_server_handshake = __commonJS({
23235
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/server_handshake.js"(exports, module) {
23204
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/server_handshake.js"(exports, module2) {
23236
23205
  "use strict";
23237
23206
  var CommandCode = require_commands();
23238
23207
  var Errors = require_errors();
@@ -23346,7 +23315,7 @@ var require_server_handshake = __commonJS({
23346
23315
  return ServerHandshake.prototype.dispatchCommands;
23347
23316
  }
23348
23317
  };
23349
- module.exports = ServerHandshake;
23318
+ module2.exports = ServerHandshake;
23350
23319
  }
23351
23320
  });
23352
23321
 
@@ -23655,7 +23624,7 @@ var require_helpers = __commonJS({
23655
23624
  var highlightFn;
23656
23625
  var cardinalRecommended = false;
23657
23626
  try {
23658
- highlightFn = __require("cardinal").highlight;
23627
+ highlightFn = require("cardinal").highlight;
23659
23628
  } catch (err2) {
23660
23629
  highlightFn = (text) => {
23661
23630
  if (!cardinalRecommended) {
@@ -23686,19 +23655,19 @@ ${msg}:
23686
23655
 
23687
23656
  // node_modules/.pnpm/is-property@1.0.2/node_modules/is-property/is-property.js
23688
23657
  var require_is_property = __commonJS({
23689
- "node_modules/.pnpm/is-property@1.0.2/node_modules/is-property/is-property.js"(exports, module) {
23658
+ "node_modules/.pnpm/is-property@1.0.2/node_modules/is-property/is-property.js"(exports, module2) {
23690
23659
  "use strict";
23691
23660
  function isProperty(str) {
23692
23661
  return /^[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc0-9\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19b0-\u19c0\u19c8\u19c9\u19d0-\u19d9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]*$/.test(str);
23693
23662
  }
23694
- module.exports = isProperty;
23663
+ module2.exports = isProperty;
23695
23664
  }
23696
23665
  });
23697
23666
 
23698
23667
  // node_modules/.pnpm/generate-function@2.3.1/node_modules/generate-function/index.js
23699
23668
  var require_generate_function = __commonJS({
23700
- "node_modules/.pnpm/generate-function@2.3.1/node_modules/generate-function/index.js"(exports, module) {
23701
- var util2 = __require("util");
23669
+ "node_modules/.pnpm/generate-function@2.3.1/node_modules/generate-function/index.js"(exports, module2) {
23670
+ var util2 = require("util");
23702
23671
  var isProperty = require_is_property();
23703
23672
  var INDENT_START = /[\{\[]/;
23704
23673
  var INDENT_END = /[\}\]]/;
@@ -23858,13 +23827,13 @@ var require_generate_function = __commonJS({
23858
23827
  return line;
23859
23828
  };
23860
23829
  genfun.formats = formats;
23861
- module.exports = genfun;
23830
+ module2.exports = genfun;
23862
23831
  }
23863
23832
  });
23864
23833
 
23865
23834
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/parsers/parser_cache.js
23866
23835
  var require_parser_cache = __commonJS({
23867
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/parsers/parser_cache.js"(exports, module) {
23836
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/parsers/parser_cache.js"(exports, module2) {
23868
23837
  "use strict";
23869
23838
  var LRU = require_lru_cache();
23870
23839
  var parserCache = new LRU({
@@ -23894,7 +23863,7 @@ var require_parser_cache = __commonJS({
23894
23863
  function clearCache() {
23895
23864
  parserCache.reset();
23896
23865
  }
23897
- module.exports = {
23866
+ module2.exports = {
23898
23867
  getParser,
23899
23868
  setMaxCache,
23900
23869
  clearCache
@@ -23904,7 +23873,7 @@ var require_parser_cache = __commonJS({
23904
23873
 
23905
23874
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/parsers/text_parser.js
23906
23875
  var require_text_parser = __commonJS({
23907
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/parsers/text_parser.js"(exports, module) {
23876
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/parsers/text_parser.js"(exports, module2) {
23908
23877
  "use strict";
23909
23878
  var Types = require_types();
23910
23879
  var Charsets = require_charsets();
@@ -24070,17 +24039,17 @@ var require_text_parser = __commonJS({
24070
24039
  function getTextParser(fields, options, config) {
24071
24040
  return parserCache.getParser("text", fields, options, config, compile);
24072
24041
  }
24073
- module.exports = getTextParser;
24042
+ module2.exports = getTextParser;
24074
24043
  }
24075
24044
  });
24076
24045
 
24077
24046
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/query.js
24078
24047
  var require_query2 = __commonJS({
24079
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/query.js"(exports, module) {
24048
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/query.js"(exports, module2) {
24080
24049
  "use strict";
24081
- var process3 = __require("process");
24082
- var Timers = __require("timers");
24083
- var Readable = __require("stream").Readable;
24050
+ var process3 = require("process");
24051
+ var Timers = require("timers");
24052
+ var Readable = require("stream").Readable;
24084
24053
  var Command2 = require_command();
24085
24054
  var Packets = require_packets();
24086
24055
  var getTextParser = require_text_parser();
@@ -24359,13 +24328,13 @@ var require_query2 = __commonJS({
24359
24328
  }
24360
24329
  };
24361
24330
  Query.prototype.catch = Query.prototype.then;
24362
- module.exports = Query;
24331
+ module2.exports = Query;
24363
24332
  }
24364
24333
  });
24365
24334
 
24366
24335
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/close_statement.js
24367
24336
  var require_close_statement2 = __commonJS({
24368
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/close_statement.js"(exports, module) {
24337
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/close_statement.js"(exports, module2) {
24369
24338
  "use strict";
24370
24339
  var Command2 = require_command();
24371
24340
  var Packets = require_packets();
@@ -24379,7 +24348,7 @@ var require_close_statement2 = __commonJS({
24379
24348
  return null;
24380
24349
  }
24381
24350
  };
24382
- module.exports = CloseStatement;
24351
+ module2.exports = CloseStatement;
24383
24352
  }
24384
24353
  });
24385
24354
 
@@ -24407,7 +24376,7 @@ var require_field_flags = __commonJS({
24407
24376
 
24408
24377
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/parsers/binary_parser.js
24409
24378
  var require_binary_parser = __commonJS({
24410
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/parsers/binary_parser.js"(exports, module) {
24379
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/parsers/binary_parser.js"(exports, module2) {
24411
24380
  "use strict";
24412
24381
  var FieldFlags = require_field_flags();
24413
24382
  var Charsets = require_charsets();
@@ -24550,13 +24519,13 @@ var require_binary_parser = __commonJS({
24550
24519
  function getBinaryParser(fields, options, config) {
24551
24520
  return parserCache.getParser("binary", fields, options, config, compile);
24552
24521
  }
24553
- module.exports = getBinaryParser;
24522
+ module2.exports = getBinaryParser;
24554
24523
  }
24555
24524
  });
24556
24525
 
24557
24526
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/execute.js
24558
24527
  var require_execute2 = __commonJS({
24559
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/execute.js"(exports, module) {
24528
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/execute.js"(exports, module2) {
24560
24529
  "use strict";
24561
24530
  var Command2 = require_command();
24562
24531
  var Query = require_query2();
@@ -24641,13 +24610,13 @@ var require_execute2 = __commonJS({
24641
24610
  Execute.prototype._handleTimeoutError = Query.prototype._handleTimeoutError;
24642
24611
  Execute.prototype.row = Query.prototype.row;
24643
24612
  Execute.prototype.stream = Query.prototype.stream;
24644
- module.exports = Execute;
24613
+ module2.exports = Execute;
24645
24614
  }
24646
24615
  });
24647
24616
 
24648
24617
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/prepare.js
24649
24618
  var require_prepare = __commonJS({
24650
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/prepare.js"(exports, module) {
24619
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/prepare.js"(exports, module2) {
24651
24620
  "use strict";
24652
24621
  var Packets = require_packets();
24653
24622
  var Command2 = require_command();
@@ -24763,13 +24732,13 @@ var require_prepare = __commonJS({
24763
24732
  return null;
24764
24733
  }
24765
24734
  };
24766
- module.exports = Prepare;
24735
+ module2.exports = Prepare;
24767
24736
  }
24768
24737
  });
24769
24738
 
24770
24739
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/ping.js
24771
24740
  var require_ping = __commonJS({
24772
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/ping.js"(exports, module) {
24741
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/ping.js"(exports, module2) {
24773
24742
  "use strict";
24774
24743
  var Command2 = require_command();
24775
24744
  var CommandCode = require_commands();
@@ -24796,13 +24765,13 @@ var require_ping = __commonJS({
24796
24765
  return null;
24797
24766
  }
24798
24767
  };
24799
- module.exports = Ping;
24768
+ module2.exports = Ping;
24800
24769
  }
24801
24770
  });
24802
24771
 
24803
24772
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/register_slave.js
24804
24773
  var require_register_slave2 = __commonJS({
24805
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/register_slave.js"(exports, module) {
24774
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/register_slave.js"(exports, module2) {
24806
24775
  "use strict";
24807
24776
  var Command2 = require_command();
24808
24777
  var Packets = require_packets();
@@ -24824,13 +24793,13 @@ var require_register_slave2 = __commonJS({
24824
24793
  return null;
24825
24794
  }
24826
24795
  };
24827
- module.exports = RegisterSlave;
24796
+ module2.exports = RegisterSlave;
24828
24797
  }
24829
24798
  });
24830
24799
 
24831
24800
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/binlog_query_statusvars.js
24832
24801
  var require_binlog_query_statusvars = __commonJS({
24833
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/binlog_query_statusvars.js"(exports, module) {
24802
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/packets/binlog_query_statusvars.js"(exports, module2) {
24834
24803
  "use strict";
24835
24804
  var keys = {
24836
24805
  FLAGS2: 0,
@@ -24848,7 +24817,7 @@ var require_binlog_query_statusvars = __commonJS({
24848
24817
  UPDATED_DB_NAMES: 12,
24849
24818
  MICROSECONDS: 3
24850
24819
  };
24851
- module.exports = function parseStatusVars(buffer) {
24820
+ module2.exports = function parseStatusVars(buffer) {
24852
24821
  const result = {};
24853
24822
  let offset = 0;
24854
24823
  let key, length, prevOffset;
@@ -24942,7 +24911,7 @@ var require_binlog_query_statusvars = __commonJS({
24942
24911
 
24943
24912
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/binlog_dump.js
24944
24913
  var require_binlog_dump2 = __commonJS({
24945
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/binlog_dump.js"(exports, module) {
24914
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/binlog_dump.js"(exports, module2) {
24946
24915
  "use strict";
24947
24916
  var Command2 = require_command();
24948
24917
  var Packets = require_packets();
@@ -25033,13 +25002,13 @@ var require_binlog_dump2 = __commonJS({
25033
25002
  eventParsers[4] = RotateEvent;
25034
25003
  eventParsers[15] = FormatDescriptionEvent;
25035
25004
  eventParsers[16] = XidEvent;
25036
- module.exports = BinlogDump;
25005
+ module2.exports = BinlogDump;
25037
25006
  }
25038
25007
  });
25039
25008
 
25040
25009
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/change_user.js
25041
25010
  var require_change_user2 = __commonJS({
25042
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/change_user.js"(exports, module) {
25011
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/change_user.js"(exports, module2) {
25043
25012
  "use strict";
25044
25013
  var Command2 = require_command();
25045
25014
  var Packets = require_packets();
@@ -25079,13 +25048,13 @@ var require_change_user2 = __commonJS({
25079
25048
  };
25080
25049
  ChangeUser.prototype.handshakeResult = ClientHandshake.prototype.handshakeResult;
25081
25050
  ChangeUser.prototype.calculateNativePasswordAuthToken = ClientHandshake.prototype.calculateNativePasswordAuthToken;
25082
- module.exports = ChangeUser;
25051
+ module2.exports = ChangeUser;
25083
25052
  }
25084
25053
  });
25085
25054
 
25086
25055
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/quit.js
25087
25056
  var require_quit = __commonJS({
25088
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/quit.js"(exports, module) {
25057
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/quit.js"(exports, module2) {
25089
25058
  "use strict";
25090
25059
  var Command2 = require_command();
25091
25060
  var CommandCode = require_commands();
@@ -25110,13 +25079,13 @@ var require_quit = __commonJS({
25110
25079
  return null;
25111
25080
  }
25112
25081
  };
25113
- module.exports = Quit;
25082
+ module2.exports = Quit;
25114
25083
  }
25115
25084
  });
25116
25085
 
25117
25086
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/index.js
25118
25087
  var require_commands2 = __commonJS({
25119
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/index.js"(exports, module) {
25088
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/commands/index.js"(exports, module2) {
25120
25089
  "use strict";
25121
25090
  var ClientHandshake = require_client_handshake();
25122
25091
  var ServerHandshake = require_server_handshake();
@@ -25129,7 +25098,7 @@ var require_commands2 = __commonJS({
25129
25098
  var BinlogDump = require_binlog_dump2();
25130
25099
  var ChangeUser = require_change_user2();
25131
25100
  var Quit = require_quit();
25132
- module.exports = {
25101
+ module2.exports = {
25133
25102
  ClientHandshake,
25134
25103
  ServerHandshake,
25135
25104
  Query,
@@ -25204,9 +25173,9 @@ var require_ssl_profiles = __commonJS({
25204
25173
 
25205
25174
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/connection_config.js
25206
25175
  var require_connection_config = __commonJS({
25207
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/connection_config.js"(exports, module) {
25176
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/connection_config.js"(exports, module2) {
25208
25177
  "use strict";
25209
- var { URL: URL2 } = __require("url");
25178
+ var { URL: URL2 } = require("url");
25210
25179
  var ClientConstants = require_client();
25211
25180
  var Charsets = require_charsets();
25212
25181
  var SSLProfiles = null;
@@ -25425,13 +25394,13 @@ var require_connection_config = __commonJS({
25425
25394
  return options;
25426
25395
  }
25427
25396
  };
25428
- module.exports = ConnectionConfig;
25397
+ module2.exports = ConnectionConfig;
25429
25398
  }
25430
25399
  });
25431
25400
 
25432
25401
  // node_modules/.pnpm/lru-cache@7.18.3/node_modules/lru-cache/index.js
25433
25402
  var require_lru_cache2 = __commonJS({
25434
- "node_modules/.pnpm/lru-cache@7.18.3/node_modules/lru-cache/index.js"(exports, module) {
25403
+ "node_modules/.pnpm/lru-cache@7.18.3/node_modules/lru-cache/index.js"(exports, module2) {
25435
25404
  var perf = typeof performance === "object" && performance && typeof performance.now === "function" ? performance : Date;
25436
25405
  var hasAbortController = typeof AbortController === "function";
25437
25406
  var AC = hasAbortController ? AbortController : class AbortController {
@@ -26442,13 +26411,13 @@ var require_lru_cache2 = __commonJS({
26442
26411
  return AS;
26443
26412
  }
26444
26413
  };
26445
- module.exports = LRUCache;
26414
+ module2.exports = LRUCache;
26446
26415
  }
26447
26416
  });
26448
26417
 
26449
26418
  // node_modules/.pnpm/named-placeholders@1.1.3/node_modules/named-placeholders/index.js
26450
26419
  var require_named_placeholders = __commonJS({
26451
- "node_modules/.pnpm/named-placeholders@1.1.3/node_modules/named-placeholders/index.js"(exports, module) {
26420
+ "node_modules/.pnpm/named-placeholders@1.1.3/node_modules/named-placeholders/index.js"(exports, module2) {
26452
26421
  "use strict";
26453
26422
  var RE_PARAM = /(?:\?)|(?::(\d+|(?:[a-zA-Z][a-zA-Z0-9_]*)))/g;
26454
26423
  var DQUOTE = 34;
@@ -26604,20 +26573,20 @@ var require_named_placeholders = __commonJS({
26604
26573
  }
26605
26574
  return [qs, varNames.map((n) => params[n])];
26606
26575
  }
26607
- module.exports = createCompiler;
26608
- module.exports.toNumbered = toNumbered;
26576
+ module2.exports = createCompiler;
26577
+ module2.exports.toNumbered = toNumbered;
26609
26578
  }
26610
26579
  });
26611
26580
 
26612
26581
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/connection.js
26613
26582
  var require_connection = __commonJS({
26614
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/connection.js"(exports, module) {
26583
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/connection.js"(exports, module2) {
26615
26584
  "use strict";
26616
- var Net = __require("net");
26617
- var Tls = __require("tls");
26618
- var Timers = __require("timers");
26619
- var EventEmitter = __require("events").EventEmitter;
26620
- var Readable = __require("stream").Readable;
26585
+ var Net = require("net");
26586
+ var Tls = require("tls");
26587
+ var Timers = require("timers");
26588
+ var EventEmitter = require("events").EventEmitter;
26589
+ var Readable = require("stream").Readable;
26621
26590
  var Queue = require_denque();
26622
26591
  var SqlString = require_sqlstring();
26623
26592
  var LRU = require_lru_cache();
@@ -27356,7 +27325,7 @@ var require_connection = __commonJS({
27356
27325
  if (this.config.debug) {
27357
27326
  console.log("Upgrading connection to TLS");
27358
27327
  }
27359
- const crypto = __require("crypto");
27328
+ const crypto = require("crypto");
27360
27329
  const config = this.config;
27361
27330
  const stream = this.stream;
27362
27331
  const rejectUnauthorized = this.config.ssl.rejectUnauthorized;
@@ -27390,13 +27359,13 @@ var require_connection = __commonJS({
27390
27359
  });
27391
27360
  };
27392
27361
  }
27393
- module.exports = Connection2;
27362
+ module2.exports = Connection2;
27394
27363
  }
27395
27364
  });
27396
27365
 
27397
27366
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool_connection.js
27398
27367
  var require_pool_connection = __commonJS({
27399
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool_connection.js"(exports, module) {
27368
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool_connection.js"(exports, module2) {
27400
27369
  "use strict";
27401
27370
  var Connection2 = require_mysql2().Connection;
27402
27371
  var PoolConnection = class extends Connection2 {
@@ -27442,18 +27411,18 @@ var require_pool_connection = __commonJS({
27442
27411
  }
27443
27412
  };
27444
27413
  PoolConnection.statementKey = Connection2.statementKey;
27445
- module.exports = PoolConnection;
27414
+ module2.exports = PoolConnection;
27446
27415
  PoolConnection.prototype._realEnd = Connection2.prototype.end;
27447
27416
  }
27448
27417
  });
27449
27418
 
27450
27419
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool.js
27451
27420
  var require_pool = __commonJS({
27452
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool.js"(exports, module) {
27421
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool.js"(exports, module2) {
27453
27422
  "use strict";
27454
- var process3 = __require("process");
27423
+ var process3 = require("process");
27455
27424
  var mysql = require_mysql2();
27456
- var EventEmitter = __require("events").EventEmitter;
27425
+ var EventEmitter = require("events").EventEmitter;
27457
27426
  var PoolConnection = require_pool_connection();
27458
27427
  var Queue = require_denque();
27459
27428
  var Connection2 = require_connection();
@@ -27635,13 +27604,13 @@ var require_pool = __commonJS({
27635
27604
  return mysql.escapeId(value, false);
27636
27605
  }
27637
27606
  };
27638
- module.exports = Pool2;
27607
+ module2.exports = Pool2;
27639
27608
  }
27640
27609
  });
27641
27610
 
27642
27611
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool_config.js
27643
27612
  var require_pool_config = __commonJS({
27644
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool_config.js"(exports, module) {
27613
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool_config.js"(exports, module2) {
27645
27614
  "use strict";
27646
27615
  var ConnectionConfig = require_connection_config();
27647
27616
  var PoolConfig = class {
@@ -27655,19 +27624,19 @@ var require_pool_config = __commonJS({
27655
27624
  this.queueLimit = isNaN(options.queueLimit) ? 0 : Number(options.queueLimit);
27656
27625
  }
27657
27626
  };
27658
- module.exports = PoolConfig;
27627
+ module2.exports = PoolConfig;
27659
27628
  }
27660
27629
  });
27661
27630
 
27662
27631
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool_cluster.js
27663
27632
  var require_pool_cluster = __commonJS({
27664
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool_cluster.js"(exports, module) {
27633
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/pool_cluster.js"(exports, module2) {
27665
27634
  "use strict";
27666
- var process3 = __require("process");
27635
+ var process3 = require("process");
27667
27636
  var Pool2 = require_pool();
27668
27637
  var PoolConfig = require_pool_config();
27669
27638
  var Connection2 = require_connection();
27670
- var EventEmitter = __require("events").EventEmitter;
27639
+ var EventEmitter = require("events").EventEmitter;
27671
27640
  var makeSelector = {
27672
27641
  RR() {
27673
27642
  let index4 = 0;
@@ -27905,16 +27874,16 @@ var require_pool_cluster = __commonJS({
27905
27874
  this._findCaches = {};
27906
27875
  }
27907
27876
  };
27908
- module.exports = PoolCluster;
27877
+ module2.exports = PoolCluster;
27909
27878
  }
27910
27879
  });
27911
27880
 
27912
27881
  // node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/server.js
27913
27882
  var require_server = __commonJS({
27914
- "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/server.js"(exports, module) {
27883
+ "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/lib/server.js"(exports, module2) {
27915
27884
  "use strict";
27916
- var net = __require("net");
27917
- var EventEmitter = __require("events").EventEmitter;
27885
+ var net = require("net");
27886
+ var EventEmitter = require("events").EventEmitter;
27918
27887
  var Connection2 = require_connection();
27919
27888
  var ConnectionConfig = require_connection_config();
27920
27889
  var Server = class extends EventEmitter {
@@ -27940,7 +27909,7 @@ var require_server = __commonJS({
27940
27909
  this._server.close(cb);
27941
27910
  }
27942
27911
  };
27943
- module.exports = Server;
27912
+ module2.exports = Server;
27944
27913
  }
27945
27914
  });
27946
27915
 
@@ -28018,7 +27987,7 @@ var require_promise = __commonJS({
28018
27987
  "node_modules/.pnpm/mysql2@2.3.3/node_modules/mysql2/promise.js"(exports) {
28019
27988
  "use strict";
28020
27989
  var core = require_mysql2();
28021
- var EventEmitter = __require("events").EventEmitter;
27990
+ var EventEmitter = require("events").EventEmitter;
28022
27991
  function makeDoneCb(resolve2, reject, localErr) {
28023
27992
  return function(err2, rows, fields) {
28024
27993
  if (err2) {
@@ -28972,9 +28941,9 @@ import { sql } from "drizzle-orm"
28972
28941
 
28973
28942
  // node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js
28974
28943
  var require_balanced_match = __commonJS({
28975
- "node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js"(exports, module) {
28944
+ "node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js"(exports, module2) {
28976
28945
  "use strict";
28977
- module.exports = balanced;
28946
+ module2.exports = balanced;
28978
28947
  function balanced(a, b, str) {
28979
28948
  if (a instanceof RegExp)
28980
28949
  a = maybeMatch(a, str);
@@ -29032,9 +29001,9 @@ var require_balanced_match = __commonJS({
29032
29001
 
29033
29002
  // node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js
29034
29003
  var require_brace_expansion = __commonJS({
29035
- "node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js"(exports, module) {
29004
+ "node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js"(exports, module2) {
29036
29005
  var balanced = require_balanced_match();
29037
- module.exports = expandTop;
29006
+ module2.exports = expandTop;
29038
29007
  var escSlash = "\0SLASH" + Math.random() + "\0";
29039
29008
  var escOpen = "\0OPEN" + Math.random() + "\0";
29040
29009
  var escClose = "\0CLOSE" + Math.random() + "\0";
@@ -30427,9 +30396,9 @@ var require_postgres_array = __commonJS({
30427
30396
 
30428
30397
  // node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/arrayParser.js
30429
30398
  var require_arrayParser = __commonJS({
30430
- "node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/arrayParser.js"(exports, module) {
30399
+ "node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/arrayParser.js"(exports, module2) {
30431
30400
  var array = require_postgres_array();
30432
- module.exports = {
30401
+ module2.exports = {
30433
30402
  create: function(source, transform) {
30434
30403
  return {
30435
30404
  parse: function() {
@@ -30443,13 +30412,13 @@ var require_arrayParser = __commonJS({
30443
30412
 
30444
30413
  // node_modules/.pnpm/postgres-date@1.0.7/node_modules/postgres-date/index.js
30445
30414
  var require_postgres_date = __commonJS({
30446
- "node_modules/.pnpm/postgres-date@1.0.7/node_modules/postgres-date/index.js"(exports, module) {
30415
+ "node_modules/.pnpm/postgres-date@1.0.7/node_modules/postgres-date/index.js"(exports, module2) {
30447
30416
  "use strict";
30448
30417
  var DATE_TIME = /(\d{1,})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})(\.\d{1,})?.*?( BC)?$/;
30449
30418
  var DATE = /^(\d{1,})-(\d{2})-(\d{2})( BC)?$/;
30450
30419
  var TIME_ZONE = /([Z+-])(\d{2})?:?(\d{2})?:?(\d{2})?/;
30451
30420
  var INFINITY = /^-?infinity$/;
30452
- module.exports = function parseDate(isoDate) {
30421
+ module2.exports = function parseDate(isoDate) {
30453
30422
  if (INFINITY.test(isoDate)) {
30454
30423
  return Number(isoDate.replace("i", "I"));
30455
30424
  }
@@ -30531,8 +30500,8 @@ var require_postgres_date = __commonJS({
30531
30500
 
30532
30501
  // node_modules/.pnpm/xtend@4.0.2/node_modules/xtend/mutable.js
30533
30502
  var require_mutable = __commonJS({
30534
- "node_modules/.pnpm/xtend@4.0.2/node_modules/xtend/mutable.js"(exports, module) {
30535
- module.exports = extend;
30503
+ "node_modules/.pnpm/xtend@4.0.2/node_modules/xtend/mutable.js"(exports, module2) {
30504
+ module2.exports = extend;
30536
30505
  var hasOwnProperty = Object.prototype.hasOwnProperty;
30537
30506
  function extend(target) {
30538
30507
  for (var i = 1; i < arguments.length; i++) {
@@ -30550,10 +30519,10 @@ var require_mutable = __commonJS({
30550
30519
 
30551
30520
  // node_modules/.pnpm/postgres-interval@1.2.0/node_modules/postgres-interval/index.js
30552
30521
  var require_postgres_interval = __commonJS({
30553
- "node_modules/.pnpm/postgres-interval@1.2.0/node_modules/postgres-interval/index.js"(exports, module) {
30522
+ "node_modules/.pnpm/postgres-interval@1.2.0/node_modules/postgres-interval/index.js"(exports, module2) {
30554
30523
  "use strict";
30555
30524
  var extend = require_mutable();
30556
- module.exports = PostgresInterval;
30525
+ module2.exports = PostgresInterval;
30557
30526
  function PostgresInterval(raw) {
30558
30527
  if (!(this instanceof PostgresInterval)) {
30559
30528
  return new PostgresInterval(raw);
@@ -30645,9 +30614,9 @@ var require_postgres_interval = __commonJS({
30645
30614
 
30646
30615
  // node_modules/.pnpm/postgres-bytea@1.0.0/node_modules/postgres-bytea/index.js
30647
30616
  var require_postgres_bytea = __commonJS({
30648
- "node_modules/.pnpm/postgres-bytea@1.0.0/node_modules/postgres-bytea/index.js"(exports, module) {
30617
+ "node_modules/.pnpm/postgres-bytea@1.0.0/node_modules/postgres-bytea/index.js"(exports, module2) {
30649
30618
  "use strict";
30650
- module.exports = function parseBytea(input) {
30619
+ module2.exports = function parseBytea(input) {
30651
30620
  if (/^\\x/.test(input)) {
30652
30621
  return new Buffer(input.substr(2), "hex");
30653
30622
  }
@@ -30680,7 +30649,7 @@ var require_postgres_bytea = __commonJS({
30680
30649
 
30681
30650
  // node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/textParsers.js
30682
30651
  var require_textParsers = __commonJS({
30683
- "node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/textParsers.js"(exports, module) {
30652
+ "node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/textParsers.js"(exports, module2) {
30684
30653
  var array = require_postgres_array();
30685
30654
  var arrayParser = require_arrayParser();
30686
30655
  var parseDate = require_postgres_date();
@@ -30877,7 +30846,7 @@ var require_textParsers = __commonJS({
30877
30846
  register(1183, parseStringArray);
30878
30847
  register(1270, parseStringArray);
30879
30848
  };
30880
- module.exports = {
30849
+ module2.exports = {
30881
30850
  init
30882
30851
  };
30883
30852
  }
@@ -30885,7 +30854,7 @@ var require_textParsers = __commonJS({
30885
30854
 
30886
30855
  // node_modules/.pnpm/pg-int8@1.0.1/node_modules/pg-int8/index.js
30887
30856
  var require_pg_int8 = __commonJS({
30888
- "node_modules/.pnpm/pg-int8@1.0.1/node_modules/pg-int8/index.js"(exports, module) {
30857
+ "node_modules/.pnpm/pg-int8@1.0.1/node_modules/pg-int8/index.js"(exports, module2) {
30889
30858
  "use strict";
30890
30859
  var BASE = 1e6;
30891
30860
  function readInt8(buffer) {
@@ -30959,13 +30928,13 @@ var require_pg_int8 = __commonJS({
30959
30928
  return sign + digits + result;
30960
30929
  }
30961
30930
  }
30962
- module.exports = readInt8;
30931
+ module2.exports = readInt8;
30963
30932
  }
30964
30933
  });
30965
30934
 
30966
30935
  // node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/binaryParsers.js
30967
30936
  var require_binaryParsers = __commonJS({
30968
- "node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/binaryParsers.js"(exports, module) {
30937
+ "node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/binaryParsers.js"(exports, module2) {
30969
30938
  var parseInt64 = require_pg_int8();
30970
30939
  var parseBits = function(data, bits, offset, invert, callback) {
30971
30940
  offset = offset || 0;
@@ -31158,7 +31127,7 @@ var require_binaryParsers = __commonJS({
31158
31127
  register(1009, parseArray);
31159
31128
  register(25, parseText);
31160
31129
  };
31161
- module.exports = {
31130
+ module2.exports = {
31162
31131
  init
31163
31132
  };
31164
31133
  }
@@ -31166,8 +31135,8 @@ var require_binaryParsers = __commonJS({
31166
31135
 
31167
31136
  // node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/builtins.js
31168
31137
  var require_builtins = __commonJS({
31169
- "node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/builtins.js"(exports, module) {
31170
- module.exports = {
31138
+ "node_modules/.pnpm/pg-types@2.2.0/node_modules/pg-types/lib/builtins.js"(exports, module2) {
31139
+ module2.exports = {
31171
31140
  BOOL: 16,
31172
31141
  BYTEA: 17,
31173
31142
  CHAR: 18,
@@ -31275,9 +31244,9 @@ var require_pg_types = __commonJS({
31275
31244
 
31276
31245
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/defaults.js
31277
31246
  var require_defaults = __commonJS({
31278
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/defaults.js"(exports, module) {
31247
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/defaults.js"(exports, module2) {
31279
31248
  "use strict";
31280
- module.exports = {
31249
+ module2.exports = {
31281
31250
  // database host. defaults to localhost
31282
31251
  host: "localhost",
31283
31252
  // database user's name
@@ -31328,7 +31297,7 @@ var require_defaults = __commonJS({
31328
31297
  var pgTypes = require_pg_types();
31329
31298
  var parseBigInteger = pgTypes.getTypeParser(20, "text");
31330
31299
  var parseBigIntegerArray = pgTypes.getTypeParser(1016, "text");
31331
- module.exports.__defineSetter__("parseInt8", function(val) {
31300
+ module2.exports.__defineSetter__("parseInt8", function(val) {
31332
31301
  pgTypes.setTypeParser(20, "text", val ? pgTypes.getTypeParser(23, "text") : parseBigInteger);
31333
31302
  pgTypes.setTypeParser(1016, "text", val ? pgTypes.getTypeParser(1007, "text") : parseBigIntegerArray);
31334
31303
  });
@@ -31337,9 +31306,9 @@ var require_defaults = __commonJS({
31337
31306
 
31338
31307
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/utils.js
31339
31308
  var require_utils2 = __commonJS({
31340
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/utils.js"(exports, module) {
31309
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/utils.js"(exports, module2) {
31341
31310
  "use strict";
31342
- var crypto = __require("crypto");
31311
+ var crypto = require("crypto");
31343
31312
  var defaults2 = require_defaults();
31344
31313
  function escapeElement(elementRepresentation) {
31345
31314
  var escaped = elementRepresentation.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
@@ -31462,7 +31431,7 @@ var require_utils2 = __commonJS({
31462
31431
  var outer = md5(Buffer.concat([Buffer.from(inner), salt]));
31463
31432
  return "md5" + outer;
31464
31433
  };
31465
- module.exports = {
31434
+ module2.exports = {
31466
31435
  prepareValue: function prepareValueWrapper(value) {
31467
31436
  return prepareValue(value);
31468
31437
  },
@@ -31475,9 +31444,9 @@ var require_utils2 = __commonJS({
31475
31444
 
31476
31445
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/sasl.js
31477
31446
  var require_sasl = __commonJS({
31478
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/sasl.js"(exports, module) {
31447
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/sasl.js"(exports, module2) {
31479
31448
  "use strict";
31480
- var crypto = __require("crypto");
31449
+ var crypto = require("crypto");
31481
31450
  function startSession(mechanisms) {
31482
31451
  if (mechanisms.indexOf("SCRAM-SHA-256") === -1) {
31483
31452
  throw new Error("SASL: Only mechanism SCRAM-SHA-256 is currently supported");
@@ -31628,7 +31597,7 @@ var require_sasl = __commonJS({
31628
31597
  }
31629
31598
  return ui;
31630
31599
  }
31631
- module.exports = {
31600
+ module2.exports = {
31632
31601
  startSession,
31633
31602
  continueSession,
31634
31603
  finalizeSession
@@ -31638,10 +31607,10 @@ var require_sasl = __commonJS({
31638
31607
 
31639
31608
  // node_modules/.pnpm/split2@4.2.0/node_modules/split2/index.js
31640
31609
  var require_split2 = __commonJS({
31641
- "node_modules/.pnpm/split2@4.2.0/node_modules/split2/index.js"(exports, module) {
31610
+ "node_modules/.pnpm/split2@4.2.0/node_modules/split2/index.js"(exports, module2) {
31642
31611
  "use strict";
31643
- var { Transform } = __require("stream");
31644
- var { StringDecoder } = __require("string_decoder");
31612
+ var { Transform } = require("stream");
31613
+ var { StringDecoder } = require("string_decoder");
31645
31614
  var kLast = Symbol("last");
31646
31615
  var kDecoder = Symbol("decoder");
31647
31616
  function transform(chunk, enc, cb) {
@@ -31734,18 +31703,18 @@ var require_split2 = __commonJS({
31734
31703
  };
31735
31704
  return stream;
31736
31705
  }
31737
- module.exports = split;
31706
+ module2.exports = split;
31738
31707
  }
31739
31708
  });
31740
31709
 
31741
31710
  // node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/helper.js
31742
31711
  var require_helper = __commonJS({
31743
- "node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/helper.js"(exports, module) {
31712
+ "node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/helper.js"(exports, module2) {
31744
31713
  "use strict";
31745
- var path3 = __require("path");
31746
- var Stream = __require("stream").Stream;
31714
+ var path3 = require("path");
31715
+ var Stream = require("stream").Stream;
31747
31716
  var split = require_split2();
31748
- var util2 = __require("util");
31717
+ var util2 = require("util");
31749
31718
  var defaultPort = 5432;
31750
31719
  var isWin = process.platform === "win32";
31751
31720
  var warnStream = process.stderr;
@@ -31766,7 +31735,7 @@ var require_helper = __commonJS({
31766
31735
  warnStream.write(util2.format.apply(util2, args));
31767
31736
  }
31768
31737
  }
31769
- Object.defineProperty(module.exports, "isWin", {
31738
+ Object.defineProperty(module2.exports, "isWin", {
31770
31739
  get: function() {
31771
31740
  return isWin;
31772
31741
  },
@@ -31774,17 +31743,17 @@ var require_helper = __commonJS({
31774
31743
  isWin = val;
31775
31744
  }
31776
31745
  });
31777
- module.exports.warnTo = function(stream) {
31746
+ module2.exports.warnTo = function(stream) {
31778
31747
  var old = warnStream;
31779
31748
  warnStream = stream;
31780
31749
  return old;
31781
31750
  };
31782
- module.exports.getFileName = function(rawEnv) {
31751
+ module2.exports.getFileName = function(rawEnv) {
31783
31752
  var env2 = rawEnv || process.env;
31784
31753
  var file = env2.PGPASSFILE || (isWin ? path3.join(env2.APPDATA || "./", "postgresql", "pgpass.conf") : path3.join(env2.HOME || "./", ".pgpass"));
31785
31754
  return file;
31786
31755
  };
31787
- module.exports.usePgPass = function(stats, fname) {
31756
+ module2.exports.usePgPass = function(stats, fname) {
31788
31757
  if (Object.prototype.hasOwnProperty.call(process.env, "PGPASSWORD")) {
31789
31758
  return false;
31790
31759
  }
@@ -31802,7 +31771,7 @@ var require_helper = __commonJS({
31802
31771
  }
31803
31772
  return true;
31804
31773
  };
31805
- var matcher = module.exports.match = function(connInfo, entry) {
31774
+ var matcher = module2.exports.match = function(connInfo, entry) {
31806
31775
  return fieldNames.slice(0, -1).reduce(function(prev, field, idx) {
31807
31776
  if (idx == 1) {
31808
31777
  if (Number(connInfo[field] || defaultPort) === Number(entry[field])) {
@@ -31812,7 +31781,7 @@ var require_helper = __commonJS({
31812
31781
  return prev && (entry[field] === "*" || entry[field] === connInfo[field]);
31813
31782
  }, true);
31814
31783
  };
31815
- module.exports.getPassword = function(connInfo, stream, cb) {
31784
+ module2.exports.getPassword = function(connInfo, stream, cb) {
31816
31785
  var pass;
31817
31786
  var lineStream = stream.pipe(split());
31818
31787
  function onLine(line) {
@@ -31834,7 +31803,7 @@ var require_helper = __commonJS({
31834
31803
  stream.on("error", onErr);
31835
31804
  lineStream.on("data", onLine).on("end", onEnd).on("error", onErr);
31836
31805
  };
31837
- var parseLine = module.exports.parseLine = function(line) {
31806
+ var parseLine = module2.exports.parseLine = function(line) {
31838
31807
  if (line.length < 11 || line.match(/^\s+#/)) {
31839
31808
  return null;
31840
31809
  }
@@ -31869,7 +31838,7 @@ var require_helper = __commonJS({
31869
31838
  obj = Object.keys(obj).length === nrOfFields ? obj : null;
31870
31839
  return obj;
31871
31840
  };
31872
- var isValidEntry = module.exports.isValidEntry = function(entry) {
31841
+ var isValidEntry = module2.exports.isValidEntry = function(entry) {
31873
31842
  var rules = {
31874
31843
  // host
31875
31844
  0: function(x) {
@@ -31911,12 +31880,12 @@ var require_helper = __commonJS({
31911
31880
 
31912
31881
  // node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/index.js
31913
31882
  var require_lib2 = __commonJS({
31914
- "node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/index.js"(exports, module) {
31883
+ "node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/index.js"(exports, module2) {
31915
31884
  "use strict";
31916
- var path3 = __require("path");
31917
- var fs6 = __require("fs");
31885
+ var path3 = require("path");
31886
+ var fs6 = require("fs");
31918
31887
  var helper = require_helper();
31919
- module.exports = function(connInfo, cb) {
31888
+ module2.exports = function(connInfo, cb) {
31920
31889
  var file = helper.getFileName();
31921
31890
  fs6.stat(file, function(err2, stat) {
31922
31891
  if (err2 || !helper.usePgPass(stat, file)) {
@@ -31926,13 +31895,13 @@ var require_lib2 = __commonJS({
31926
31895
  helper.getPassword(connInfo, st, cb);
31927
31896
  });
31928
31897
  };
31929
- module.exports.warnTo = helper.warnTo;
31898
+ module2.exports.warnTo = helper.warnTo;
31930
31899
  }
31931
31900
  });
31932
31901
 
31933
31902
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/type-overrides.js
31934
31903
  var require_type_overrides = __commonJS({
31935
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/type-overrides.js"(exports, module) {
31904
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/type-overrides.js"(exports, module2) {
31936
31905
  "use strict";
31937
31906
  var types = require_pg_types();
31938
31907
  function TypeOverrides(userTypes) {
@@ -31961,16 +31930,16 @@ var require_type_overrides = __commonJS({
31961
31930
  format = format || "text";
31962
31931
  return this.getOverrides(format)[oid] || this._types.getTypeParser(oid, format);
31963
31932
  };
31964
- module.exports = TypeOverrides;
31933
+ module2.exports = TypeOverrides;
31965
31934
  }
31966
31935
  });
31967
31936
 
31968
31937
  // node_modules/.pnpm/pg-connection-string@2.5.0/node_modules/pg-connection-string/index.js
31969
31938
  var require_pg_connection_string = __commonJS({
31970
- "node_modules/.pnpm/pg-connection-string@2.5.0/node_modules/pg-connection-string/index.js"(exports, module) {
31939
+ "node_modules/.pnpm/pg-connection-string@2.5.0/node_modules/pg-connection-string/index.js"(exports, module2) {
31971
31940
  "use strict";
31972
- var url = __require("url");
31973
- var fs6 = __require("fs");
31941
+ var url = require("url");
31942
+ var fs6 = require("fs");
31974
31943
  function parse(str) {
31975
31944
  if (str.charAt(0) === "/") {
31976
31945
  var config = str.split(" ");
@@ -32045,16 +32014,16 @@ var require_pg_connection_string = __commonJS({
32045
32014
  }
32046
32015
  return config;
32047
32016
  }
32048
- module.exports = parse;
32017
+ module2.exports = parse;
32049
32018
  parse.parse = parse;
32050
32019
  }
32051
32020
  });
32052
32021
 
32053
32022
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/connection-parameters.js
32054
32023
  var require_connection_parameters = __commonJS({
32055
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/connection-parameters.js"(exports, module) {
32024
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/connection-parameters.js"(exports, module2) {
32056
32025
  "use strict";
32057
- var dns = __require("dns");
32026
+ var dns = require("dns");
32058
32027
  var defaults2 = require_defaults();
32059
32028
  var parse = require_pg_connection_string().parse;
32060
32029
  var val = function(key, config, envVar) {
@@ -32185,13 +32154,13 @@ var require_connection_parameters = __commonJS({
32185
32154
  });
32186
32155
  }
32187
32156
  };
32188
- module.exports = ConnectionParameters;
32157
+ module2.exports = ConnectionParameters;
32189
32158
  }
32190
32159
  });
32191
32160
 
32192
32161
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/result.js
32193
32162
  var require_result = __commonJS({
32194
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/result.js"(exports, module) {
32163
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/result.js"(exports, module2) {
32195
32164
  "use strict";
32196
32165
  var types = require_pg_types();
32197
32166
  var matchRegexp = /^([A-Za-z]+)(?: (\d+))?(?: (\d+))?/;
@@ -32271,15 +32240,15 @@ var require_result = __commonJS({
32271
32240
  }
32272
32241
  }
32273
32242
  };
32274
- module.exports = Result;
32243
+ module2.exports = Result;
32275
32244
  }
32276
32245
  });
32277
32246
 
32278
32247
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/query.js
32279
32248
  var require_query3 = __commonJS({
32280
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/query.js"(exports, module) {
32249
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/query.js"(exports, module2) {
32281
32250
  "use strict";
32282
- var { EventEmitter } = __require("events");
32251
+ var { EventEmitter } = require("events");
32283
32252
  var Result = require_result();
32284
32253
  var utils = require_utils2();
32285
32254
  var Query = class extends EventEmitter {
@@ -32463,7 +32432,7 @@ var require_query3 = __commonJS({
32463
32432
  handleCopyData(msg, connection) {
32464
32433
  }
32465
32434
  };
32466
- module.exports = Query;
32435
+ module2.exports = Query;
32467
32436
  }
32468
32437
  });
32469
32438
 
@@ -32995,7 +32964,7 @@ var require_parser = __commonJS({
32995
32964
  exports.Parser = void 0;
32996
32965
  var messages_1 = require_messages();
32997
32966
  var buffer_reader_1 = require_buffer_reader();
32998
- var assert_1 = __importDefault(__require("assert"));
32967
+ var assert_1 = __importDefault(require("assert"));
32999
32968
  var CODE_LENGTH = 1;
33000
32969
  var LEN_LENGTH = 4;
33001
32970
  var HEADER_LENGTH = CODE_LENGTH + LEN_LENGTH;
@@ -33305,10 +33274,10 @@ var require_dist = __commonJS({
33305
33274
 
33306
33275
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/connection.js
33307
33276
  var require_connection2 = __commonJS({
33308
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/connection.js"(exports, module) {
33277
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/connection.js"(exports, module2) {
33309
33278
  "use strict";
33310
- var net = __require("net");
33311
- var EventEmitter = __require("events").EventEmitter;
33279
+ var net = require("net");
33280
+ var EventEmitter = require("events").EventEmitter;
33312
33281
  var { parse, serialize } = require_dist();
33313
33282
  var flushBuffer = serialize.flush();
33314
33283
  var syncBuffer = serialize.sync();
@@ -33368,7 +33337,7 @@ var require_connection2 = __commonJS({
33368
33337
  self2.stream.end();
33369
33338
  return self2.emit("error", new Error("There was an error establishing an SSL connection"));
33370
33339
  }
33371
- var tls = __require("tls");
33340
+ var tls = require("tls");
33372
33341
  const options = {
33373
33342
  socket: self2.stream
33374
33343
  };
@@ -33484,16 +33453,16 @@ var require_connection2 = __commonJS({
33484
33453
  this._send(serialize.copyFail(msg));
33485
33454
  }
33486
33455
  };
33487
- module.exports = Connection2;
33456
+ module2.exports = Connection2;
33488
33457
  }
33489
33458
  });
33490
33459
 
33491
33460
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/client.js
33492
33461
  var require_client2 = __commonJS({
33493
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/client.js"(exports, module) {
33462
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/client.js"(exports, module2) {
33494
33463
  "use strict";
33495
- var EventEmitter = __require("events").EventEmitter;
33496
- var util2 = __require("util");
33464
+ var EventEmitter = require("events").EventEmitter;
33465
+ var util2 = require("util");
33497
33466
  var utils = require_utils2();
33498
33467
  var sasl = require_sasl();
33499
33468
  var pgPass = require_lib2();
@@ -33984,15 +33953,15 @@ var require_client2 = __commonJS({
33984
33953
  }
33985
33954
  };
33986
33955
  Client.Query = Query;
33987
- module.exports = Client;
33956
+ module2.exports = Client;
33988
33957
  }
33989
33958
  });
33990
33959
 
33991
33960
  // node_modules/.pnpm/pg-pool@3.6.0_pg@8.8.0/node_modules/pg-pool/index.js
33992
33961
  var require_pg_pool = __commonJS({
33993
- "node_modules/.pnpm/pg-pool@3.6.0_pg@8.8.0/node_modules/pg-pool/index.js"(exports, module) {
33962
+ "node_modules/.pnpm/pg-pool@3.6.0_pg@8.8.0/node_modules/pg-pool/index.js"(exports, module2) {
33994
33963
  "use strict";
33995
- var EventEmitter = __require("events").EventEmitter;
33964
+ var EventEmitter = require("events").EventEmitter;
33996
33965
  var NOOP = function() {
33997
33966
  };
33998
33967
  var removeWhere = (list, predicate) => {
@@ -34364,14 +34333,14 @@ var require_pg_pool = __commonJS({
34364
34333
  return this._clients.length;
34365
34334
  }
34366
34335
  };
34367
- module.exports = Pool2;
34336
+ module2.exports = Pool2;
34368
34337
  }
34369
34338
  });
34370
34339
 
34371
34340
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/package.json
34372
34341
  var require_package = __commonJS({
34373
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/package.json"(exports, module) {
34374
- module.exports = {
34342
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/package.json"(exports, module2) {
34343
+ module2.exports = {
34375
34344
  name: "pg",
34376
34345
  version: "8.8.0",
34377
34346
  description: "PostgreSQL client - pure javascript & libpq with the same API",
@@ -34433,12 +34402,12 @@ var require_package = __commonJS({
34433
34402
 
34434
34403
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/native/query.js
34435
34404
  var require_query4 = __commonJS({
34436
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/native/query.js"(exports, module) {
34405
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/native/query.js"(exports, module2) {
34437
34406
  "use strict";
34438
- var EventEmitter = __require("events").EventEmitter;
34439
- var util2 = __require("util");
34407
+ var EventEmitter = require("events").EventEmitter;
34408
+ var util2 = require("util");
34440
34409
  var utils = require_utils2();
34441
- var NativeQuery = module.exports = function(config, values, callback) {
34410
+ var NativeQuery = module2.exports = function(config, values, callback) {
34442
34411
  EventEmitter.call(this);
34443
34412
  config = utils.normalizeQueryConfig(config, values, callback);
34444
34413
  this.text = config.text;
@@ -34575,16 +34544,16 @@ var require_query4 = __commonJS({
34575
34544
 
34576
34545
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/native/client.js
34577
34546
  var require_client3 = __commonJS({
34578
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/native/client.js"(exports, module) {
34547
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/native/client.js"(exports, module2) {
34579
34548
  "use strict";
34580
- var Native = __require("pg-native");
34549
+ var Native = require("pg-native");
34581
34550
  var TypeOverrides = require_type_overrides();
34582
34551
  var pkg = require_package();
34583
- var EventEmitter = __require("events").EventEmitter;
34584
- var util2 = __require("util");
34552
+ var EventEmitter = require("events").EventEmitter;
34553
+ var util2 = require("util");
34585
34554
  var ConnectionParameters = require_connection_parameters();
34586
34555
  var NativeQuery = require_query4();
34587
- var Client = module.exports = function(config) {
34556
+ var Client = module2.exports = function(config) {
34588
34557
  EventEmitter.call(this);
34589
34558
  config = config || {};
34590
34559
  this._Promise = config.Promise || global.Promise;
@@ -34808,15 +34777,15 @@ var require_client3 = __commonJS({
34808
34777
 
34809
34778
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/native/index.js
34810
34779
  var require_native = __commonJS({
34811
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/native/index.js"(exports, module) {
34780
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/native/index.js"(exports, module2) {
34812
34781
  "use strict";
34813
- module.exports = require_client3();
34782
+ module2.exports = require_client3();
34814
34783
  }
34815
34784
  });
34816
34785
 
34817
34786
  // node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/index.js
34818
34787
  var require_lib3 = __commonJS({
34819
- "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/index.js"(exports, module) {
34788
+ "node_modules/.pnpm/pg@8.8.0/node_modules/pg/lib/index.js"(exports, module2) {
34820
34789
  "use strict";
34821
34790
  var Client = require_client2();
34822
34791
  var defaults2 = require_defaults();
@@ -34841,10 +34810,10 @@ var require_lib3 = __commonJS({
34841
34810
  this.DatabaseError = DatabaseError;
34842
34811
  };
34843
34812
  if (typeof process.env.NODE_PG_FORCE_NATIVE !== "undefined") {
34844
- module.exports = new PG(require_native());
34813
+ module2.exports = new PG(require_native());
34845
34814
  } else {
34846
- module.exports = new PG(Client);
34847
- Object.defineProperty(module.exports, "native", {
34815
+ module2.exports = new PG(Client);
34816
+ Object.defineProperty(module2.exports, "native", {
34848
34817
  configurable: true,
34849
34818
  enumerable: false,
34850
34819
  get() {
@@ -34856,7 +34825,7 @@ var require_lib3 = __commonJS({
34856
34825
  throw err2;
34857
34826
  }
34858
34827
  }
34859
- Object.defineProperty(module.exports, "native", {
34828
+ Object.defineProperty(module2.exports, "native", {
34860
34829
  value: native
34861
34830
  });
34862
34831
  return native;
@@ -35407,9 +35376,15 @@ var init_pgIntrospect = __esm({
35407
35376
  });
35408
35377
 
35409
35378
  // src/cli/index.ts
35379
+ var cli_exports = {};
35380
+ __export(cli_exports, {
35381
+ Select: () => Select,
35382
+ checkSchema: () => checkSchema
35383
+ });
35384
+ module.exports = __toCommonJS(cli_exports);
35385
+ var import_commander = require("commander");
35386
+ var import_fs11 = require("fs");
35410
35387
  init_lib();
35411
- import { Command, program } from "commander";
35412
- import { writeFileSync as writeFileSync5 } from "fs";
35413
35388
 
35414
35389
  // src/cli/commands/check.ts
35415
35390
  init_utils();
@@ -35450,7 +35425,7 @@ var checkHandler = (out, dialect6) => {
35450
35425
 
35451
35426
  // src/cli/index.ts
35452
35427
  var import_hanji7 = __toESM(require_hanji());
35453
- import Path2 from "path";
35428
+ var import_path7 = __toESM(require("path"));
35454
35429
 
35455
35430
  // src/cli/utils.ts
35456
35431
  init_views();
@@ -35469,16 +35444,22 @@ var assertPackages = async (...pkgs) => {
35469
35444
  };
35470
35445
  var requiredApiVersion = 4;
35471
35446
  var assertOrmCoreVersion = async () => {
35472
- const { compatibilityVersion } = await import("drizzle-orm/version");
35473
- if (compatibilityVersion && compatibilityVersion === requiredApiVersion)
35474
- return;
35475
- if (!compatibilityVersion || compatibilityVersion < requiredApiVersion) {
35476
- console.log(
35477
- "This version of drizzle-kit requires newer version of drizzle-orm\nPlease update drizzle-orm package to the latest version \u{1F44D}"
35478
- );
35479
- } else {
35447
+ try {
35448
+ const { compatibilityVersion } = await import("drizzle-orm/version");
35449
+ if (compatibilityVersion && compatibilityVersion === requiredApiVersion)
35450
+ return;
35451
+ if (!compatibilityVersion || compatibilityVersion < requiredApiVersion) {
35452
+ console.log(
35453
+ "This version of drizzle-kit requires newer version of drizzle-orm\nPlease update drizzle-orm package to the latest version \u{1F44D}"
35454
+ );
35455
+ } else {
35456
+ console.log(
35457
+ "This version of drizzle-kit is outdated\nPlease update drizzle-kit package to the latest version \u{1F44D}"
35458
+ );
35459
+ }
35460
+ } catch (e) {
35480
35461
  console.log(
35481
- "This version of drizzle-kit is outdated\nPlease update drizzle-kit package to the latest version \u{1F44D}"
35462
+ "Please install latest version of drizzle-orm"
35482
35463
  );
35483
35464
  }
35484
35465
  process.exit(1);
@@ -35503,7 +35484,7 @@ var package_default = {
35503
35484
  author: "Drizzle Team",
35504
35485
  license: "MIT",
35505
35486
  bin: {
35506
- "drizzle-kit": "./index.mjs"
35487
+ "drizzle-kit": "./index.cjs"
35507
35488
  },
35508
35489
  scripts: {
35509
35490
  "migrate:old": "drizzle-kit generate:pg --out ./dev/migrations-pg --schema ./dev/migrations-pg/schema.ts",
@@ -35545,10 +35526,10 @@ var package_default = {
35545
35526
  ]
35546
35527
  },
35547
35528
  dependencies: {
35529
+ "@esbuild-kit/esm-loader": "^2.5.5",
35548
35530
  camelcase: "^7.0.1",
35549
35531
  chalk: "^5.2.0",
35550
35532
  commander: "^9.4.1",
35551
- "esbuild-register": "^3.4.2",
35552
35533
  glob: "^8.1.0",
35553
35534
  hanji: "^0.0.5",
35554
35535
  "json-diff": "0.9.0",
@@ -35566,8 +35547,7 @@ var package_default = {
35566
35547
  ava: "^5.1.0",
35567
35548
  dockerode: "^3.3.4",
35568
35549
  dotenv: "^16.0.3",
35569
- "drizzle-kit": "^0.16.8",
35570
- "drizzle-orm": "0.25.1",
35550
+ "drizzle-orm": "0.26.5-ad5d574",
35571
35551
  esbuild: "^0.17.19",
35572
35552
  eslint: "^8.29.0",
35573
35553
  "eslint-config-prettier": "^8.5.0",
@@ -35592,9 +35572,9 @@ init_pgUp();
35592
35572
 
35593
35573
  // src/cli/commands/sqliteUp.ts
35594
35574
  init_source();
35575
+ var import_fs8 = __toESM(require("fs"));
35595
35576
  init_sqliteSchema();
35596
35577
  init_utils();
35597
- import fs5 from "fs";
35598
35578
  var upSqliteHandler = (out) => {
35599
35579
  };
35600
35580
  var upSqliteHandlerV4 = (out) => {
@@ -35607,7 +35587,7 @@ var upSqliteHandlerV4 = (out) => {
35607
35587
  const path3 = it.path;
35608
35588
  const result = updateToLatestV42(it.raw);
35609
35589
  console.log(`[${source_default.green("\u2713")}] ${path3}`);
35610
- fs5.writeFileSync(path3, JSON.stringify(result, null, 2));
35590
+ import_fs8.default.writeFileSync(path3, JSON.stringify(result, null, 2));
35611
35591
  });
35612
35592
  console.log("Everything's fine \u{1F436}\u{1F525}");
35613
35593
  };
@@ -35641,14 +35621,14 @@ init_mysqlSchema();
35641
35621
 
35642
35622
  // src/cli/commands/drop.ts
35643
35623
  init_source();
35624
+ var import_fs9 = require("fs");
35644
35625
  var import_hanji3 = __toESM(require_hanji());
35626
+ var import_path5 = require("path");
35645
35627
  init_views();
35646
- import { readFileSync as readFileSync3, rmSync as rmSync2, writeFileSync as writeFileSync4 } from "fs";
35647
- import { join as join4 } from "path";
35648
35628
  var dropMigration = async (out) => {
35649
- const metaFilePath = join4(out, "meta", "_journal.json");
35629
+ const metaFilePath = (0, import_path5.join)(out, "meta", "_journal.json");
35650
35630
  const journal = JSON.parse(
35651
- readFileSync3(metaFilePath, "utf-8")
35631
+ (0, import_fs9.readFileSync)(metaFilePath, "utf-8")
35652
35632
  );
35653
35633
  const result = await (0, import_hanji3.render)(new DropMigrationView(journal.entries));
35654
35634
  if (result.status === "aborted")
@@ -35658,22 +35638,22 @@ var dropMigration = async (out) => {
35658
35638
  ...journal,
35659
35639
  entries: journal.entries.filter(Boolean)
35660
35640
  };
35661
- const sqlFilePath = join4(out, `${result.data.tag}.sql`);
35662
- const snapshotFilePath = join4(out, "meta", `${result.data.idx.toFixed(0).padStart(4, "0")}_snapshot.json`);
35663
- rmSync2(sqlFilePath);
35664
- rmSync2(snapshotFilePath);
35665
- writeFileSync4(metaFilePath, JSON.stringify(resultJournal));
35641
+ const sqlFilePath = (0, import_path5.join)(out, `${result.data.tag}.sql`);
35642
+ const snapshotFilePath = (0, import_path5.join)(out, "meta", `${result.data.idx.toFixed(0).padStart(4, "0")}_snapshot.json`);
35643
+ (0, import_fs9.rmSync)(sqlFilePath);
35644
+ (0, import_fs9.rmSync)(snapshotFilePath);
35645
+ (0, import_fs9.writeFileSync)(metaFilePath, JSON.stringify(resultJournal));
35666
35646
  console.log(`[${source_default.green("\u2713")}] ${source_default.bold(result.data.tag)} migration successfully dropped`);
35667
35647
  };
35668
35648
 
35669
35649
  // src/cli/commands/utils.ts
35670
35650
  init_serializer();
35671
35651
  init_lib();
35652
+ var import_path6 = require("path");
35672
35653
  init_source();
35654
+ var import_fs10 = require("fs");
35673
35655
  init_views();
35674
35656
  var import_hanji4 = __toESM(require_hanji());
35675
- import { join as join5, resolve } from "path";
35676
- import { existsSync as existsSync3 } from "fs";
35677
35657
  var prepareGenerateConfig = async (options) => {
35678
35658
  const { schema: schema4, out, config, breakpoints, custom } = options;
35679
35659
  if (!(schema4 && out)) {
@@ -35751,10 +35731,10 @@ var mySqlIntrospectConfigSchema = intersectionType(
35751
35731
  mysqlConnectionSchema
35752
35732
  );
35753
35733
  var drizzleConfigFromFile = async (configPath) => {
35754
- const defaultTsConfigExists = existsSync3(join5(resolve("drizzle.config.ts")));
35755
- const defaultJsConfigExists = existsSync3(join5(resolve("drizzle.config.js")));
35756
- const defaultJsonConfigExists = existsSync3(
35757
- join5(resolve("drizzle.config.json"))
35734
+ const defaultTsConfigExists = (0, import_fs10.existsSync)((0, import_path6.join)((0, import_path6.resolve)("drizzle.config.ts")));
35735
+ const defaultJsConfigExists = (0, import_fs10.existsSync)((0, import_path6.join)((0, import_path6.resolve)("drizzle.config.js")));
35736
+ const defaultJsonConfigExists = (0, import_fs10.existsSync)(
35737
+ (0, import_path6.join)((0, import_path6.resolve)("drizzle.config.json"))
35758
35738
  );
35759
35739
  const defaultConfigPath = defaultTsConfigExists ? "drizzle.config.ts" : defaultJsConfigExists ? "drizzle.config.js" : "drizzle.config.json";
35760
35740
  if (!configPath) {
@@ -35764,16 +35744,14 @@ var drizzleConfigFromFile = async (configPath) => {
35764
35744
  )
35765
35745
  );
35766
35746
  }
35767
- const path3 = join5(resolve(configPath ?? defaultConfigPath));
35768
- if (!existsSync3(path3)) {
35747
+ const path3 = (0, import_path6.join)((0, import_path6.resolve)(configPath ?? defaultConfigPath));
35748
+ if (!(0, import_fs10.existsSync)(path3)) {
35769
35749
  console.log(`${path3} file does not exist`);
35770
35750
  process.exit(1);
35771
35751
  }
35772
35752
  console.log(source_default.grey(`Reading config file '${path3}'`));
35773
- const required = await import(path3);
35753
+ const required = await import(`drizzle://${path3}`);
35774
35754
  const content = required.default ?? required;
35775
- console.log(required);
35776
- console.log(required.default);
35777
35755
  const res = mySqlCliConfigSchema.safeParse(content);
35778
35756
  if (!res.success) {
35779
35757
  console.error(res.error);
@@ -35783,10 +35761,10 @@ var drizzleConfigFromFile = async (configPath) => {
35783
35761
  return res.data;
35784
35762
  };
35785
35763
  var readDrizzleConfig = async (configPath) => {
35786
- const defaultTsConfigExists = existsSync3(join5(resolve("drizzle.config.ts")));
35787
- const defaultJsConfigExists = existsSync3(join5(resolve("drizzle.config.js")));
35788
- const defaultJsonConfigExists = existsSync3(
35789
- join5(resolve("drizzle.config.json"))
35764
+ const defaultTsConfigExists = (0, import_fs10.existsSync)((0, import_path6.join)((0, import_path6.resolve)("drizzle.config.ts")));
35765
+ const defaultJsConfigExists = (0, import_fs10.existsSync)((0, import_path6.join)((0, import_path6.resolve)("drizzle.config.js")));
35766
+ const defaultJsonConfigExists = (0, import_fs10.existsSync)(
35767
+ (0, import_path6.join)((0, import_path6.resolve)("drizzle.config.json"))
35790
35768
  );
35791
35769
  const defaultConfigPath = defaultTsConfigExists ? "drizzle.config.ts" : defaultJsConfigExists ? "drizzle.config.js" : "drizzle.config.json";
35792
35770
  if (!configPath) {
@@ -35796,13 +35774,13 @@ var readDrizzleConfig = async (configPath) => {
35796
35774
  )
35797
35775
  );
35798
35776
  }
35799
- const path3 = join5(resolve(configPath ?? defaultConfigPath));
35800
- if (!existsSync3(path3)) {
35777
+ const path3 = (0, import_path6.join)((0, import_path6.resolve)(configPath ?? defaultConfigPath));
35778
+ if (!(0, import_fs10.existsSync)(path3)) {
35801
35779
  console.log(source_default.red(`${path3} file does not exist`));
35802
35780
  process.exit(1);
35803
35781
  }
35804
35782
  console.log(source_default.grey(`Reading config file '${path3}'`));
35805
- const required = await import(path3);
35783
+ const required = await import(`drizzle://${path3}`);
35806
35784
  const content = required.default ?? required;
35807
35785
  return content;
35808
35786
  };
@@ -35995,7 +35973,7 @@ var optionsSchema = objectType({
35995
35973
  breakpoints: booleanType().optional().default(false),
35996
35974
  custom: booleanType().optional().default(false)
35997
35975
  }).strict();
35998
- var generatePgCommand = new Command("generate:pg").option("--schema <schema...>", "Path to a schema file or folder").option("--out <out>", `Output folder, 'drizzle' by default`).option("--breakpoints", `Prepare SQL statements with breakpoints`).option("--custom", "Prepare empty migration file for custom SQL").option(
35976
+ var generatePgCommand = new import_commander.Command("generate:pg").option("--schema <schema...>", "Path to a schema file or folder").option("--out <out>", `Output folder, 'drizzle' by default`).option("--breakpoints", `Prepare SQL statements with breakpoints`).option("--custom", "Prepare empty migration file for custom SQL").option(
35999
35977
  "--config <config>",
36000
35978
  "Path to a config.json file, drizzle.config.json by default"
36001
35979
  ).action(async (options) => {
@@ -36007,7 +35985,7 @@ var generatePgCommand = new Command("generate:pg").option("--schema <schema...>"
36007
35985
  const { prepareAndMigratePg: prepareAndMigratePg2 } = await Promise.resolve().then(() => (init_migrate(), migrate_exports));
36008
35986
  await prepareAndMigratePg2(result);
36009
35987
  });
36010
- var generateMysqlCommand = new Command("generate:mysql").option("--schema <schema...>", "Path to a schema file or folder").option("--out <out>", `Output folder, 'drizzle' by default`).option("--breakpoints", `Prepare SQL statements with breakpoints`).option("--custom", "Prepare empty migration file for custom SQL").option(
35988
+ var generateMysqlCommand = new import_commander.Command("generate:mysql").option("--schema <schema...>", "Path to a schema file or folder").option("--out <out>", `Output folder, 'drizzle' by default`).option("--breakpoints", `Prepare SQL statements with breakpoints`).option("--custom", "Prepare empty migration file for custom SQL").option(
36011
35989
  "--config <config>",
36012
35990
  "Path to a config.json file, drizzle.config.json by default"
36013
35991
  ).action(async (options) => {
@@ -36048,7 +36026,7 @@ var Select = class extends import_hanji7.Prompt {
36048
36026
  };
36049
36027
  }
36050
36028
  };
36051
- var dbPushMysqlCommand = new Command("push:mysql").option(
36029
+ var dbPushMysqlCommand = new import_commander.Command("push:mysql").option(
36052
36030
  "--config <config>",
36053
36031
  "Path to a config.json file, drizzle.config.json by default"
36054
36032
  ).action(async (options) => {
@@ -36127,7 +36105,7 @@ var dbPushMysqlCommand = new Command("push:mysql").option(
36127
36105
  await connection.client.end();
36128
36106
  process.exit(0);
36129
36107
  });
36130
- var generateSqliteCommand = new Command("generate:sqlite").option("--schema <schema...>", "Path to a schema file or folder").option("--out <out>", `Output folder, 'drizzle' by default`).option("--breakpoints", `Prepare SQL statements with breakpoints`).option("--custom", "Prepare empty migration file for custom SQL").option(
36108
+ var generateSqliteCommand = new import_commander.Command("generate:sqlite").option("--schema <schema...>", "Path to a schema file or folder").option("--out <out>", `Output folder, 'drizzle' by default`).option("--breakpoints", `Prepare SQL statements with breakpoints`).option("--custom", "Prepare empty migration file for custom SQL").option(
36131
36109
  "--config <config>",
36132
36110
  "Path to a config.json file, drizzle.config.json by default"
36133
36111
  ).action(async (options) => {
@@ -36143,7 +36121,7 @@ var checkSchema = objectType({
36143
36121
  out: stringType().optional(),
36144
36122
  config: stringType().default("drizzle.config.json")
36145
36123
  }).strict();
36146
- var checkPgCommand = new Command("check:pg").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.json]`).action(async (options) => {
36124
+ var checkPgCommand = new import_commander.Command("check:pg").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.json]`).action(async (options) => {
36147
36125
  await printVersions();
36148
36126
  await assertOrmCoreVersion();
36149
36127
  const params = checkSchema.parse(options);
@@ -36151,7 +36129,7 @@ var checkPgCommand = new Command("check:pg").option("--out <out>", `Output folde
36151
36129
  checkHandler(out, "pg");
36152
36130
  console.log("Everything's fine \u{1F436}\u{1F525}");
36153
36131
  });
36154
- var checkSqliteCommand = new Command("check:sqlite").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.json]`).action(async (options) => {
36132
+ var checkSqliteCommand = new import_commander.Command("check:sqlite").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.json]`).action(async (options) => {
36155
36133
  await printVersions();
36156
36134
  await assertOrmCoreVersion();
36157
36135
  const params = checkSchema.parse(options);
@@ -36159,7 +36137,7 @@ var checkSqliteCommand = new Command("check:sqlite").option("--out <out>", `Outp
36159
36137
  checkHandler(out, "sqlite");
36160
36138
  console.log("Everything's fine \u{1F436}\u{1F525}");
36161
36139
  });
36162
- var upPgCommand = new Command("up:pg").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.json]`).action(async (options) => {
36140
+ var upPgCommand = new import_commander.Command("up:pg").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.json]`).action(async (options) => {
36163
36141
  await printVersions();
36164
36142
  await assertOrmCoreVersion();
36165
36143
  const params = checkSchema.parse(options);
@@ -36169,7 +36147,7 @@ var upPgCommand = new Command("up:pg").option("--out <out>", `Output folder`).op
36169
36147
  upgradeFolders("pg", out);
36170
36148
  upPgHandler(out);
36171
36149
  });
36172
- var upMysqlCommand = new Command("up:mysql").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.json]`).action(async (options) => {
36150
+ var upMysqlCommand = new import_commander.Command("up:mysql").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.json]`).action(async (options) => {
36173
36151
  await printVersions();
36174
36152
  await assertOrmCoreVersion();
36175
36153
  const params = checkSchema.parse(options);
@@ -36179,7 +36157,7 @@ var upMysqlCommand = new Command("up:mysql").option("--out <out>", `Output folde
36179
36157
  upgradeFolders("mysql", out);
36180
36158
  upMysqlHandler(out);
36181
36159
  });
36182
- var upSqliteCommand = new Command("up:sqlite").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.ts]`).action(async (options) => {
36160
+ var upSqliteCommand = new import_commander.Command("up:sqlite").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.ts]`).action(async (options) => {
36183
36161
  await printVersions();
36184
36162
  await assertOrmCoreVersion();
36185
36163
  const params = checkSchema.parse(options);
@@ -36192,7 +36170,7 @@ var pt1 = objectType({
36192
36170
  out: stringType(),
36193
36171
  breakpoints: booleanType().optional().default(false)
36194
36172
  });
36195
- var introspectPgCommand = new Command("introspect:pg").option("--out <out>", `Migrations folder`).option("--breakpoints", `Prepare SQL statements with breakpoints`).option("--connectionString <connectionString>", "Postgres connection string").option("--host <host>", "Postgres host").option("--port <port>", "Postgres port").option("--user <user>", "Postgres user").option("--password <password>", "Postgres password").option("--database <database>", "Postgres database name").option("--ssl <ssl>", "Postgres ssl").option("--config <config>", `Config path [default=drizzle.config.ts]`).action(async (options) => {
36173
+ var introspectPgCommand = new import_commander.Command("introspect:pg").option("--out <out>", `Migrations folder`).option("--breakpoints", `Prepare SQL statements with breakpoints`).option("--connectionString <connectionString>", "Postgres connection string").option("--host <host>", "Postgres host").option("--port <port>", "Postgres port").option("--user <user>", "Postgres user").option("--password <password>", "Postgres password").option("--database <database>", "Postgres database name").option("--ssl <ssl>", "Postgres ssl").option("--config <config>", `Config path [default=drizzle.config.ts]`).action(async (options) => {
36196
36174
  await printVersions();
36197
36175
  await assertPackages("drizzle-orm");
36198
36176
  await assertOrmCoreVersion();
@@ -36211,8 +36189,8 @@ var introspectPgCommand = new Command("introspect:pg").option("--out <out>", `Mi
36211
36189
  }
36212
36190
  const { snapshots, journal } = prepareOutFolder2(res.data.out, "pg");
36213
36191
  const { schema: schema4, ts } = await pgIntrospect2(res.data);
36214
- const schemaFile = Path2.join(res.data.out, "schema.ts");
36215
- writeFileSync5(schemaFile, ts);
36192
+ const schemaFile = import_path7.default.join(res.data.out, "schema.ts");
36193
+ (0, import_fs11.writeFileSync)(schemaFile, ts);
36216
36194
  console.log();
36217
36195
  if (snapshots.length === 0) {
36218
36196
  const { sqlStatements, _meta } = await prepareSQL(
@@ -36247,7 +36225,7 @@ var introspectPgCommand = new Command("introspect:pg").option("--out <out>", `Mi
36247
36225
  );
36248
36226
  process.exit(0);
36249
36227
  });
36250
- var introspectMySqlCommand = new Command("introspect:mysql").option(
36228
+ var introspectMySqlCommand = new import_commander.Command("introspect:mysql").option(
36251
36229
  "--config <config>",
36252
36230
  "Path to a config.json file, drizzle.config.json by default"
36253
36231
  ).option("--out <out>", `Migrations folder`).option("--breakpoints", `Prepare SQL statements with breakpoints`).option("--connectionString <connectionString>", "MySQL connection string").option("--host <host>", "MySQL host").option("--port <port>", "MySQL port").option("--user <user>", "MySQL user").option("--password <password>", "MySQL password").option("--database <database>", "MySQL database name").action(async (options) => {
@@ -36266,8 +36244,8 @@ var introspectMySqlCommand = new Command("introspect:mysql").option(
36266
36244
  const out = res.data.out;
36267
36245
  const { snapshots, journal } = prepareOutFolder2(out, "mysql");
36268
36246
  const { schema: schema4, ts } = await mysqlIntrospect2(res.data);
36269
- const schemaFile = Path2.join(out, "schema.ts");
36270
- writeFileSync5(schemaFile, ts);
36247
+ const schemaFile = import_path7.default.join(out, "schema.ts");
36248
+ (0, import_fs11.writeFileSync)(schemaFile, ts);
36271
36249
  console.log();
36272
36250
  if (snapshots.length === 0) {
36273
36251
  const { sqlStatements, _meta } = await prepareSQL(
@@ -36302,7 +36280,7 @@ var introspectMySqlCommand = new Command("introspect:mysql").option(
36302
36280
  );
36303
36281
  process.exit(0);
36304
36282
  });
36305
- var dropCommand = new Command("drop").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.json]`).action(async (options) => {
36283
+ var dropCommand = new import_commander.Command("drop").option("--out <out>", `Output folder`).option("--config <config>", `Config path [default=drizzle.config.json]`).action(async (options) => {
36306
36284
  await printVersions();
36307
36285
  await assertOrmCoreVersion();
36308
36286
  const params = checkSchema.parse(options);
@@ -36312,23 +36290,24 @@ var dropCommand = new Command("drop").option("--out <out>", `Output folder`).opt
36312
36290
  });
36313
36291
  var main = async () => {
36314
36292
  const version = await versions();
36315
- program.version(version, "--version, -v");
36316
- program.addCommand(generatePgCommand);
36317
- program.addCommand(generateMysqlCommand);
36318
- program.addCommand(generateSqliteCommand);
36319
- program.addCommand(checkPgCommand);
36320
- program.addCommand(checkSqliteCommand);
36321
- program.addCommand(upPgCommand);
36322
- program.addCommand(upMysqlCommand);
36323
- program.addCommand(upSqliteCommand);
36324
- program.addCommand(introspectPgCommand);
36325
- program.addCommand(introspectMySqlCommand);
36326
- program.addCommand(dropCommand);
36327
- program.addCommand(dbPushMysqlCommand);
36328
- program.parse();
36293
+ import_commander.program.version(version, "--version, -v");
36294
+ import_commander.program.addCommand(generatePgCommand);
36295
+ import_commander.program.addCommand(generateMysqlCommand);
36296
+ import_commander.program.addCommand(generateSqliteCommand);
36297
+ import_commander.program.addCommand(checkPgCommand);
36298
+ import_commander.program.addCommand(checkSqliteCommand);
36299
+ import_commander.program.addCommand(upPgCommand);
36300
+ import_commander.program.addCommand(upMysqlCommand);
36301
+ import_commander.program.addCommand(upSqliteCommand);
36302
+ import_commander.program.addCommand(introspectPgCommand);
36303
+ import_commander.program.addCommand(introspectMySqlCommand);
36304
+ import_commander.program.addCommand(dropCommand);
36305
+ import_commander.program.addCommand(dbPushMysqlCommand);
36306
+ import_commander.program.parse();
36329
36307
  };
36330
36308
  main();
36331
- export {
36309
+ // Annotate the CommonJS export names for ESM import in node:
36310
+ 0 && (module.exports = {
36332
36311
  Select,
36333
36312
  checkSchema
36334
- };
36313
+ });