@prisma/migrate 6.19.0-integration-feat-remove-library-engine.3 → 6.19.0-integration-next.15

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.
Files changed (37) hide show
  1. package/dist/Migrate.js +3 -3
  2. package/dist/bin.js +24 -24
  3. package/dist/{chunk-3VYHMV3C.js → chunk-4LNQFWQD.js} +5 -5
  4. package/dist/{chunk-PJYHZKCF.js → chunk-ANMWKEMD.js} +5 -5
  5. package/dist/{chunk-TCBZUTEL.js → chunk-AP47ZTTC.js} +5 -5
  6. package/dist/{chunk-URVKYSZJ.js → chunk-CQLPPAWH.js} +5 -5
  7. package/dist/{chunk-O57XJHDD.js → chunk-HDTRNRXE.js} +39 -62
  8. package/dist/{chunk-V5D5NSLS.js → chunk-MOFG2YPJ.js} +22 -32
  9. package/dist/{chunk-45NSU26W.js → chunk-NG4757TP.js} +6 -6
  10. package/dist/{chunk-FRY7T46S.js → chunk-OP2BDF75.js} +11 -10
  11. package/dist/{chunk-QZUMMKCI.js → chunk-OPD3GTJ2.js} +7 -7
  12. package/dist/{chunk-L7EZXEMS.js → chunk-Q66L2LFA.js} +5 -5
  13. package/dist/{chunk-XA2JOJS2.js → chunk-QVMYNWAN.js} +70 -157
  14. package/dist/{chunk-LNQIFWXN.js → chunk-SIUB4YHK.js} +5 -5
  15. package/dist/{chunk-2Z63R7HP.js → chunk-UJA5DXI3.js} +5 -5
  16. package/dist/{chunk-T2ACIU5M.js → chunk-VU5BLQUI.js} +8 -14
  17. package/dist/{chunk-JX2HIV7V.js → chunk-VV4M6AN7.js} +10 -10
  18. package/dist/{chunk-JVGKTJYZ.js → chunk-XAPRGBTZ.js} +5 -5
  19. package/dist/commands/DbExecute.js +4 -4
  20. package/dist/commands/DbPull.js +5 -5
  21. package/dist/commands/DbPush.js +4 -4
  22. package/dist/commands/MigrateDeploy.js +4 -4
  23. package/dist/commands/MigrateDev.js +4 -4
  24. package/dist/commands/MigrateDiff.js +4 -4
  25. package/dist/commands/MigrateReset.js +4 -4
  26. package/dist/commands/MigrateResolve.js +4 -4
  27. package/dist/commands/MigrateStatus.js +4 -4
  28. package/dist/index.js +26 -26
  29. package/dist/utils/getDatabaseVersionSafe.js +4 -4
  30. package/dist/utils/introspectSql.js +4 -4
  31. package/dist/utils/setupCockroach.js +2 -2
  32. package/dist/utils/setupMSSQL.js +30480 -31090
  33. package/dist/utils/setupMongo.js +768 -2048
  34. package/dist/utils/setupPostgres.js +2 -2
  35. package/dist/utils/spinner.js +3 -3
  36. package/package.json +10 -10
  37. package/dist/open-GFNXULGD.js +0 -593
package/dist/Migrate.js CHANGED
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var Migrate_exports = {};
20
20
  __export(Migrate_exports, {
21
- Migrate: () => import_chunk_V5D5NSLS.Migrate
21
+ Migrate: () => import_chunk_MOFG2YPJ.Migrate
22
22
  });
23
23
  module.exports = __toCommonJS(Migrate_exports);
24
- var import_chunk_V5D5NSLS = require("./chunk-V5D5NSLS.js");
25
- var import_chunk_JX2HIV7V = require("./chunk-JX2HIV7V.js");
24
+ var import_chunk_MOFG2YPJ = require("./chunk-MOFG2YPJ.js");
25
+ var import_chunk_VV4M6AN7 = require("./chunk-VV4M6AN7.js");
26
26
  var import_chunk_T64SUJ5L = require("./chunk-T64SUJ5L.js");
27
27
  var import_chunk_GGA2F64G = require("./chunk-GGA2F64G.js");
28
28
  var import_chunk_23DZXSTI = require("./chunk-23DZXSTI.js");
package/dist/bin.js CHANGED
@@ -23,22 +23,22 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
23
  mod
24
24
  ));
25
25
  var import_chunk_NGQA5JTN = require("./chunk-NGQA5JTN.js");
26
- var import_chunk_LNQIFWXN = require("./chunk-LNQIFWXN.js");
27
- var import_chunk_PJYHZKCF = require("./chunk-PJYHZKCF.js");
28
- var import_chunk_3VYHMV3C = require("./chunk-3VYHMV3C.js");
26
+ var import_chunk_SIUB4YHK = require("./chunk-SIUB4YHK.js");
27
+ var import_chunk_ANMWKEMD = require("./chunk-ANMWKEMD.js");
28
+ var import_chunk_4LNQFWQD = require("./chunk-4LNQFWQD.js");
29
29
  var import_chunk_C3722PDA = require("./chunk-C3722PDA.js");
30
30
  var import_chunk_7CQBDP4H = require("./chunk-7CQBDP4H.js");
31
- var import_chunk_O57XJHDD = require("./chunk-O57XJHDD.js");
31
+ var import_chunk_HDTRNRXE = require("./chunk-HDTRNRXE.js");
32
32
  var import_chunk_VAJ4VX67 = require("./chunk-VAJ4VX67.js");
33
- var import_chunk_2Z63R7HP = require("./chunk-2Z63R7HP.js");
33
+ var import_chunk_UJA5DXI3 = require("./chunk-UJA5DXI3.js");
34
34
  var import_chunk_KRQEFTDT = require("./chunk-KRQEFTDT.js");
35
35
  var import_chunk_UP6FVCDK = require("./chunk-UP6FVCDK.js");
36
- var import_chunk_45NSU26W = require("./chunk-45NSU26W.js");
37
- var import_chunk_L7EZXEMS = require("./chunk-L7EZXEMS.js");
36
+ var import_chunk_NG4757TP = require("./chunk-NG4757TP.js");
37
+ var import_chunk_Q66L2LFA = require("./chunk-Q66L2LFA.js");
38
38
  var import_chunk_EJG7GKM7 = require("./chunk-EJG7GKM7.js");
39
- var import_chunk_TCBZUTEL = require("./chunk-TCBZUTEL.js");
40
- var import_chunk_QZUMMKCI = require("./chunk-QZUMMKCI.js");
41
- var import_chunk_T2ACIU5M = require("./chunk-T2ACIU5M.js");
39
+ var import_chunk_AP47ZTTC = require("./chunk-AP47ZTTC.js");
40
+ var import_chunk_OPD3GTJ2 = require("./chunk-OPD3GTJ2.js");
41
+ var import_chunk_VU5BLQUI = require("./chunk-VU5BLQUI.js");
42
42
  var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
43
43
  var import_chunk_JZ75RIMZ = require("./chunk-JZ75RIMZ.js");
44
44
  var import_chunk_RTGQXNX6 = require("./chunk-RTGQXNX6.js");
@@ -46,7 +46,7 @@ var import_chunk_JFKDSUIE = require("./chunk-JFKDSUIE.js");
46
46
  var import_chunk_AI6DH66U = require("./chunk-AI6DH66U.js");
47
47
  var import_chunk_LGYRZ6CV = require("./chunk-LGYRZ6CV.js");
48
48
  var import_chunk_2R6DII47 = require("./chunk-2R6DII47.js");
49
- var import_chunk_URVKYSZJ = require("./chunk-URVKYSZJ.js");
49
+ var import_chunk_CQLPPAWH = require("./chunk-CQLPPAWH.js");
50
50
  var import_chunk_FBDQVK4W = require("./chunk-FBDQVK4W.js");
51
51
  var import_chunk_3WC4XD74 = require("./chunk-3WC4XD74.js");
52
52
  var import_chunk_2FXU5NZQ = require("./chunk-2FXU5NZQ.js");
@@ -55,8 +55,8 @@ var import_chunk_TWPTG4XS = require("./chunk-TWPTG4XS.js");
55
55
  var import_chunk_W2NKGYXF = require("./chunk-W2NKGYXF.js");
56
56
  var import_chunk_L7EZFBB4 = require("./chunk-L7EZFBB4.js");
57
57
  var import_chunk_LLO7YF56 = require("./chunk-LLO7YF56.js");
58
- var import_chunk_V5D5NSLS = require("./chunk-V5D5NSLS.js");
59
- var import_chunk_JX2HIV7V = require("./chunk-JX2HIV7V.js");
58
+ var import_chunk_MOFG2YPJ = require("./chunk-MOFG2YPJ.js");
59
+ var import_chunk_VV4M6AN7 = require("./chunk-VV4M6AN7.js");
60
60
  var import_chunk_T64SUJ5L = require("./chunk-T64SUJ5L.js");
61
61
  var import_chunk_GGA2F64G = require("./chunk-GGA2F64G.js");
62
62
  var import_chunk_23DZXSTI = require("./chunk-23DZXSTI.js");
@@ -71,7 +71,7 @@ var import_config = require("@prisma/config");
71
71
  var import_debug = __toESM(require("@prisma/debug"));
72
72
  var import_engines_version = require("@prisma/engines-version");
73
73
  var import_internals = require("@prisma/internals");
74
- var version = "6.19.0-integration-feat-remove-library-engine.3";
74
+ var version = "6.19.0-integration-next.15";
75
75
  process.on("uncaughtException", (e) => {
76
76
  console.log(e);
77
77
  });
@@ -93,17 +93,17 @@ var args = (0, import_internals.arg)(
93
93
  async function main() {
94
94
  const cli = import_chunk_NGQA5JTN.CLI.new({
95
95
  migrate: import_chunk_LLO7YF56.MigrateCommand.new({
96
- dev: import_chunk_3VYHMV3C.MigrateDev.new(),
97
- status: import_chunk_L7EZXEMS.MigrateStatus.new(),
98
- resolve: import_chunk_45NSU26W.MigrateResolve.new(),
99
- reset: import_chunk_2Z63R7HP.MigrateReset.new(),
100
- deploy: import_chunk_PJYHZKCF.MigrateDeploy.new(),
101
- diff: import_chunk_O57XJHDD.MigrateDiff.new()
96
+ dev: import_chunk_4LNQFWQD.MigrateDev.new(),
97
+ status: import_chunk_Q66L2LFA.MigrateStatus.new(),
98
+ resolve: import_chunk_NG4757TP.MigrateResolve.new(),
99
+ reset: import_chunk_UJA5DXI3.MigrateReset.new(),
100
+ deploy: import_chunk_ANMWKEMD.MigrateDeploy.new(),
101
+ diff: import_chunk_HDTRNRXE.MigrateDiff.new()
102
102
  }),
103
103
  db: import_chunk_EJG7GKM7.DbCommand.new({
104
- execute: import_chunk_TCBZUTEL.DbExecute.new(),
105
- pull: import_chunk_QZUMMKCI.DbPull.new(),
106
- push: import_chunk_URVKYSZJ.DbPush.new(),
104
+ execute: import_chunk_AP47ZTTC.DbExecute.new(),
105
+ pull: import_chunk_OPD3GTJ2.DbPull.new(),
106
+ push: import_chunk_CQLPPAWH.DbPush.new(),
107
107
  // drop: DbDrop.new(),
108
108
  seed: import_chunk_W2NKGYXF.DbSeed.new()
109
109
  })
@@ -135,7 +135,7 @@ main().then((code) => {
135
135
  cliVersion: version,
136
136
  enginesVersion: import_engines_version.enginesVersion,
137
137
  command: commandArray.join(" "),
138
- getDatabaseVersionSafe: import_chunk_LNQIFWXN.getDatabaseVersionSafe
138
+ getDatabaseVersionSafe: import_chunk_SIUB4YHK.getDatabaseVersionSafe
139
139
  }).catch((e) => {
140
140
  if (import_debug.default.enabled("migrate")) {
141
141
  console.error((0, import_chunk_SKRR5WT4.red)((0, import_chunk_SKRR5WT4.bold)("Error: ")) + e.stack);
@@ -26,11 +26,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_3VYHMV3C_exports = {};
30
- __export(chunk_3VYHMV3C_exports, {
29
+ var chunk_4LNQFWQD_exports = {};
30
+ __export(chunk_4LNQFWQD_exports, {
31
31
  MigrateDev: () => MigrateDev
32
32
  });
33
- module.exports = __toCommonJS(chunk_3VYHMV3C_exports);
33
+ module.exports = __toCommonJS(chunk_4LNQFWQD_exports);
34
34
  var import_chunk_C3722PDA = require("./chunk-C3722PDA.js");
35
35
  var import_chunk_7CQBDP4H = require("./chunk-7CQBDP4H.js");
36
36
  var import_chunk_KRQEFTDT = require("./chunk-KRQEFTDT.js");
@@ -39,7 +39,7 @@ var import_chunk_3WC4XD74 = require("./chunk-3WC4XD74.js");
39
39
  var import_chunk_2FXU5NZQ = require("./chunk-2FXU5NZQ.js");
40
40
  var import_chunk_74LUB4XX = require("./chunk-74LUB4XX.js");
41
41
  var import_chunk_L7EZFBB4 = require("./chunk-L7EZFBB4.js");
42
- var import_chunk_V5D5NSLS = require("./chunk-V5D5NSLS.js");
42
+ var import_chunk_MOFG2YPJ = require("./chunk-MOFG2YPJ.js");
43
43
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
44
44
  var import_node_path = __toESM(require("node:path"));
45
45
  var import_debug = __toESM(require("@prisma/debug"));
@@ -124,7 +124,7 @@ ${(0, import_chunk_SKRR5WT4.bold)("Examples")}
124
124
  externalTables: config.tables?.external ?? [],
125
125
  externalEnums: config.enums?.external ?? []
126
126
  };
127
- const migrate = await import_chunk_V5D5NSLS.Migrate.setup({
127
+ const migrate = await import_chunk_MOFG2YPJ.Migrate.setup({
128
128
  schemaEngineConfig: config,
129
129
  migrationsDirPath,
130
130
  schemaContext,
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_PJYHZKCF_exports = {};
30
- __export(chunk_PJYHZKCF_exports, {
29
+ var chunk_ANMWKEMD_exports = {};
30
+ __export(chunk_ANMWKEMD_exports, {
31
31
  MigrateDeploy: () => MigrateDeploy
32
32
  });
33
- module.exports = __toCommonJS(chunk_PJYHZKCF_exports);
33
+ module.exports = __toCommonJS(chunk_ANMWKEMD_exports);
34
34
  var import_chunk_KRQEFTDT = require("./chunk-KRQEFTDT.js");
35
35
  var import_chunk_2FXU5NZQ = require("./chunk-2FXU5NZQ.js");
36
36
  var import_chunk_74LUB4XX = require("./chunk-74LUB4XX.js");
37
- var import_chunk_V5D5NSLS = require("./chunk-V5D5NSLS.js");
37
+ var import_chunk_MOFG2YPJ = require("./chunk-MOFG2YPJ.js");
38
38
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
39
39
  var import_debug = __toESM(require("@prisma/debug"));
40
40
  var import_internals = require("@prisma/internals");
@@ -97,7 +97,7 @@ ${(0, import_chunk_SKRR5WT4.bold)("Examples")}
97
97
  externalTables: config.tables?.external ?? [],
98
98
  externalEnums: config.enums?.external ?? []
99
99
  };
100
- const migrate = await import_chunk_V5D5NSLS.Migrate.setup({
100
+ const migrate = await import_chunk_MOFG2YPJ.Migrate.setup({
101
101
  schemaEngineConfig: config,
102
102
  migrationsDirPath,
103
103
  schemaContext,
@@ -26,12 +26,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_TCBZUTEL_exports = {};
30
- __export(chunk_TCBZUTEL_exports, {
29
+ var chunk_AP47ZTTC_exports = {};
30
+ __export(chunk_AP47ZTTC_exports, {
31
31
  DbExecute: () => DbExecute
32
32
  });
33
- module.exports = __toCommonJS(chunk_TCBZUTEL_exports);
34
- var import_chunk_V5D5NSLS = require("./chunk-V5D5NSLS.js");
33
+ module.exports = __toCommonJS(chunk_AP47ZTTC_exports);
34
+ var import_chunk_MOFG2YPJ = require("./chunk-MOFG2YPJ.js");
35
35
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
36
36
  var import_consumers = __toESM(require("node:stream/consumers"));
37
37
  var import_internals = require("@prisma/internals");
@@ -150,7 +150,7 @@ See \`${(0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExec
150
150
  tag: "url",
151
151
  url: config.datasource.url
152
152
  };
153
- const migrate = await import_chunk_V5D5NSLS.Migrate.setup({ schemaEngineConfig: config, extensions: config["extensions"] });
153
+ const migrate = await import_chunk_MOFG2YPJ.Migrate.setup({ schemaEngineConfig: config, extensions: config["extensions"] });
154
154
  try {
155
155
  await migrate.engine.dbExecute({
156
156
  script,
@@ -26,16 +26,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_URVKYSZJ_exports = {};
30
- __export(chunk_URVKYSZJ_exports, {
29
+ var chunk_CQLPPAWH_exports = {};
30
+ __export(chunk_CQLPPAWH_exports, {
31
31
  DbPush: () => DbPush
32
32
  });
33
- module.exports = __toCommonJS(chunk_URVKYSZJ_exports);
33
+ module.exports = __toCommonJS(chunk_CQLPPAWH_exports);
34
34
  var import_chunk_FBDQVK4W = require("./chunk-FBDQVK4W.js");
35
35
  var import_chunk_3WC4XD74 = require("./chunk-3WC4XD74.js");
36
36
  var import_chunk_2FXU5NZQ = require("./chunk-2FXU5NZQ.js");
37
37
  var import_chunk_74LUB4XX = require("./chunk-74LUB4XX.js");
38
- var import_chunk_V5D5NSLS = require("./chunk-V5D5NSLS.js");
38
+ var import_chunk_MOFG2YPJ = require("./chunk-MOFG2YPJ.js");
39
39
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
40
40
  var import_internals = require("@prisma/internals");
41
41
  var import_prompts = __toESM(require("prompts"));
@@ -106,7 +106,7 @@ ${(0, import_chunk_SKRR5WT4.bold)("Examples")}
106
106
  externalTables: config.tables?.external ?? [],
107
107
  externalEnums: config.enums?.external ?? []
108
108
  };
109
- const migrate = await import_chunk_V5D5NSLS.Migrate.setup({
109
+ const migrate = await import_chunk_MOFG2YPJ.Migrate.setup({
110
110
  schemaEngineConfig: config,
111
111
  migrationsDirPath,
112
112
  schemaContext,
@@ -26,13 +26,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_O57XJHDD_exports = {};
30
- __export(chunk_O57XJHDD_exports, {
29
+ var chunk_HDTRNRXE_exports = {};
30
+ __export(chunk_HDTRNRXE_exports, {
31
31
  MigrateDiff: () => MigrateDiff
32
32
  });
33
- module.exports = __toCommonJS(chunk_O57XJHDD_exports);
33
+ module.exports = __toCommonJS(chunk_HDTRNRXE_exports);
34
34
  var import_chunk_VAJ4VX67 = require("./chunk-VAJ4VX67.js");
35
- var import_chunk_V5D5NSLS = require("./chunk-V5D5NSLS.js");
35
+ var import_chunk_MOFG2YPJ = require("./chunk-MOFG2YPJ.js");
36
36
  var import_chunk_GGA2F64G = require("./chunk-GGA2F64G.js");
37
37
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
38
38
  var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -1116,7 +1116,7 @@ var require_tree_walker = (0, import_chunk_2ESYSVXG.__commonJS)({
1116
1116
  }
1117
1117
  });
1118
1118
  var require_path = (0, import_chunk_2ESYSVXG.__commonJS)({
1119
- "../../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/lib/path.js"(exports, module2) {
1119
+ "../../node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.js"(exports, module2) {
1120
1120
  "use strict";
1121
1121
  var isWindows = typeof process === "object" && process && process.platform === "win32";
1122
1122
  module2.exports = isWindows ? { sep: "\\" } : { sep: "/" };
@@ -1179,7 +1179,7 @@ var require_balanced_match = (0, import_chunk_2ESYSVXG.__commonJS)({
1179
1179
  }
1180
1180
  });
1181
1181
  var require_brace_expansion = (0, import_chunk_2ESYSVXG.__commonJS)({
1182
- "../../node_modules/.pnpm/brace-expansion@2.0.2/node_modules/brace-expansion/index.js"(exports, module2) {
1182
+ "../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js"(exports, module2) {
1183
1183
  "use strict";
1184
1184
  var balanced = require_balanced_match();
1185
1185
  module2.exports = expandTop;
@@ -1254,7 +1254,7 @@ var require_brace_expansion = (0, import_chunk_2ESYSVXG.__commonJS)({
1254
1254
  var isSequence = isNumericSequence || isAlphaSequence;
1255
1255
  var isOptions = m.body.indexOf(",") >= 0;
1256
1256
  if (!isSequence && !isOptions) {
1257
- if (m.post.match(/,(?!,).*\}/)) {
1257
+ if (m.post.match(/,.*\}/)) {
1258
1258
  str = m.pre + "{" + m.body + escClose + m.post;
1259
1259
  return expand(str);
1260
1260
  }
@@ -1328,7 +1328,7 @@ var require_brace_expansion = (0, import_chunk_2ESYSVXG.__commonJS)({
1328
1328
  }
1329
1329
  });
1330
1330
  var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1331
- "../../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/minimatch.js"(exports, module2) {
1331
+ "../../node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.js"(exports, module2) {
1332
1332
  "use strict";
1333
1333
  var minimatch = module2.exports = (p, pattern, options = {}) => {
1334
1334
  assertValidPattern(pattern);
@@ -1415,9 +1415,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1415
1415
  return list;
1416
1416
  };
1417
1417
  var globUnescape = (s) => s.replace(/\\(.)/g, "$1");
1418
- var charUnescape = (s) => s.replace(/\\([^-\]])/g, "$1");
1419
1418
  var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
1420
- var braExpEscape = (s) => s.replace(/[[\]\\]/g, "\\$&");
1421
1419
  var Minimatch = class {
1422
1420
  constructor(pattern, options) {
1423
1421
  assertValidPattern(pattern);
@@ -1470,7 +1468,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1470
1468
  negate = !negate;
1471
1469
  negateOffset++;
1472
1470
  }
1473
- if (negateOffset) this.pattern = pattern.slice(negateOffset);
1471
+ if (negateOffset) this.pattern = pattern.substr(negateOffset);
1474
1472
  this.negate = negate;
1475
1473
  }
1476
1474
  // set partial to true to test if, for example,
@@ -1556,7 +1554,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1556
1554
  }
1557
1555
  if (pattern === "") return "";
1558
1556
  let re = "";
1559
- let hasMagic = false;
1557
+ let hasMagic = !!options.nocase;
1560
1558
  let escaping = false;
1561
1559
  const patternListStack = [];
1562
1560
  const negativeLists = [];
@@ -1567,10 +1565,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1567
1565
  let cs;
1568
1566
  let pl;
1569
1567
  let sp;
1570
- let dotTravAllowed = pattern.charAt(0) === ".";
1571
- let dotFileAllowed = options.dot || dotTravAllowed;
1572
- const patternStart = () => dotTravAllowed ? "" : dotFileAllowed ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
1573
- const subPatternStart = (p) => p.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
1568
+ const patternStart = pattern.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
1574
1569
  const clearStateChar = () => {
1575
1570
  if (stateChar) {
1576
1571
  switch (stateChar) {
@@ -1609,10 +1604,6 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1609
1604
  return false;
1610
1605
  }
1611
1606
  case "\\":
1612
- if (inClass && pattern.charAt(i + 1) === "-") {
1613
- re += c;
1614
- continue;
1615
- }
1616
1607
  clearStateChar();
1617
1608
  escaping = true;
1618
1609
  continue;
@@ -1635,7 +1626,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1635
1626
  stateChar = c;
1636
1627
  if (options.noext) clearStateChar();
1637
1628
  continue;
1638
- case "(": {
1629
+ case "(":
1639
1630
  if (inClass) {
1640
1631
  re += "(";
1641
1632
  continue;
@@ -1644,54 +1635,39 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1644
1635
  re += "\\(";
1645
1636
  continue;
1646
1637
  }
1647
- const plEntry = {
1638
+ patternListStack.push({
1648
1639
  type: stateChar,
1649
1640
  start: i - 1,
1650
1641
  reStart: re.length,
1651
1642
  open: plTypes[stateChar].open,
1652
1643
  close: plTypes[stateChar].close
1653
- };
1654
- this.debug(this.pattern, " ", plEntry);
1655
- patternListStack.push(plEntry);
1656
- re += plEntry.open;
1657
- if (plEntry.start === 0 && plEntry.type !== "!") {
1658
- dotTravAllowed = true;
1659
- re += subPatternStart(pattern.slice(i + 1));
1660
- }
1644
+ });
1645
+ re += stateChar === "!" ? "(?:(?!(?:" : "(?:";
1661
1646
  this.debug("plType %j %j", stateChar, re);
1662
1647
  stateChar = false;
1663
1648
  continue;
1664
- }
1665
- case ")": {
1666
- const plEntry = patternListStack[patternListStack.length - 1];
1667
- if (inClass || !plEntry) {
1649
+ case ")":
1650
+ if (inClass || !patternListStack.length) {
1668
1651
  re += "\\)";
1669
1652
  continue;
1670
1653
  }
1671
- patternListStack.pop();
1672
1654
  clearStateChar();
1673
1655
  hasMagic = true;
1674
- pl = plEntry;
1656
+ pl = patternListStack.pop();
1675
1657
  re += pl.close;
1676
1658
  if (pl.type === "!") {
1677
- negativeLists.push(Object.assign(pl, { reEnd: re.length }));
1659
+ negativeLists.push(pl);
1678
1660
  }
1661
+ pl.reEnd = re.length;
1679
1662
  continue;
1680
- }
1681
- case "|": {
1682
- const plEntry = patternListStack[patternListStack.length - 1];
1683
- if (inClass || !plEntry) {
1663
+ case "|":
1664
+ if (inClass || !patternListStack.length) {
1684
1665
  re += "\\|";
1685
1666
  continue;
1686
1667
  }
1687
1668
  clearStateChar();
1688
1669
  re += "|";
1689
- if (plEntry.start === 0 && plEntry.type !== "!") {
1690
- dotTravAllowed = true;
1691
- re += subPatternStart(pattern.slice(i + 1));
1692
- }
1693
1670
  continue;
1694
- }
1695
1671
  // these are mostly the same in regexp and glob
1696
1672
  case "[":
1697
1673
  clearStateChar();
@@ -1711,13 +1687,17 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1711
1687
  }
1712
1688
  cs = pattern.substring(classStart + 1, i);
1713
1689
  try {
1714
- RegExp("[" + braExpEscape(charUnescape(cs)) + "]");
1715
- re += c;
1690
+ RegExp("[" + cs + "]");
1716
1691
  } catch (er) {
1717
- re = re.substring(0, reClassStart) + "(?:$.)";
1692
+ sp = this.parse(cs, SUBPARSE);
1693
+ re = re.substr(0, reClassStart) + "\\[" + sp[0] + "\\]";
1694
+ hasMagic = hasMagic || sp[1];
1695
+ inClass = false;
1696
+ continue;
1718
1697
  }
1719
1698
  hasMagic = true;
1720
1699
  inClass = false;
1700
+ re += c;
1721
1701
  continue;
1722
1702
  default:
1723
1703
  clearStateChar();
@@ -1729,9 +1709,9 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1729
1709
  }
1730
1710
  }
1731
1711
  if (inClass) {
1732
- cs = pattern.slice(classStart + 1);
1712
+ cs = pattern.substr(classStart + 1);
1733
1713
  sp = this.parse(cs, SUBPARSE);
1734
- re = re.substring(0, reClassStart) + "\\[" + sp[0];
1714
+ re = re.substr(0, reClassStart) + "\\[" + sp[0];
1735
1715
  hasMagic = hasMagic || sp[1];
1736
1716
  }
1737
1717
  for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
@@ -1760,28 +1740,24 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
1760
1740
  const nlFirst = re.slice(nl.reStart, nl.reEnd - 8);
1761
1741
  let nlAfter = re.slice(nl.reEnd);
1762
1742
  const nlLast = re.slice(nl.reEnd - 8, nl.reEnd) + nlAfter;
1763
- const closeParensBefore = nlBefore.split(")").length;
1764
- const openParensBefore = nlBefore.split("(").length - closeParensBefore;
1743
+ const openParensBefore = nlBefore.split("(").length - 1;
1765
1744
  let cleanAfter = nlAfter;
1766
1745
  for (let i = 0; i < openParensBefore; i++) {
1767
1746
  cleanAfter = cleanAfter.replace(/\)[+*?]?/, "");
1768
1747
  }
1769
1748
  nlAfter = cleanAfter;
1770
- const dollar = nlAfter === "" && isSub !== SUBPARSE ? "(?:$|\\/)" : "";
1749
+ const dollar = nlAfter === "" && isSub !== SUBPARSE ? "$" : "";
1771
1750
  re = nlBefore + nlFirst + nlAfter + dollar + nlLast;
1772
1751
  }
1773
1752
  if (re !== "" && hasMagic) {
1774
1753
  re = "(?=.)" + re;
1775
1754
  }
1776
1755
  if (addPatternStart) {
1777
- re = patternStart() + re;
1756
+ re = patternStart + re;
1778
1757
  }
1779
1758
  if (isSub === SUBPARSE) {
1780
1759
  return [re, hasMagic];
1781
1760
  }
1782
- if (options.nocase && !hasMagic) {
1783
- hasMagic = pattern.toUpperCase() !== pattern.toLowerCase();
1784
- }
1785
1761
  if (!hasMagic) {
1786
1762
  return globUnescape(pattern);
1787
1763
  }
@@ -4962,7 +4938,7 @@ var require_ensure = (0, import_chunk_2ESYSVXG.__commonJS)({
4962
4938
  }
4963
4939
  });
4964
4940
  var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
4965
- "../../node_modules/.pnpm/jsonfile@6.2.0/node_modules/jsonfile/utils.js"(exports, module2) {
4941
+ "../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js"(exports, module2) {
4966
4942
  "use strict";
4967
4943
  function stringify(obj, { EOL = "\n", finalEOL = true, replacer = null, spaces } = {}) {
4968
4944
  const EOF = finalEOL ? EOL : "";
@@ -4977,7 +4953,7 @@ var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
4977
4953
  }
4978
4954
  });
4979
4955
  var require_jsonfile = (0, import_chunk_2ESYSVXG.__commonJS)({
4980
- "../../node_modules/.pnpm/jsonfile@6.2.0/node_modules/jsonfile/index.js"(exports, module2) {
4956
+ "../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js"(exports, module2) {
4981
4957
  "use strict";
4982
4958
  var _fs;
4983
4959
  try {
@@ -5039,12 +5015,13 @@ var require_jsonfile = (0, import_chunk_2ESYSVXG.__commonJS)({
5039
5015
  const str = stringify(obj, options);
5040
5016
  return fs3.writeFileSync(file, str, options);
5041
5017
  }
5042
- module2.exports = {
5018
+ var jsonfile = {
5043
5019
  readFile: readFile2,
5044
5020
  readFileSync,
5045
5021
  writeFile,
5046
5022
  writeFileSync
5047
5023
  };
5024
+ module2.exports = jsonfile;
5048
5025
  }
5049
5026
  });
5050
5027
  var require_jsonfile2 = (0, import_chunk_2ESYSVXG.__commonJS)({
@@ -5944,7 +5921,7 @@ ${(0, import_chunk_SKRR5WT4.bold)("Examples")}
5944
5921
  externalTables: config.tables?.external ?? [],
5945
5922
  externalEnums: config.enums?.external ?? []
5946
5923
  };
5947
- const migrate = await import_chunk_V5D5NSLS.Migrate.setup({
5924
+ const migrate = await import_chunk_MOFG2YPJ.Migrate.setup({
5948
5925
  schemaEngineConfig: config,
5949
5926
  schemaFilter,
5950
5927
  extensions: config["extensions"]