@prisma/internals 6.18.0-dev.12 → 6.18.0-dev.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 (45) hide show
  1. package/dist/{chunk-N4DV6JOS.js → chunk-3UMNRYYV.js} +8 -8
  2. package/dist/{chunk-3DLPU2VH.js → chunk-5A73S7W6.js} +8 -8
  3. package/dist/{chunk-6AHVCG6L.js → chunk-6656PCCL.js} +8 -8
  4. package/dist/{chunk-FWYVXOHQ.js → chunk-6NIPWMHG.js} +5 -5
  5. package/dist/{chunk-2GVIBKTA.js → chunk-75BIJ5PX.js} +9 -9
  6. package/dist/{chunk-CBOVNYMF.js → chunk-A2QETD5Q.js} +37 -37
  7. package/dist/{chunk-QTSXZES6.js → chunk-AWKM5KUH.js} +7 -7
  8. package/dist/{chunk-JZYVRGN4.js → chunk-B24WFAOR.js} +5 -5
  9. package/dist/{chunk-QKVGK3CJ.js → chunk-BGBVSEMY.js} +36 -36
  10. package/dist/{chunk-YBTHDTT3.js → chunk-BVJP43JS.js} +7 -7
  11. package/dist/{chunk-7GNJVKMU.js → chunk-CP7DLHK2.js} +5 -5
  12. package/dist/{chunk-FHYZIOZ4.js → chunk-D4VDA2TZ.js} +6 -6
  13. package/dist/{chunk-Q4GRJBUD.js → chunk-HZZXGRMN.js} +8 -8
  14. package/dist/{chunk-RMBRSCMH.js → chunk-IMXXGQBH.js} +5 -5
  15. package/dist/{chunk-N7LAFYBX.js → chunk-IV5PT5YE.js} +7 -7
  16. package/dist/{chunk-VHTDEIXR.js → chunk-JOIIWB3U.js} +9 -23
  17. package/dist/{chunk-LHVODGG2.js → chunk-KB5WUZW4.js} +8 -8
  18. package/dist/{chunk-S6T6LQBL.js → chunk-LIXUNL2F.js} +5 -5
  19. package/dist/{chunk-BBXVW7RP.js → chunk-MHUJECKD.js} +5 -5
  20. package/dist/{chunk-YLZBBEHV.js → chunk-MZ5DWDNU.js} +5 -5
  21. package/dist/{chunk-UHROHX5U.js → chunk-P3ITCNR6.js} +8 -8
  22. package/dist/{chunk-AT4O64L5.js → chunk-P5HU6YXH.js} +19 -19
  23. package/dist/{chunk-T4UWWS6R.js → chunk-TQFONRJP.js} +5 -5
  24. package/dist/{chunk-D3RD25JA.js → chunk-UDBR6KNF.js} +19 -19
  25. package/dist/{chunk-LFELUV5W.js → chunk-W22QE4Q4.js} +5 -5
  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,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,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_6AHVCG6L_exports = {};
30
- __export(chunk_6AHVCG6L_exports, {
29
+ var chunk_6656PCCL_exports = {};
30
+ __export(chunk_6656PCCL_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_6AHVCG6L_exports);
37
+ module.exports = __toCommonJS(chunk_6656PCCL_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_7GNJVKMU = require("./chunk-7GNJVKMU.js");
42
- var import_chunk_JZYVRGN4 = require("./chunk-JZYVRGN4.js");
41
+ var import_chunk_6NIPWMHG = require("./chunk-6NIPWMHG.js");
42
+ var import_chunk_LIXUNL2F = require("./chunk-LIXUNL2F.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_7GNJVKMU.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_6NIPWMHG.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_JZYVRGN4.prismaSchemaWasm.debug_panic();
92
+ import_chunk_LIXUNL2F.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_JZYVRGN4.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_LIXUNL2F.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -16,15 +16,15 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_FWYVXOHQ_exports = {};
20
- __export(chunk_FWYVXOHQ_exports, {
19
+ var chunk_6NIPWMHG_exports = {};
20
+ __export(chunk_6NIPWMHG_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_6NIPWMHG_exports);
24
+ var import_chunk_IMXXGQBH = require("./chunk-IMXXGQBH.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_IMXXGQBH.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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,
@@ -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_CBOVNYMF_exports = {};
20
- __export(chunk_CBOVNYMF_exports, {
19
+ var chunk_A2QETD5Q_exports = {};
20
+ __export(chunk_A2QETD5Q_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_CBOVNYMF_exports);
23
+ module.exports = __toCommonJS(chunk_A2QETD5Q_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.18.0-dev.12",
29
+ version: "6.18.0-dev.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",
@@ -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,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_AWKM5KUH_exports = {};
30
+ __export(chunk_AWKM5KUH_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_QTSXZES6_exports);
34
+ module.exports = __toCommonJS(chunk_AWKM5KUH_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_6NIPWMHG = require("./chunk-6NIPWMHG.js");
39
+ var import_chunk_LIXUNL2F = require("./chunk-LIXUNL2F.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_6NIPWMHG.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_LIXUNL2F.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -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_7GNJVKMU_exports = {};
20
- __export(chunk_7GNJVKMU_exports, {
19
+ var chunk_CP7DLHK2_exports = {};
20
+ __export(chunk_CP7DLHK2_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_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_RMBRSCMH.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,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_Q4GRJBUD_exports = {};
30
- __export(chunk_Q4GRJBUD_exports, {
29
+ var chunk_HZZXGRMN_exports = {};
30
+ __export(chunk_HZZXGRMN_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_Q4GRJBUD_exports);
34
+ module.exports = __toCommonJS(chunk_HZZXGRMN_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_7GNJVKMU = require("./chunk-7GNJVKMU.js");
38
- var import_chunk_JZYVRGN4 = require("./chunk-JZYVRGN4.js");
37
+ var import_chunk_6NIPWMHG = require("./chunk-6NIPWMHG.js");
38
+ var import_chunk_LIXUNL2F = require("./chunk-LIXUNL2F.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_7GNJVKMU.addVersionDetailsToErrorMessage)(errorMessageWithContext));
61
+ super((0, import_chunk_6NIPWMHG.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_JZYVRGN4.prismaSchemaWasm.debug_panic();
73
+ import_chunk_LIXUNL2F.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_JZYVRGN4.prismaSchemaWasm.get_dmmf(params);
79
+ const data = import_chunk_LIXUNL2F.prismaSchemaWasm.get_dmmf(params);
80
80
  return data;
81
81
  },
82
82
  (e) => ({