@prisma/internals 6.19.0-integration-feat-remove-library-engine.3 → 6.19.0-integration-next.15

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 (91) hide show
  1. package/dist/{chunk-QQRYY5P4.js → chunk-4PZUFZNL.js} +5 -5
  2. package/dist/{chunk-MEOOYUIZ.js → chunk-5AI4FIZ3.js} +10 -10
  3. package/dist/{chunk-5MHUYAV3.js → chunk-5XFNC2RY.js} +9 -9
  4. package/dist/chunk-6TTRTZXU.js +37 -0
  5. package/dist/{chunk-UB2X7DGZ.js → chunk-75BIJ5PX.js} +9 -9
  6. package/dist/{chunk-H6PPJ5PX.js → chunk-7QC5VORA.js} +7 -7
  7. package/dist/{chunk-33K2EQQZ.js → chunk-AX5N26KG.js} +10 -10
  8. package/dist/{chunk-5I4ERIIY.js → chunk-B22EOFPW.js} +6 -3
  9. package/dist/{chunk-SFKBYZWG.js → chunk-BJUIZZOW.js} +47 -32
  10. package/dist/{chunk-32LLAKF4.js → chunk-BVJP43JS.js} +784 -13
  11. package/dist/{chunk-KD7PGGJP.js → chunk-CAYOFOK7.js} +8 -8
  12. package/dist/{chunk-IRWX4FCC.js → chunk-D4VDA2TZ.js} +6 -6
  13. package/dist/{chunk-7TNL2X5G.js → chunk-DAWUGT2S.js} +5 -5
  14. package/dist/{chunk-P4JEYG25.js → chunk-DSOOZF5Q.js} +5 -5
  15. package/dist/chunk-DZYINYAA.js +68 -0
  16. package/dist/{chunk-BZV6PVWV.js → chunk-EGJS32NP.js} +8 -8
  17. package/dist/{chunk-22HIO2UL.js → chunk-FC6CQUSK.js} +7 -7
  18. package/dist/{chunk-R3J2O23S.js → chunk-FCYHZHVW.js} +4 -4
  19. package/dist/chunk-FUYRCYVL.js +53 -0
  20. package/dist/{chunk-HNRMSI3R.js → chunk-FYZCPL2Z.js} +8 -5
  21. package/dist/{chunk-BUQN4WLU.js → chunk-GSH4BXBI.js} +6 -6
  22. package/dist/{chunk-FSQCVENL.js → chunk-HD2CUQO5.js} +7 -7
  23. package/dist/{chunk-CGLLQXZE.js → chunk-HHG4DGHC.js} +12 -11
  24. package/dist/{chunk-AAXLNSYL.js → chunk-HQAD5FY2.js} +5 -5
  25. package/dist/{chunk-D7L3VT6R.js → chunk-HZ6U2UGL.js} +8 -8
  26. package/dist/{chunk-3WXUQZS7.js → chunk-I6WLABB2.js} +5 -14
  27. package/dist/{chunk-FF7OLLBP.js → chunk-IDINCQMN.js} +784 -12
  28. package/dist/{chunk-UMB3Y33W.js → chunk-ITUREZTQ.js} +7 -7
  29. package/dist/{chunk-ZEBJSCAV.js → chunk-IZW777ZO.js} +5 -5
  30. package/dist/{chunk-2LOGW45F.js → chunk-JOIIWB3U.js} +33 -68
  31. package/dist/{chunk-IU77SCOB.js → chunk-KIFFN3IT.js} +9 -9
  32. package/dist/{chunk-EBJBIVXN.js → chunk-MURRA56K.js} +5 -5
  33. package/dist/{chunk-ZVTQSH5K.js → chunk-N657I3KT.js} +5 -5
  34. package/dist/{chunk-KNNTV7IN.js → chunk-NVNI2SRU.js} +213 -687
  35. package/dist/{chunk-TAKL4AGJ.js → chunk-QABDTHAM.js} +8 -8
  36. package/dist/{chunk-MUZJUPDX.js → chunk-S553BGWR.js} +4 -4
  37. package/dist/{chunk-H5STSTVK.js → chunk-SRZLJFU4.js} +16 -7
  38. package/dist/{chunk-VNIE2AZB.js → chunk-TQCLUNM2.js} +4 -4
  39. package/dist/{chunk-MXAUURHG.js → chunk-TQFONRJP.js} +5 -5
  40. package/dist/{chunk-WJKBKH3Y.js → chunk-UHI6VYFX.js} +5 -5
  41. package/dist/{chunk-AOJ2N25Z.js → chunk-UIYQPPLE.js} +8 -8
  42. package/dist/{chunk-NNYJV66S.js → chunk-VIEJEAGW.js} +5 -5
  43. package/dist/{chunk-GJSFP4V4.js → chunk-VRGMXDRD.js} +6 -3
  44. package/dist/{chunk-Z2IPE4NA.js → chunk-VVF5HBJU.js} +47 -32
  45. package/dist/{chunk-NVSVTFPX.js → chunk-XTWFEQXH.js} +5 -5
  46. package/dist/{chunk-2MJNNWBQ.js → chunk-ZLYKU4D6.js} +8 -8
  47. package/dist/cli/checkUnsupportedDataProxy.js +49 -47
  48. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +49 -47
  49. package/dist/cli/schemaContext.js +49 -47
  50. package/dist/client/getClientEngineType.d.ts +6 -0
  51. package/dist/client/getClientEngineType.js +26 -0
  52. package/dist/engine-commands/errorHelpers.js +4 -4
  53. package/dist/engine-commands/formatSchema.js +48 -46
  54. package/dist/engine-commands/getConfig.js +10 -10
  55. package/dist/engine-commands/getDmmf.js +7 -7
  56. package/dist/engine-commands/getEngineVersion.js +9 -6
  57. package/dist/engine-commands/getEnginesInfo.js +9 -7
  58. package/dist/engine-commands/index.js +60 -58
  59. package/dist/engine-commands/lintSchema.js +8 -8
  60. package/dist/engine-commands/mergeSchemas.js +7 -7
  61. package/dist/engine-commands/validate.js +7 -7
  62. package/dist/errorReporting.js +6 -6
  63. package/dist/get-generators/getGenerators.js +51 -49
  64. package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
  65. package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
  66. package/dist/get-generators/utils/getBinaryPathsByVersion.js +5 -6
  67. package/dist/getPackedPackage.js +3 -4
  68. package/dist/highlight/highlight.js +5 -5
  69. package/dist/index.d.ts +4 -1
  70. package/dist/index.js +95 -88
  71. package/dist/{multipart-parser-UV3WZSWW.js → multipart-parser-3AFJFP6K.js} +6 -6
  72. package/dist/resolveBinary.js +7 -8
  73. package/dist/schemaEngineCommands.js +8 -9
  74. package/dist/sendPanic.js +4 -4
  75. package/dist/utils/canPrompt.js +3 -3
  76. package/dist/utils/cloudflareD1.js +3 -3
  77. package/dist/utils/drawBox.js +2 -2
  78. package/dist/utils/fs-functional.js +10 -10
  79. package/dist/utils/fs-utils.js +8 -8
  80. package/dist/utils/getVersionFromPackageJson.js +3 -3
  81. package/dist/utils/handleEngineLoadingErrors.d.ts +8 -0
  82. package/dist/utils/handleEngineLoadingErrors.js +27 -0
  83. package/dist/utils/handlePanic.js +8 -8
  84. package/dist/utils/link.js +2 -2
  85. package/dist/utils/load.d.ts +6 -0
  86. package/dist/utils/load.js +28 -0
  87. package/dist/utils/missingDatasource.js +5 -5
  88. package/dist/utils/missingGeneratorMessage.js +7 -7
  89. package/dist/wasm.js +5 -5
  90. package/package.json +12 -12
  91. package/dist/chunk-DYV47NUW.js +0 -796
@@ -16,12 +16,12 @@ 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 multipart_parser_UV3WZSWW_exports = {};
20
- __export(multipart_parser_UV3WZSWW_exports, {
19
+ var multipart_parser_3AFJFP6K_exports = {};
20
+ __export(multipart_parser_3AFJFP6K_exports, {
21
21
  toFormData: () => toFormData
22
22
  });
23
- module.exports = __toCommonJS(multipart_parser_UV3WZSWW_exports);
24
- var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
23
+ module.exports = __toCommonJS(multipart_parser_3AFJFP6K_exports);
24
+ var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
25
25
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
26
26
  var s = 0;
27
27
  var S = {
@@ -314,7 +314,7 @@ async function toFormData(Body, ct) {
314
314
  let contentType;
315
315
  let filename;
316
316
  const entryChunks = [];
317
- const formData = new import_chunk_KNNTV7IN.FormData();
317
+ const formData = new import_chunk_NVNI2SRU.FormData();
318
318
  const onPartData = (ui8a) => {
319
319
  entryValue += decoder.decode(ui8a, { stream: true });
320
320
  };
@@ -322,7 +322,7 @@ async function toFormData(Body, ct) {
322
322
  entryChunks.push(ui8a);
323
323
  };
324
324
  const appendFileToFormData = () => {
325
- const file = new import_chunk_KNNTV7IN.file_default(entryChunks, filename, { type: contentType });
325
+ const file = new import_chunk_NVNI2SRU.file_default(entryChunks, filename, { type: contentType });
326
326
  formData.append(entryName, file);
327
327
  };
328
328
  const appendEntryToFormData = () => {
@@ -18,18 +18,17 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var resolveBinary_exports = {};
20
20
  __export(resolveBinary_exports, {
21
- BinaryType: () => import_chunk_HNRMSI3R.BinaryType,
22
- engineEnvVarMap: () => import_chunk_HNRMSI3R.engineEnvVarMap,
23
- maybeCopyToTmp: () => import_chunk_HNRMSI3R.maybeCopyToTmp,
24
- resolveBinary: () => import_chunk_HNRMSI3R.resolveBinary,
25
- safeResolveBinary: () => import_chunk_HNRMSI3R.safeResolveBinary
21
+ BinaryType: () => import_chunk_FYZCPL2Z.BinaryType,
22
+ engineEnvVarMap: () => import_chunk_FYZCPL2Z.engineEnvVarMap,
23
+ maybeCopyToTmp: () => import_chunk_FYZCPL2Z.maybeCopyToTmp,
24
+ resolveBinary: () => import_chunk_FYZCPL2Z.resolveBinary,
25
+ safeResolveBinary: () => import_chunk_FYZCPL2Z.safeResolveBinary
26
26
  });
27
27
  module.exports = __toCommonJS(resolveBinary_exports);
28
- var import_chunk_HNRMSI3R = require("./chunk-HNRMSI3R.js");
28
+ var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
29
29
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
30
- var import_chunk_FF7OLLBP = require("./chunk-FF7OLLBP.js");
30
+ var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
31
31
  var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
32
32
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
33
33
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
34
- var import_chunk_DYV47NUW = require("./chunk-DYV47NUW.js");
35
34
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -18,20 +18,19 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var schemaEngineCommands_exports = {};
20
20
  __export(schemaEngineCommands_exports, {
21
- SchemaEngineExitCode: () => import_chunk_WJKBKH3Y.SchemaEngineExitCode,
22
- canConnectToDatabase: () => import_chunk_WJKBKH3Y.canConnectToDatabase,
23
- createDatabase: () => import_chunk_WJKBKH3Y.createDatabase,
24
- dropDatabase: () => import_chunk_WJKBKH3Y.dropDatabase,
25
- execaCommand: () => import_chunk_WJKBKH3Y.execaCommand
21
+ SchemaEngineExitCode: () => import_chunk_UHI6VYFX.SchemaEngineExitCode,
22
+ canConnectToDatabase: () => import_chunk_UHI6VYFX.canConnectToDatabase,
23
+ createDatabase: () => import_chunk_UHI6VYFX.createDatabase,
24
+ dropDatabase: () => import_chunk_UHI6VYFX.dropDatabase,
25
+ execaCommand: () => import_chunk_UHI6VYFX.execaCommand
26
26
  });
27
27
  module.exports = __toCommonJS(schemaEngineCommands_exports);
28
- var import_chunk_WJKBKH3Y = require("./chunk-WJKBKH3Y.js");
28
+ var import_chunk_UHI6VYFX = require("./chunk-UHI6VYFX.js");
29
29
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
30
- var import_chunk_HNRMSI3R = require("./chunk-HNRMSI3R.js");
30
+ var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
31
31
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
32
- var import_chunk_FF7OLLBP = require("./chunk-FF7OLLBP.js");
32
+ var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
33
33
  var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
34
34
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
35
35
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
36
- var import_chunk_DYV47NUW = require("./chunk-DYV47NUW.js");
37
36
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
package/dist/sendPanic.js CHANGED
@@ -18,13 +18,13 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var sendPanic_exports = {};
20
20
  __export(sendPanic_exports, {
21
- sendPanic: () => import_chunk_BUQN4WLU.sendPanic
21
+ sendPanic: () => import_chunk_GSH4BXBI.sendPanic
22
22
  });
23
23
  module.exports = __toCommonJS(sendPanic_exports);
24
- var import_chunk_BUQN4WLU = require("./chunk-BUQN4WLU.js");
24
+ var import_chunk_GSH4BXBI = require("./chunk-GSH4BXBI.js");
25
25
  var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
26
26
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
27
27
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
28
- var import_chunk_MEOOYUIZ = require("./chunk-MEOOYUIZ.js");
29
- var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
28
+ var import_chunk_5AI4FIZ3 = require("./chunk-5AI4FIZ3.js");
29
+ var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
30
30
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var canPrompt_exports = {};
20
20
  __export(canPrompt_exports, {
21
- canPrompt: () => import_chunk_R3J2O23S.canPrompt
21
+ canPrompt: () => import_chunk_FCYHZHVW.canPrompt
22
22
  });
23
23
  module.exports = __toCommonJS(canPrompt_exports);
24
- var import_chunk_R3J2O23S = require("../chunk-R3J2O23S.js");
25
- var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
24
+ var import_chunk_FCYHZHVW = require("../chunk-FCYHZHVW.js");
26
25
  var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
26
+ var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
27
27
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var cloudflareD1_exports = {};
20
20
  __export(cloudflareD1_exports, {
21
- locateLocalCloudflareD1: () => import_chunk_IRWX4FCC.locateLocalCloudflareD1
21
+ locateLocalCloudflareD1: () => import_chunk_D4VDA2TZ.locateLocalCloudflareD1
22
22
  });
23
23
  module.exports = __toCommonJS(cloudflareD1_exports);
24
- var import_chunk_IRWX4FCC = require("../chunk-IRWX4FCC.js");
24
+ var import_chunk_D4VDA2TZ = require("../chunk-D4VDA2TZ.js");
25
25
  var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
26
- var import_chunk_2LOGW45F = require("../chunk-2LOGW45F.js");
26
+ var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
27
27
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var drawBox_exports = {};
20
20
  __export(drawBox_exports, {
21
- drawBox: () => import_chunk_CGLLQXZE.drawBox
21
+ drawBox: () => import_chunk_HHG4DGHC.drawBox
22
22
  });
23
23
  module.exports = __toCommonJS(drawBox_exports);
24
- var import_chunk_CGLLQXZE = require("../chunk-CGLLQXZE.js");
24
+ var import_chunk_HHG4DGHC = require("../chunk-HHG4DGHC.js");
25
25
  var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
26
26
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,18 +18,18 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var fs_functional_exports = {};
20
20
  __export(fs_functional_exports, {
21
- createDirIfNotExists: () => import_chunk_UB2X7DGZ.createDirIfNotExists,
22
- getFilesInDir: () => import_chunk_UB2X7DGZ.getFilesInDir,
23
- getNestedFoldersInDir: () => import_chunk_UB2X7DGZ.getNestedFoldersInDir,
24
- removeDir: () => import_chunk_UB2X7DGZ.removeDir,
25
- removeEmptyDirs: () => import_chunk_UB2X7DGZ.removeEmptyDirs,
26
- removeFile: () => import_chunk_UB2X7DGZ.removeFile,
27
- writeFile: () => import_chunk_UB2X7DGZ.writeFile
21
+ createDirIfNotExists: () => import_chunk_75BIJ5PX.createDirIfNotExists,
22
+ getFilesInDir: () => import_chunk_75BIJ5PX.getFilesInDir,
23
+ getNestedFoldersInDir: () => import_chunk_75BIJ5PX.getNestedFoldersInDir,
24
+ removeDir: () => import_chunk_75BIJ5PX.removeDir,
25
+ removeEmptyDirs: () => import_chunk_75BIJ5PX.removeEmptyDirs,
26
+ removeFile: () => import_chunk_75BIJ5PX.removeFile,
27
+ writeFile: () => import_chunk_75BIJ5PX.writeFile
28
28
  });
29
29
  module.exports = __toCommonJS(fs_functional_exports);
30
- var import_chunk_UB2X7DGZ = require("../chunk-UB2X7DGZ.js");
31
- var import_chunk_MXAUURHG = require("../chunk-MXAUURHG.js");
30
+ var import_chunk_75BIJ5PX = require("../chunk-75BIJ5PX.js");
31
+ var import_chunk_TQFONRJP = require("../chunk-TQFONRJP.js");
32
32
  var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
33
33
  var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
34
- var import_chunk_2LOGW45F = require("../chunk-2LOGW45F.js");
34
+ var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
35
35
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,15 +18,15 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var fs_utils_exports = {};
20
20
  __export(fs_utils_exports, {
21
- createDirIfNotExists: () => import_chunk_MXAUURHG.createDirIfNotExists,
22
- getFilesInDir: () => import_chunk_MXAUURHG.getFilesInDir,
23
- getNestedFoldersInDir: () => import_chunk_MXAUURHG.getNestedFoldersInDir,
24
- getTopLevelFoldersInDir: () => import_chunk_MXAUURHG.getTopLevelFoldersInDir,
25
- removeEmptyDirs: () => import_chunk_MXAUURHG.removeEmptyDirs,
26
- writeFile: () => import_chunk_MXAUURHG.writeFile
21
+ createDirIfNotExists: () => import_chunk_TQFONRJP.createDirIfNotExists,
22
+ getFilesInDir: () => import_chunk_TQFONRJP.getFilesInDir,
23
+ getNestedFoldersInDir: () => import_chunk_TQFONRJP.getNestedFoldersInDir,
24
+ getTopLevelFoldersInDir: () => import_chunk_TQFONRJP.getTopLevelFoldersInDir,
25
+ removeEmptyDirs: () => import_chunk_TQFONRJP.removeEmptyDirs,
26
+ writeFile: () => import_chunk_TQFONRJP.writeFile
27
27
  });
28
28
  module.exports = __toCommonJS(fs_utils_exports);
29
- var import_chunk_MXAUURHG = require("../chunk-MXAUURHG.js");
29
+ var import_chunk_TQFONRJP = require("../chunk-TQFONRJP.js");
30
30
  var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
31
- var import_chunk_2LOGW45F = require("../chunk-2LOGW45F.js");
31
+ var import_chunk_JOIIWB3U = require("../chunk-JOIIWB3U.js");
32
32
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var getVersionFromPackageJson_exports = {};
20
20
  __export(getVersionFromPackageJson_exports, {
21
- version: () => import_chunk_ZEBJSCAV.version
21
+ version: () => import_chunk_IZW777ZO.version
22
22
  });
23
23
  module.exports = __toCommonJS(getVersionFromPackageJson_exports);
24
- var import_chunk_ZEBJSCAV = require("../chunk-ZEBJSCAV.js");
25
- var import_chunk_QQRYY5P4 = require("../chunk-QQRYY5P4.js");
24
+ var import_chunk_IZW777ZO = require("../chunk-IZW777ZO.js");
25
+ var import_chunk_4PZUFZNL = require("../chunk-4PZUFZNL.js");
26
26
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -0,0 +1,8 @@
1
+ import { type PlatformInfo } from '@prisma/get-platform';
2
+ type HandleLibraryLoadingErrorsInput = {
3
+ e: Error;
4
+ platformInfo: PlatformInfo;
5
+ id: string;
6
+ };
7
+ export declare function handleLibraryLoadingErrors(args: HandleLibraryLoadingErrorsInput): string;
8
+ export {};
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var handleEngineLoadingErrors_exports = {};
20
+ __export(handleEngineLoadingErrors_exports, {
21
+ handleLibraryLoadingErrors: () => import_chunk_DZYINYAA.handleLibraryLoadingErrors
22
+ });
23
+ module.exports = __toCommonJS(handleEngineLoadingErrors_exports);
24
+ var import_chunk_DZYINYAA = require("../chunk-DZYINYAA.js");
25
+ var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
26
+ var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
27
+ var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,20 +18,20 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var handlePanic_exports = {};
20
20
  __export(handlePanic_exports, {
21
- handlePanic: () => import_chunk_IU77SCOB.handlePanic
21
+ handlePanic: () => import_chunk_KIFFN3IT.handlePanic
22
22
  });
23
23
  module.exports = __toCommonJS(handlePanic_exports);
24
- var import_chunk_IU77SCOB = require("../chunk-IU77SCOB.js");
25
- var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
24
+ var import_chunk_KIFFN3IT = require("../chunk-KIFFN3IT.js");
25
+ var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
26
26
  var import_chunk_7IKUTPWQ = require("../chunk-7IKUTPWQ.js");
27
- var import_chunk_R3J2O23S = require("../chunk-R3J2O23S.js");
28
- var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
27
+ var import_chunk_FCYHZHVW = require("../chunk-FCYHZHVW.js");
29
28
  var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
30
- var import_chunk_BUQN4WLU = require("../chunk-BUQN4WLU.js");
29
+ var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
30
+ var import_chunk_GSH4BXBI = require("../chunk-GSH4BXBI.js");
31
31
  var import_chunk_KDHESRKE = require("../chunk-KDHESRKE.js");
32
32
  var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
33
33
  var import_chunk_LMVSIVKQ = require("../chunk-LMVSIVKQ.js");
34
34
  var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
35
- var import_chunk_MEOOYUIZ = require("../chunk-MEOOYUIZ.js");
36
- var import_chunk_KNNTV7IN = require("../chunk-KNNTV7IN.js");
35
+ var import_chunk_5AI4FIZ3 = require("../chunk-5AI4FIZ3.js");
36
+ var import_chunk_NVNI2SRU = require("../chunk-NVNI2SRU.js");
37
37
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var link_exports = {};
20
20
  __export(link_exports, {
21
- link: () => import_chunk_3WXUQZS7.link
21
+ link: () => import_chunk_I6WLABB2.link
22
22
  });
23
23
  module.exports = __toCommonJS(link_exports);
24
- var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
24
+ var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
25
25
  var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
26
26
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -0,0 +1,6 @@
1
+ import type { PlatformInfo } from '@prisma/get-platform';
2
+ /**
3
+ * This is a wrapper around `require` for loading a Node-API library.
4
+ * This is to avoid eval and hide require away from bundlers
5
+ */
6
+ export declare function loadLibrary<T>(id: string, platformInfo: PlatformInfo): T;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var load_exports = {};
20
+ __export(load_exports, {
21
+ loadLibrary: () => import_chunk_6TTRTZXU.loadLibrary
22
+ });
23
+ module.exports = __toCommonJS(load_exports);
24
+ var import_chunk_6TTRTZXU = require("../chunk-6TTRTZXU.js");
25
+ var import_chunk_DZYINYAA = require("../chunk-DZYINYAA.js");
26
+ var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
27
+ var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
28
+ var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,14 +18,14 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var missingDatasource_exports = {};
20
20
  __export(missingDatasource_exports, {
21
- missingDatasource: () => import_chunk_H6PPJ5PX.missingDatasource
21
+ missingDatasource: () => import_chunk_7QC5VORA.missingDatasource
22
22
  });
23
23
  module.exports = __toCommonJS(missingDatasource_exports);
24
- var import_chunk_H6PPJ5PX = require("../chunk-H6PPJ5PX.js");
25
- var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
26
- var import_chunk_VNIE2AZB = require("../chunk-VNIE2AZB.js");
27
- var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
24
+ var import_chunk_7QC5VORA = require("../chunk-7QC5VORA.js");
25
+ var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
26
+ var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
28
27
  var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
28
+ var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
29
29
  var import_chunk_HPVMQFIY = require("../chunk-HPVMQFIY.js");
30
30
  var import_chunk_E23HYCQJ = require("../chunk-E23HYCQJ.js");
31
31
  var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
@@ -18,16 +18,16 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var missingGeneratorMessage_exports = {};
20
20
  __export(missingGeneratorMessage_exports, {
21
- missingGeneratorMessage: () => import_chunk_33K2EQQZ.missingGeneratorMessage,
22
- missingModelMessage: () => import_chunk_33K2EQQZ.missingModelMessage,
23
- missingModelMessageMongoDB: () => import_chunk_33K2EQQZ.missingModelMessageMongoDB
21
+ missingGeneratorMessage: () => import_chunk_AX5N26KG.missingGeneratorMessage,
22
+ missingModelMessage: () => import_chunk_AX5N26KG.missingModelMessage,
23
+ missingModelMessageMongoDB: () => import_chunk_AX5N26KG.missingModelMessageMongoDB
24
24
  });
25
25
  module.exports = __toCommonJS(missingGeneratorMessage_exports);
26
- var import_chunk_33K2EQQZ = require("../chunk-33K2EQQZ.js");
27
- var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
28
- var import_chunk_VNIE2AZB = require("../chunk-VNIE2AZB.js");
29
- var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
26
+ var import_chunk_AX5N26KG = require("../chunk-AX5N26KG.js");
27
+ var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
28
+ var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
30
29
  var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
30
+ var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
31
31
  var import_chunk_HPVMQFIY = require("../chunk-HPVMQFIY.js");
32
32
  var import_chunk_E23HYCQJ = require("../chunk-E23HYCQJ.js");
33
33
  var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
package/dist/wasm.js CHANGED
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var wasm_exports = {};
20
20
  __export(wasm_exports, {
21
- prismaSchemaWasm: () => import_chunk_AAXLNSYL.prismaSchemaWasm,
22
- prismaSchemaWasmVersion: () => import_chunk_AAXLNSYL.prismaSchemaWasmVersion,
23
- schemaEngineWasmVersion: () => import_chunk_AAXLNSYL.schemaEngineWasmVersion
21
+ prismaSchemaWasm: () => import_chunk_N657I3KT.prismaSchemaWasm,
22
+ prismaSchemaWasmVersion: () => import_chunk_N657I3KT.prismaSchemaWasmVersion,
23
+ schemaEngineWasmVersion: () => import_chunk_N657I3KT.schemaEngineWasmVersion
24
24
  });
25
25
  module.exports = __toCommonJS(wasm_exports);
26
- var import_chunk_AAXLNSYL = require("./chunk-AAXLNSYL.js");
27
- var import_chunk_QQRYY5P4 = require("./chunk-QQRYY5P4.js");
26
+ var import_chunk_N657I3KT = require("./chunk-N657I3KT.js");
27
+ var import_chunk_4PZUFZNL = require("./chunk-4PZUFZNL.js");
28
28
  var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
29
29
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/internals",
3
- "version": "6.19.0-integration-feat-remove-library-engine.3",
3
+ "version": "6.19.0-integration-next.15",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,7 +27,7 @@
27
27
  "@swc/jest": "0.2.37",
28
28
  "@types/babel__helper-validator-identifier": "7.15.2",
29
29
  "@types/jest": "29.5.14",
30
- "@types/node": "~20.19.24",
30
+ "@types/node": "~20.19.0",
31
31
  "@types/resolve": "1.20.6",
32
32
  "archiver": "6.0.2",
33
33
  "checkpoint-client": "1.1.33",
@@ -72,16 +72,16 @@
72
72
  "@prisma/schema-engine-wasm": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
73
73
  "arg": "5.0.2",
74
74
  "prompts": "2.4.2",
75
- "@prisma/config": "6.19.0-integration-feat-remove-library-engine.3",
76
- "@prisma/debug": "6.19.0-integration-feat-remove-library-engine.3",
77
- "@prisma/dmmf": "6.19.0-integration-feat-remove-library-engine.3",
78
- "@prisma/driver-adapter-utils": "6.19.0-integration-feat-remove-library-engine.3",
79
- "@prisma/engines": "6.19.0-integration-feat-remove-library-engine.3",
80
- "@prisma/fetch-engine": "6.19.0-integration-feat-remove-library-engine.3",
81
- "@prisma/generator": "6.19.0-integration-feat-remove-library-engine.3",
82
- "@prisma/generator-helper": "6.19.0-integration-feat-remove-library-engine.3",
83
- "@prisma/get-platform": "6.19.0-integration-feat-remove-library-engine.3",
84
- "@prisma/schema-files-loader": "6.19.0-integration-feat-remove-library-engine.3"
75
+ "@prisma/config": "6.19.0-integration-next.15",
76
+ "@prisma/debug": "6.19.0-integration-next.15",
77
+ "@prisma/driver-adapter-utils": "6.19.0-integration-next.15",
78
+ "@prisma/engines": "6.19.0-integration-next.15",
79
+ "@prisma/fetch-engine": "6.19.0-integration-next.15",
80
+ "@prisma/generator-helper": "6.19.0-integration-next.15",
81
+ "@prisma/generator": "6.19.0-integration-next.15",
82
+ "@prisma/dmmf": "6.19.0-integration-next.15",
83
+ "@prisma/get-platform": "6.19.0-integration-next.15",
84
+ "@prisma/schema-files-loader": "6.19.0-integration-next.15"
85
85
  },
86
86
  "peerDependencies": {
87
87
  "typescript": ">=5.4.0"