@prisma/internals 5.23.0-dev.2 → 5.23.0-dev.20

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 (71) hide show
  1. package/dist/{chunk-5I4BOTBV.js → chunk-5MCWLJSR.js} +3 -9
  2. package/dist/{chunk-LIB5PV7H.js → chunk-6THUAMGB.js} +5 -5
  3. package/dist/{chunk-IABMG3F4.js → chunk-77IC3DNO.js} +5 -5
  4. package/dist/{chunk-5UACJAAB.js → chunk-7PI4C55S.js} +13 -13
  5. package/dist/{chunk-4M4LPJPC.js → chunk-BDGDNUIL.js} +5 -5
  6. package/dist/{chunk-WMIBAVWZ.js → chunk-C47SCASR.js} +5 -5
  7. package/dist/{chunk-INHGTPT5.js → chunk-CQSMDDKM.js} +14 -14
  8. package/dist/{chunk-J3JE5NVO.js → chunk-CZDIXJEO.js} +56 -32
  9. package/dist/{chunk-FKO4FDX3.js → chunk-DTEXPX36.js} +12 -12
  10. package/dist/{chunk-SOG4ASAQ.js → chunk-EBU6N6T4.js} +6 -6
  11. package/dist/{chunk-PKY5WEUF.js → chunk-G5ET5ITV.js} +13 -13
  12. package/dist/{chunk-4ILHL6B6.js → chunk-H7DE4ZVH.js} +5 -5
  13. package/dist/{chunk-7NNOHWLC.js → chunk-HMF3VL6Z.js} +61 -172
  14. package/dist/{chunk-OSOXVAZB.js → chunk-HPF5G47V.js} +9 -9
  15. package/dist/{chunk-IAEMHQAC.js → chunk-I4467NNA.js} +5 -5
  16. package/dist/{chunk-DI7BWNGL.js → chunk-K6DMP57P.js} +5 -5
  17. package/dist/{chunk-7CTC3RVJ.js → chunk-KKG2ZZJE.js} +5 -5
  18. package/dist/{chunk-4NFLAUKD.js → chunk-KQOJB3ZW.js} +70 -70
  19. package/dist/{chunk-QEVSPE5U.js → chunk-LHLIU6FO.js} +5 -5
  20. package/dist/{chunk-3U2ANLD3.js → chunk-MGZOEY6N.js} +6 -6
  21. package/dist/{chunk-BQTOCOYU.js → chunk-NBU7LQCG.js} +5 -5
  22. package/dist/{chunk-SZKPXBSP.js → chunk-OTU7IKOX.js} +12 -12
  23. package/dist/{chunk-MJPMCOCJ.js → chunk-QADJGXRG.js} +61 -172
  24. package/dist/{chunk-CSRUIX22.js → chunk-RQ3C6TME.js} +11 -11
  25. package/dist/{chunk-KH4RKPJH.js → chunk-RUUX4JI7.js} +14 -14
  26. package/dist/{chunk-IXEZUAGW.js → chunk-S34YTBDJ.js} +5 -5
  27. package/dist/{chunk-FTS2IEWX.js → chunk-S57RMXZW.js} +5 -5
  28. package/dist/{chunk-XLYQ6PQW.js → chunk-SLBBRUQS.js} +15 -15
  29. package/dist/{chunk-WCRKL55L.js → chunk-V2ZF7ETH.js} +7 -7
  30. package/dist/{chunk-PK7HIANT.js → chunk-VEODS3ZR.js} +5 -5
  31. package/dist/{chunk-YDZVEVUG.js → chunk-VRT7T6MF.js} +73 -73
  32. package/dist/{chunk-ISIFDTAX.js → chunk-ZBCEU6ZR.js} +11 -11
  33. package/dist/{chunk-ZA3RMW2P.js → chunk-ZKAW5JSN.js} +5 -8
  34. package/dist/cli/checkUnsupportedDataProxy.js +25 -25
  35. package/dist/cli/getSchema.js +30 -30
  36. package/dist/cli/hashes.js +25 -25
  37. package/dist/engine-commands/errorHelpers.js +4 -4
  38. package/dist/engine-commands/formatSchema.js +24 -24
  39. package/dist/engine-commands/getConfig.js +12 -12
  40. package/dist/engine-commands/getDmmf.js +9 -9
  41. package/dist/engine-commands/index.js +33 -33
  42. package/dist/engine-commands/lintSchema.js +8 -8
  43. package/dist/engine-commands/mergeSchemas.js +9 -9
  44. package/dist/engine-commands/queryEngineCommons.js +6 -6
  45. package/dist/engine-commands/relativizePathInPSLError.js +2 -2
  46. package/dist/engine-commands/validate.js +9 -9
  47. package/dist/errorReporting.js +6 -6
  48. package/dist/get-generators/generatorResolvers/generatorResolvers.js +24 -24
  49. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +3 -3
  50. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +4 -4
  51. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +24 -24
  52. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +3 -3
  53. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +25 -25
  54. package/dist/get-generators/getGenerators.js +27 -27
  55. package/dist/getPackedPackage.js +2 -2
  56. package/dist/index.js +58 -58
  57. package/dist/{multipart-parser-LCETWFPE.js → multipart-parser-32AROPTR.js} +9 -6
  58. package/dist/sendPanic.js +24 -24
  59. package/dist/utils/cloudflareD1.js +2 -2
  60. package/dist/utils/getCommandWithExecutor.js +3 -3
  61. package/dist/utils/getEnvPaths.js +24 -24
  62. package/dist/utils/getGitHubIssueUrl.js +3 -3
  63. package/dist/utils/getVersionFromPackageJson.js +3 -3
  64. package/dist/utils/handlePanic.js +24 -24
  65. package/dist/utils/isCurrentBinInstalledGlobally.d.ts +1 -1
  66. package/dist/utils/isCurrentBinInstalledGlobally.js +2 -2
  67. package/dist/utils/loadEnvFile.js +24 -24
  68. package/dist/wasm.js +4 -4
  69. package/package.json +9 -9
  70. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.d.ts +0 -9
  71. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.js +0 -132
@@ -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_SOG4ASAQ_exports = {};
20
- __export(chunk_SOG4ASAQ_exports, {
19
+ var chunk_EBU6N6T4_exports = {};
20
+ __export(chunk_EBU6N6T4_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_SOG4ASAQ_exports);
23
+ module.exports = __toCommonJS(chunk_EBU6N6T4_exports);
24
24
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
25
  var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
26
26
  "package.json"(exports, module2) {
27
27
  module2.exports = {
28
28
  name: "@prisma/internals",
29
- version: "5.23.0-dev.2",
29
+ version: "5.23.0-dev.20",
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",
@@ -66,7 +66,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
66
66
  "checkpoint-client": "1.1.33",
67
67
  "cli-truncate": "2.1.0",
68
68
  dotenv: "16.0.3",
69
- esbuild: "0.23.0",
69
+ esbuild: "0.24.0",
70
70
  "escape-string-regexp": "4.0.0",
71
71
  execa: "5.1.1",
72
72
  "fast-glob": "3.3.2",
@@ -111,7 +111,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
111
111
  "@prisma/fetch-engine": "workspace:*",
112
112
  "@prisma/generator-helper": "workspace:*",
113
113
  "@prisma/get-platform": "workspace:*",
114
- "@prisma/prisma-schema-wasm": "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2",
114
+ "@prisma/prisma-schema-wasm": "5.23.0-13.06d4b2f30bf4fc71a1cb03bdc0f69f8c2a5c2b9c",
115
115
  "@prisma/schema-files-loader": "workspace:*",
116
116
  arg: "5.0.2",
117
117
  prompts: "2.4.2"
@@ -26,19 +26,19 @@ 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_PKY5WEUF_exports = {};
30
- __export(chunk_PKY5WEUF_exports, {
29
+ var chunk_G5ET5ITV_exports = {};
30
+ __export(chunk_G5ET5ITV_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_PKY5WEUF_exports);
34
+ module.exports = __toCommonJS(chunk_G5ET5ITV_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
- var import_chunk_IAEMHQAC = require("./chunk-IAEMHQAC.js");
37
- var import_chunk_WMIBAVWZ = require("./chunk-WMIBAVWZ.js");
38
- var import_chunk_DI7BWNGL = require("./chunk-DI7BWNGL.js");
36
+ var import_chunk_I4467NNA = require("./chunk-I4467NNA.js");
37
+ var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
+ var import_chunk_K6DMP57P = require("./chunk-K6DMP57P.js");
39
39
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
40
40
  var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
41
- var import_chunk_7CTC3RVJ = require("./chunk-7CTC3RVJ.js");
41
+ var import_chunk_KKG2ZZJE = require("./chunk-KKG2ZZJE.js");
42
42
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
43
43
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
44
44
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -52,7 +52,7 @@ var ValidateError = class extends Error {
52
52
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
53
53
  return `${reason}
54
54
  ${errorCodeMessage}
55
- ${(0, import_chunk_WMIBAVWZ.relativizePathInPSLError)(message)}`;
55
+ ${(0, import_chunk_C47SCASR.relativizePathInPSLError)(message)}`;
56
56
  }).with({ _tag: "unparsed" }, ({ message, reason }) => {
57
57
  const detailsHeader = (0, import_chunk_PG5FDKSF.red)((0, import_chunk_PG5FDKSF.bold)("Details:"));
58
58
  return `${reason}
@@ -60,25 +60,25 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: validate]`;
63
- super((0, import_chunk_DI7BWNGL.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_K6DMP57P.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "ValidateError";
65
65
  }
66
66
  };
67
67
  function validate(options) {
68
- const debugErrorType = (0, import_chunk_IAEMHQAC.createDebugErrorType)(debug, "validateWasm");
68
+ const debugErrorType = (0, import_chunk_I4467NNA.createDebugErrorType)(debug, "validateWasm");
69
69
  debug(`Using validate Wasm`);
70
70
  const validateEither = (0, import_function.pipe)(
71
71
  (0, import_chunk_7MD6344A.tryCatch)(
72
72
  () => {
73
73
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
74
74
  debug("Triggering a Rust panic...");
75
- import_chunk_7CTC3RVJ.prismaSchemaWasm.debug_panic();
75
+ import_chunk_KKG2ZZJE.prismaSchemaWasm.debug_panic();
76
76
  }
77
77
  const params = JSON.stringify({
78
78
  prismaSchema: options.schemas,
79
79
  noColor: Boolean(process.env.NO_COLOR)
80
80
  });
81
- import_chunk_7CTC3RVJ.prismaSchemaWasm.validate(params);
81
+ import_chunk_KKG2ZZJE.prismaSchemaWasm.validate(params);
82
82
  },
83
83
  (e) => ({
84
84
  type: "wasm-error",
@@ -113,7 +113,7 @@ function validate(options) {
113
113
  return panic;
114
114
  }
115
115
  const errorOutput = e.error.message;
116
- return new ValidateError((0, import_chunk_IAEMHQAC.parseQueryEngineError)({ errorOutput, reason: e.reason }));
116
+ return new ValidateError((0, import_chunk_I4467NNA.parseQueryEngineError)({ errorOutput, reason: e.reason }));
117
117
  }).exhaustive();
118
118
  throw error;
119
119
  }
@@ -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_4ILHL6B6_exports = {};
20
- __export(chunk_4ILHL6B6_exports, {
19
+ var chunk_H7DE4ZVH_exports = {};
20
+ __export(chunk_H7DE4ZVH_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_4ILHL6B6_exports);
24
- var import_chunk_PK7HIANT = require("./chunk-PK7HIANT.js");
25
- var packageJson = (0, import_chunk_PK7HIANT.require_package)();
23
+ module.exports = __toCommonJS(chunk_H7DE4ZVH_exports);
24
+ var import_chunk_EBU6N6T4 = require("./chunk-EBU6N6T4.js");
25
+ var packageJson = (0, import_chunk_EBU6N6T4.require_package)();
26
26
  var version = packageJson.version;