@prisma/internals 6.3.0-dev.3 → 6.3.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 (91) hide show
  1. package/dist/{chunk-5TKUIA2N.js → chunk-3AQTHGVM.js} +15 -15
  2. package/dist/{chunk-KKMREGHN.js → chunk-53LS3WUO.js} +143 -94
  3. package/dist/{chunk-Z6DZL6LV.js → chunk-56V66JXS.js} +17 -9
  4. package/dist/{chunk-S3323RUL.js → chunk-5RV3EMX6.js} +9 -9
  5. package/dist/{chunk-CXEMRKV4.js → chunk-6TXVGFQA.js} +6 -6
  6. package/dist/{chunk-IF5LNELI.js → chunk-75IJA7S6.js} +58 -58
  7. package/dist/{chunk-QTXYAZFX.js → chunk-AC6EAR56.js} +5 -5
  8. package/dist/{chunk-CZDIXJEO.js → chunk-B2T5HDW7.js} +257 -11
  9. package/dist/{chunk-QRH3IW57.js → chunk-BIS5XAOV.js} +14 -14
  10. package/dist/{chunk-N6K7M2HZ.js → chunk-DZYINYAA.js} +5 -5
  11. package/dist/{chunk-F36IS4M5.js → chunk-FZSDRXR2.js} +14 -14
  12. package/dist/{chunk-TFSZCVKC.js → chunk-G4BGJ6IP.js} +5 -5
  13. package/dist/{chunk-UF22EKDO.js → chunk-GQNVQM3C.js} +16 -8
  14. package/dist/chunk-HB2Q7X5H.js +30 -0
  15. package/dist/{chunk-BOFY2TO3.js → chunk-I5BBGBRH.js} +14 -14
  16. package/dist/{chunk-2XRDQCIA.js → chunk-I7IEEULS.js} +5 -5
  17. package/dist/{chunk-EKBX4J6O.js → chunk-IWJ2BUYF.js} +7 -7
  18. package/dist/{chunk-PPCNLYSB.js → chunk-J7ZPY2XA.js} +4 -4
  19. package/dist/{chunk-6E73JK56.js → chunk-JV46WKBJ.js} +5 -5
  20. package/dist/{chunk-GR66UWCB.js → chunk-KGODEU5E.js} +13 -13
  21. package/dist/{chunk-X4U4GLWH.js → chunk-KRWS7JB4.js} +5 -4
  22. package/dist/{chunk-YXTH42CI.js → chunk-LKCSRT5B.js} +14 -14
  23. package/dist/{chunk-QJZIYUVB.js → chunk-NXIWDQBF.js} +4 -4
  24. package/dist/{chunk-3DMEILBC.js → chunk-OYLZC5OV.js} +13 -13
  25. package/dist/{chunk-4SR6BQUO.js → chunk-P2LUFNCY.js} +5 -5
  26. package/dist/{chunk-KEBDP2C3.js → chunk-PIPE5DSU.js} +6 -6
  27. package/dist/{chunk-WEPKBCTL.js → chunk-PLF3YUR5.js} +58 -58
  28. package/dist/{chunk-3372IJGL.js → chunk-PQPLHJES.js} +5 -5
  29. package/dist/{chunk-CKNTB45N.js → chunk-QSAE23KV.js} +8 -3
  30. package/dist/{chunk-P6VBFLWR.js → chunk-QVVSDACW.js} +5 -5
  31. package/dist/{chunk-7NDDRYBS.js → chunk-RZ2XUQZC.js} +5 -5
  32. package/dist/{chunk-UPIULDLZ.js → chunk-SHJNE6T7.js} +8 -8
  33. package/dist/{chunk-FL7RUKAY.js → chunk-TJLJR4G2.js} +5 -5
  34. package/dist/{chunk-5W4PVTZB.js → chunk-UHGUOEYM.js} +13 -13
  35. package/dist/{chunk-ANXKG4FL.js → chunk-UJC7ZJUH.js} +5 -5
  36. package/dist/{chunk-CAJZQGKK.js → chunk-UZ5PXJTV.js} +5 -5
  37. package/dist/{chunk-KBUXZLUK.js → chunk-VIYU7FPZ.js} +15 -15
  38. package/dist/{chunk-25RJ7YTB.js → chunk-XKZ6CBLA.js} +3 -3
  39. package/dist/{chunk-E3APO3ZG.js → chunk-Y3OWT3K2.js} +5 -5
  40. package/dist/{chunk-FEBTUSK5.js → chunk-YT2AGLAG.js} +5 -5
  41. package/dist/{chunk-FUUQ6FJ4.js → chunk-YXD4CJDK.js} +25 -17
  42. package/dist/cli/checkUnsupportedDataProxy.js +41 -40
  43. package/dist/cli/getGeneratorSuccessMessage.js +3 -3
  44. package/dist/cli/getSchema.js +46 -45
  45. package/dist/cli/getTypescriptVersion.js +2 -2
  46. package/dist/cli/hashes.js +41 -40
  47. package/dist/client/getClientEngineType.d.ts +2 -1
  48. package/dist/client/getClientEngineType.js +4 -4
  49. package/dist/convertCredentials.js +5 -4
  50. package/dist/engine-commands/errorHelpers.js +4 -4
  51. package/dist/engine-commands/formatSchema.js +40 -39
  52. package/dist/engine-commands/getConfig.js +12 -12
  53. package/dist/engine-commands/getDmmf.js +9 -9
  54. package/dist/engine-commands/getEngineVersion.js +8 -8
  55. package/dist/engine-commands/getEnginesMetaInfo.js +10 -10
  56. package/dist/engine-commands/index.js +51 -50
  57. package/dist/engine-commands/lintSchema.js +8 -8
  58. package/dist/engine-commands/mergeSchemas.js +9 -9
  59. package/dist/engine-commands/queryEngineCommons.js +6 -6
  60. package/dist/engine-commands/validate.js +9 -9
  61. package/dist/get-generators/generatorResolvers/generatorResolvers.js +40 -39
  62. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +3 -3
  63. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +40 -39
  64. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +3 -3
  65. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +41 -40
  66. package/dist/get-generators/getGenerators.js +43 -42
  67. package/dist/getPackedPackage.js +4 -4
  68. package/dist/index.d.ts +1 -0
  69. package/dist/index.js +97 -93
  70. package/dist/resolveBinary.js +7 -7
  71. package/dist/schemaEngineCommands.js +8 -8
  72. package/dist/sendPanic.js +40 -39
  73. package/dist/utils/cloudflareD1.js +4 -4
  74. package/dist/utils/fs-functional.js +10 -10
  75. package/dist/utils/fs-utils.js +8 -8
  76. package/dist/utils/getEnvPaths.js +40 -39
  77. package/dist/utils/getGitHubIssueUrl.js +4 -4
  78. package/dist/utils/getVersionFromPackageJson.js +3 -3
  79. package/dist/utils/handleEngineLoadingErrors.js +3 -3
  80. package/dist/utils/handlePanic.js +40 -39
  81. package/dist/utils/load.js +4 -4
  82. package/dist/utils/loadEnvFile.js +40 -39
  83. package/dist/utils/prismaPostgres.d.ts +3 -0
  84. package/dist/utils/prismaPostgres.js +27 -0
  85. package/dist/utils/prismaPostgres.test.d.ts +1 -0
  86. package/dist/utils/prismaPostgres.test.js +15 -0
  87. package/dist/wasm.js +4 -4
  88. package/package.json +20 -12
  89. package/dist/chunk-BONFK27U.js +0 -47
  90. package/dist/typescript-AILDXN3I.js +0 -205230
  91. package/dist/typescript-WN4QH2CP.js +0 -205192
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/internals",
3
- "version": "6.3.0-dev.3",
3
+ "version": "6.3.0-dev.31",
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",
@@ -34,10 +34,10 @@
34
34
  "checkpoint-client": "1.1.33",
35
35
  "cli-truncate": "2.1.0",
36
36
  "dotenv": "16.4.7",
37
- "esbuild": "0.24.0",
37
+ "esbuild": "0.24.2",
38
38
  "escape-string-regexp": "4.0.0",
39
39
  "execa": "5.1.1",
40
- "fast-glob": "3.3.2",
40
+ "fast-glob": "3.3.3",
41
41
  "find-up": "5.0.0",
42
42
  "fp-ts": "2.16.9",
43
43
  "fs-extra": "11.1.1",
@@ -59,7 +59,7 @@
59
59
  "p-map": "4.0.0",
60
60
  "read-package-up": "11.0.0",
61
61
  "replace-string": "3.1.0",
62
- "resolve": "1.22.8",
62
+ "resolve": "1.22.10",
63
63
  "string-width": "4.2.3",
64
64
  "strip-ansi": "6.0.1",
65
65
  "strip-indent": "3.0.0",
@@ -68,21 +68,29 @@
68
68
  "terminal-link": "2.1.1",
69
69
  "tmp": "0.2.3",
70
70
  "ts-node": "10.9.2",
71
- "ts-pattern": "5.6.0",
71
+ "ts-pattern": "5.6.2",
72
72
  "ts-toolbelt": "9.6.0",
73
73
  "typescript": "5.4.5",
74
74
  "yarn": "1.22.22"
75
75
  },
76
76
  "dependencies": {
77
- "@prisma/prisma-schema-wasm": "6.3.0-4.66ff51574f705989a0e2c8bf6f1659bee5eb9517",
77
+ "@prisma/prisma-schema-wasm": "6.3.0-17.acc0b9dd43eb689cbd20c9470515d719db10d0b0",
78
78
  "arg": "5.0.2",
79
79
  "prompts": "2.4.2",
80
- "@prisma/debug": "6.3.0-dev.3",
81
- "@prisma/engines": "6.3.0-dev.3",
82
- "@prisma/fetch-engine": "6.3.0-dev.3",
83
- "@prisma/generator-helper": "6.3.0-dev.3",
84
- "@prisma/get-platform": "6.3.0-dev.3",
85
- "@prisma/schema-files-loader": "6.3.0-dev.3"
80
+ "@prisma/engines": "6.3.0-dev.31",
81
+ "@prisma/debug": "6.3.0-dev.31",
82
+ "@prisma/get-platform": "6.3.0-dev.31",
83
+ "@prisma/fetch-engine": "6.3.0-dev.31",
84
+ "@prisma/schema-files-loader": "6.3.0-dev.31",
85
+ "@prisma/generator-helper": "6.3.0-dev.31"
86
+ },
87
+ "peerDependencies": {
88
+ "typescript": ">=5.1.0"
89
+ },
90
+ "peerDependenciesMeta": {
91
+ "typescript": {
92
+ "optional": true
93
+ }
86
94
  },
87
95
  "sideEffects": false,
88
96
  "scripts": {
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_BONFK27U_exports = {};
30
- __export(chunk_BONFK27U_exports, {
31
- getTypescriptVersion: () => getTypescriptVersion
32
- });
33
- module.exports = __toCommonJS(chunk_BONFK27U_exports);
34
- async function getProcessObject() {
35
- try {
36
- return await import("node:process");
37
- } catch (_) {
38
- return null;
39
- }
40
- }
41
- async function getTypescriptVersion() {
42
- try {
43
- return (await import("./typescript-WN4QH2CP.js")).default.version;
44
- } catch (_) {
45
- return (await getProcessObject())?.versions.typescript || "unknown";
46
- }
47
- }