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

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-HZP4ATW5.js → chunk-2EXTOQXP.js} +5 -5
  4. package/dist/{chunk-Q3IVXLMC.js → chunk-2FBMMWHQ.js} +5 -5
  5. package/dist/{chunk-TV34NMBZ.js → chunk-2H6XXXKO.js} +15 -12
  6. package/dist/{chunk-HX2VLZFY.js → chunk-4K5HIRG5.js} +111 -287
  7. package/dist/{chunk-5UDIJ23I.js → chunk-62LU4TVK.js} +8 -8
  8. package/dist/{chunk-VVPSLVOR.js → chunk-67I7CEQJ.js} +6 -7
  9. package/dist/{chunk-BTWAF3S4.js → chunk-72C2UHFB.js} +7 -7
  10. package/dist/{chunk-GIOVJ5SL.js → chunk-77MKN3Q4.js} +8 -8
  11. package/dist/{chunk-244JZX3O.js → chunk-7FTMDG7L.js} +5 -5
  12. package/dist/{chunk-B2BBNLC5.js → chunk-ANMHSU5Y.js} +5 -5
  13. package/dist/{chunk-L2OMDDLG.js → chunk-BD2NGNRL.js} +111 -287
  14. package/dist/{chunk-DYVL6P7F.js → chunk-BPDMLM32.js} +46 -13
  15. package/dist/{chunk-XQSHUIJ5.js → chunk-BWPH7QBV.js} +8 -8
  16. package/dist/{chunk-M6JO5TM5.js → chunk-C2OWHVUP.js} +8 -8
  17. package/dist/{chunk-OIAO45HN.js → chunk-F6EDK6DL.js} +5 -6
  18. package/dist/{chunk-R57AYZIS.js → chunk-I5B3XJKO.js} +7 -7
  19. package/dist/{chunk-75AJJ2SV.js → chunk-LVXOY25I.js} +5 -5
  20. package/dist/{chunk-K5W6WZ6E.js → chunk-MJIP3FY5.js} +6 -238
  21. package/dist/{chunk-MSQTODVE.js → chunk-MVXDMOUP.js} +8 -8
  22. package/dist/{chunk-ABTIXQDX.js → chunk-P3WMSDK6.js} +4 -5
  23. package/dist/{chunk-LHESHKC2.js → chunk-R3ZRLDO2.js} +5 -5
  24. package/dist/{chunk-PQE76XRR.js → chunk-RTT3E5AL.js} +5 -5
  25. package/dist/{chunk-Z2MGSX7I.js → chunk-SFKNTHP6.js} +8 -8
  26. package/dist/{chunk-XKIMYV5V.js → chunk-XARFXSI5.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 +11 -12
  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
@@ -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,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_XQSHUIJ5_exports = {};
30
- __export(chunk_XQSHUIJ5_exports, {
29
+ var chunk_BWPH7QBV_exports = {};
30
+ __export(chunk_BWPH7QBV_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_XQSHUIJ5_exports);
34
+ module.exports = __toCommonJS(chunk_BWPH7QBV_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_RTT3E5AL = require("./chunk-RTT3E5AL.js");
39
+ var import_chunk_R3ZRLDO2 = require("./chunk-R3ZRLDO2.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: validate]`;
62
- super((0, import_chunk_PQE76XRR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_RTT3E5AL.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "ValidateError";
64
64
  }
65
65
  };
@@ -71,13 +71,13 @@ function validate(options) {
71
71
  () => {
72
72
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
73
73
  debug("Triggering a Rust panic...");
74
- import_chunk_LHESHKC2.prismaSchemaWasm.debug_panic();
74
+ import_chunk_R3ZRLDO2.prismaSchemaWasm.debug_panic();
75
75
  }
76
76
  const params = JSON.stringify({
77
77
  prismaSchema: options.schemas,
78
78
  noColor: Boolean(process.env.NO_COLOR)
79
79
  });
80
- import_chunk_LHESHKC2.prismaSchemaWasm.validate(params);
80
+ import_chunk_R3ZRLDO2.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-error",
@@ -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_M6JO5TM5_exports = {};
30
- __export(chunk_M6JO5TM5_exports, {
29
+ var chunk_C2OWHVUP_exports = {};
30
+ __export(chunk_C2OWHVUP_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_M6JO5TM5_exports);
37
+ module.exports = __toCommonJS(chunk_C2OWHVUP_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_B2BBNLC5 = require("./chunk-B2BBNLC5.js");
42
- var import_chunk_HZP4ATW5 = require("./chunk-HZP4ATW5.js");
41
+ var import_chunk_ANMHSU5Y = require("./chunk-ANMHSU5Y.js");
42
+ var import_chunk_2EXTOQXP = require("./chunk-2EXTOQXP.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_B2BBNLC5.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_ANMHSU5Y.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_HZP4ATW5.prismaSchemaWasm.debug_panic();
92
+ import_chunk_2EXTOQXP.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_HZP4ATW5.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_2EXTOQXP.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -16,17 +16,17 @@ 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_OIAO45HN_exports = {};
20
- __export(chunk_OIAO45HN_exports, {
19
+ var chunk_F6EDK6DL_exports = {};
20
+ __export(chunk_F6EDK6DL_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_OIAO45HN_exports);
23
+ module.exports = __toCommonJS(chunk_F6EDK6DL_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) {
27
27
  module2.exports = {
28
28
  name: "@prisma/internals",
29
- version: "6.6.0-integration-feat-orm-693-d1-driver-create-migration-adapter-using-new-http-binding.5",
29
+ version: "6.6.0-integration-push-xmzqvqxpztks.13",
30
30
  description: "This package is intended for Prisma's internal use",
31
31
  main: "dist/index.js",
32
32
  types: "dist/index.d.ts",
@@ -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-25.0302bd9e49a13a657a302c060e529d54b08fad04",
115
+ "@prisma/prisma-schema-wasm": "6.6.0-27.ff4e67a11a395e489261256f882adb6d6a7eea11",
117
116
  "@prisma/schema-files-loader": "workspace:*",
118
117
  arg: "5.0.2",
119
118
  prompts: "2.4.2"
@@ -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_R57AYZIS_exports = {};
30
- __export(chunk_R57AYZIS_exports, {
29
+ var chunk_I5B3XJKO_exports = {};
30
+ __export(chunk_I5B3XJKO_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_R57AYZIS_exports);
34
+ module.exports = __toCommonJS(chunk_I5B3XJKO_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_B2BBNLC5 = require("./chunk-B2BBNLC5.js");
39
- var import_chunk_HZP4ATW5 = require("./chunk-HZP4ATW5.js");
38
+ var import_chunk_ANMHSU5Y = require("./chunk-ANMHSU5Y.js");
39
+ var import_chunk_2EXTOQXP = require("./chunk-2EXTOQXP.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_B2BBNLC5.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_ANMHSU5Y.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_HZP4ATW5.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_2EXTOQXP.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -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_75AJJ2SV_exports = {};
20
- __export(chunk_75AJJ2SV_exports, {
19
+ var chunk_LVXOY25I_exports = {};
20
+ __export(chunk_LVXOY25I_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_75AJJ2SV_exports);
24
- var import_chunk_ABTIXQDX = require("./chunk-ABTIXQDX.js");
25
- var packageJson = (0, import_chunk_ABTIXQDX.require_package)();
23
+ module.exports = __toCommonJS(chunk_LVXOY25I_exports);
24
+ var import_chunk_P3WMSDK6 = require("./chunk-P3WMSDK6.js");
25
+ var packageJson = (0, import_chunk_P3WMSDK6.require_package)();
26
26
  var version = packageJson.version;
@@ -26,18 +26,18 @@ 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_K5W6WZ6E_exports = {};
30
- __export(chunk_K5W6WZ6E_exports, {
29
+ var chunk_MJIP3FY5_exports = {};
30
+ __export(chunk_MJIP3FY5_exports, {
31
31
  getPackedPackage: () => getPackedPackage,
32
32
  readPackageUp: () => readPackageUp,
33
33
  require_p_map: () => require_p_map,
34
34
  toPath: () => toPath2
35
35
  });
36
- module.exports = __toCommonJS(chunk_K5W6WZ6E_exports);
37
- var import_chunk_VVPSLVOR = require("./chunk-VVPSLVOR.js");
36
+ module.exports = __toCommonJS(chunk_MJIP3FY5_exports);
38
37
  var import_chunk_KDP6C3CB = require("./chunk-KDP6C3CB.js");
39
38
  var import_chunk_UZTXEBTM = require("./chunk-UZTXEBTM.js");
40
39
  var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
40
+ var import_chunk_67I7CEQJ = require("./chunk-67I7CEQJ.js");
41
41
  var import_chunk_MM4ARWWY = require("./chunk-MM4ARWWY.js");
42
42
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
43
43
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -8633,238 +8633,6 @@ var require_lib8 = (0, import_chunk_4VNS5WPM.__commonJS)({
8633
8633
  module2.exports = GitHost;
8634
8634
  }
8635
8635
  });
8636
- var require_hasown = (0, import_chunk_4VNS5WPM.__commonJS)({
8637
- "../../node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js"(exports, module2) {
8638
- "use strict";
8639
- var call = Function.prototype.call;
8640
- var $hasOwn = Object.prototype.hasOwnProperty;
8641
- var bind = (0, import_chunk_VVPSLVOR.require_function_bind)();
8642
- module2.exports = bind.call(call, $hasOwn);
8643
- }
8644
- });
8645
- var require_core = (0, import_chunk_4VNS5WPM.__commonJS)({
8646
- "../../node_modules/.pnpm/is-core-module@2.13.1/node_modules/is-core-module/core.json"(exports, module2) {
8647
- module2.exports = {
8648
- assert: true,
8649
- "node:assert": [">= 14.18 && < 15", ">= 16"],
8650
- "assert/strict": ">= 15",
8651
- "node:assert/strict": ">= 16",
8652
- async_hooks: ">= 8",
8653
- "node:async_hooks": [">= 14.18 && < 15", ">= 16"],
8654
- buffer_ieee754: ">= 0.5 && < 0.9.7",
8655
- buffer: true,
8656
- "node:buffer": [">= 14.18 && < 15", ">= 16"],
8657
- child_process: true,
8658
- "node:child_process": [">= 14.18 && < 15", ">= 16"],
8659
- cluster: ">= 0.5",
8660
- "node:cluster": [">= 14.18 && < 15", ">= 16"],
8661
- console: true,
8662
- "node:console": [">= 14.18 && < 15", ">= 16"],
8663
- constants: true,
8664
- "node:constants": [">= 14.18 && < 15", ">= 16"],
8665
- crypto: true,
8666
- "node:crypto": [">= 14.18 && < 15", ">= 16"],
8667
- _debug_agent: ">= 1 && < 8",
8668
- _debugger: "< 8",
8669
- dgram: true,
8670
- "node:dgram": [">= 14.18 && < 15", ">= 16"],
8671
- diagnostics_channel: [">= 14.17 && < 15", ">= 15.1"],
8672
- "node:diagnostics_channel": [">= 14.18 && < 15", ">= 16"],
8673
- dns: true,
8674
- "node:dns": [">= 14.18 && < 15", ">= 16"],
8675
- "dns/promises": ">= 15",
8676
- "node:dns/promises": ">= 16",
8677
- domain: ">= 0.7.12",
8678
- "node:domain": [">= 14.18 && < 15", ">= 16"],
8679
- events: true,
8680
- "node:events": [">= 14.18 && < 15", ">= 16"],
8681
- freelist: "< 6",
8682
- fs: true,
8683
- "node:fs": [">= 14.18 && < 15", ">= 16"],
8684
- "fs/promises": [">= 10 && < 10.1", ">= 14"],
8685
- "node:fs/promises": [">= 14.18 && < 15", ">= 16"],
8686
- _http_agent: ">= 0.11.1",
8687
- "node:_http_agent": [">= 14.18 && < 15", ">= 16"],
8688
- _http_client: ">= 0.11.1",
8689
- "node:_http_client": [">= 14.18 && < 15", ">= 16"],
8690
- _http_common: ">= 0.11.1",
8691
- "node:_http_common": [">= 14.18 && < 15", ">= 16"],
8692
- _http_incoming: ">= 0.11.1",
8693
- "node:_http_incoming": [">= 14.18 && < 15", ">= 16"],
8694
- _http_outgoing: ">= 0.11.1",
8695
- "node:_http_outgoing": [">= 14.18 && < 15", ">= 16"],
8696
- _http_server: ">= 0.11.1",
8697
- "node:_http_server": [">= 14.18 && < 15", ">= 16"],
8698
- http: true,
8699
- "node:http": [">= 14.18 && < 15", ">= 16"],
8700
- http2: ">= 8.8",
8701
- "node:http2": [">= 14.18 && < 15", ">= 16"],
8702
- https: true,
8703
- "node:https": [">= 14.18 && < 15", ">= 16"],
8704
- inspector: ">= 8",
8705
- "node:inspector": [">= 14.18 && < 15", ">= 16"],
8706
- "inspector/promises": [">= 19"],
8707
- "node:inspector/promises": [">= 19"],
8708
- _linklist: "< 8",
8709
- module: true,
8710
- "node:module": [">= 14.18 && < 15", ">= 16"],
8711
- net: true,
8712
- "node:net": [">= 14.18 && < 15", ">= 16"],
8713
- "node-inspect/lib/_inspect": ">= 7.6 && < 12",
8714
- "node-inspect/lib/internal/inspect_client": ">= 7.6 && < 12",
8715
- "node-inspect/lib/internal/inspect_repl": ">= 7.6 && < 12",
8716
- os: true,
8717
- "node:os": [">= 14.18 && < 15", ">= 16"],
8718
- path: true,
8719
- "node:path": [">= 14.18 && < 15", ">= 16"],
8720
- "path/posix": ">= 15.3",
8721
- "node:path/posix": ">= 16",
8722
- "path/win32": ">= 15.3",
8723
- "node:path/win32": ">= 16",
8724
- perf_hooks: ">= 8.5",
8725
- "node:perf_hooks": [">= 14.18 && < 15", ">= 16"],
8726
- process: ">= 1",
8727
- "node:process": [">= 14.18 && < 15", ">= 16"],
8728
- punycode: ">= 0.5",
8729
- "node:punycode": [">= 14.18 && < 15", ">= 16"],
8730
- querystring: true,
8731
- "node:querystring": [">= 14.18 && < 15", ">= 16"],
8732
- readline: true,
8733
- "node:readline": [">= 14.18 && < 15", ">= 16"],
8734
- "readline/promises": ">= 17",
8735
- "node:readline/promises": ">= 17",
8736
- repl: true,
8737
- "node:repl": [">= 14.18 && < 15", ">= 16"],
8738
- smalloc: ">= 0.11.5 && < 3",
8739
- _stream_duplex: ">= 0.9.4",
8740
- "node:_stream_duplex": [">= 14.18 && < 15", ">= 16"],
8741
- _stream_transform: ">= 0.9.4",
8742
- "node:_stream_transform": [">= 14.18 && < 15", ">= 16"],
8743
- _stream_wrap: ">= 1.4.1",
8744
- "node:_stream_wrap": [">= 14.18 && < 15", ">= 16"],
8745
- _stream_passthrough: ">= 0.9.4",
8746
- "node:_stream_passthrough": [">= 14.18 && < 15", ">= 16"],
8747
- _stream_readable: ">= 0.9.4",
8748
- "node:_stream_readable": [">= 14.18 && < 15", ">= 16"],
8749
- _stream_writable: ">= 0.9.4",
8750
- "node:_stream_writable": [">= 14.18 && < 15", ">= 16"],
8751
- stream: true,
8752
- "node:stream": [">= 14.18 && < 15", ">= 16"],
8753
- "stream/consumers": ">= 16.7",
8754
- "node:stream/consumers": ">= 16.7",
8755
- "stream/promises": ">= 15",
8756
- "node:stream/promises": ">= 16",
8757
- "stream/web": ">= 16.5",
8758
- "node:stream/web": ">= 16.5",
8759
- string_decoder: true,
8760
- "node:string_decoder": [">= 14.18 && < 15", ">= 16"],
8761
- sys: [">= 0.4 && < 0.7", ">= 0.8"],
8762
- "node:sys": [">= 14.18 && < 15", ">= 16"],
8763
- "test/reporters": ">= 19.9 && < 20.2",
8764
- "node:test/reporters": [">= 18.17 && < 19", ">= 19.9", ">= 20"],
8765
- "node:test": [">= 16.17 && < 17", ">= 18"],
8766
- timers: true,
8767
- "node:timers": [">= 14.18 && < 15", ">= 16"],
8768
- "timers/promises": ">= 15",
8769
- "node:timers/promises": ">= 16",
8770
- _tls_common: ">= 0.11.13",
8771
- "node:_tls_common": [">= 14.18 && < 15", ">= 16"],
8772
- _tls_legacy: ">= 0.11.3 && < 10",
8773
- _tls_wrap: ">= 0.11.3",
8774
- "node:_tls_wrap": [">= 14.18 && < 15", ">= 16"],
8775
- tls: true,
8776
- "node:tls": [">= 14.18 && < 15", ">= 16"],
8777
- trace_events: ">= 10",
8778
- "node:trace_events": [">= 14.18 && < 15", ">= 16"],
8779
- tty: true,
8780
- "node:tty": [">= 14.18 && < 15", ">= 16"],
8781
- url: true,
8782
- "node:url": [">= 14.18 && < 15", ">= 16"],
8783
- util: true,
8784
- "node:util": [">= 14.18 && < 15", ">= 16"],
8785
- "util/types": ">= 15.3",
8786
- "node:util/types": ">= 16",
8787
- "v8/tools/arguments": ">= 10 && < 12",
8788
- "v8/tools/codemap": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8789
- "v8/tools/consarray": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8790
- "v8/tools/csvparser": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8791
- "v8/tools/logreader": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8792
- "v8/tools/profile_view": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8793
- "v8/tools/splaytree": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8794
- v8: ">= 1",
8795
- "node:v8": [">= 14.18 && < 15", ">= 16"],
8796
- vm: true,
8797
- "node:vm": [">= 14.18 && < 15", ">= 16"],
8798
- wasi: [">= 13.4 && < 13.5", ">= 18.17 && < 19", ">= 20"],
8799
- "node:wasi": [">= 18.17 && < 19", ">= 20"],
8800
- worker_threads: ">= 11.7",
8801
- "node:worker_threads": [">= 14.18 && < 15", ">= 16"],
8802
- zlib: ">= 0.5",
8803
- "node:zlib": [">= 14.18 && < 15", ">= 16"]
8804
- };
8805
- }
8806
- });
8807
- var require_is_core_module = (0, import_chunk_4VNS5WPM.__commonJS)({
8808
- "../../node_modules/.pnpm/is-core-module@2.13.1/node_modules/is-core-module/index.js"(exports, module2) {
8809
- "use strict";
8810
- var hasOwn = require_hasown();
8811
- function specifierIncluded(current, specifier) {
8812
- var nodeParts = current.split(".");
8813
- var parts = specifier.split(" ");
8814
- var op = parts.length > 1 ? parts[0] : "=";
8815
- var versionParts = (parts.length > 1 ? parts[1] : parts[0]).split(".");
8816
- for (var i = 0; i < 3; ++i) {
8817
- var cur = parseInt(nodeParts[i] || 0, 10);
8818
- var ver = parseInt(versionParts[i] || 0, 10);
8819
- if (cur === ver) {
8820
- continue;
8821
- }
8822
- if (op === "<") {
8823
- return cur < ver;
8824
- }
8825
- if (op === ">=") {
8826
- return cur >= ver;
8827
- }
8828
- return false;
8829
- }
8830
- return op === ">=";
8831
- }
8832
- function matchesRange(current, range) {
8833
- var specifiers = range.split(/ ?&& ?/);
8834
- if (specifiers.length === 0) {
8835
- return false;
8836
- }
8837
- for (var i = 0; i < specifiers.length; ++i) {
8838
- if (!specifierIncluded(current, specifiers[i])) {
8839
- return false;
8840
- }
8841
- }
8842
- return true;
8843
- }
8844
- function versionIncluded(nodeVersion, specifierValue) {
8845
- if (typeof specifierValue === "boolean") {
8846
- return specifierValue;
8847
- }
8848
- var current = typeof nodeVersion === "undefined" ? process.versions && process.versions.node : nodeVersion;
8849
- if (typeof current !== "string") {
8850
- throw new TypeError(typeof nodeVersion === "undefined" ? "Unable to determine current node version" : "If provided, a valid node version is required");
8851
- }
8852
- if (specifierValue && typeof specifierValue === "object") {
8853
- for (var i = 0; i < specifierValue.length; ++i) {
8854
- if (matchesRange(current, specifierValue[i])) {
8855
- return true;
8856
- }
8857
- }
8858
- return false;
8859
- }
8860
- return matchesRange(current, specifierValue);
8861
- }
8862
- var data = require_core();
8863
- module2.exports = function isCore(x, nodeVersion) {
8864
- return hasOwn(data, x) && versionIncluded(nodeVersion, data[x]);
8865
- };
8866
- }
8867
- });
8868
8636
  var require_extract_description = (0, import_chunk_4VNS5WPM.__commonJS)({
8869
8637
  "../../node_modules/.pnpm/normalize-package-data@6.0.0/node_modules/normalize-package-data/lib/extract_description.js"(exports, module2) {
8870
8638
  "use strict";
@@ -8926,7 +8694,7 @@ var require_fixer = (0, import_chunk_4VNS5WPM.__commonJS)({
8926
8694
  var cleanSemver = require_clean();
8927
8695
  var validateLicense = require_validate_npm_package_license();
8928
8696
  var hostedGitInfo = require_lib8();
8929
- var isBuiltinModule = require_is_core_module();
8697
+ var isBuiltinModule = (0, import_chunk_67I7CEQJ.require_is_core_module)();
8930
8698
  var depTypes = ["dependencies", "devDependencies", "optionalDependencies"];
8931
8699
  var extractDescription = require_extract_description();
8932
8700
  var url = (0, import_chunk_4VNS5WPM.__require)("url");
@@ -12899,7 +12667,7 @@ function readPackageUpSync(options) {
12899
12667
  }
12900
12668
  var import_tempy = (0, import_chunk_4VNS5WPM.__toESM)(require_tempy());
12901
12669
  async function getPackedPackage(name, target, packageDir) {
12902
- packageDir = packageDir || await (0, import_chunk_VVPSLVOR.resolvePkg)(name, { basedir: process.cwd() }) || await (0, import_chunk_VVPSLVOR.resolvePkg)(name, { basedir: target });
12670
+ packageDir = packageDir || await (0, import_chunk_67I7CEQJ.resolvePkg)(name, { basedir: process.cwd() }) || await (0, import_chunk_67I7CEQJ.resolvePkg)(name, { basedir: target });
12903
12671
  if (!packageDir) {
12904
12672
  const pkg = readPackageUpSync({
12905
12673
  cwd: target,
@@ -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_MVXDMOUP_exports = {};
30
+ __export(chunk_MVXDMOUP_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_MVXDMOUP_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_RTT3E5AL = require("./chunk-RTT3E5AL.js");
42
+ var import_chunk_R3ZRLDO2 = require("./chunk-R3ZRLDO2.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_RTT3E5AL.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_R3ZRLDO2.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_R3ZRLDO2.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_ABTIXQDX_exports = {};
20
- __export(chunk_ABTIXQDX_exports, {
19
+ var chunk_P3WMSDK6_exports = {};
20
+ __export(chunk_P3WMSDK6_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_ABTIXQDX_exports);
23
+ module.exports = __toCommonJS(chunk_P3WMSDK6_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-25.0302bd9e49a13a657a302c060e529d54b08fad04",
115
+ "@prisma/prisma-schema-wasm": "6.6.0-27.ff4e67a11a395e489261256f882adb6d6a7eea11",
117
116
  "@prisma/schema-files-loader": "workspace:*",
118
117
  arg: "5.0.2",
119
118
  prompts: "2.4.2"