@prisma/internals 6.19.0-integration-engines-6-19-0-30-push-otuqumlrponx-17ff4a7bd0bffdf0b40b58a399869660f7f0e368.1 → 6.19.0-integration-feat-remove-library-engine.3

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 (108) hide show
  1. package/dist/{chunk-GMW36QQF.js → chunk-22HIO2UL.js} +7 -7
  2. package/dist/{chunk-JOIIWB3U.js → chunk-2LOGW45F.js} +68 -33
  3. package/dist/{chunk-SVOYDVK6.js → chunk-2MJNNWBQ.js} +8 -8
  4. package/dist/{chunk-BVJP43JS.js → chunk-32LLAKF4.js} +13 -784
  5. package/dist/{chunk-AX5N26KG.js → chunk-33K2EQQZ.js} +10 -10
  6. package/dist/{chunk-I6WLABB2.js → chunk-3WXUQZS7.js} +14 -5
  7. package/dist/{chunk-RS2R7COT.js → chunk-5I4ERIIY.js} +3 -9
  8. package/dist/{chunk-F2OZV76L.js → chunk-5MHUYAV3.js} +9 -9
  9. package/dist/{chunk-HO5HRHFZ.js → chunk-5W3BSMTH.js} +3 -6
  10. package/dist/{chunk-46ABODUM.js → chunk-6QTN4DDB.js} +6 -21
  11. package/dist/{chunk-72WT7DK3.js → chunk-7TNL2X5G.js} +5 -5
  12. package/dist/{chunk-YQECHDTJ.js → chunk-AAXLNSYL.js} +5 -5
  13. package/dist/{chunk-6MRKNTJD.js → chunk-AOJ2N25Z.js} +8 -8
  14. package/dist/{chunk-WFNB7VRA.js → chunk-ARC7TW3L.js} +4 -14
  15. package/dist/{chunk-HFFWZTVM.js → chunk-BUQN4WLU.js} +7 -9
  16. package/dist/{chunk-MEMPRTWR.js → chunk-BZV6PVWV.js} +8 -8
  17. package/dist/{chunk-HHG4DGHC.js → chunk-CGLLQXZE.js} +11 -12
  18. package/dist/{chunk-47SAWGTD.js → chunk-D7L3VT6R.js} +8 -8
  19. package/dist/chunk-DYV47NUW.js +796 -0
  20. package/dist/{chunk-C4DCOB35.js → chunk-EBJBIVXN.js} +5 -5
  21. package/dist/{chunk-IDINCQMN.js → chunk-FF7OLLBP.js} +12 -784
  22. package/dist/{chunk-ECMR3OBL.js → chunk-FSQCVENL.js} +7 -7
  23. package/dist/{chunk-PZMRR772.js → chunk-FURGECAD.js} +6 -6
  24. package/dist/{chunk-4CGPN5SR.js → chunk-GJSFP4V4.js} +3 -9
  25. package/dist/{chunk-4JCVHBYR.js → chunk-GL7OANR6.js} +5 -5
  26. package/dist/{chunk-OAT7ZJED.js → chunk-H5STSTVK.js} +7 -20
  27. package/dist/{chunk-7QC5VORA.js → chunk-H6PPJ5PX.js} +7 -7
  28. package/dist/{chunk-FYZCPL2Z.js → chunk-HNRMSI3R.js} +5 -8
  29. package/dist/{chunk-D4VDA2TZ.js → chunk-IRWX4FCC.js} +6 -6
  30. package/dist/{chunk-UQUWZJVN.js → chunk-IU77SCOB.js} +9 -9
  31. package/dist/{chunk-FXUEE7XX.js → chunk-KD7PGGJP.js} +8 -8
  32. package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
  33. package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
  34. package/dist/{chunk-L5ZWEYO7.js → chunk-MUZJUPDX.js} +7 -7
  35. package/dist/{chunk-TQFONRJP.js → chunk-MXAUURHG.js} +5 -5
  36. package/dist/{chunk-PPB7JLDO.js → chunk-NNYJV66S.js} +5 -5
  37. package/dist/{chunk-ZBUC6PZX.js → chunk-NVSVTFPX.js} +5 -5
  38. package/dist/{chunk-EYVG6XQS.js → chunk-OKVM3CW4.js} +3 -39
  39. package/dist/{chunk-46MGVXWZ.js → chunk-P4JEYG25.js} +5 -5
  40. package/dist/{chunk-VMKOB234.js → chunk-QQRYY5P4.js} +8 -8
  41. package/dist/{chunk-FCYHZHVW.js → chunk-R3J2O23S.js} +4 -4
  42. package/dist/{chunk-4L35EYLD.js → chunk-SFKBYZWG.js} +38 -66
  43. package/dist/{chunk-AMETUICR.js → chunk-TAKL4AGJ.js} +8 -8
  44. package/dist/{chunk-75BIJ5PX.js → chunk-UB2X7DGZ.js} +9 -9
  45. package/dist/{chunk-W7LDAWJF.js → chunk-UMB3Y33W.js} +7 -7
  46. package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
  47. package/dist/{chunk-UHI6VYFX.js → chunk-WJKBKH3Y.js} +5 -5
  48. package/dist/{chunk-ZCMRWYQK.js → chunk-Z2IPE4NA.js} +38 -66
  49. package/dist/{chunk-DRMVYKKF.js → chunk-ZEBJSCAV.js} +5 -5
  50. package/dist/{chunk-ZY7BAIKC.js → chunk-ZVTQSH5K.js} +5 -5
  51. package/dist/cli/checkUnsupportedDataProxy.js +52 -54
  52. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +52 -54
  53. package/dist/cli/getGeneratorSuccessMessage.js +2 -3
  54. package/dist/cli/getSchema.d.ts +1 -15
  55. package/dist/cli/getSchema.js +4 -5
  56. package/dist/cli/hashes.js +4 -4
  57. package/dist/cli/schemaContext.js +52 -54
  58. package/dist/engine-commands/errorHelpers.js +4 -4
  59. package/dist/engine-commands/formatSchema.js +51 -53
  60. package/dist/engine-commands/getConfig.js +10 -10
  61. package/dist/engine-commands/getDmmf.js +7 -7
  62. package/dist/engine-commands/getEngineVersion.js +6 -9
  63. package/dist/engine-commands/getEnginesInfo.d.ts +0 -1
  64. package/dist/engine-commands/getEnginesInfo.js +7 -9
  65. package/dist/engine-commands/index.js +63 -65
  66. package/dist/engine-commands/lintSchema.js +8 -8
  67. package/dist/engine-commands/mergeSchemas.js +7 -7
  68. package/dist/engine-commands/validate.js +7 -7
  69. package/dist/errorReporting.js +6 -6
  70. package/dist/get-generators/getGenerators.d.ts +0 -1
  71. package/dist/get-generators/getGenerators.js +54 -56
  72. package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
  73. package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
  74. package/dist/get-generators/utils/getBinaryPathsByVersion.js +6 -5
  75. package/dist/getPackedPackage.js +4 -3
  76. package/dist/highlight/highlight.js +5 -5
  77. package/dist/index.d.ts +1 -4
  78. package/dist/index.js +102 -109
  79. package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
  80. package/dist/resolveBinary.js +8 -7
  81. package/dist/schemaEngineCommands.js +9 -8
  82. package/dist/sendPanic.js +4 -4
  83. package/dist/utils/canPrompt.js +3 -3
  84. package/dist/utils/cloudflareD1.js +3 -3
  85. package/dist/utils/drawBox.js +2 -2
  86. package/dist/utils/fs-functional.js +10 -10
  87. package/dist/utils/fs-utils.js +8 -8
  88. package/dist/utils/getEnvPaths.d.ts +1 -1
  89. package/dist/utils/getEnvPaths.js +2 -3
  90. package/dist/utils/getVersionFromPackageJson.js +3 -3
  91. package/dist/utils/handlePanic.js +8 -8
  92. package/dist/utils/link.js +2 -2
  93. package/dist/utils/loadEnvFile.d.ts +1 -1
  94. package/dist/utils/loadEnvFile.js +3 -4
  95. package/dist/utils/missingDatasource.js +5 -5
  96. package/dist/utils/missingGeneratorMessage.js +7 -7
  97. package/dist/utils/serializeQueryEngineName.js +2 -2
  98. package/dist/wasm.js +5 -5
  99. package/package.json +15 -15
  100. package/dist/chunk-6TTRTZXU.js +0 -37
  101. package/dist/chunk-DZYINYAA.js +0 -68
  102. package/dist/chunk-ERSH2BQA.js +0 -58
  103. package/dist/client/getClientEngineType.d.ts +0 -7
  104. package/dist/client/getClientEngineType.js +0 -26
  105. package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
  106. package/dist/utils/handleEngineLoadingErrors.js +0 -27
  107. package/dist/utils/load.d.ts +0 -6
  108. package/dist/utils/load.js +0 -28
@@ -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_5AI4FIZ3_exports = {};
30
- __export(chunk_5AI4FIZ3_exports, {
29
+ var chunk_MEOOYUIZ_exports = {};
30
+ __export(chunk_MEOOYUIZ_exports, {
31
31
  ErrorKind: () => ErrorKind,
32
32
  createErrorReport: () => createErrorReport,
33
33
  makeErrorReportCompleted: () => makeErrorReportCompleted,
34
34
  uploadZip: () => uploadZip
35
35
  });
36
- module.exports = __toCommonJS(chunk_5AI4FIZ3_exports);
37
- var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
36
+ module.exports = __toCommonJS(chunk_MEOOYUIZ_exports);
37
+ var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
38
38
  var import_fetch_engine = require("@prisma/fetch-engine");
39
39
  var import_node_http = __toESM(require("node:http"));
40
40
  var import_node_https = __toESM(require("node:https"));
@@ -151,8 +151,8 @@ var Body = class {
151
151
  } else if (ArrayBuffer.isView(body)) {
152
152
  body = import_node_buffer2.Buffer.from(body.buffer, body.byteOffset, body.byteLength);
153
153
  } else if (body instanceof import_node_stream2.default) {
154
- } else if (body instanceof import_chunk_NVNI2SRU.FormData) {
155
- body = (0, import_chunk_NVNI2SRU.formDataToBlob)(body);
154
+ } else if (body instanceof import_chunk_KNNTV7IN.FormData) {
155
+ body = (0, import_chunk_KNNTV7IN.formDataToBlob)(body);
156
156
  boundary = body.type.split("=")[1];
157
157
  } else {
158
158
  body = import_node_buffer2.Buffer.from(String(body));
@@ -196,14 +196,14 @@ var Body = class {
196
196
  async formData() {
197
197
  const ct = this.headers.get("content-type");
198
198
  if (ct.startsWith("application/x-www-form-urlencoded")) {
199
- const formData = new import_chunk_NVNI2SRU.FormData();
199
+ const formData = new import_chunk_KNNTV7IN.FormData();
200
200
  const parameters = new URLSearchParams(await this.text());
201
201
  for (const [name, value] of parameters) {
202
202
  formData.append(name, value);
203
203
  }
204
204
  return formData;
205
205
  }
206
- const { toFormData } = await import("./multipart-parser-3AFJFP6K.js");
206
+ const { toFormData } = await import("./multipart-parser-UV3WZSWW.js");
207
207
  return toFormData(this.body, ct);
208
208
  }
209
209
  /**
@@ -214,7 +214,7 @@ var Body = class {
214
214
  async blob() {
215
215
  const ct = this.headers && this.headers.get("content-type") || this[INTERNALS].body && this[INTERNALS].body.type || "";
216
216
  const buf = await this.arrayBuffer();
217
- return new import_chunk_NVNI2SRU.fetch_blob_default([buf], {
217
+ return new import_chunk_KNNTV7IN.fetch_blob_default([buf], {
218
218
  type: ct
219
219
  });
220
220
  }
@@ -342,7 +342,7 @@ var extractContentType = (body, request2) => {
342
342
  if (import_node_buffer2.Buffer.isBuffer(body) || import_node_util.types.isAnyArrayBuffer(body) || ArrayBuffer.isView(body)) {
343
343
  return null;
344
344
  }
345
- if (body instanceof import_chunk_NVNI2SRU.FormData) {
345
+ if (body instanceof import_chunk_KNNTV7IN.FormData) {
346
346
  return `multipart/form-data; boundary=${request2[INTERNALS].boundary}`;
347
347
  }
348
348
  if (body && typeof body.getBoundary === "function") {
@@ -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_L5ZWEYO7_exports = {};
20
- __export(chunk_L5ZWEYO7_exports, {
19
+ var chunk_MUZJUPDX_exports = {};
20
+ __export(chunk_MUZJUPDX_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_L5ZWEYO7_exports);
23
+ module.exports = __toCommonJS(chunk_MUZJUPDX_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) {
@@ -59,7 +59,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
59
59
  "@swc/jest": "0.2.37",
60
60
  "@types/babel__helper-validator-identifier": "7.15.2",
61
61
  "@types/jest": "29.5.14",
62
- "@types/node": "18.19.76",
62
+ "@types/node": "~20.19.24",
63
63
  "@types/resolve": "1.20.6",
64
64
  archiver: "6.0.2",
65
65
  "checkpoint-client": "1.1.33",
@@ -109,14 +109,14 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
109
109
  "@prisma/generator": "workspace:*",
110
110
  "@prisma/generator-helper": "workspace:*",
111
111
  "@prisma/get-platform": "workspace:*",
112
- "@prisma/prisma-schema-wasm": "6.19.0-30.push-otuqumlrponx-17ff4a7bd0bffdf0b40b58a399869660f7f0e368",
113
- "@prisma/schema-engine-wasm": "6.19.0-30.push-otuqumlrponx-17ff4a7bd0bffdf0b40b58a399869660f7f0e368",
112
+ "@prisma/prisma-schema-wasm": "6.19.0-29.next-ac95b5893b3c05bf39a2431fc1a748dd46152ab4",
113
+ "@prisma/schema-engine-wasm": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
114
114
  "@prisma/schema-files-loader": "workspace:*",
115
115
  arg: "5.0.2",
116
116
  prompts: "2.4.2"
117
117
  },
118
118
  peerDependencies: {
119
- typescript: ">=5.1.0"
119
+ typescript: ">=5.4.0"
120
120
  },
121
121
  peerDependenciesMeta: {
122
122
  typescript: {
@@ -26,8 +26,8 @@ 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_TQFONRJP_exports = {};
30
- __export(chunk_TQFONRJP_exports, {
29
+ var chunk_MXAUURHG_exports = {};
30
+ __export(chunk_MXAUURHG_exports, {
31
31
  createDirIfNotExists: () => createDirIfNotExists,
32
32
  fs_utils_exports: () => fs_utils_exports,
33
33
  getFilesInDir: () => getFilesInDir,
@@ -36,9 +36,9 @@ __export(chunk_TQFONRJP_exports, {
36
36
  removeEmptyDirs: () => removeEmptyDirs,
37
37
  writeFile: () => writeFile
38
38
  });
39
- module.exports = __toCommonJS(chunk_TQFONRJP_exports);
39
+ module.exports = __toCommonJS(chunk_MXAUURHG_exports);
40
40
  var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
41
- var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
41
+ var import_chunk_2LOGW45F = require("./chunk-2LOGW45F.js");
42
42
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
43
43
  var import_promises = __toESM(require("fs/promises"));
44
44
  var import_path = __toESM(require("path"));
@@ -51,7 +51,7 @@ var fs_utils_exports = {};
51
51
  removeEmptyDirs: () => removeEmptyDirs,
52
52
  writeFile: () => writeFile
53
53
  });
54
- var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_JOIIWB3U.require_globby)());
54
+ var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_2LOGW45F.require_globby)());
55
55
  function createDirIfNotExists(dir) {
56
56
  return import_promises.default.mkdir(dir, { recursive: true });
57
57
  }
@@ -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_PPB7JLDO_exports = {};
20
- __export(chunk_PPB7JLDO_exports, {
19
+ var chunk_NNYJV66S_exports = {};
20
+ __export(chunk_NNYJV66S_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_PPB7JLDO_exports);
28
- var import_chunk_ZY7BAIKC = require("./chunk-ZY7BAIKC.js");
27
+ module.exports = __toCommonJS(chunk_NNYJV66S_exports);
28
+ var import_chunk_ZVTQSH5K = require("./chunk-ZVTQSH5K.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_ZY7BAIKC.prismaSchemaWasm.lint(JSON.stringify(schemas));
32
+ const lintResult = import_chunk_ZVTQSH5K.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
33
  const lintDiagnostics = JSON.parse(lintResult);
34
34
  return lintDiagnostics;
35
35
  }
@@ -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_ZBUC6PZX_exports = {};
20
- __export(chunk_ZBUC6PZX_exports, {
19
+ var chunk_NVSVTFPX_exports = {};
20
+ __export(chunk_NVSVTFPX_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_ZBUC6PZX_exports);
24
- var import_chunk_VMKOB234 = require("./chunk-VMKOB234.js");
25
- var packageJson = (0, import_chunk_VMKOB234.require_package)();
23
+ module.exports = __toCommonJS(chunk_NVSVTFPX_exports);
24
+ var import_chunk_MUZJUPDX = require("./chunk-MUZJUPDX.js");
25
+ var packageJson = (0, import_chunk_MUZJUPDX.require_package)();
26
26
  var version = packageJson.version;
@@ -26,16 +26,14 @@ 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_EYVG6XQS_exports = {};
30
- __export(chunk_EYVG6XQS_exports, {
31
- getSchemaFromPackageJson: () => getSchemaFromPackageJson,
29
+ var chunk_OKVM3CW4_exports = {};
30
+ __export(chunk_OKVM3CW4_exports, {
32
31
  getSchemaWithPath: () => getSchemaWithPath,
33
32
  getSchemaWithPathOptional: () => getSchemaWithPathOptional,
34
33
  printSchemaLoadedMessage: () => printSchemaLoadedMessage
35
34
  });
36
- module.exports = __toCommonJS(chunk_EYVG6XQS_exports);
35
+ module.exports = __toCommonJS(chunk_OKVM3CW4_exports);
37
36
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
38
- var import_config = require("@prisma/config");
39
37
  var import_debug = require("@prisma/debug");
40
38
  var import_schema_files_loader = require("@prisma/schema-files-loader");
41
39
  var import_fs = __toESM(require("fs"));
@@ -119,10 +117,6 @@ async function getSchemaWithPathInternal(schemaPathFromArgs, schemaPathFromConfi
119
117
  if (prismaConfigResult.ok) {
120
118
  return prismaConfigResult;
121
119
  }
122
- const pkgJsonResult = await getSchemaFromPackageJson(cwd);
123
- if (pkgJsonResult.ok) {
124
- return pkgJsonResult;
125
- }
126
120
  const defaultResult = await getDefaultSchema(cwd);
127
121
  if (defaultResult.ok) {
128
122
  return defaultResult;
@@ -179,36 +173,6 @@ async function readSchemaFromPrismaConfigBasedLocation(schemaPathFromConfig) {
179
173
  }
180
174
  return schemaResult;
181
175
  }
182
- async function getSchemaFromPackageJson(cwd) {
183
- const prismaConfig = await (0, import_config.loadConfigFromPackageJson)(cwd);
184
- debug("prismaConfig", prismaConfig);
185
- if (!prismaConfig || !prismaConfig.config?.schema) {
186
- return { ok: false, error: { kind: "PackageJsonNotConfigured" } };
187
- }
188
- const schemaPathFromPkgJson = prismaConfig.config.schema;
189
- if (typeof schemaPathFromPkgJson !== "string") {
190
- throw new Error(
191
- `Provided schema path \`${schemaPathFromPkgJson}\` from \`${import_path.default.relative(
192
- cwd,
193
- prismaConfig.loadedFromFile
194
- )}\` must be of type string`
195
- );
196
- }
197
- const absoluteSchemaPath = import_path.default.isAbsolute(schemaPathFromPkgJson) ? schemaPathFromPkgJson : import_path.default.resolve(import_path.default.dirname(prismaConfig.loadedFromFile), schemaPathFromPkgJson);
198
- const lookupResult = await readSchemaFromFileOrDirectory(absoluteSchemaPath);
199
- if (!lookupResult.ok) {
200
- throw new Error(
201
- `Could not load schema from \`${import_path.default.relative(
202
- cwd,
203
- absoluteSchemaPath
204
- )}\` provided by "prisma.schema" config of \`${import_path.default.relative(
205
- cwd,
206
- prismaConfig.loadedFromFile
207
- )}\`: ${renderLookupError(lookupResult.error)}`
208
- );
209
- }
210
- return lookupResult;
211
- }
212
176
  async function getDefaultSchema(cwd, failures = []) {
213
177
  const lookupPaths = [import_path.default.join(cwd, "schema.prisma"), import_path.default.join(cwd, "prisma", "schema.prisma")];
214
178
  for (const path2 of lookupPaths) {
@@ -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_46MGVXWZ_exports = {};
20
- __export(chunk_46MGVXWZ_exports, {
19
+ var chunk_P4JEYG25_exports = {};
20
+ __export(chunk_P4JEYG25_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_46MGVXWZ_exports);
24
- var import_chunk_ZBUC6PZX = require("./chunk-ZBUC6PZX.js");
23
+ module.exports = __toCommonJS(chunk_P4JEYG25_exports);
24
+ var import_chunk_ZEBJSCAV = require("./chunk-ZEBJSCAV.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_ZBUC6PZX.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_ZEBJSCAV.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_VMKOB234_exports = {};
20
- __export(chunk_VMKOB234_exports, {
19
+ var chunk_QQRYY5P4_exports = {};
20
+ __export(chunk_QQRYY5P4_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_VMKOB234_exports);
23
+ module.exports = __toCommonJS(chunk_QQRYY5P4_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.19.0-integration-engines-6-19-0-30-push-otuqumlrponx-17ff4a7bd0bffdf0b40b58a399869660f7f0e368.1",
29
+ version: "6.19.0-integration-feat-remove-library-engine.3",
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",
@@ -59,7 +59,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
59
59
  "@swc/jest": "0.2.37",
60
60
  "@types/babel__helper-validator-identifier": "7.15.2",
61
61
  "@types/jest": "29.5.14",
62
- "@types/node": "18.19.76",
62
+ "@types/node": "~20.19.24",
63
63
  "@types/resolve": "1.20.6",
64
64
  archiver: "6.0.2",
65
65
  "checkpoint-client": "1.1.33",
@@ -109,14 +109,14 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
109
109
  "@prisma/generator": "workspace:*",
110
110
  "@prisma/generator-helper": "workspace:*",
111
111
  "@prisma/get-platform": "workspace:*",
112
- "@prisma/prisma-schema-wasm": "6.19.0-30.push-otuqumlrponx-17ff4a7bd0bffdf0b40b58a399869660f7f0e368",
113
- "@prisma/schema-engine-wasm": "6.19.0-30.push-otuqumlrponx-17ff4a7bd0bffdf0b40b58a399869660f7f0e368",
112
+ "@prisma/prisma-schema-wasm": "6.19.0-29.next-ac95b5893b3c05bf39a2431fc1a748dd46152ab4",
113
+ "@prisma/schema-engine-wasm": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
114
114
  "@prisma/schema-files-loader": "workspace:*",
115
115
  arg: "5.0.2",
116
116
  prompts: "2.4.2"
117
117
  },
118
118
  peerDependencies: {
119
- typescript: ">=5.1.0"
119
+ typescript: ">=5.4.0"
120
120
  },
121
121
  peerDependenciesMeta: {
122
122
  typescript: {
@@ -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_FCYHZHVW_exports = {};
30
- __export(chunk_FCYHZHVW_exports, {
29
+ var chunk_R3J2O23S_exports = {};
30
+ __export(chunk_R3J2O23S_exports, {
31
31
  canPrompt: () => canPrompt
32
32
  });
33
- module.exports = __toCommonJS(chunk_FCYHZHVW_exports);
34
- var import_chunk_H4NI2RIK = require("./chunk-H4NI2RIK.js");
33
+ module.exports = __toCommonJS(chunk_R3J2O23S_exports);
35
34
  var import_chunk_ICFLO5JW = require("./chunk-ICFLO5JW.js");
35
+ var import_chunk_H4NI2RIK = require("./chunk-H4NI2RIK.js");
36
36
  var import_prompts = __toESM(require("prompts"));
37
37
  var canPrompt = () => {
38
38
  const injectedCount = import_prompts.default._injected?.length;
@@ -26,8 +26,8 @@ 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_4L35EYLD_exports = {};
30
- __export(chunk_4L35EYLD_exports, {
29
+ var chunk_SFKBYZWG_exports = {};
30
+ __export(chunk_SFKBYZWG_exports, {
31
31
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
32
32
  checkUnsupportedSchemaEngineWasm: () => checkUnsupportedSchemaEngineWasm,
33
33
  forbiddenCmdFlagWithSchemaEngineWasm: () => forbiddenCmdFlagWithSchemaEngineWasm,
@@ -36,31 +36,29 @@ __export(chunk_4L35EYLD_exports, {
36
36
  getBinaryTargetForCurrentPlatform: () => import_get_platform2.getBinaryTargetForCurrentPlatform,
37
37
  getGenerator: () => getGenerator,
38
38
  getGenerators: () => getGenerators,
39
- getNodeAPIName: () => import_get_platform2.getNodeAPIName,
40
39
  knownBinaryTargets: () => knownBinaryTargets,
41
40
  loadSchemaContext: () => loadSchemaContext,
42
41
  processSchemaResult: () => processSchemaResult,
43
42
  skipIndex: () => skipIndex
44
43
  });
45
- module.exports = __toCommonJS(chunk_4L35EYLD_exports);
44
+ module.exports = __toCommonJS(chunk_SFKBYZWG_exports);
45
+ var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
46
+ var import_chunk_5MHUYAV3 = require("./chunk-5MHUYAV3.js");
46
47
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
47
48
  var import_chunk_LRU47BGE = require("./chunk-LRU47BGE.js");
48
- var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
49
- var import_chunk_F2OZV76L = require("./chunk-F2OZV76L.js");
50
- var import_chunk_RS2R7COT = require("./chunk-RS2R7COT.js");
51
49
  var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
52
50
  var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
53
- var import_chunk_7QC5VORA = require("./chunk-7QC5VORA.js");
54
- var import_chunk_AX5N26KG = require("./chunk-AX5N26KG.js");
55
- var import_chunk_46ABODUM = require("./chunk-46ABODUM.js");
56
- var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
51
+ var import_chunk_H6PPJ5PX = require("./chunk-H6PPJ5PX.js");
52
+ var import_chunk_33K2EQQZ = require("./chunk-33K2EQQZ.js");
53
+ var import_chunk_6QTN4DDB = require("./chunk-6QTN4DDB.js");
54
+ var import_chunk_3WXUQZS7 = require("./chunk-3WXUQZS7.js");
57
55
  var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
58
- var import_chunk_47SAWGTD = require("./chunk-47SAWGTD.js");
59
- var import_chunk_MEMPRTWR = require("./chunk-MEMPRTWR.js");
60
- var import_chunk_72WT7DK3 = require("./chunk-72WT7DK3.js");
61
- var import_chunk_W7LDAWJF = require("./chunk-W7LDAWJF.js");
62
- var import_chunk_EYVG6XQS = require("./chunk-EYVG6XQS.js");
63
- var import_chunk_YQECHDTJ = require("./chunk-YQECHDTJ.js");
56
+ var import_chunk_TAKL4AGJ = require("./chunk-TAKL4AGJ.js");
57
+ var import_chunk_2MJNNWBQ = require("./chunk-2MJNNWBQ.js");
58
+ var import_chunk_7TNL2X5G = require("./chunk-7TNL2X5G.js");
59
+ var import_chunk_FSQCVENL = require("./chunk-FSQCVENL.js");
60
+ var import_chunk_OKVM3CW4 = require("./chunk-OKVM3CW4.js");
61
+ var import_chunk_AAXLNSYL = require("./chunk-AAXLNSYL.js");
64
62
  var import_chunk_ZJWZK45Z = require("./chunk-ZJWZK45Z.js");
65
63
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
66
64
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
@@ -68,7 +66,7 @@ var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
68
66
  var import_chunk_BPDMLM32 = require("./chunk-BPDMLM32.js");
69
67
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
70
68
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
71
- var import_chunk_BVJP43JS = require("./chunk-BVJP43JS.js");
69
+ var import_chunk_32LLAKF4 = require("./chunk-32LLAKF4.js");
72
70
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
73
71
  var import_path = __toESM(require("path"));
74
72
  var import_debug = __toESM(require("@prisma/debug"));
@@ -81,7 +79,7 @@ var forbiddenCmdFlagWithSchemaEngineWasm = ({ cmd, flag }) => `
81
79
  Passing the ${(0, import_chunk_PG5FDKSF.green)(`${flag}`)} flag to the ${(0, import_chunk_PG5FDKSF.green)(`prisma ${cmd}`)} command is not supported when
82
80
  defining an ${(0, import_chunk_PG5FDKSF.green)(`adapter`)} in Prisma config file (e.g., ${(0, import_chunk_PG5FDKSF.green)(`\`prisma.config.ts\``)}).
83
81
 
84
- More information about this limitation: ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/schema-engine-limitations")}
82
+ More information about this limitation: ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/schema-engine-limitations")}
85
83
  `;
86
84
  function checkUnsupportedSchemaEngineWasm({
87
85
  cmd,
@@ -102,7 +100,7 @@ var debug = (0, import_debug.default)("prisma:format");
102
100
  async function formatSchema({ schemas }, inputFormattingOptions) {
103
101
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
104
102
  handleFormatPanic(() => {
105
- import_chunk_YQECHDTJ.prismaSchemaWasm.debug_panic();
103
+ import_chunk_AAXLNSYL.prismaSchemaWasm.debug_panic();
106
104
  });
107
105
  }
108
106
  const defaultFormattingOptions = {
@@ -119,10 +117,10 @@ async function formatSchema({ schemas }, inputFormattingOptions) {
119
117
  const { formattedMultipleSchemas, lintDiagnostics } = handleFormatPanic(() => {
120
118
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas), documentFormattingParams);
121
119
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
122
- const lintDiagnostics2 = (0, import_chunk_72WT7DK3.lintSchema)({ schemas: formattedMultipleSchemas2 });
120
+ const lintDiagnostics2 = (0, import_chunk_7TNL2X5G.lintSchema)({ schemas: formattedMultipleSchemas2 });
123
121
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
124
122
  });
125
- const lintWarnings = (0, import_chunk_72WT7DK3.getLintWarningsAsText)(lintDiagnostics);
123
+ const lintWarnings = (0, import_chunk_7TNL2X5G.getLintWarningsAsText)(lintDiagnostics);
126
124
  if (lintWarnings && import_chunk_ZJWZK45Z.logger_exports.should.warn()) {
127
125
  console.warn(lintWarnings);
128
126
  }
@@ -149,7 +147,7 @@ function handleFormatPanic(tryCb) {
149
147
  }
150
148
  }
151
149
  function formatWasm(schema, documentFormattingParams) {
152
- const formattedSchema = import_chunk_YQECHDTJ.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
150
+ const formattedSchema = import_chunk_AAXLNSYL.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
153
151
  return formattedSchema;
154
152
  }
155
153
  async function loadSchemaContext({
@@ -164,13 +162,13 @@ async function loadSchemaContext({
164
162
  } = {}) {
165
163
  let schemaResult = null;
166
164
  if (allowNull) {
167
- schemaResult = await (0, import_chunk_EYVG6XQS.getSchemaWithPathOptional)(schemaPathFromArg, schemaPathFromConfig, {
165
+ schemaResult = await (0, import_chunk_OKVM3CW4.getSchemaWithPathOptional)(schemaPathFromArg, schemaPathFromConfig, {
168
166
  argumentName: schemaPathArgumentName,
169
167
  cwd
170
168
  });
171
169
  if (!schemaResult) return null;
172
170
  } else {
173
- schemaResult = await (0, import_chunk_EYVG6XQS.getSchemaWithPath)(schemaPathFromArg, schemaPathFromConfig, {
171
+ schemaResult = await (0, import_chunk_OKVM3CW4.getSchemaWithPath)(schemaPathFromArg, schemaPathFromConfig, {
174
172
  argumentName: schemaPathArgumentName,
175
173
  cwd
176
174
  });
@@ -187,9 +185,9 @@ async function processSchemaResult({
187
185
  const loadedFromPathForLogMessages = import_path.default.relative(cwd, schemaResult.schemaPath);
188
186
  const schemaRootDir = schemaResult.schemaRootDir || cwd;
189
187
  if (printLoadMessage) {
190
- (0, import_chunk_EYVG6XQS.printSchemaLoadedMessage)(loadedFromPathForLogMessages);
188
+ (0, import_chunk_OKVM3CW4.printSchemaLoadedMessage)(loadedFromPathForLogMessages);
191
189
  }
192
- const configFromPsl = await (0, import_chunk_47SAWGTD.getConfig)({ datamodel: schemaResult.schemas, ignoreEnvVarErrors });
190
+ const configFromPsl = await (0, import_chunk_TAKL4AGJ.getConfig)({ datamodel: schemaResult.schemas, ignoreEnvVarErrors });
193
191
  const datasourceFromPsl = configFromPsl.datasources.at(0);
194
192
  const primaryDatasource = (0, import_chunk_XKZ6CBLA.z)(schemaEngineConfig).with({ engine: "classic" }, ({ datasource }) => {
195
193
  const { url, directUrl, shadowDatabaseUrl } = datasource;
@@ -222,7 +220,7 @@ function getPrimaryDatasourceDirectory(primaryDatasource) {
222
220
  }
223
221
  return null;
224
222
  }
225
- var import_p_map = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_BVJP43JS.require_p_map)());
223
+ var import_p_map = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_32LLAKF4.require_p_map)());
226
224
  var debug2 = (0, import_debug2.default)("prisma:getGenerators");
227
225
  async function getGenerators(options) {
228
226
  if (options.registry === void 0 && options.providerAliases !== void 0) {
@@ -247,7 +245,6 @@ async function getGenerators(options) {
247
245
  binaryPathsOverride,
248
246
  generatorNames = [],
249
247
  postinstall,
250
- noEngine,
251
248
  allowNoModels = true,
252
249
  typedSql
253
250
  } = options;
@@ -256,19 +253,19 @@ async function getGenerators(options) {
256
253
  throw new Error(`no schema provided for getGenerators`);
257
254
  }
258
255
  if (!schemaContext.primaryDatasource) {
259
- throw new Error(import_chunk_7QC5VORA.missingDatasource);
256
+ throw new Error(import_chunk_H6PPJ5PX.missingDatasource);
260
257
  }
261
258
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(schemaContext.warnings);
262
259
  const previewFeatures = (0, import_chunk_CRVLHWC5.extractPreviewFeatures)(schemaContext.generators);
263
- const dmmf = await (0, import_chunk_MEMPRTWR.getDMMF)({
260
+ const dmmf = await (0, import_chunk_2MJNNWBQ.getDMMF)({
264
261
  datamodel: schemaContext.schemaFiles,
265
262
  previewFeatures
266
263
  });
267
264
  if (dmmf.datamodel.models.length === 0 && !allowNoModels) {
268
265
  if (schemaContext.primaryDatasource.provider === "mongodb") {
269
- throw new Error(import_chunk_AX5N26KG.missingModelMessageMongoDB);
266
+ throw new Error(import_chunk_33K2EQQZ.missingModelMessageMongoDB);
270
267
  }
271
- throw new Error(import_chunk_AX5N26KG.missingModelMessage);
268
+ throw new Error(import_chunk_33K2EQQZ.missingModelMessage);
272
269
  }
273
270
  const generatorConfigs = filterGenerators(overrideGenerators || schemaContext.generators, generatorNames);
274
271
  await validateGenerators(generatorConfigs);
@@ -311,8 +308,8 @@ You need to define \`output\` in the generator block in the schema file.`
311
308
  fromEnvVar: null
312
309
  };
313
310
  }
314
- const datamodel = (0, import_chunk_W7LDAWJF.mergeSchemas)({ schemas: schemaContext.schemaFiles });
315
- const envPaths = await (0, import_chunk_46ABODUM.getEnvPaths)(schemaContext.schemaPath, { cwd: generatorConfig.output.value });
311
+ const datamodel = (0, import_chunk_FSQCVENL.mergeSchemas)({ schemas: schemaContext.schemaFiles });
312
+ const envPaths = (0, import_chunk_6QTN4DDB.getEnvPaths)(schemaContext.schemaPath, { cwd: generatorConfig.output.value });
316
313
  const options2 = {
317
314
  datamodel,
318
315
  datasources: schemaContext.datasources,
@@ -324,7 +321,6 @@ You need to define \`output\` in the generator block in the schema file.`
324
321
  version: version2 || import_engines.enginesVersion,
325
322
  // this version makes no sense anymore and should be ignored
326
323
  postinstall,
327
- noEngine,
328
324
  allowNoModels,
329
325
  envPaths,
330
326
  typedSql
@@ -370,18 +366,16 @@ generator gen {
370
366
  }
371
367
  const generatorBinaryTargets = g.options?.generator?.binaryTargets;
372
368
  if (generatorBinaryTargets && generatorBinaryTargets.length > 0) {
373
- for (const binaryTarget2 of generatorBinaryTargets) {
374
- if (!neededVersions[neededVersion].binaryTargets.find((object) => object.value === binaryTarget2.value)) {
375
- neededVersions[neededVersion].binaryTargets.push(binaryTarget2);
369
+ for (const binaryTarget of generatorBinaryTargets) {
370
+ if (!neededVersions[neededVersion].binaryTargets.find((object) => object.value === binaryTarget.value)) {
371
+ neededVersions[neededVersion].binaryTargets.push(binaryTarget);
376
372
  }
377
373
  }
378
374
  }
379
375
  }
380
376
  }
381
- const queryEngineBinaryType = (0, import_engines.getCliQueryEngineBinaryType)();
382
- const queryEngineType = (0, import_chunk_RS2R7COT.binaryTypeToEngineType)(queryEngineBinaryType);
383
377
  debug2("neededVersions", JSON.stringify(neededVersions, null, 2));
384
- const { binaryPathsByVersion, binaryTarget } = await (0, import_chunk_F2OZV76L.getBinaryPathsByVersion)({
378
+ const { binaryPathsByVersion } = await (0, import_chunk_5MHUYAV3.getBinaryPathsByVersion)({
385
379
  neededVersions,
386
380
  // We're lazily computing the binary target here, to avoid printing the
387
381
  // `Prisma failed to detect the libssl/openssl version to use` warning
@@ -402,17 +396,6 @@ generator gen {
402
396
  const generatorBinaryPaths = (0, import_chunk_GXW4NTU2.pick)(binaryPaths ?? {}, generator.manifest.requiresEngines);
403
397
  debug2({ generatorBinaryPaths });
404
398
  generator.setBinaryPaths(generatorBinaryPaths);
405
- if (engineVersion !== version2 && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
406
- const customDmmf = await (0, import_chunk_MEMPRTWR.getDMMF)({
407
- datamodel: schemaContext.schemaFiles,
408
- previewFeatures
409
- });
410
- const options2 = { ...generator.options, dmmf: customDmmf };
411
- debug2("generator.manifest.prettyName", generator.manifest.prettyName);
412
- debug2("options", options2);
413
- debug2("options.generator.binaryTargets", options2.generator.binaryTargets);
414
- generator.setOptions(options2);
415
- }
416
399
  }
417
400
  }
418
401
  return generators;
@@ -437,17 +420,6 @@ var oldToNewBinaryTargetsMapping = {
437
420
  async function validateGenerators(generators) {
438
421
  const binaryTarget = await (0, import_get_platform.getBinaryTargetForCurrentPlatform)();
439
422
  for (const generator of generators) {
440
- if (generator.config.platforms) {
441
- throw new Error(
442
- `The \`platforms\` field on the generator definition is deprecated. Please rename it to \`binaryTargets\`.`
443
- );
444
- }
445
- if (generator.config.pinnedBinaryTargets) {
446
- throw new Error(
447
- `The \`pinnedBinaryTargets\` field on the generator definition is deprecated.
448
- Please use the PRISMA_QUERY_ENGINE_BINARY env var instead to pin the binary target.`
449
- );
450
- }
451
423
  if (generator.binaryTargets) {
452
424
  const binaryTargets2 = generator.binaryTargets && generator.binaryTargets.length > 0 ? generator.binaryTargets : [{ fromEnvVar: null, value: "native" }];
453
425
  const resolvedBinaryTargets = binaryTargets2.flatMap((object) => (0, import_chunk_IOIAK7V7.parseBinaryTargetsEnvValue)(object)).map((p) => p === "native" ? binaryTarget : p);
@@ -511,7 +483,7 @@ var forbiddenCmdWithDataProxyFlagMessage = (command) => `
511
483
  Using an Accelerate URL is not supported for this CLI command ${(0, import_chunk_PG5FDKSF.green)(`prisma ${command}`)} yet.
512
484
  Please use a direct connection to your database via the datasource \`directUrl\` setting.
513
485
 
514
- More information about this limitation: ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/accelerate-limitations")}
486
+ More information about this limitation: ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/accelerate-limitations")}
515
487
  `;
516
488
  function checkUnsupportedDataProxy({
517
489
  cmd,
@@ -524,7 +496,7 @@ function checkUnsupportedDataProxy({
524
496
  }
525
497
  }
526
498
  if (!schemaContext?.primaryDatasource) return;
527
- const url = (0, import_chunk_47SAWGTD.resolveUrl)((0, import_chunk_47SAWGTD.getEffectiveUrl)(schemaContext.primaryDatasource));
499
+ const url = (0, import_chunk_TAKL4AGJ.resolveUrl)((0, import_chunk_TAKL4AGJ.getEffectiveUrl)(schemaContext.primaryDatasource));
528
500
  if (url?.startsWith("prisma://")) {
529
501
  throw new Error(forbiddenCmdWithDataProxyFlagMessage(cmd));
530
502
  }