@prisma/internals 5.23.0-dev.3 → 5.23.0-dev.31

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 (77) hide show
  1. package/dist/{chunk-4ILHL6B6.js → chunk-2NKS77KZ.js} +5 -5
  2. package/dist/{chunk-INHGTPT5.js → chunk-3RTZP252.js} +14 -14
  3. package/dist/{chunk-BATSRJXK.js → chunk-4URKTYJN.js} +8 -8
  4. package/dist/{chunk-QEVSPE5U.js → chunk-4ZWQEFR7.js} +5 -5
  5. package/dist/{chunk-5I4BOTBV.js → chunk-5MCWLJSR.js} +3 -9
  6. package/dist/{chunk-7NNOHWLC.js → chunk-5YHOO7GQ.js} +837 -177
  7. package/dist/{chunk-IABMG3F4.js → chunk-77IC3DNO.js} +5 -5
  8. package/dist/{chunk-5UACJAAB.js → chunk-A4XQ4XQQ.js} +13 -13
  9. package/dist/{chunk-RAJSVWMK.js → chunk-BF23BTR5.js} +14 -14
  10. package/dist/{chunk-WMIBAVWZ.js → chunk-C47SCASR.js} +5 -5
  11. package/dist/{chunk-J3JE5NVO.js → chunk-CZDIXJEO.js} +56 -32
  12. package/dist/{chunk-U5YRV2DX.js → chunk-DLOPZF44.js} +12 -12
  13. package/dist/{chunk-ARF6SWJF.js → chunk-EFCETLMO.js} +61 -172
  14. package/dist/{chunk-LIB5PV7H.js → chunk-EJGKMYNQ.js} +5 -5
  15. package/dist/{chunk-OSOXVAZB.js → chunk-HPF5G47V.js} +9 -9
  16. package/dist/{chunk-IAEMHQAC.js → chunk-I4467NNA.js} +5 -5
  17. package/dist/{chunk-WJNKNGND.js → chunk-IVMOQ76O.js} +13 -13
  18. package/dist/{chunk-KRKPM7DP.js → chunk-JVFUHMFK.js} +5 -5
  19. package/dist/{chunk-4NFLAUKD.js → chunk-KQOJB3ZW.js} +70 -70
  20. package/dist/{chunk-3U2ANLD3.js → chunk-MGZOEY6N.js} +6 -6
  21. package/dist/{chunk-CSRUIX22.js → chunk-POKKMERM.js} +11 -11
  22. package/dist/{chunk-PK7HIANT.js → chunk-Q2A737XO.js} +7 -7
  23. package/dist/{chunk-ZMMFFAZY.js → chunk-QAT3BYWE.js} +5 -5
  24. package/dist/{chunk-4M4LPJPC.js → chunk-RRXVYT7O.js} +5 -5
  25. package/dist/{chunk-FTS2IEWX.js → chunk-S57RMXZW.js} +5 -5
  26. package/dist/{chunk-XLYQ6PQW.js → chunk-SLBBRUQS.js} +15 -15
  27. package/dist/{chunk-KVN73FD7.js → chunk-SW5AQHTQ.js} +11 -11
  28. package/dist/{chunk-ZY4F5GPM.js → chunk-TMKC3ODZ.js} +5 -5
  29. package/dist/{chunk-CCFQQATH.js → chunk-TUVTMPMA.js} +5 -5
  30. package/dist/{chunk-WCRKL55L.js → chunk-V2ZF7ETH.js} +7 -7
  31. package/dist/{chunk-YDZVEVUG.js → chunk-VRT7T6MF.js} +73 -73
  32. package/dist/{chunk-SZKPXBSP.js → chunk-WKA72AGK.js} +12 -12
  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 +11 -11
  70. package/dist/chunk-2DXAGCPS.js +0 -177
  71. package/dist/chunk-5XRQ7ONW.js +0 -122
  72. package/dist/chunk-QIVUAERL.js +0 -2202
  73. package/dist/chunk-QJZIYUVB.js +0 -110
  74. package/dist/chunk-TFSZCVKC.js +0 -166
  75. package/dist/chunk-V2VWODV3.js +0 -54
  76. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.d.ts +0 -9
  77. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.js +0 -132
@@ -16,21 +16,21 @@ 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_4M4LPJPC_exports = {};
20
- __export(chunk_4M4LPJPC_exports, {
19
+ var chunk_RRXVYT7O_exports = {};
20
+ __export(chunk_RRXVYT7O_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_4M4LPJPC_exports);
27
+ module.exports = __toCommonJS(chunk_RRXVYT7O_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_QEVSPE5U = require("./chunk-QEVSPE5U.js");
29
+ var import_chunk_4ZWQEFR7 = require("./chunk-4ZWQEFR7.js");
30
30
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
31
31
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
32
32
  function lintSchema({ schemas }) {
33
- const lintResult = import_chunk_QEVSPE5U.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_4ZWQEFR7.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }
@@ -16,13 +16,13 @@ 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_FTS2IEWX_exports = {};
20
- __export(chunk_FTS2IEWX_exports, {
19
+ var chunk_S57RMXZW_exports = {};
20
+ __export(chunk_S57RMXZW_exports, {
21
21
  isYarnUsed: () => isYarnUsed
22
22
  });
23
- module.exports = __toCommonJS(chunk_FTS2IEWX_exports);
24
- var import_chunk_YDZVEVUG = require("./chunk-YDZVEVUG.js");
23
+ module.exports = __toCommonJS(chunk_S57RMXZW_exports);
24
+ var import_chunk_VRT7T6MF = require("./chunk-VRT7T6MF.js");
25
25
  async function isYarnUsed(baseDir) {
26
- const packageManager = await (0, import_chunk_YDZVEVUG.detect)({ cwd: baseDir, autoInstall: false, programmatic: true });
26
+ const packageManager = await (0, import_chunk_VRT7T6MF.detect)({ cwd: baseDir, autoInstall: false, programmatic: true });
27
27
  return packageManager === "yarn" || packageManager === "yarn@berry";
28
28
  }
@@ -26,21 +26,21 @@ 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_XLYQ6PQW_exports = {};
30
- __export(chunk_XLYQ6PQW_exports, {
29
+ var chunk_SLBBRUQS_exports = {};
30
+ __export(chunk_SLBBRUQS_exports, {
31
31
  getGitHubIssueUrl: () => getGitHubIssueUrl,
32
32
  wouldYouLikeToCreateANewIssue: () => wouldYouLikeToCreateANewIssue
33
33
  });
34
- module.exports = __toCommonJS(chunk_XLYQ6PQW_exports);
34
+ module.exports = __toCommonJS(chunk_SLBBRUQS_exports);
35
35
  var import_chunk_ODI3VNBD = require("./chunk-ODI3VNBD.js");
36
36
  var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
37
37
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
38
38
  var import_get_platform = require("@prisma/get-platform");
39
- var import_process = __toESM(require("process"));
40
- var import_os = __toESM(require("os"));
41
- var import_fs = __toESM(require("fs"));
42
- var import_fs2 = __toESM(require("fs"));
43
- var import_fs3 = __toESM(require("fs"));
39
+ var import_node_process = __toESM(require("node:process"));
40
+ var import_node_os = __toESM(require("node:os"));
41
+ var import_node_fs = __toESM(require("node:fs"));
42
+ var import_node_fs2 = __toESM(require("node:fs"));
43
+ var import_node_fs3 = __toESM(require("node:fs"));
44
44
  var import_prompts = __toESM(require("prompts"));
45
45
  var require_is_windows = (0, import_chunk_WWAWV7DQ.__commonJS)({
46
46
  "../../node_modules/.pnpm/is-windows@1.0.2/node_modules/is-windows/index.js"(exports, module2) {
@@ -309,7 +309,7 @@ var import_is_windows = (0, import_chunk_WWAWV7DQ.__toESM)(require_is_windows())
309
309
  var isDockerCached;
310
310
  function hasDockerEnv() {
311
311
  try {
312
- import_fs3.default.statSync("/.dockerenv");
312
+ import_node_fs3.default.statSync("/.dockerenv");
313
313
  return true;
314
314
  } catch {
315
315
  return false;
@@ -317,7 +317,7 @@ function hasDockerEnv() {
317
317
  }
318
318
  function hasDockerCGroup() {
319
319
  try {
320
- return import_fs3.default.readFileSync("/proc/self/cgroup", "utf8").includes("docker");
320
+ return import_node_fs3.default.readFileSync("/proc/self/cgroup", "utf8").includes("docker");
321
321
  } catch {
322
322
  return false;
323
323
  }
@@ -331,7 +331,7 @@ function isDocker() {
331
331
  var cachedResult;
332
332
  var hasContainerEnv = () => {
333
333
  try {
334
- import_fs2.default.statSync("/run/.containerenv");
334
+ import_node_fs2.default.statSync("/run/.containerenv");
335
335
  return true;
336
336
  } catch {
337
337
  return false;
@@ -344,22 +344,22 @@ function isInsideContainer() {
344
344
  return cachedResult;
345
345
  }
346
346
  var isWsl = () => {
347
- if (import_process.default.platform !== "linux") {
347
+ if (import_node_process.default.platform !== "linux") {
348
348
  return false;
349
349
  }
350
- if (import_os.default.release().toLowerCase().includes("microsoft")) {
350
+ if (import_node_os.default.release().toLowerCase().includes("microsoft")) {
351
351
  if (isInsideContainer()) {
352
352
  return false;
353
353
  }
354
354
  return true;
355
355
  }
356
356
  try {
357
- return import_fs.default.readFileSync("/proc/version", "utf8").toLowerCase().includes("microsoft") ? !isInsideContainer() : false;
357
+ return import_node_fs.default.readFileSync("/proc/version", "utf8").toLowerCase().includes("microsoft") ? !isInsideContainer() : false;
358
358
  } catch {
359
359
  return false;
360
360
  }
361
361
  };
362
- var is_wsl_default = import_process.default.env.__IS_WSL_TEST__ ? isWsl : isWsl();
362
+ var is_wsl_default = import_node_process.default.env.__IS_WSL_TEST__ ? isWsl : isWsl();
363
363
  var import_new_github_issue_url = (0, import_chunk_WWAWV7DQ.__toESM)(require_new_github_issue_url());
364
364
  var import_open = (0, import_chunk_WWAWV7DQ.__toESM)(require_open());
365
365
  var import_strip_ansi = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_ODI3VNBD.require_strip_ansi)());
@@ -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_KVN73FD7_exports = {};
30
- __export(chunk_KVN73FD7_exports, {
29
+ var chunk_SW5AQHTQ_exports = {};
30
+ __export(chunk_SW5AQHTQ_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_KVN73FD7_exports);
34
+ module.exports = __toCommonJS(chunk_SW5AQHTQ_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
- var import_chunk_IAEMHQAC = require("./chunk-IAEMHQAC.js");
37
- var import_chunk_ZY4F5GPM = require("./chunk-ZY4F5GPM.js");
36
+ var import_chunk_I4467NNA = require("./chunk-I4467NNA.js");
37
+ var import_chunk_EJGKMYNQ = require("./chunk-EJGKMYNQ.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
39
  var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
40
- var import_chunk_CCFQQATH = require("./chunk-CCFQQATH.js");
40
+ var import_chunk_4ZWQEFR7 = require("./chunk-4ZWQEFR7.js");
41
41
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
42
42
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -60,13 +60,13 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: getDmmf]`;
63
- super((0, import_chunk_ZY4F5GPM.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_EJGKMYNQ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
67
67
  async function getDMMF(options) {
68
68
  warnOnDeprecatedFeatureFlag(options.previewFeatures);
69
- const debugErrorType = (0, import_chunk_IAEMHQAC.createDebugErrorType)(debug, "getDmmfWasm");
69
+ const debugErrorType = (0, import_chunk_I4467NNA.createDebugErrorType)(debug, "getDmmfWasm");
70
70
  debug(`Using getDmmf Wasm`);
71
71
  const dmmfPipeline = (0, import_function.pipe)(
72
72
  (0, import_chunk_7MD6344A.tryCatch2)(
@@ -91,13 +91,13 @@ async function getDMMF(options) {
91
91
  () => {
92
92
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
93
93
  debug("Triggering a Rust panic...");
94
- import_chunk_CCFQQATH.prismaSchemaWasm.debug_panic();
94
+ import_chunk_4ZWQEFR7.prismaSchemaWasm.debug_panic();
95
95
  }
96
96
  const params = JSON.stringify({
97
97
  prismaSchema: datamodel,
98
98
  noColor: Boolean(process.env.NO_COLOR)
99
99
  });
100
- const data = import_chunk_CCFQQATH.prismaSchemaWasm.get_dmmf(params);
100
+ const data = import_chunk_4ZWQEFR7.prismaSchemaWasm.get_dmmf(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -158,7 +158,7 @@ Datamodel path: "${e.datamodelPath}"`,
158
158
  return panic;
159
159
  }
160
160
  const errorOutput = e.error.message;
161
- return new GetDmmfError((0, import_chunk_IAEMHQAC.parseQueryEngineError)({ errorOutput, reason: e.reason }));
161
+ return new GetDmmfError((0, import_chunk_I4467NNA.parseQueryEngineError)({ errorOutput, reason: e.reason }));
162
162
  }).with({ type: "parse-json" }, (e) => {
163
163
  debugErrorType(e);
164
164
  return new GetDmmfError({ _tag: "unparsed", message: e.error.message, reason: e.reason });
@@ -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_ZY4F5GPM_exports = {};
20
- __export(chunk_ZY4F5GPM_exports, {
19
+ var chunk_TMKC3ODZ_exports = {};
20
+ __export(chunk_TMKC3ODZ_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_ZY4F5GPM_exports);
24
- var import_chunk_ZMMFFAZY = require("./chunk-ZMMFFAZY.js");
23
+ module.exports = __toCommonJS(chunk_TMKC3ODZ_exports);
24
+ var import_chunk_2NKS77KZ = require("./chunk-2NKS77KZ.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_ZMMFFAZY.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_2NKS77KZ.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_CCFQQATH_exports = {};
30
- __export(chunk_CCFQQATH_exports, {
29
+ var chunk_TUVTMPMA_exports = {};
30
+ __export(chunk_TUVTMPMA_exports, {
31
31
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
32
32
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
33
33
  wasm_exports: () => wasm_exports
34
34
  });
35
- module.exports = __toCommonJS(chunk_CCFQQATH_exports);
36
- var import_chunk_BATSRJXK = require("./chunk-BATSRJXK.js");
35
+ module.exports = __toCommonJS(chunk_TUVTMPMA_exports);
36
+ var import_chunk_Q2A737XO = require("./chunk-Q2A737XO.js");
37
37
  var import_chunk_HOZFIXMD = require("./chunk-HOZFIXMD.js");
38
38
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
39
39
  var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
@@ -42,6 +42,6 @@ var wasm_exports = {};
42
42
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
43
43
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion
44
44
  });
45
- var { dependencies } = (0, import_chunk_BATSRJXK.require_package)();
45
+ var { dependencies } = (0, import_chunk_Q2A737XO.require_package)();
46
46
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
47
47
  globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_HOZFIXMD.WasmPanicRegistry();
@@ -16,16 +16,16 @@ 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_WCRKL55L_exports = {};
20
- __export(chunk_WCRKL55L_exports, {
19
+ var chunk_V2ZF7ETH_exports = {};
20
+ __export(chunk_V2ZF7ETH_exports, {
21
21
  FormData: () => FormData,
22
22
  fetch_blob_default: () => fetch_blob_default,
23
23
  file_default: () => file_default,
24
24
  formDataToBlob: () => formDataToBlob
25
25
  });
26
- module.exports = __toCommonJS(chunk_WCRKL55L_exports);
26
+ module.exports = __toCommonJS(chunk_V2ZF7ETH_exports);
27
27
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
28
- var import_fs = require("fs");
28
+ var import_node_fs = require("node:fs");
29
29
  var require_ponyfill_es2018 = (0, import_chunk_WWAWV7DQ.__commonJS)({
30
30
  "../../node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js"(exports, module2) {
31
31
  "use strict";
@@ -3841,12 +3841,12 @@ var require_streams = (0, import_chunk_WWAWV7DQ.__commonJS)({
3841
3841
  var POOL_SIZE2 = 65536;
3842
3842
  if (!globalThis.ReadableStream) {
3843
3843
  try {
3844
- const process = (0, import_chunk_WWAWV7DQ.__require)("process");
3844
+ const process = (0, import_chunk_WWAWV7DQ.__require)("node:process");
3845
3845
  const { emitWarning } = process;
3846
3846
  try {
3847
3847
  process.emitWarning = () => {
3848
3848
  };
3849
- Object.assign(globalThis, (0, import_chunk_WWAWV7DQ.__require)("stream/web"));
3849
+ Object.assign(globalThis, (0, import_chunk_WWAWV7DQ.__require)("node:stream/web"));
3850
3850
  process.emitWarning = emitWarning;
3851
3851
  } catch (error) {
3852
3852
  process.emitWarning = emitWarning;
@@ -4218,7 +4218,7 @@ Content-Type: ${v.type || "application/octet-stream"}\r
4218
4218
  return new B(c, { type: "multipart/form-data; boundary=" + b });
4219
4219
  }
4220
4220
  var import_node_domexception = (0, import_chunk_WWAWV7DQ.__toESM)(require_node_domexception(), 1);
4221
- var { stat } = import_fs.promises;
4221
+ var { stat } = import_node_fs.promises;
4222
4222
  /*! Bundled license information:
4223
4223
 
4224
4224
  node-domexception/index.js: