@prisma/internals 6.6.0-integration-feat-orm-693-d1-driver-create-migration-adapter-using-new-http-binding.2 → 6.6.0-integration-push-xmzqvqxpztks.8

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 (80) hide show
  1. package/dist/Generator.d.ts +23 -5
  2. package/dist/Generator.js +4 -2
  3. package/dist/{chunk-TV34NMBZ.js → chunk-2H6XXXKO.js} +15 -12
  4. package/dist/{chunk-ABTIXQDX.js → chunk-3R43ZQD7.js} +3 -4
  5. package/dist/{chunk-VVPSLVOR.js → chunk-67I7CEQJ.js} +6 -7
  6. package/dist/{chunk-BTWAF3S4.js → chunk-7JDKTQ7P.js} +7 -7
  7. package/dist/{chunk-DYVL6P7F.js → chunk-BPDMLM32.js} +46 -13
  8. package/dist/{chunk-PQE76XRR.js → chunk-C73SLFIL.js} +5 -5
  9. package/dist/{chunk-MSQTODVE.js → chunk-G3SNV7KM.js} +8 -8
  10. package/dist/{chunk-BC6RF6PC.js → chunk-HPEUBV26.js} +5 -5
  11. package/dist/{chunk-3Y2LOGEP.js → chunk-I7MGLNDS.js} +111 -287
  12. package/dist/{chunk-XQSHUIJ5.js → chunk-IMOWQZSF.js} +8 -8
  13. package/dist/{chunk-T45XO7V4.js → chunk-KC4IV345.js} +8 -8
  14. package/dist/{chunk-SA65PE7P.js → chunk-KXKLT23E.js} +5 -5
  15. package/dist/{chunk-K5W6WZ6E.js → chunk-MJIP3FY5.js} +6 -238
  16. package/dist/{chunk-T6YMHO44.js → chunk-QSJ6FFPB.js} +7 -7
  17. package/dist/{chunk-GIOVJ5SL.js → chunk-RN2HKPE6.js} +8 -8
  18. package/dist/{chunk-YKPF4IDJ.js → chunk-RNX2DLOP.js} +8 -8
  19. package/dist/{chunk-QPHQEGC5.js → chunk-S2R7ACYL.js} +8 -8
  20. package/dist/{chunk-XPXF244W.js → chunk-SPUWLFDP.js} +4 -5
  21. package/dist/{chunk-75AJJ2SV.js → chunk-TGNGIHD7.js} +5 -5
  22. package/dist/{chunk-LHESHKC2.js → chunk-UPQKNKIW.js} +5 -5
  23. package/dist/{chunk-HX2VLZFY.js → chunk-WTB3APDL.js} +111 -287
  24. package/dist/{chunk-RUJGWM5Y.js → chunk-XNFIABGN.js} +5 -5
  25. package/dist/{chunk-XKIMYV5V.js → chunk-Z5IX3DHF.js} +5 -5
  26. package/dist/{chunk-WHZN3ZOU.js → chunk-Z5MHTWO5.js} +5 -5
  27. package/dist/cli/checkUnsupportedDataProxy.js +23 -29
  28. package/dist/cli/directoryConfig.d.ts +1 -1
  29. package/dist/cli/directoryConfig.js +2 -2
  30. package/dist/cli/getSchema.d.ts +3 -28
  31. package/dist/cli/getSchema.js +26 -33
  32. package/dist/cli/hashes.d.ts +1 -2
  33. package/dist/cli/hashes.js +23 -29
  34. package/dist/cli/schemaContext.d.ts +4 -3
  35. package/dist/cli/schemaContext.js +23 -29
  36. package/dist/engine-commands/errorHelpers.js +4 -4
  37. package/dist/engine-commands/formatSchema.js +22 -28
  38. package/dist/engine-commands/getConfig.js +10 -10
  39. package/dist/engine-commands/getDmmf.js +7 -7
  40. package/dist/engine-commands/index.js +31 -37
  41. package/dist/engine-commands/lintSchema.js +8 -8
  42. package/dist/engine-commands/mergeSchemas.js +7 -7
  43. package/dist/engine-commands/validate.js +7 -7
  44. package/dist/get-generators/getGenerators.d.ts +18 -9
  45. package/dist/get-generators/getGenerators.js +25 -31
  46. package/dist/getPackedPackage.js +3 -3
  47. package/dist/index.d.ts +3 -5
  48. package/dist/index.js +53 -60
  49. package/dist/resolvePkg.d.ts +7 -0
  50. package/dist/{get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.js → resolvePkg.js} +6 -6
  51. package/dist/utils/getEnvPaths.js +22 -28
  52. package/dist/utils/getVersionFromPackageJson.js +3 -3
  53. package/dist/utils/loadEnvFile.js +22 -28
  54. package/dist/wasm.js +4 -4
  55. package/package.json +10 -11
  56. package/dist/chunk-72UZXEBG.js +0 -28
  57. package/dist/chunk-BWGDP6B5.js +0 -4948
  58. package/dist/chunk-EUTJYQDW.js +0 -46
  59. package/dist/chunk-EWWOTVR3.js +0 -52
  60. package/dist/chunk-GHHABGYW.js +0 -28
  61. package/dist/chunk-QGJH4P4N.js +0 -35
  62. package/dist/get-generators/generatorResolvers/generatorResolvers.d.ts +0 -15
  63. package/dist/get-generators/generatorResolvers/generatorResolvers.js +0 -138
  64. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.d.ts +0 -6
  65. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +0 -26
  66. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.d.ts +0 -9
  67. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +0 -26
  68. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.d.ts +0 -8
  69. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +0 -29
  70. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.d.ts +0 -6
  71. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +0 -138
  72. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.d.ts +0 -1
  73. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +0 -26
  74. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.d.ts +0 -20
  75. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +0 -26
  76. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.d.ts +0 -7
  77. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.d.ts +0 -1
  78. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.js +0 -17
  79. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.d.ts +0 -20
  80. 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");
@@ -26,21 +26,24 @@ 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_TV34NMBZ_exports = {};
30
- __export(chunk_TV34NMBZ_exports, {
29
+ var chunk_2H6XXXKO_exports = {};
30
+ __export(chunk_2H6XXXKO_exports, {
31
31
  inferDirectoryConfig: () => inferDirectoryConfig
32
32
  });
33
- module.exports = __toCommonJS(chunk_TV34NMBZ_exports);
33
+ module.exports = __toCommonJS(chunk_2H6XXXKO_exports);
34
34
  var import_path = __toESM(require("path"));
35
- function inferDirectoryConfig(schemaContext) {
36
- const rootDir = schemaContext?.schemaRootDir ?? import_path.default.join(process.cwd(), "prisma");
37
- const migrationsDirPath = import_path.default.join(import_path.default.dirname(schemaContext?.schemaPath ?? process.cwd()), "migrations");
38
- const schemaPath = schemaContext?.schemaPath ?? import_path.default.join(process.cwd(), "prisma");
39
- const prismaDir = import_path.default.dirname(schemaPath);
40
- const viewsDirPath = import_path.default.join(prismaDir, "views");
35
+ function inferDirectoryConfig(schemaContext, cwd = process.cwd()) {
36
+ const baseDir = (
37
+ // All default paths are relative to the `schema.prisma` file that contains the primary datasource.
38
+ // That schema file should usually be the users "root" aka main schema file.
39
+ schemaContext?.primaryDatasourceDirectory ?? // If no primary datasource exists we use the schemaRootDir.
40
+ // `schemaRootDir` is either the directory the user supplied as schemaPath or the directory the single schema file is in.
41
+ schemaContext?.schemaRootDir ?? // Should also that not be defined because there is no schema yet we fallback to CWD + `/prisma`.
42
+ import_path.default.join(cwd, "prisma")
43
+ );
41
44
  return {
42
- viewsDirPath,
43
- typedSqlDirPath: import_path.default.join(rootDir, "sql"),
44
- migrationsDirPath
45
+ viewsDirPath: import_path.default.join(baseDir, "views"),
46
+ typedSqlDirPath: import_path.default.join(baseDir, "sql"),
47
+ migrationsDirPath: import_path.default.join(baseDir, "migrations")
45
48
  };
46
49
  }
@@ -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_ABTIXQDX_exports = {};
20
- __export(chunk_ABTIXQDX_exports, {
19
+ var chunk_3R43ZQD7_exports = {};
20
+ __export(chunk_3R43ZQD7_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_ABTIXQDX_exports);
23
+ module.exports = __toCommonJS(chunk_3R43ZQD7_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",
@@ -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
  }
@@ -26,17 +26,17 @@ 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_BTWAF3S4_exports = {};
30
- __export(chunk_BTWAF3S4_exports, {
29
+ var chunk_7JDKTQ7P_exports = {};
30
+ __export(chunk_7JDKTQ7P_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_BTWAF3S4_exports);
34
+ module.exports = __toCommonJS(chunk_7JDKTQ7P_exports);
35
35
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
37
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_PQE76XRR = require("./chunk-PQE76XRR.js");
39
- var import_chunk_LHESHKC2 = require("./chunk-LHESHKC2.js");
38
+ var import_chunk_C73SLFIL = require("./chunk-C73SLFIL.js");
39
+ var import_chunk_UPQKNKIW = require("./chunk-UPQKNKIW.js");
40
40
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
41
41
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
42
42
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -59,7 +59,7 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: mergeSchemas]`;
62
- super((0, import_chunk_PQE76XRR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_C73SLFIL.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "MergeSchemasError";
64
64
  }
65
65
  };
@@ -72,7 +72,7 @@ function mergeSchemas(options) {
72
72
  const params = JSON.stringify({
73
73
  schema: options.schemas
74
74
  });
75
- return import_chunk_LHESHKC2.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_UPQKNKIW.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -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
+ };
@@ -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_PQE76XRR_exports = {};
20
- __export(chunk_PQE76XRR_exports, {
19
+ var chunk_C73SLFIL_exports = {};
20
+ __export(chunk_C73SLFIL_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_PQE76XRR_exports);
24
- var import_chunk_75AJJ2SV = require("./chunk-75AJJ2SV.js");
23
+ module.exports = __toCommonJS(chunk_C73SLFIL_exports);
24
+ var import_chunk_TGNGIHD7 = require("./chunk-TGNGIHD7.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_75AJJ2SV.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_TGNGIHD7.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_MSQTODVE_exports = {};
30
- __export(chunk_MSQTODVE_exports, {
29
+ var chunk_G3SNV7KM_exports = {};
30
+ __export(chunk_G3SNV7KM_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_MSQTODVE_exports);
37
+ module.exports = __toCommonJS(chunk_G3SNV7KM_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_PQE76XRR = require("./chunk-PQE76XRR.js");
42
- var import_chunk_LHESHKC2 = require("./chunk-LHESHKC2.js");
41
+ var import_chunk_KXKLT23E = require("./chunk-KXKLT23E.js");
42
+ var import_chunk_Z5MHTWO5 = require("./chunk-Z5MHTWO5.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_PQE76XRR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_KXKLT23E.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_LHESHKC2.prismaSchemaWasm.debug_panic();
92
+ import_chunk_Z5MHTWO5.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_LHESHKC2.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_Z5MHTWO5.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -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_BC6RF6PC_exports = {};
20
- __export(chunk_BC6RF6PC_exports, {
19
+ var chunk_HPEUBV26_exports = {};
20
+ __export(chunk_HPEUBV26_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_BC6RF6PC_exports);
24
- var import_chunk_XPXF244W = require("./chunk-XPXF244W.js");
25
- var packageJson = (0, import_chunk_XPXF244W.require_package)();
23
+ module.exports = __toCommonJS(chunk_HPEUBV26_exports);
24
+ var import_chunk_SPUWLFDP = require("./chunk-SPUWLFDP.js");
25
+ var packageJson = (0, import_chunk_SPUWLFDP.require_package)();
26
26
  var version = packageJson.version;