@prisma/internals 6.18.0-dev.12 → 6.18.0-dev.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/{chunk-N4DV6JOS.js → chunk-3UMNRYYV.js} +8 -8
  2. package/dist/{chunk-LHVODGG2.js → chunk-3UW3BKZJ.js} +8 -8
  3. package/dist/{chunk-3DLPU2VH.js → chunk-5A73S7W6.js} +8 -8
  4. package/dist/{chunk-2GVIBKTA.js → chunk-75BIJ5PX.js} +9 -9
  5. package/dist/{chunk-JZYVRGN4.js → chunk-B24WFAOR.js} +5 -5
  6. package/dist/{chunk-QKVGK3CJ.js → chunk-BGBVSEMY.js} +36 -36
  7. package/dist/{chunk-YBTHDTT3.js → chunk-BVJP43JS.js} +7 -7
  8. package/dist/{chunk-FWYVXOHQ.js → chunk-CP7DLHK2.js} +5 -5
  9. package/dist/{chunk-FHYZIOZ4.js → chunk-D4VDA2TZ.js} +6 -6
  10. package/dist/{chunk-QTSXZES6.js → chunk-DYTBS73O.js} +7 -7
  11. package/dist/{chunk-N7LAFYBX.js → chunk-IV5PT5YE.js} +7 -7
  12. package/dist/{chunk-VHTDEIXR.js → chunk-JOIIWB3U.js} +9 -23
  13. package/dist/{chunk-7GNJVKMU.js → chunk-KVJZ2YYH.js} +5 -5
  14. package/dist/{chunk-RMBRSCMH.js → chunk-MZ5DWDNU.js} +5 -5
  15. package/dist/{chunk-S6T6LQBL.js → chunk-NKFI5BJE.js} +5 -5
  16. package/dist/{chunk-BBXVW7RP.js → chunk-ON6TXCJB.js} +5 -5
  17. package/dist/{chunk-UHROHX5U.js → chunk-P3ITCNR6.js} +8 -8
  18. package/dist/{chunk-AT4O64L5.js → chunk-P5HU6YXH.js} +19 -19
  19. package/dist/{chunk-YLZBBEHV.js → chunk-PQEU7ZYW.js} +5 -5
  20. package/dist/{chunk-T4UWWS6R.js → chunk-TQFONRJP.js} +5 -5
  21. package/dist/{chunk-D3RD25JA.js → chunk-UNZ53HSR.js} +19 -19
  22. package/dist/{chunk-CBOVNYMF.js → chunk-VR2T546Z.js} +37 -37
  23. package/dist/{chunk-LFELUV5W.js → chunk-W22QE4Q4.js} +5 -5
  24. package/dist/{chunk-Q4GRJBUD.js → chunk-XZBKMQEJ.js} +8 -8
  25. package/dist/{chunk-6AHVCG6L.js → chunk-YSZ5UUF3.js} +8 -8
  26. package/dist/cli/checkUnsupportedDataProxy.js +17 -17
  27. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +17 -17
  28. package/dist/cli/schemaContext.js +17 -17
  29. package/dist/engine-commands/errorHelpers.js +4 -4
  30. package/dist/engine-commands/formatSchema.js +16 -16
  31. package/dist/engine-commands/getConfig.js +10 -10
  32. package/dist/engine-commands/getDmmf.js +7 -7
  33. package/dist/engine-commands/index.js +25 -25
  34. package/dist/engine-commands/lintSchema.js +8 -8
  35. package/dist/engine-commands/mergeSchemas.js +7 -7
  36. package/dist/engine-commands/validate.js +7 -7
  37. package/dist/get-generators/getGenerators.js +19 -19
  38. package/dist/getPackedPackage.js +3 -3
  39. package/dist/index.js +40 -40
  40. package/dist/utils/cloudflareD1.js +3 -3
  41. package/dist/utils/fs-functional.js +10 -10
  42. package/dist/utils/fs-utils.js +8 -8
  43. package/dist/utils/getVersionFromPackageJson.js +3 -3
  44. package/dist/wasm.js +5 -5
  45. package/package.json +11 -11
@@ -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_N4DV6JOS_exports = {};
30
- __export(chunk_N4DV6JOS_exports, {
29
+ var chunk_3UMNRYYV_exports = {};
30
+ __export(chunk_3UMNRYYV_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_N4DV6JOS_exports);
37
+ module.exports = __toCommonJS(chunk_3UMNRYYV_exports);
38
38
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
39
39
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
40
40
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
41
- var import_chunk_FWYVXOHQ = require("./chunk-FWYVXOHQ.js");
42
- var import_chunk_S6T6LQBL = require("./chunk-S6T6LQBL.js");
41
+ var import_chunk_CP7DLHK2 = require("./chunk-CP7DLHK2.js");
42
+ var import_chunk_B24WFAOR = require("./chunk-B24WFAOR.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_FWYVXOHQ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_CP7DLHK2.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_S6T6LQBL.prismaSchemaWasm.debug_panic();
92
+ import_chunk_B24WFAOR.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_S6T6LQBL.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_B24WFAOR.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -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_LHVODGG2_exports = {};
30
- __export(chunk_LHVODGG2_exports, {
29
+ var chunk_3UW3BKZJ_exports = {};
30
+ __export(chunk_3UW3BKZJ_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_LHVODGG2_exports);
34
+ module.exports = __toCommonJS(chunk_3UW3BKZJ_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_7GNJVKMU = require("./chunk-7GNJVKMU.js");
39
- var import_chunk_JZYVRGN4 = require("./chunk-JZYVRGN4.js");
38
+ var import_chunk_KVJZ2YYH = require("./chunk-KVJZ2YYH.js");
39
+ var import_chunk_NKFI5BJE = require("./chunk-NKFI5BJE.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_7GNJVKMU.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_KVJZ2YYH.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_JZYVRGN4.prismaSchemaWasm.debug_panic();
74
+ import_chunk_NKFI5BJE.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_JZYVRGN4.prismaSchemaWasm.validate(params);
80
+ import_chunk_NKFI5BJE.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-error",
@@ -26,16 +26,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_3DLPU2VH_exports = {};
30
- __export(chunk_3DLPU2VH_exports, {
29
+ var chunk_5A73S7W6_exports = {};
30
+ __export(chunk_5A73S7W6_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_3DLPU2VH_exports);
34
+ module.exports = __toCommonJS(chunk_5A73S7W6_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
- var import_chunk_FWYVXOHQ = require("./chunk-FWYVXOHQ.js");
38
- var import_chunk_S6T6LQBL = require("./chunk-S6T6LQBL.js");
37
+ var import_chunk_CP7DLHK2 = require("./chunk-CP7DLHK2.js");
38
+ var import_chunk_B24WFAOR = require("./chunk-B24WFAOR.js");
39
39
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
40
40
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
41
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -58,7 +58,7 @@ ${detailsHeader} ${message}`;
58
58
  }).exhaustive();
59
59
  const errorMessageWithContext = `${constructedErrorMessage}
60
60
  [Context: getDmmf]`;
61
- super((0, import_chunk_FWYVXOHQ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
61
+ super((0, import_chunk_CP7DLHK2.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
62
  this.name = "GetDmmfError";
63
63
  }
64
64
  };
@@ -70,13 +70,13 @@ async function getDMMF(options) {
70
70
  () => {
71
71
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
72
72
  debug("Triggering a Rust panic...");
73
- import_chunk_S6T6LQBL.prismaSchemaWasm.debug_panic();
73
+ import_chunk_B24WFAOR.prismaSchemaWasm.debug_panic();
74
74
  }
75
75
  const params = JSON.stringify({
76
76
  prismaSchema: options.datamodel,
77
77
  noColor: Boolean(process.env.NO_COLOR)
78
78
  });
79
- const data = import_chunk_S6T6LQBL.prismaSchemaWasm.get_dmmf(params);
79
+ const data = import_chunk_B24WFAOR.prismaSchemaWasm.get_dmmf(params);
80
80
  return data;
81
81
  },
82
82
  (e) => ({
@@ -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_2GVIBKTA_exports = {};
30
- __export(chunk_2GVIBKTA_exports, {
29
+ var chunk_75BIJ5PX_exports = {};
30
+ __export(chunk_75BIJ5PX_exports, {
31
31
  createDirIfNotExists: () => createDirIfNotExists2,
32
32
  fs_functional_exports: () => fs_functional_exports,
33
33
  getFilesInDir: () => getFilesInDir2,
@@ -37,8 +37,8 @@ __export(chunk_2GVIBKTA_exports, {
37
37
  removeFile: () => removeFile,
38
38
  writeFile: () => writeFile2
39
39
  });
40
- module.exports = __toCommonJS(chunk_2GVIBKTA_exports);
41
- var import_chunk_T4UWWS6R = require("./chunk-T4UWWS6R.js");
40
+ module.exports = __toCommonJS(chunk_75BIJ5PX_exports);
41
+ var import_chunk_TQFONRJP = require("./chunk-TQFONRJP.js");
42
42
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
43
43
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
44
44
  var import_promises = __toESM(require("fs/promises"));
@@ -3981,13 +3981,13 @@ var fs_functional_exports = {};
3981
3981
  });
3982
3982
  var import_function = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_R6QH57HZ.require_function)());
3983
3983
  var TE = (0, import_chunk_4VNS5WPM.__toESM)(require_TaskEither());
3984
- var createDirIfNotExists2 = (dir) => TE.tryCatch(() => (0, import_chunk_T4UWWS6R.createDirIfNotExists)(dir), createTaggedSystemError("fs-create-dir", { dir }));
3985
- var writeFile2 = (params) => TE.tryCatch(() => (0, import_chunk_T4UWWS6R.writeFile)(params), createTaggedSystemError("fs-write-file", params));
3986
- var removeEmptyDirs2 = (dir) => TE.tryCatch(() => (0, import_chunk_T4UWWS6R.removeEmptyDirs)(dir), createTaggedSystemError("fs-remove-empty-dirs", { dir }));
3984
+ var createDirIfNotExists2 = (dir) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.createDirIfNotExists)(dir), createTaggedSystemError("fs-create-dir", { dir }));
3985
+ var writeFile2 = (params) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.writeFile)(params), createTaggedSystemError("fs-write-file", params));
3986
+ var removeEmptyDirs2 = (dir) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.removeEmptyDirs)(dir), createTaggedSystemError("fs-remove-empty-dirs", { dir }));
3987
3987
  var removeDir = (dir) => (0, import_function.pipe)(TE.tryCatch(() => import_promises.default.rm(dir, { recursive: true }), createTaggedSystemError("fs-remove-dir", { dir })));
3988
3988
  var removeFile = (filePath) => (0, import_function.pipe)(TE.tryCatch(() => import_promises.default.unlink(filePath), createTaggedSystemError("fs-remove-file", { filePath })));
3989
- var getNestedFoldersInDir2 = (dir) => () => (0, import_chunk_T4UWWS6R.getNestedFoldersInDir)(dir);
3990
- var getFilesInDir2 = (dir, pattern = "**") => () => (0, import_chunk_T4UWWS6R.getFilesInDir)(dir, pattern);
3989
+ var getNestedFoldersInDir2 = (dir) => () => (0, import_chunk_TQFONRJP.getNestedFoldersInDir)(dir);
3990
+ var getFilesInDir2 = (dir, pattern = "**") => () => (0, import_chunk_TQFONRJP.getFilesInDir)(dir, pattern);
3991
3991
  function createTaggedSystemError(type, meta) {
3992
3992
  return (e) => ({
3993
3993
  type,
@@ -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_JZYVRGN4_exports = {};
30
- __export(chunk_JZYVRGN4_exports, {
29
+ var chunk_B24WFAOR_exports = {};
30
+ __export(chunk_B24WFAOR_exports, {
31
31
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
32
32
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
33
33
  schemaEngineWasmVersion: () => schemaEngineWasmVersion,
34
34
  wasm_exports: () => wasm_exports
35
35
  });
36
- module.exports = __toCommonJS(chunk_JZYVRGN4_exports);
37
- var import_chunk_QKVGK3CJ = require("./chunk-QKVGK3CJ.js");
36
+ module.exports = __toCommonJS(chunk_B24WFAOR_exports);
37
+ var import_chunk_BGBVSEMY = require("./chunk-BGBVSEMY.js");
38
38
  var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
39
39
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
40
40
  var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
@@ -46,6 +46,6 @@ var wasm_exports = {};
46
46
  });
47
47
  var globalWithPanicRegistry = globalThis;
48
48
  globalWithPanicRegistry.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
49
- var { dependencies } = (0, import_chunk_QKVGK3CJ.require_package)();
49
+ var { dependencies } = (0, import_chunk_BGBVSEMY.require_package)();
50
50
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
51
51
  var schemaEngineWasmVersion = dependencies["@prisma/schema-engine-wasm"];
@@ -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_QKVGK3CJ_exports = {};
20
- __export(chunk_QKVGK3CJ_exports, {
19
+ var chunk_BGBVSEMY_exports = {};
20
+ __export(chunk_BGBVSEMY_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_QKVGK3CJ_exports);
23
+ module.exports = __toCommonJS(chunk_BGBVSEMY_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) {
@@ -54,49 +54,49 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
54
54
  ],
55
55
  devDependencies: {
56
56
  "@babel/helper-validator-identifier": "7.25.9",
57
- "@opentelemetry/api": "catalog:",
58
- "@swc/core": "catalog:",
59
- "@swc/jest": "catalog:",
57
+ "@opentelemetry/api": "1.9.0",
58
+ "@swc/core": "1.11.5",
59
+ "@swc/jest": "0.2.37",
60
60
  "@types/babel__helper-validator-identifier": "7.15.2",
61
- "@types/jest": "catalog:",
62
- "@types/node": "catalog:",
63
- "@types/resolve": "catalog:",
61
+ "@types/jest": "29.5.14",
62
+ "@types/node": "18.19.76",
63
+ "@types/resolve": "1.20.6",
64
64
  archiver: "6.0.2",
65
- "checkpoint-client": "catalog:",
65
+ "checkpoint-client": "1.1.33",
66
66
  "cli-truncate": "4.0.0",
67
67
  dotenv: "16.5.0",
68
- empathic: "catalog:",
69
- "escape-string-regexp": "catalog:",
70
- execa: "catalog:",
71
- "fast-glob": "catalog:",
68
+ empathic: "2.0.0",
69
+ "escape-string-regexp": "5.0.0",
70
+ execa: "8.0.1",
71
+ "fast-glob": "3.3.3",
72
72
  "find-up": "7.0.0",
73
- "fp-ts": "catalog:",
74
- "fs-extra": "catalog:",
73
+ "fp-ts": "2.16.9",
74
+ "fs-extra": "11.3.0",
75
75
  "global-directory": "4.0.0",
76
- globby: "catalog:",
76
+ globby: "11.1.0",
77
77
  "identifier-regex": "1.0.0",
78
- "indent-string": "catalog:",
78
+ "indent-string": "4.0.0",
79
79
  "is-windows": "1.0.2",
80
80
  "is-wsl": "3.1.0",
81
- jest: "catalog:",
82
- "jest-junit": "catalog:",
83
- kleur: "catalog:",
84
- "mock-stdin": "catalog:",
85
- "new-github-issue-url": "catalog:",
86
- "node-fetch": "catalog:",
87
- "npm-packlist": "catalog:",
88
- open: "catalog:",
89
- "p-map": "catalog:",
90
- resolve: "catalog:",
81
+ jest: "29.7.0",
82
+ "jest-junit": "16.0.0",
83
+ kleur: "4.1.5",
84
+ "mock-stdin": "1.0.0",
85
+ "new-github-issue-url": "0.2.1",
86
+ "node-fetch": "3.3.2",
87
+ "npm-packlist": "5.1.3",
88
+ open: "7.4.2",
89
+ "p-map": "4.0.0",
90
+ resolve: "1.22.10",
91
91
  "string-width": "7.2.0",
92
- "strip-indent": "catalog:",
93
- "temp-dir": "catalog:",
94
- tempy: "catalog:",
95
- "terminal-link": "catalog:",
92
+ "strip-indent": "4.0.0",
93
+ "temp-dir": "2.0.0",
94
+ tempy: "1.0.1",
95
+ "terminal-link": "4.0.0",
96
96
  tmp: "0.2.3",
97
- "ts-pattern": "catalog:",
98
- "ts-toolbelt": "catalog:",
99
- typescript: "catalog:",
97
+ "ts-pattern": "5.6.2",
98
+ "ts-toolbelt": "9.6.0",
99
+ typescript: "5.4.5",
100
100
  yarn: "1.22.22"
101
101
  },
102
102
  dependencies: {
@@ -112,7 +112,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
112
112
  "@prisma/prisma-schema-wasm": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
113
113
  "@prisma/schema-engine-wasm": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
114
114
  "@prisma/schema-files-loader": "workspace:*",
115
- arg: "catalog:",
115
+ arg: "5.0.2",
116
116
  prompts: "2.4.2"
117
117
  },
118
118
  peerDependencies: {
@@ -26,14 +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_YBTHDTT3_exports = {};
30
- __export(chunk_YBTHDTT3_exports, {
29
+ var chunk_BVJP43JS_exports = {};
30
+ __export(chunk_BVJP43JS_exports, {
31
31
  getPackedPackage: () => getPackedPackage,
32
32
  require_p_map: () => require_p_map
33
33
  });
34
- module.exports = __toCommonJS(chunk_YBTHDTT3_exports);
34
+ module.exports = __toCommonJS(chunk_BVJP43JS_exports);
35
35
  var import_chunk_KDP6C3CB = require("./chunk-KDP6C3CB.js");
36
- var import_chunk_VHTDEIXR = require("./chunk-VHTDEIXR.js");
36
+ var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
37
37
  var import_chunk_UMM35VP5 = require("./chunk-UMM35VP5.js");
38
38
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
39
39
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -6254,9 +6254,9 @@ var require_del = (0, import_chunk_4VNS5WPM.__commonJS)({
6254
6254
  "use strict";
6255
6255
  var { promisify } = (0, import_chunk_4VNS5WPM.__require)("util");
6256
6256
  var path2 = (0, import_chunk_4VNS5WPM.__require)("path");
6257
- var globby = (0, import_chunk_VHTDEIXR.require_globby)();
6258
- var isGlob = (0, import_chunk_VHTDEIXR.require_is_glob)();
6259
- var slash = (0, import_chunk_VHTDEIXR.require_slash)();
6257
+ var globby = (0, import_chunk_JOIIWB3U.require_globby)();
6258
+ var isGlob = (0, import_chunk_JOIIWB3U.require_is_glob)();
6259
+ var slash = (0, import_chunk_JOIIWB3U.require_slash)();
6260
6260
  var gracefulFs = require_graceful_fs();
6261
6261
  var isPathCwd = require_is_path_cwd();
6262
6262
  var isPathInside = require_is_path_inside();
@@ -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_FWYVXOHQ_exports = {};
20
- __export(chunk_FWYVXOHQ_exports, {
19
+ var chunk_CP7DLHK2_exports = {};
20
+ __export(chunk_CP7DLHK2_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_FWYVXOHQ_exports);
24
- var import_chunk_YLZBBEHV = require("./chunk-YLZBBEHV.js");
23
+ module.exports = __toCommonJS(chunk_CP7DLHK2_exports);
24
+ var import_chunk_MZ5DWDNU = require("./chunk-MZ5DWDNU.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_YLZBBEHV.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_MZ5DWDNU.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_FHYZIOZ4_exports = {};
30
- __export(chunk_FHYZIOZ4_exports, {
29
+ var chunk_D4VDA2TZ_exports = {};
30
+ __export(chunk_D4VDA2TZ_exports, {
31
31
  locateLocalCloudflareD1: () => locateLocalCloudflareD1
32
32
  });
33
- module.exports = __toCommonJS(chunk_FHYZIOZ4_exports);
33
+ module.exports = __toCommonJS(chunk_D4VDA2TZ_exports);
34
34
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
35
- var import_chunk_VHTDEIXR = require("./chunk-VHTDEIXR.js");
35
+ var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
36
36
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
37
37
  var import_node_path = __toESM(require("node:path"));
38
38
  var import_node_process = __toESM(require("node:process"));
39
- var import_fast_glob = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_VHTDEIXR.require_out)());
40
- var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_VHTDEIXR.require_globby)());
39
+ var import_fast_glob = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_JOIIWB3U.require_out)());
40
+ var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_JOIIWB3U.require_globby)());
41
41
  var defaultD1DirPath = import_node_path.default.join(".wrangler", "state", "v3", "d1", "miniflare-D1DatabaseObject");
42
42
  async function locateLocalCloudflareD1({ arg }) {
43
43
  const cwd = import_node_process.default.cwd();
@@ -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_QTSXZES6_exports = {};
30
- __export(chunk_QTSXZES6_exports, {
29
+ var chunk_DYTBS73O_exports = {};
30
+ __export(chunk_DYTBS73O_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_QTSXZES6_exports);
34
+ module.exports = __toCommonJS(chunk_DYTBS73O_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_7GNJVKMU = require("./chunk-7GNJVKMU.js");
39
- var import_chunk_JZYVRGN4 = require("./chunk-JZYVRGN4.js");
38
+ var import_chunk_KVJZ2YYH = require("./chunk-KVJZ2YYH.js");
39
+ var import_chunk_NKFI5BJE = require("./chunk-NKFI5BJE.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_7GNJVKMU.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_KVJZ2YYH.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_JZYVRGN4.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_NKFI5BJE.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -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_N7LAFYBX_exports = {};
30
- __export(chunk_N7LAFYBX_exports, {
29
+ var chunk_IV5PT5YE_exports = {};
30
+ __export(chunk_IV5PT5YE_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_N7LAFYBX_exports);
34
+ module.exports = __toCommonJS(chunk_IV5PT5YE_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_FWYVXOHQ = require("./chunk-FWYVXOHQ.js");
39
- var import_chunk_S6T6LQBL = require("./chunk-S6T6LQBL.js");
38
+ var import_chunk_CP7DLHK2 = require("./chunk-CP7DLHK2.js");
39
+ var import_chunk_B24WFAOR = require("./chunk-B24WFAOR.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_FWYVXOHQ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_CP7DLHK2.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_S6T6LQBL.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_B24WFAOR.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -16,14 +16,14 @@ 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_VHTDEIXR_exports = {};
20
- __export(chunk_VHTDEIXR_exports, {
19
+ var chunk_JOIIWB3U_exports = {};
20
+ __export(chunk_JOIIWB3U_exports, {
21
21
  require_globby: () => require_globby,
22
22
  require_is_glob: () => require_is_glob,
23
23
  require_out: () => require_out4,
24
24
  require_slash: () => require_slash
25
25
  });
26
- module.exports = __toCommonJS(chunk_VHTDEIXR_exports);
26
+ module.exports = __toCommonJS(chunk_JOIIWB3U_exports);
27
27
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
28
28
  var require_array = (0, import_chunk_4VNS5WPM.__commonJS)({
29
29
  "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports) {
@@ -5461,7 +5461,7 @@ var require_dir_glob = (0, import_chunk_4VNS5WPM.__commonJS)({
5461
5461
  }
5462
5462
  });
5463
5463
  var require_ignore = (0, import_chunk_4VNS5WPM.__commonJS)({
5464
- "../../node_modules/.pnpm/ignore@5.3.2/node_modules/ignore/index.js"(exports, module2) {
5464
+ "../../node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.js"(exports, module2) {
5465
5465
  "use strict";
5466
5466
  function makeArray(subject) {
5467
5467
  return Array.isArray(subject) ? subject : [subject];
@@ -5493,32 +5493,18 @@ var require_ignore = (0, import_chunk_4VNS5WPM.__commonJS)({
5493
5493
  return slashes.slice(0, length - length % 2);
5494
5494
  };
5495
5495
  var REPLACERS = [
5496
- [
5497
- // remove BOM
5498
- // TODO:
5499
- // Other similar zero-width characters?
5500
- /^\uFEFF/,
5501
- () => EMPTY
5502
- ],
5503
5496
  // > Trailing spaces are ignored unless they are quoted with backslash ("\")
5504
5497
  [
5505
5498
  // (a\ ) -> (a )
5506
5499
  // (a ) -> (a)
5507
- // (a ) -> (a)
5508
5500
  // (a \ ) -> (a )
5509
- /((?:\\\\)*?)(\\?\s+)$/,
5510
- (_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
5501
+ /\\?\s+$/,
5502
+ (match) => match.indexOf("\\") === 0 ? SPACE : EMPTY
5511
5503
  ],
5512
5504
  // replace (\ ) with ' '
5513
- // (\ ) -> ' '
5514
- // (\\ ) -> '\\ '
5515
- // (\\\ ) -> '\\ '
5516
5505
  [
5517
- /(\\+?)\s/g,
5518
- (_, m1) => {
5519
- const { length } = m1;
5520
- return m1.slice(0, length - length % 2) + SPACE;
5521
- }
5506
+ /\\\s/g,
5507
+ () => SPACE
5522
5508
  ],
5523
5509
  // Escape metacharacters
5524
5510
  // which is written down by users but means special for regular expressions.
@@ -5653,7 +5639,7 @@ var require_ignore = (0, import_chunk_4VNS5WPM.__commonJS)({
5653
5639
  let source = regexCache[pattern];
5654
5640
  if (!source) {
5655
5641
  source = REPLACERS.reduce(
5656
- (prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)),
5642
+ (prev, current) => prev.replace(current[0], current[1].bind(pattern)),
5657
5643
  pattern
5658
5644
  );
5659
5645
  regexCache[pattern] = source;
@@ -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_7GNJVKMU_exports = {};
20
- __export(chunk_7GNJVKMU_exports, {
19
+ var chunk_KVJZ2YYH_exports = {};
20
+ __export(chunk_KVJZ2YYH_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_7GNJVKMU_exports);
24
- var import_chunk_RMBRSCMH = require("./chunk-RMBRSCMH.js");
23
+ module.exports = __toCommonJS(chunk_KVJZ2YYH_exports);
24
+ var import_chunk_PQEU7ZYW = require("./chunk-PQEU7ZYW.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_RMBRSCMH.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_PQEU7ZYW.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_RMBRSCMH_exports = {};
20
- __export(chunk_RMBRSCMH_exports, {
19
+ var chunk_MZ5DWDNU_exports = {};
20
+ __export(chunk_MZ5DWDNU_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_RMBRSCMH_exports);
24
- var import_chunk_QKVGK3CJ = require("./chunk-QKVGK3CJ.js");
25
- var packageJson = (0, import_chunk_QKVGK3CJ.require_package)();
23
+ module.exports = __toCommonJS(chunk_MZ5DWDNU_exports);
24
+ var import_chunk_BGBVSEMY = require("./chunk-BGBVSEMY.js");
25
+ var packageJson = (0, import_chunk_BGBVSEMY.require_package)();
26
26
  var version = packageJson.version;
@@ -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_S6T6LQBL_exports = {};
30
- __export(chunk_S6T6LQBL_exports, {
29
+ var chunk_NKFI5BJE_exports = {};
30
+ __export(chunk_NKFI5BJE_exports, {
31
31
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
32
32
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
33
33
  schemaEngineWasmVersion: () => schemaEngineWasmVersion,
34
34
  wasm_exports: () => wasm_exports
35
35
  });
36
- module.exports = __toCommonJS(chunk_S6T6LQBL_exports);
37
- var import_chunk_CBOVNYMF = require("./chunk-CBOVNYMF.js");
36
+ module.exports = __toCommonJS(chunk_NKFI5BJE_exports);
37
+ var import_chunk_VR2T546Z = require("./chunk-VR2T546Z.js");
38
38
  var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
39
39
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
40
40
  var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
@@ -46,6 +46,6 @@ var wasm_exports = {};
46
46
  });
47
47
  var globalWithPanicRegistry = globalThis;
48
48
  globalWithPanicRegistry.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
49
- var { dependencies } = (0, import_chunk_CBOVNYMF.require_package)();
49
+ var { dependencies } = (0, import_chunk_VR2T546Z.require_package)();
50
50
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
51
51
  var schemaEngineWasmVersion = dependencies["@prisma/schema-engine-wasm"];