@prisma/internals 6.6.0-integration-mcp.5 → 6.6.0-integration-push-xmzqvqxpztks.14

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 (74) hide show
  1. package/dist/Generator.d.ts +23 -5
  2. package/dist/Generator.js +4 -2
  3. package/dist/{chunk-INUCCQMW.js → chunk-2D5UHDF4.js} +5 -5
  4. package/dist/{chunk-VVPSLVOR.js → chunk-67I7CEQJ.js} +6 -7
  5. package/dist/{chunk-OGCUCDZ7.js → chunk-6WQVUWQM.js} +5 -5
  6. package/dist/{chunk-2CR67TJT.js → chunk-A6IRWWSZ.js} +4 -5
  7. package/dist/{chunk-DYVL6P7F.js → chunk-BPDMLM32.js} +46 -13
  8. package/dist/{chunk-SNAAPSRZ.js → chunk-CW6KQ3VH.js} +8 -8
  9. package/dist/{chunk-3DQLDJZR.js → chunk-GNKWZC7O.js} +5 -5
  10. package/dist/{chunk-J72OZOSE.js → chunk-HZ2FJIFY.js} +8 -8
  11. package/dist/{chunk-HJSK4Z4N.js → chunk-JETLVL4E.js} +5 -5
  12. package/dist/{chunk-WVNFXG35.js → chunk-L2DV64SR.js} +5 -5
  13. package/dist/{chunk-QGY6GZGH.js → chunk-LGU37MPN.js} +83 -198
  14. package/dist/{chunk-2CMKZNGP.js → chunk-LOQLID3N.js} +8 -8
  15. package/dist/{chunk-K5W6WZ6E.js → chunk-MJIP3FY5.js} +6 -238
  16. package/dist/{chunk-BD7L3WI4.js → chunk-QJ72IP2K.js} +8 -8
  17. package/dist/{chunk-X2CA5QBB.js → chunk-QXNNDOVP.js} +83 -198
  18. package/dist/{chunk-I2PJBXS5.js → chunk-RIPZJZ5S.js} +8 -8
  19. package/dist/{chunk-YWGECJC5.js → chunk-SA5Q2G4O.js} +5 -6
  20. package/dist/{chunk-W7UKGHG4.js → chunk-SPNYJFMW.js} +8 -8
  21. package/dist/{chunk-AQFMW3BV.js → chunk-T5MMBF2S.js} +5 -5
  22. package/dist/{chunk-OQ265YDS.js → chunk-TN4KCTWC.js} +7 -7
  23. package/dist/{chunk-WKCFN36R.js → chunk-VJTMPWDG.js} +5 -5
  24. package/dist/{chunk-GA3QUNF6.js → chunk-Z3ZUOHOJ.js} +5 -5
  25. package/dist/{chunk-X3NPQOIN.js → chunk-Z45SZCXB.js} +7 -7
  26. package/dist/cli/checkUnsupportedDataProxy.js +22 -28
  27. package/dist/cli/getSchema.js +25 -31
  28. package/dist/cli/hashes.js +22 -28
  29. package/dist/cli/schemaContext.js +22 -28
  30. package/dist/engine-commands/errorHelpers.js +4 -4
  31. package/dist/engine-commands/formatSchema.js +21 -27
  32. package/dist/engine-commands/getConfig.js +10 -10
  33. package/dist/engine-commands/getDmmf.js +7 -7
  34. package/dist/engine-commands/index.js +30 -36
  35. package/dist/engine-commands/lintSchema.js +8 -8
  36. package/dist/engine-commands/mergeSchemas.js +7 -7
  37. package/dist/engine-commands/validate.js +7 -7
  38. package/dist/get-generators/getGenerators.d.ts +18 -9
  39. package/dist/get-generators/getGenerators.js +24 -30
  40. package/dist/getPackedPackage.js +3 -3
  41. package/dist/index.d.ts +2 -4
  42. package/dist/index.js +51 -57
  43. package/dist/resolvePkg.d.ts +7 -0
  44. package/dist/{get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.js → resolvePkg.js} +6 -6
  45. package/dist/utils/getEnvPaths.js +21 -27
  46. package/dist/utils/getVersionFromPackageJson.js +3 -3
  47. package/dist/utils/loadEnvFile.js +21 -27
  48. package/dist/wasm.js +4 -4
  49. package/package.json +11 -12
  50. package/dist/chunk-72UZXEBG.js +0 -28
  51. package/dist/chunk-BWGDP6B5.js +0 -4948
  52. package/dist/chunk-EUTJYQDW.js +0 -46
  53. package/dist/chunk-EWWOTVR3.js +0 -52
  54. package/dist/chunk-GHHABGYW.js +0 -28
  55. package/dist/chunk-QGJH4P4N.js +0 -35
  56. package/dist/get-generators/generatorResolvers/generatorResolvers.d.ts +0 -15
  57. package/dist/get-generators/generatorResolvers/generatorResolvers.js +0 -138
  58. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.d.ts +0 -6
  59. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +0 -26
  60. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.d.ts +0 -9
  61. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +0 -26
  62. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.d.ts +0 -8
  63. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +0 -29
  64. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.d.ts +0 -6
  65. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +0 -138
  66. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.d.ts +0 -1
  67. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +0 -26
  68. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.d.ts +0 -20
  69. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +0 -26
  70. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.d.ts +0 -7
  71. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.d.ts +0 -1
  72. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.js +0 -17
  73. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.d.ts +0 -20
  74. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +0 -139
@@ -1,13 +1,15 @@
1
- import type { BinaryPaths, GeneratorConfig, GeneratorManifest, GeneratorOptions } from '@prisma/generator';
2
- export declare class Generator {
3
- private generatorProcess;
1
+ import type { BinaryPaths, Generator as IGenerator, GeneratorConfig, GeneratorManifest, GeneratorOptions } from '@prisma/generator';
2
+ export declare abstract class Generator {
4
3
  manifest: GeneratorManifest | null;
5
4
  config: GeneratorConfig;
6
5
  options?: GeneratorOptions;
7
- constructor(executablePath: string, config: GeneratorConfig, isNode?: boolean);
6
+ constructor(config: GeneratorConfig);
8
7
  init(): Promise<void>;
9
- stop(): void;
8
+ protected abstract initImpl(): Promise<void>;
9
+ protected abstract getManifest(): Promise<GeneratorManifest | null>;
10
+ abstract stop(): void;
10
11
  generate(): Promise<void>;
12
+ protected abstract generateImpl(options: GeneratorOptions): Promise<void>;
11
13
  setOptions(options: GeneratorOptions): void;
12
14
  setBinaryPaths(binaryPaths: BinaryPaths): void;
13
15
  /**
@@ -22,3 +24,19 @@ export declare class Generator {
22
24
  */
23
25
  getProvider(): string;
24
26
  }
27
+ export declare class JsonRpcGenerator extends Generator {
28
+ #private;
29
+ constructor(executablePath: string, config: GeneratorConfig, isNode?: boolean);
30
+ protected initImpl(): Promise<void>;
31
+ protected getManifest(): Promise<GeneratorManifest | null>;
32
+ protected generateImpl(options: GeneratorOptions): Promise<void>;
33
+ stop(): void;
34
+ }
35
+ export declare class InProcessGenerator extends Generator {
36
+ #private;
37
+ constructor(config: GeneratorConfig, generator: IGenerator);
38
+ protected initImpl(): Promise<void>;
39
+ protected getManifest(): Promise<GeneratorManifest | null>;
40
+ protected generateImpl(options: GeneratorOptions): Promise<void>;
41
+ stop(): void;
42
+ }
package/dist/Generator.js CHANGED
@@ -18,10 +18,12 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var Generator_exports = {};
20
20
  __export(Generator_exports, {
21
- Generator: () => import_chunk_DYVL6P7F.Generator
21
+ Generator: () => import_chunk_BPDMLM32.Generator,
22
+ InProcessGenerator: () => import_chunk_BPDMLM32.InProcessGenerator,
23
+ JsonRpcGenerator: () => import_chunk_BPDMLM32.JsonRpcGenerator
22
24
  });
23
25
  module.exports = __toCommonJS(Generator_exports);
24
- var import_chunk_DYVL6P7F = require("./chunk-DYVL6P7F.js");
26
+ var import_chunk_BPDMLM32 = require("./chunk-BPDMLM32.js");
25
27
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
26
28
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
27
29
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_INUCCQMW_exports = {};
20
- __export(chunk_INUCCQMW_exports, {
19
+ var chunk_2D5UHDF4_exports = {};
20
+ __export(chunk_2D5UHDF4_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_INUCCQMW_exports);
24
- var import_chunk_YWGECJC5 = require("./chunk-YWGECJC5.js");
25
- var packageJson = (0, import_chunk_YWGECJC5.require_package)();
23
+ module.exports = __toCommonJS(chunk_2D5UHDF4_exports);
24
+ var import_chunk_SA5Q2G4O = require("./chunk-SA5Q2G4O.js");
25
+ var packageJson = (0, import_chunk_SA5Q2G4O.require_package)();
26
26
  var version = packageJson.version;
@@ -26,13 +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_VVPSLVOR_exports = {};
30
- __export(chunk_VVPSLVOR_exports, {
31
- require_function_bind: () => require_function_bind,
32
- resolve: () => resolve,
29
+ var chunk_67I7CEQJ_exports = {};
30
+ __export(chunk_67I7CEQJ_exports, {
31
+ require_is_core_module: () => require_is_core_module,
33
32
  resolvePkg: () => resolvePkg
34
33
  });
35
- module.exports = __toCommonJS(chunk_VVPSLVOR_exports);
34
+ module.exports = __toCommonJS(chunk_67I7CEQJ_exports);
36
35
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
37
36
  var import_path = __toESM(require("path"));
38
37
  var require_homedir = (0, import_chunk_4VNS5WPM.__commonJS)({
@@ -1180,7 +1179,7 @@ var require_resolve = (0, import_chunk_4VNS5WPM.__commonJS)({
1180
1179
  }
1181
1180
  });
1182
1181
  var import_resolve = (0, import_chunk_4VNS5WPM.__toESM)(require_resolve());
1183
- async function resolve(id, options) {
1182
+ async function resolveOrUndefined(id, options) {
1184
1183
  const _options = { preserveSymlinks: false, ...options };
1185
1184
  return new Promise((res) => {
1186
1185
  (0, import_resolve.default)(id, _options, (e, v) => {
@@ -1190,6 +1189,6 @@ async function resolve(id, options) {
1190
1189
  });
1191
1190
  }
1192
1191
  async function resolvePkg(id, options) {
1193
- const resolvedPath = await resolve(`${id}/package.json`, options);
1192
+ const resolvedPath = await resolveOrUndefined(`${id}/package.json`, options);
1194
1193
  return resolvedPath && import_path.default.dirname(resolvedPath);
1195
1194
  }
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_OGCUCDZ7_exports = {};
20
- __export(chunk_OGCUCDZ7_exports, {
19
+ var chunk_6WQVUWQM_exports = {};
20
+ __export(chunk_6WQVUWQM_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_OGCUCDZ7_exports);
24
- var import_chunk_2CR67TJT = require("./chunk-2CR67TJT.js");
25
- var packageJson = (0, import_chunk_2CR67TJT.require_package)();
23
+ module.exports = __toCommonJS(chunk_6WQVUWQM_exports);
24
+ var import_chunk_A6IRWWSZ = require("./chunk-A6IRWWSZ.js");
25
+ var packageJson = (0, import_chunk_A6IRWWSZ.require_package)();
26
26
  var version = packageJson.version;
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_2CR67TJT_exports = {};
20
- __export(chunk_2CR67TJT_exports, {
19
+ var chunk_A6IRWWSZ_exports = {};
20
+ __export(chunk_A6IRWWSZ_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_2CR67TJT_exports);
23
+ module.exports = __toCommonJS(chunk_A6IRWWSZ_exports);
24
24
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
25
25
  var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
26
26
  "package.json"(exports, module2) {
@@ -53,7 +53,6 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
53
53
  "scripts"
54
54
  ],
55
55
  devDependencies: {
56
- "@antfu/ni": "0.21.12",
57
56
  "@babel/helper-validator-identifier": "7.25.9",
58
57
  "@opentelemetry/api": "1.9.0",
59
58
  "@swc/core": "1.11.5",
@@ -113,7 +112,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
113
112
  "@prisma/generator": "workspace:*",
114
113
  "@prisma/generator-helper": "workspace:*",
115
114
  "@prisma/get-platform": "workspace:*",
116
- "@prisma/prisma-schema-wasm": "6.6.0-27.ff4e67a11a395e489261256f882adb6d6a7eea11",
115
+ "@prisma/prisma-schema-wasm": "6.6.0-30.baa69bfeca2f318076d19b6ce650fd8c9b4cb452",
117
116
  "@prisma/schema-files-loader": "workspace:*",
118
117
  arg: "5.0.2",
119
118
  prompts: "2.4.2"
@@ -16,34 +16,31 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_DYVL6P7F_exports = {};
20
- __export(chunk_DYVL6P7F_exports, {
21
- Generator: () => Generator
19
+ var chunk_BPDMLM32_exports = {};
20
+ __export(chunk_BPDMLM32_exports, {
21
+ Generator: () => Generator,
22
+ InProcessGenerator: () => InProcessGenerator,
23
+ JsonRpcGenerator: () => JsonRpcGenerator
22
24
  });
23
- module.exports = __toCommonJS(chunk_DYVL6P7F_exports);
25
+ module.exports = __toCommonJS(chunk_BPDMLM32_exports);
24
26
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
25
27
  var import_generator_helper = require("@prisma/generator-helper");
26
28
  var Generator = class {
27
- generatorProcess;
28
29
  manifest = null;
29
30
  config;
30
31
  options;
31
- constructor(executablePath, config, isNode) {
32
+ constructor(config) {
32
33
  this.config = config;
33
- this.generatorProcess = new import_generator_helper.GeneratorProcess(executablePath, { isNode });
34
34
  }
35
35
  async init() {
36
- await this.generatorProcess.init();
37
- this.manifest = await this.generatorProcess.getManifest(this.config);
38
- }
39
- stop() {
40
- this.generatorProcess.stop();
36
+ await this.initImpl();
37
+ this.manifest = await this.getManifest();
41
38
  }
42
39
  generate() {
43
40
  if (!this.options) {
44
41
  throw new Error(`Please first run .setOptions() on the Generator to initialize the options`);
45
42
  }
46
- return this.generatorProcess.generate(this.options);
43
+ return this.generateImpl(this.options);
47
44
  }
48
45
  setOptions(options) {
49
46
  this.options = options;
@@ -70,3 +67,39 @@ var Generator = class {
70
67
  return (0, import_chunk_IOIAK7V7.parseEnvValue)(this.config.provider);
71
68
  }
72
69
  };
70
+ var JsonRpcGenerator = class extends Generator {
71
+ #generatorProcess;
72
+ constructor(executablePath, config, isNode) {
73
+ super(config);
74
+ this.#generatorProcess = new import_generator_helper.GeneratorProcess(executablePath, { isNode });
75
+ }
76
+ async initImpl() {
77
+ await this.#generatorProcess.init();
78
+ }
79
+ async getManifest() {
80
+ return await this.#generatorProcess.getManifest(this.config);
81
+ }
82
+ async generateImpl(options) {
83
+ await this.#generatorProcess.generate(options);
84
+ }
85
+ stop() {
86
+ this.#generatorProcess.stop();
87
+ }
88
+ };
89
+ var InProcessGenerator = class extends Generator {
90
+ #generator;
91
+ constructor(config, generator) {
92
+ super(config);
93
+ this.#generator = generator;
94
+ }
95
+ async initImpl() {
96
+ }
97
+ async getManifest() {
98
+ return await this.#generator.getManifest(this.config);
99
+ }
100
+ async generateImpl(options) {
101
+ await this.#generator.generate(options);
102
+ }
103
+ stop() {
104
+ }
105
+ };
@@ -26,20 +26,20 @@ 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_SNAAPSRZ_exports = {};
30
- __export(chunk_SNAAPSRZ_exports, {
29
+ var chunk_CW6KQ3VH_exports = {};
30
+ __export(chunk_CW6KQ3VH_exports, {
31
31
  GetConfigError: () => GetConfigError,
32
32
  getConfig: () => getConfig,
33
33
  getDirectUrl: () => getDirectUrl,
34
34
  getEffectiveUrl: () => getEffectiveUrl,
35
35
  resolveUrl: () => resolveUrl
36
36
  });
37
- module.exports = __toCommonJS(chunk_SNAAPSRZ_exports);
37
+ module.exports = __toCommonJS(chunk_CW6KQ3VH_exports);
38
38
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
39
39
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
40
40
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
41
- var import_chunk_HJSK4Z4N = require("./chunk-HJSK4Z4N.js");
42
- var import_chunk_AQFMW3BV = require("./chunk-AQFMW3BV.js");
41
+ var import_chunk_JETLVL4E = require("./chunk-JETLVL4E.js");
42
+ var import_chunk_T5MMBF2S = require("./chunk-T5MMBF2S.js");
43
43
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
44
44
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
45
45
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -64,7 +64,7 @@ ${detailsHeader} ${message}`;
64
64
  }).exhaustive();
65
65
  const errorMessageWithContext = `${constructedErrorMessage}
66
66
  [Context: getConfig]`;
67
- super((0, import_chunk_HJSK4Z4N.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_JETLVL4E.addVersionDetailsToErrorMessage)(errorMessageWithContext));
68
68
  this.name = "GetConfigError";
69
69
  }
70
70
  };
@@ -89,7 +89,7 @@ async function getConfig(options) {
89
89
  () => {
90
90
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
91
91
  debug("Triggering a Rust panic...");
92
- import_chunk_AQFMW3BV.prismaSchemaWasm.debug_panic();
92
+ import_chunk_T5MMBF2S.prismaSchemaWasm.debug_panic();
93
93
  }
94
94
  const params = JSON.stringify({
95
95
  prismaSchema: options.datamodel,
@@ -97,7 +97,7 @@ async function getConfig(options) {
97
97
  ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
98
98
  env: process.env
99
99
  });
100
- const data = import_chunk_AQFMW3BV.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_T5MMBF2S.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -16,20 +16,20 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_3DQLDJZR_exports = {};
20
- __export(chunk_3DQLDJZR_exports, {
19
+ var chunk_GNKWZC7O_exports = {};
20
+ __export(chunk_GNKWZC7O_exports, {
21
21
  getLintWarnings: () => getLintWarnings,
22
22
  getLintWarningsAsText: () => getLintWarningsAsText,
23
23
  handleLintPanic: () => handleLintPanic,
24
24
  lintSchema: () => lintSchema,
25
25
  warningToString: () => warningToString
26
26
  });
27
- module.exports = __toCommonJS(chunk_3DQLDJZR_exports);
28
- var import_chunk_AQFMW3BV = require("./chunk-AQFMW3BV.js");
27
+ module.exports = __toCommonJS(chunk_GNKWZC7O_exports);
28
+ var import_chunk_T5MMBF2S = require("./chunk-T5MMBF2S.js");
29
29
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
30
30
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
31
31
  function lintSchema({ schemas }) {
32
- const lintResult = import_chunk_AQFMW3BV.prismaSchemaWasm.lint(JSON.stringify(schemas));
32
+ const lintResult = import_chunk_T5MMBF2S.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
33
  const lintDiagnostics = JSON.parse(lintResult);
34
34
  return lintDiagnostics;
35
35
  }
@@ -26,20 +26,20 @@ 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_J72OZOSE_exports = {};
30
- __export(chunk_J72OZOSE_exports, {
29
+ var chunk_HZ2FJIFY_exports = {};
30
+ __export(chunk_HZ2FJIFY_exports, {
31
31
  GetConfigError: () => GetConfigError,
32
32
  getConfig: () => getConfig,
33
33
  getDirectUrl: () => getDirectUrl,
34
34
  getEffectiveUrl: () => getEffectiveUrl,
35
35
  resolveUrl: () => resolveUrl
36
36
  });
37
- module.exports = __toCommonJS(chunk_J72OZOSE_exports);
37
+ module.exports = __toCommonJS(chunk_HZ2FJIFY_exports);
38
38
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
39
39
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
40
40
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
41
- var import_chunk_WVNFXG35 = require("./chunk-WVNFXG35.js");
42
- var import_chunk_GA3QUNF6 = require("./chunk-GA3QUNF6.js");
41
+ var import_chunk_L2DV64SR = require("./chunk-L2DV64SR.js");
42
+ var import_chunk_Z3ZUOHOJ = require("./chunk-Z3ZUOHOJ.js");
43
43
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
44
44
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
45
45
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -64,7 +64,7 @@ ${detailsHeader} ${message}`;
64
64
  }).exhaustive();
65
65
  const errorMessageWithContext = `${constructedErrorMessage}
66
66
  [Context: getConfig]`;
67
- super((0, import_chunk_WVNFXG35.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_L2DV64SR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
68
68
  this.name = "GetConfigError";
69
69
  }
70
70
  };
@@ -89,7 +89,7 @@ async function getConfig(options) {
89
89
  () => {
90
90
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
91
91
  debug("Triggering a Rust panic...");
92
- import_chunk_GA3QUNF6.prismaSchemaWasm.debug_panic();
92
+ import_chunk_Z3ZUOHOJ.prismaSchemaWasm.debug_panic();
93
93
  }
94
94
  const params = JSON.stringify({
95
95
  prismaSchema: options.datamodel,
@@ -97,7 +97,7 @@ async function getConfig(options) {
97
97
  ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
98
98
  env: process.env
99
99
  });
100
- const data = import_chunk_GA3QUNF6.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_Z3ZUOHOJ.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -16,15 +16,15 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_HJSK4Z4N_exports = {};
20
- __export(chunk_HJSK4Z4N_exports, {
19
+ var chunk_JETLVL4E_exports = {};
20
+ __export(chunk_JETLVL4E_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_HJSK4Z4N_exports);
24
- var import_chunk_INUCCQMW = require("./chunk-INUCCQMW.js");
23
+ module.exports = __toCommonJS(chunk_JETLVL4E_exports);
24
+ var import_chunk_6WQVUWQM = require("./chunk-6WQVUWQM.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_INUCCQMW.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_6WQVUWQM.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -16,15 +16,15 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_WVNFXG35_exports = {};
20
- __export(chunk_WVNFXG35_exports, {
19
+ var chunk_L2DV64SR_exports = {};
20
+ __export(chunk_L2DV64SR_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_WVNFXG35_exports);
24
- var import_chunk_OGCUCDZ7 = require("./chunk-OGCUCDZ7.js");
23
+ module.exports = __toCommonJS(chunk_L2DV64SR_exports);
24
+ var import_chunk_2D5UHDF4 = require("./chunk-2D5UHDF4.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_OGCUCDZ7.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_2D5UHDF4.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;