@prisma/internals 6.16.0-dev.6 → 6.16.0-dev.7

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 (41) hide show
  1. package/dist/{chunk-ZZBQ4SXN.js → chunk-2TV6ORAD.js} +5 -5
  2. package/dist/{chunk-3234BSVB.js → chunk-4IRHPHKO.js} +4 -4
  3. package/dist/{chunk-5RWUY5Y2.js → chunk-BCQEZ7NF.js} +5 -5
  4. package/dist/chunk-BERN76ZI.js +347 -0
  5. package/dist/{chunk-LRJ4X43J.js → chunk-CUD726EK.js} +5 -5
  6. package/dist/{chunk-NXIYO62X.js → chunk-EK4M2TP7.js} +5 -5
  7. package/dist/{chunk-IZ4NMSSP.js → chunk-FNWQOUCP.js} +17 -17
  8. package/dist/{chunk-S4XVZEFO.js → chunk-FSJWJSTL.js} +8 -8
  9. package/dist/{chunk-EM2KX64O.js → chunk-GPJ3FKEA.js} +5 -5
  10. package/dist/{chunk-SX2SEPBC.js → chunk-K3HE6HA5.js} +8 -8
  11. package/dist/{chunk-LLXS7XO5.js → chunk-KITKFLJ4.js} +17 -17
  12. package/dist/{chunk-BCV5Q55A.js → chunk-MGEKOGEQ.js} +7 -7
  13. package/dist/{chunk-G3E7V3AX.js → chunk-NWEZGXDC.js} +8 -8
  14. package/dist/{chunk-VKYHM7OP.js → chunk-OYUGHJ5N.js} +7 -7
  15. package/dist/{chunk-YVO3LF2V.js → chunk-PJNRTUPI.js} +5 -5
  16. package/dist/{chunk-L6D3TLYT.js → chunk-SBDM53IE.js} +8 -8
  17. package/dist/{chunk-ATBCTVYH.js → chunk-SME4GGOI.js} +8 -8
  18. package/dist/{chunk-DJW3QOZ2.js → chunk-WTROSPMD.js} +5 -5
  19. package/dist/{chunk-ZPHUP2WP.js → chunk-XJU5YCPS.js} +5 -5
  20. package/dist/{chunk-7LWKQIAB.js → chunk-XV7OHF4Y.js} +8 -8
  21. package/dist/{chunk-PTPRF66F.js → chunk-XW4KLL5P.js} +5 -5
  22. package/dist/{chunk-HDFCF353.js → chunk-YTXG4522.js} +5 -5
  23. package/dist/cli/checkUnsupportedDataProxy.js +14 -14
  24. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +14 -14
  25. package/dist/cli/schemaContext.js +14 -14
  26. package/dist/engine-commands/errorHelpers.js +4 -4
  27. package/dist/engine-commands/formatSchema.js +13 -13
  28. package/dist/engine-commands/getConfig.js +10 -10
  29. package/dist/engine-commands/getDmmf.js +7 -7
  30. package/dist/engine-commands/index.js +22 -22
  31. package/dist/engine-commands/lintSchema.js +8 -8
  32. package/dist/engine-commands/mergeSchemas.js +7 -7
  33. package/dist/engine-commands/validate.js +7 -7
  34. package/dist/get-generators/getGenerators.js +16 -16
  35. package/dist/index.js +35 -35
  36. package/dist/utils/getCommandWithExecutor.js +3 -3
  37. package/dist/utils/getVersionFromPackageJson.js +3 -3
  38. package/dist/utils/isCurrentBinInstalledGlobally.js +2 -2
  39. package/dist/wasm.js +5 -5
  40. package/package.json +12 -12
  41. package/dist/chunk-CR3XKUEA.js +0 -296
package/dist/index.js CHANGED
@@ -35,8 +35,8 @@ __export(index_exports, {
35
35
  callOnceOnSuccess: () => import_chunk_NIWBAJZV.callOnceOnSuccess,
36
36
  canConnectToDatabase: () => import_chunk_ONPT5QRX.canConnectToDatabase,
37
37
  canPrompt: () => import_chunk_FCYHZHVW.canPrompt,
38
- checkUnsupportedDataProxy: () => import_chunk_LLXS7XO5.checkUnsupportedDataProxy,
39
- checkUnsupportedSchemaEngineWasm: () => import_chunk_LLXS7XO5.checkUnsupportedSchemaEngineWasm,
38
+ checkUnsupportedDataProxy: () => import_chunk_KITKFLJ4.checkUnsupportedDataProxy,
39
+ checkUnsupportedSchemaEngineWasm: () => import_chunk_KITKFLJ4.checkUnsupportedSchemaEngineWasm,
40
40
  chmodPlusX: () => import_chunk_TWSLDIFL.chmodPlusX,
41
41
  createDatabase: () => import_chunk_ONPT5QRX.createDatabase,
42
42
  credentialsToUri: () => import_chunk_LYFOJ5NK.credentialsToUri,
@@ -47,28 +47,28 @@ __export(index_exports, {
47
47
  extractSchemaContent: () => import_chunk_PFYALFCY.extractSchemaContent,
48
48
  fixBinaryTargets: () => import_chunk_X77CS5RK.fixBinaryTargets,
49
49
  format: () => import_chunk_D4VZUY3O.format,
50
- formatSchema: () => import_chunk_LLXS7XO5.formatSchema,
50
+ formatSchema: () => import_chunk_KITKFLJ4.formatSchema,
51
51
  formatTable: () => import_chunk_QN6PSQY7.formatTable,
52
52
  formatms: () => import_chunk_XYCIH36R.formatms,
53
53
  fsFunctional: () => import_chunk_75BIJ5PX.fs_functional_exports,
54
54
  fsUtils: () => import_chunk_TQFONRJP.fs_utils_exports,
55
- getBinaryTargetForCurrentPlatform: () => import_chunk_LLXS7XO5.getBinaryTargetForCurrentPlatform,
55
+ getBinaryTargetForCurrentPlatform: () => import_chunk_KITKFLJ4.getBinaryTargetForCurrentPlatform,
56
56
  getCLIPathHash: () => import_chunk_4JCVHBYR.getCLIPathHash,
57
57
  getClientEngineType: () => import_chunk_QA4OGZAI.getClientEngineType,
58
- getCommandWithExecutor: () => import_chunk_LRJ4X43J.getCommandWithExecutor,
59
- getConfig: () => import_chunk_L6D3TLYT.getConfig,
60
- getDMMF: () => import_chunk_ATBCTVYH.getDMMF,
61
- getDirectUrl: () => import_chunk_L6D3TLYT.getDirectUrl,
62
- getEffectiveUrl: () => import_chunk_L6D3TLYT.getEffectiveUrl,
58
+ getCommandWithExecutor: () => import_chunk_CUD726EK.getCommandWithExecutor,
59
+ getConfig: () => import_chunk_NWEZGXDC.getConfig,
60
+ getDMMF: () => import_chunk_FSJWJSTL.getDMMF,
61
+ getDirectUrl: () => import_chunk_NWEZGXDC.getDirectUrl,
62
+ getEffectiveUrl: () => import_chunk_NWEZGXDC.getEffectiveUrl,
63
63
  getEngineVersion: () => import_chunk_PRGTOMXU.getEngineVersion,
64
64
  getEnginesInfo: () => import_chunk_TN5X76G7.getEnginesInfo,
65
65
  getEnvPaths: () => import_chunk_46ABODUM.getEnvPaths,
66
- getGenerator: () => import_chunk_LLXS7XO5.getGenerator,
66
+ getGenerator: () => import_chunk_KITKFLJ4.getGenerator,
67
67
  getGeneratorSuccessMessage: () => import_chunk_WANK3LVF.getGeneratorSuccessMessage,
68
- getGenerators: () => import_chunk_LLXS7XO5.getGenerators,
69
- getLintWarningsAsText: () => import_chunk_ZPHUP2WP.getLintWarningsAsText,
68
+ getGenerators: () => import_chunk_KITKFLJ4.getGenerators,
69
+ getLintWarningsAsText: () => import_chunk_XJU5YCPS.getLintWarningsAsText,
70
70
  getMigrateConfigDir: () => import_chunk_RFB2U4GQ.getMigrateConfigDir,
71
- getNodeAPIName: () => import_chunk_LLXS7XO5.getNodeAPIName,
71
+ getNodeAPIName: () => import_chunk_KITKFLJ4.getNodeAPIName,
72
72
  getPackedPackage: () => import_chunk_HCIV233Z.getPackedPackage,
73
73
  getProjectHash: () => import_chunk_4JCVHBYR.getProjectHash,
74
74
  getSchemaWithPath: () => import_chunk_EYVG6XQS.getSchemaWithPath,
@@ -76,7 +76,7 @@ __export(index_exports, {
76
76
  getTypescriptVersion: () => import_chunk_J7ZPY2XA.getTypescriptVersion,
77
77
  getWasmError: () => import_chunk_LMVSIVKQ.getWasmError,
78
78
  handleLibraryLoadingErrors: () => import_chunk_DZYINYAA.handleLibraryLoadingErrors,
79
- handleLintPanic: () => import_chunk_ZPHUP2WP.handleLintPanic,
79
+ handleLintPanic: () => import_chunk_XJU5YCPS.handleLintPanic,
80
80
  handlePanic: () => import_chunk_S6Z7TU3K.handlePanic,
81
81
  hasOwnProperty: () => import_chunk_WV4QHCSM.hasOwnProperty,
82
82
  highlightDatamodel: () => import_chunk_TQCLUNM2.highlightDatamodel,
@@ -84,7 +84,7 @@ __export(index_exports, {
84
84
  highlightTS: () => import_chunk_TQCLUNM2.highlightTS,
85
85
  inferDirectoryConfig: () => import_chunk_BCQZ6JQE.inferDirectoryConfig,
86
86
  isCi: () => import_chunk_H4NI2RIK.isCi,
87
- isCurrentBinInstalledGlobally: () => import_chunk_CR3XKUEA.isCurrentBinInstalledGlobally,
87
+ isCurrentBinInstalledGlobally: () => import_chunk_BERN76ZI.isCurrentBinInstalledGlobally,
88
88
  isError: () => import_chunk_D4VZUY3O.isError,
89
89
  isInContainer: () => import_chunk_XXTPN4LB.isInContainer,
90
90
  isInNpmLifecycleHook: () => import_chunk_2IOZUH3U.isInNpmLifecycleHook,
@@ -97,10 +97,10 @@ __export(index_exports, {
97
97
  isWasmPanic: () => import_chunk_LMVSIVKQ.isWasmPanic,
98
98
  keyBy: () => import_chunk_ZKWDIAVF.keyBy,
99
99
  link: () => import_chunk_I6WLABB2.link,
100
- lintSchema: () => import_chunk_ZPHUP2WP.lintSchema,
100
+ lintSchema: () => import_chunk_XJU5YCPS.lintSchema,
101
101
  load: () => import_chunk_6TTRTZXU.loadLibrary,
102
102
  loadEnvFile: () => import_chunk_PZMRR772.loadEnvFile,
103
- loadSchemaContext: () => import_chunk_LLXS7XO5.loadSchemaContext,
103
+ loadSchemaContext: () => import_chunk_KITKFLJ4.loadSchemaContext,
104
104
  locateLocalCloudflareD1: () => import_chunk_D4VDA2TZ.locateLocalCloudflareD1,
105
105
  logger: () => import_chunk_ZJWZK45Z.logger_exports,
106
106
  longestCommonPathPrefix: () => import_chunk_J77ZIDXB.longestCommonPathPrefix,
@@ -109,7 +109,7 @@ __export(index_exports, {
109
109
  maxBy: () => import_chunk_CGFNDGGI.maxBy,
110
110
  maxWithComparator: () => import_chunk_CGFNDGGI.maxWithComparator,
111
111
  maybeInGitHook: () => import_chunk_LRBXMV4B.maybeInGitHook,
112
- mergeSchemas: () => import_chunk_VKYHM7OP.mergeSchemas,
112
+ mergeSchemas: () => import_chunk_MGEKOGEQ.mergeSchemas,
113
113
  missingGeneratorMessage: () => import_chunk_AX5N26KG.missingGeneratorMessage,
114
114
  parseAWSNodejsRuntimeEnvVarVersion: () => import_chunk_2SDPW6AX.parseAWSNodejsRuntimeEnvVarVersion,
115
115
  parseBinaryTargetsEnvValue: () => import_chunk_IOIAK7V7.parseBinaryTargetsEnvValue,
@@ -119,13 +119,13 @@ __export(index_exports, {
119
119
  printConfigWarnings: () => import_chunk_5FJ3MENK.printConfigWarnings,
120
120
  printGeneratorConfig: () => import_chunk_LRU47BGE.printGeneratorConfig,
121
121
  printSchemaLoadedMessage: () => import_chunk_EYVG6XQS.printSchemaLoadedMessage,
122
- processSchemaResult: () => import_chunk_LLXS7XO5.processSchemaResult,
122
+ processSchemaResult: () => import_chunk_KITKFLJ4.processSchemaResult,
123
123
  protocolToConnectorType: () => import_chunk_LYFOJ5NK.protocolToConnectorType,
124
124
  relativizePathInPSLError: () => import_chunk_C47SCASR.relativizePathInPSLError,
125
125
  resolveBinary: () => import_chunk_FYZCPL2Z.resolveBinary,
126
126
  resolveEngine: () => import_chunk_TN5X76G7.resolveEngine,
127
127
  resolvePkg: () => import_chunk_UMM35VP5.resolvePkg,
128
- resolveUrl: () => import_chunk_L6D3TLYT.resolveUrl,
128
+ resolveUrl: () => import_chunk_NWEZGXDC.resolveUrl,
129
129
  sendPanic: () => import_chunk_YR5KNFKN.sendPanic,
130
130
  serializeQueryEngineName: () => import_chunk_HO5HRHFZ.serializeQueryEngineName,
131
131
  setClassName: () => import_chunk_ANU3HEGF.setClassName,
@@ -134,15 +134,15 @@ __export(index_exports, {
134
134
  tryLoadEnvs: () => import_chunk_3FP46GUV.tryLoadEnvs,
135
135
  unknownCommand: () => import_chunk_6JE6QGSJ.unknownCommand,
136
136
  uriToCredentials: () => import_chunk_LYFOJ5NK.uriToCredentials,
137
- validate: () => import_chunk_7LWKQIAB.validate,
137
+ validate: () => import_chunk_XV7OHF4Y.validate,
138
138
  vercelPkgPathRegex: () => import_chunk_M3GBKLGE.vercelPkgPathRegex,
139
- version: () => import_chunk_ZZBQ4SXN.version,
139
+ version: () => import_chunk_2TV6ORAD.version,
140
140
  warnOnce: () => import_chunk_DTPFRZWV.warnOnce,
141
- wasm: () => import_chunk_5RWUY5Y2.wasm_exports,
141
+ wasm: () => import_chunk_BCQEZ7NF.wasm_exports,
142
142
  wasmSchemaEngineLoader: () => import_chunk_SBUSVJCV.wasmSchemaEngineLoader
143
143
  });
144
144
  module.exports = __toCommonJS(index_exports);
145
- var import_chunk_LLXS7XO5 = require("./chunk-LLXS7XO5.js");
145
+ var import_chunk_KITKFLJ4 = require("./chunk-KITKFLJ4.js");
146
146
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
147
147
  var import_chunk_LRU47BGE = require("./chunk-LRU47BGE.js");
148
148
  var import_chunk_OSHZ4P3G = require("./chunk-OSHZ4P3G.js");
@@ -168,8 +168,8 @@ var import_chunk_2IOZUH3U = require("./chunk-2IOZUH3U.js");
168
168
  var import_chunk_JTKAT4KZ = require("./chunk-JTKAT4KZ.js");
169
169
  var import_chunk_RBDYOTWB = require("./chunk-RBDYOTWB.js");
170
170
  var import_chunk_ZKWDIAVF = require("./chunk-ZKWDIAVF.js");
171
- var import_chunk_LRJ4X43J = require("./chunk-LRJ4X43J.js");
172
- var import_chunk_CR3XKUEA = require("./chunk-CR3XKUEA.js");
171
+ var import_chunk_CUD726EK = require("./chunk-CUD726EK.js");
172
+ var import_chunk_BERN76ZI = require("./chunk-BERN76ZI.js");
173
173
  var import_chunk_46ABODUM = require("./chunk-46ABODUM.js");
174
174
  var import_chunk_3FP46GUV = require("./chunk-3FP46GUV.js");
175
175
  var import_chunk_RFB2U4GQ = require("./chunk-RFB2U4GQ.js");
@@ -192,20 +192,20 @@ var import_chunk_NIWBAJZV = require("./chunk-NIWBAJZV.js");
192
192
  var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
193
193
  var import_chunk_H4NI2RIK = require("./chunk-H4NI2RIK.js");
194
194
  var import_chunk_ICFLO5JW = require("./chunk-ICFLO5JW.js");
195
- var import_chunk_7LWKQIAB = require("./chunk-7LWKQIAB.js");
195
+ var import_chunk_XV7OHF4Y = require("./chunk-XV7OHF4Y.js");
196
196
  var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
197
197
  var import_chunk_OIVPX3BR = require("./chunk-OIVPX3BR.js");
198
198
  var import_chunk_CYAS6B5N = require("./chunk-CYAS6B5N.js");
199
199
  var import_chunk_HPVMQFIY = require("./chunk-HPVMQFIY.js");
200
200
  var import_chunk_E23HYCQJ = require("./chunk-E23HYCQJ.js");
201
- var import_chunk_L6D3TLYT = require("./chunk-L6D3TLYT.js");
202
- var import_chunk_ATBCTVYH = require("./chunk-ATBCTVYH.js");
201
+ var import_chunk_NWEZGXDC = require("./chunk-NWEZGXDC.js");
202
+ var import_chunk_FSJWJSTL = require("./chunk-FSJWJSTL.js");
203
203
  var import_chunk_TN5X76G7 = require("./chunk-TN5X76G7.js");
204
204
  var import_chunk_PRGTOMXU = require("./chunk-PRGTOMXU.js");
205
205
  var import_chunk_6TTRTZXU = require("./chunk-6TTRTZXU.js");
206
206
  var import_chunk_DZYINYAA = require("./chunk-DZYINYAA.js");
207
- var import_chunk_ZPHUP2WP = require("./chunk-ZPHUP2WP.js");
208
- var import_chunk_VKYHM7OP = require("./chunk-VKYHM7OP.js");
207
+ var import_chunk_XJU5YCPS = require("./chunk-XJU5YCPS.js");
208
+ var import_chunk_MGEKOGEQ = require("./chunk-MGEKOGEQ.js");
209
209
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
210
210
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
211
211
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
@@ -213,12 +213,12 @@ var import_chunk_J7ZPY2XA = require("./chunk-J7ZPY2XA.js");
213
213
  var import_chunk_4JCVHBYR = require("./chunk-4JCVHBYR.js");
214
214
  var import_chunk_EYVG6XQS = require("./chunk-EYVG6XQS.js");
215
215
  var import_chunk_D4VZUY3O = require("./chunk-D4VZUY3O.js");
216
- var import_chunk_PTPRF66F = require("./chunk-PTPRF66F.js");
217
- var import_chunk_ZZBQ4SXN = require("./chunk-ZZBQ4SXN.js");
216
+ var import_chunk_XW4KLL5P = require("./chunk-XW4KLL5P.js");
217
+ var import_chunk_2TV6ORAD = require("./chunk-2TV6ORAD.js");
218
218
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
219
219
  var import_chunk_DTPFRZWV = require("./chunk-DTPFRZWV.js");
220
- var import_chunk_5RWUY5Y2 = require("./chunk-5RWUY5Y2.js");
221
- var import_chunk_EM2KX64O = require("./chunk-EM2KX64O.js");
220
+ var import_chunk_BCQEZ7NF = require("./chunk-BCQEZ7NF.js");
221
+ var import_chunk_GPJ3FKEA = require("./chunk-GPJ3FKEA.js");
222
222
  var import_chunk_6JE6QGSJ = require("./chunk-6JE6QGSJ.js");
223
223
  var import_chunk_BCQZ6JQE = require("./chunk-BCQZ6JQE.js");
224
224
  var import_chunk_WANK3LVF = require("./chunk-WANK3LVF.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 getCommandWithExecutor_exports = {};
20
20
  __export(getCommandWithExecutor_exports, {
21
- getCommandWithExecutor: () => import_chunk_LRJ4X43J.getCommandWithExecutor
21
+ getCommandWithExecutor: () => import_chunk_CUD726EK.getCommandWithExecutor
22
22
  });
23
23
  module.exports = __toCommonJS(getCommandWithExecutor_exports);
24
- var import_chunk_LRJ4X43J = require("../chunk-LRJ4X43J.js");
25
- var import_chunk_CR3XKUEA = require("../chunk-CR3XKUEA.js");
24
+ var import_chunk_CUD726EK = require("../chunk-CUD726EK.js");
25
+ var import_chunk_BERN76ZI = require("../chunk-BERN76ZI.js");
26
26
  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_ZZBQ4SXN.version
21
+ version: () => import_chunk_2TV6ORAD.version
22
22
  });
23
23
  module.exports = __toCommonJS(getVersionFromPackageJson_exports);
24
- var import_chunk_ZZBQ4SXN = require("../chunk-ZZBQ4SXN.js");
25
- var import_chunk_EM2KX64O = require("../chunk-EM2KX64O.js");
24
+ var import_chunk_2TV6ORAD = require("../chunk-2TV6ORAD.js");
25
+ var import_chunk_GPJ3FKEA = require("../chunk-GPJ3FKEA.js");
26
26
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var isCurrentBinInstalledGlobally_exports = {};
20
20
  __export(isCurrentBinInstalledGlobally_exports, {
21
- isCurrentBinInstalledGlobally: () => import_chunk_CR3XKUEA.isCurrentBinInstalledGlobally
21
+ isCurrentBinInstalledGlobally: () => import_chunk_BERN76ZI.isCurrentBinInstalledGlobally
22
22
  });
23
23
  module.exports = __toCommonJS(isCurrentBinInstalledGlobally_exports);
24
- var import_chunk_CR3XKUEA = require("../chunk-CR3XKUEA.js");
24
+ var import_chunk_BERN76ZI = require("../chunk-BERN76ZI.js");
25
25
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.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_5RWUY5Y2.prismaSchemaWasm,
22
- prismaSchemaWasmVersion: () => import_chunk_5RWUY5Y2.prismaSchemaWasmVersion,
23
- schemaEngineWasmVersion: () => import_chunk_5RWUY5Y2.schemaEngineWasmVersion
21
+ prismaSchemaWasm: () => import_chunk_BCQEZ7NF.prismaSchemaWasm,
22
+ prismaSchemaWasmVersion: () => import_chunk_BCQEZ7NF.prismaSchemaWasmVersion,
23
+ schemaEngineWasmVersion: () => import_chunk_BCQEZ7NF.schemaEngineWasmVersion
24
24
  });
25
25
  module.exports = __toCommonJS(wasm_exports);
26
- var import_chunk_5RWUY5Y2 = require("./chunk-5RWUY5Y2.js");
27
- var import_chunk_EM2KX64O = require("./chunk-EM2KX64O.js");
26
+ var import_chunk_BCQEZ7NF = require("./chunk-BCQEZ7NF.js");
27
+ var import_chunk_GPJ3FKEA = require("./chunk-GPJ3FKEA.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.16.0-dev.6",
3
+ "version": "6.16.0-dev.7",
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",
@@ -42,7 +42,7 @@
42
42
  "fp-ts": "2.16.9",
43
43
  "fs-extra": "11.3.0",
44
44
  "fs-jetpack": "5.1.0",
45
- "global-dirs": "4.0.0",
45
+ "global-directory": "4.0.0",
46
46
  "globby": "11.1.0",
47
47
  "identifier-regex": "1.0.0",
48
48
  "indent-string": "4.0.0",
@@ -76,16 +76,16 @@
76
76
  "@prisma/schema-engine-wasm": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
77
77
  "arg": "5.0.2",
78
78
  "prompts": "2.4.2",
79
- "@prisma/config": "6.16.0-dev.6",
80
- "@prisma/debug": "6.16.0-dev.6",
81
- "@prisma/dmmf": "6.16.0-dev.6",
82
- "@prisma/driver-adapter-utils": "6.16.0-dev.6",
83
- "@prisma/generator": "6.16.0-dev.6",
84
- "@prisma/fetch-engine": "6.16.0-dev.6",
85
- "@prisma/engines": "6.16.0-dev.6",
86
- "@prisma/generator-helper": "6.16.0-dev.6",
87
- "@prisma/get-platform": "6.16.0-dev.6",
88
- "@prisma/schema-files-loader": "6.16.0-dev.6"
79
+ "@prisma/config": "6.16.0-dev.7",
80
+ "@prisma/debug": "6.16.0-dev.7",
81
+ "@prisma/dmmf": "6.16.0-dev.7",
82
+ "@prisma/driver-adapter-utils": "6.16.0-dev.7",
83
+ "@prisma/engines": "6.16.0-dev.7",
84
+ "@prisma/fetch-engine": "6.16.0-dev.7",
85
+ "@prisma/generator": "6.16.0-dev.7",
86
+ "@prisma/get-platform": "6.16.0-dev.7",
87
+ "@prisma/generator-helper": "6.16.0-dev.7",
88
+ "@prisma/schema-files-loader": "6.16.0-dev.7"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "typescript": ">=5.1.0"
@@ -1,296 +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_CR3XKUEA_exports = {};
30
- __export(chunk_CR3XKUEA_exports, {
31
- isCurrentBinInstalledGlobally: () => isCurrentBinInstalledGlobally
32
- });
33
- module.exports = __toCommonJS(chunk_CR3XKUEA_exports);
34
- var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
35
- var import_fs = __toESM(require("fs"));
36
- var require_ini = (0, import_chunk_4VNS5WPM.__commonJS)({
37
- "../../node_modules/.pnpm/ini@2.0.0/node_modules/ini/ini.js"(exports, module2) {
38
- "use strict";
39
- var { hasOwnProperty } = Object.prototype;
40
- var eol = typeof process !== "undefined" && process.platform === "win32" ? "\r\n" : "\n";
41
- var encode = (obj, opt) => {
42
- const children = [];
43
- let out = "";
44
- if (typeof opt === "string") {
45
- opt = {
46
- section: opt,
47
- whitespace: false
48
- };
49
- } else {
50
- opt = opt || /* @__PURE__ */ Object.create(null);
51
- opt.whitespace = opt.whitespace === true;
52
- }
53
- const separator = opt.whitespace ? " = " : "=";
54
- for (const k of Object.keys(obj)) {
55
- const val = obj[k];
56
- if (val && Array.isArray(val)) {
57
- for (const item of val)
58
- out += safe(k + "[]") + separator + safe(item) + "\n";
59
- } else if (val && typeof val === "object")
60
- children.push(k);
61
- else
62
- out += safe(k) + separator + safe(val) + eol;
63
- }
64
- if (opt.section && out.length)
65
- out = "[" + safe(opt.section) + "]" + eol + out;
66
- for (const k of children) {
67
- const nk = dotSplit(k).join("\\.");
68
- const section = (opt.section ? opt.section + "." : "") + nk;
69
- const { whitespace } = opt;
70
- const child = encode(obj[k], {
71
- section,
72
- whitespace
73
- });
74
- if (out.length && child.length)
75
- out += eol;
76
- out += child;
77
- }
78
- return out;
79
- };
80
- var dotSplit = (str) => str.replace(/\1/g, "LITERAL\\1LITERAL").replace(/\\\./g, "").split(/\./).map((part) => part.replace(/\1/g, "\\.").replace(/\2LITERAL\\1LITERAL\2/g, ""));
81
- var decode = (str) => {
82
- const out = /* @__PURE__ */ Object.create(null);
83
- let p = out;
84
- let section = null;
85
- const re = /^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i;
86
- const lines = str.split(/[\r\n]+/g);
87
- for (const line of lines) {
88
- if (!line || line.match(/^\s*[;#]/))
89
- continue;
90
- const match = line.match(re);
91
- if (!match)
92
- continue;
93
- if (match[1] !== void 0) {
94
- section = unsafe(match[1]);
95
- if (section === "__proto__") {
96
- p = /* @__PURE__ */ Object.create(null);
97
- continue;
98
- }
99
- p = out[section] = out[section] || /* @__PURE__ */ Object.create(null);
100
- continue;
101
- }
102
- const keyRaw = unsafe(match[2]);
103
- const isArray = keyRaw.length > 2 && keyRaw.slice(-2) === "[]";
104
- const key = isArray ? keyRaw.slice(0, -2) : keyRaw;
105
- if (key === "__proto__")
106
- continue;
107
- const valueRaw = match[3] ? unsafe(match[4]) : true;
108
- const value = valueRaw === "true" || valueRaw === "false" || valueRaw === "null" ? JSON.parse(valueRaw) : valueRaw;
109
- if (isArray) {
110
- if (!hasOwnProperty.call(p, key))
111
- p[key] = [];
112
- else if (!Array.isArray(p[key]))
113
- p[key] = [p[key]];
114
- }
115
- if (Array.isArray(p[key]))
116
- p[key].push(value);
117
- else
118
- p[key] = value;
119
- }
120
- const remove = [];
121
- for (const k of Object.keys(out)) {
122
- if (!hasOwnProperty.call(out, k) || typeof out[k] !== "object" || Array.isArray(out[k]))
123
- continue;
124
- const parts = dotSplit(k);
125
- let p2 = out;
126
- const l = parts.pop();
127
- const nl = l.replace(/\\\./g, ".");
128
- for (const part of parts) {
129
- if (part === "__proto__")
130
- continue;
131
- if (!hasOwnProperty.call(p2, part) || typeof p2[part] !== "object")
132
- p2[part] = /* @__PURE__ */ Object.create(null);
133
- p2 = p2[part];
134
- }
135
- if (p2 === out && nl === l)
136
- continue;
137
- p2[nl] = out[k];
138
- remove.push(k);
139
- }
140
- for (const del of remove)
141
- delete out[del];
142
- return out;
143
- };
144
- var isQuoted = (val) => val.charAt(0) === '"' && val.slice(-1) === '"' || val.charAt(0) === "'" && val.slice(-1) === "'";
145
- var safe = (val) => typeof val !== "string" || val.match(/[=\r\n]/) || val.match(/^\[/) || val.length > 1 && isQuoted(val) || val !== val.trim() ? JSON.stringify(val) : val.replace(/;/g, "\\;").replace(/#/g, "\\#");
146
- var unsafe = (val, doUnesc) => {
147
- val = (val || "").trim();
148
- if (isQuoted(val)) {
149
- if (val.charAt(0) === "'")
150
- val = val.substr(1, val.length - 2);
151
- try {
152
- val = JSON.parse(val);
153
- } catch (_) {
154
- }
155
- } else {
156
- let esc = false;
157
- let unesc = "";
158
- for (let i = 0, l = val.length; i < l; i++) {
159
- const c = val.charAt(i);
160
- if (esc) {
161
- if ("\\;#".indexOf(c) !== -1)
162
- unesc += c;
163
- else
164
- unesc += "\\" + c;
165
- esc = false;
166
- } else if (";#".indexOf(c) !== -1)
167
- break;
168
- else if (c === "\\")
169
- esc = true;
170
- else
171
- unesc += c;
172
- }
173
- if (esc)
174
- unesc += "\\";
175
- return unesc.trim();
176
- }
177
- return val;
178
- };
179
- module2.exports = {
180
- parse: decode,
181
- decode,
182
- stringify: encode,
183
- encode,
184
- safe,
185
- unsafe
186
- };
187
- }
188
- });
189
- var require_global_dirs = (0, import_chunk_4VNS5WPM.__commonJS)({
190
- "../../node_modules/.pnpm/global-dirs@4.0.0/node_modules/global-dirs/index.js"(exports) {
191
- "use strict";
192
- var path = (0, import_chunk_4VNS5WPM.__require)("path");
193
- var os = (0, import_chunk_4VNS5WPM.__require)("os");
194
- var fs2 = (0, import_chunk_4VNS5WPM.__require)("fs");
195
- var ini = require_ini();
196
- var isWindows = process.platform === "win32";
197
- var readRc = (filePath) => {
198
- try {
199
- return ini.parse(fs2.readFileSync(filePath, "utf8")).prefix;
200
- } catch {
201
- }
202
- };
203
- var getEnvNpmPrefix = () => {
204
- return Object.keys(process.env).reduce((prefix, name) => {
205
- return /^npm_config_prefix$/i.test(name) ? process.env[name] : prefix;
206
- }, void 0);
207
- };
208
- var getGlobalNpmrc = () => {
209
- if (isWindows && process.env.APPDATA) {
210
- return path.join(process.env.APPDATA, "/npm/etc/npmrc");
211
- }
212
- if (process.execPath.includes("/Cellar/node")) {
213
- const homebrewPrefix = process.execPath.slice(0, process.execPath.indexOf("/Cellar/node"));
214
- return path.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
215
- }
216
- if (process.execPath.endsWith("/bin/node")) {
217
- const installDir = path.dirname(path.dirname(process.execPath));
218
- return path.join(installDir, "/etc/npmrc");
219
- }
220
- };
221
- var getDefaultNpmPrefix = () => {
222
- if (isWindows) {
223
- const { APPDATA } = process.env;
224
- return APPDATA ? path.join(APPDATA, "npm") : path.dirname(process.execPath);
225
- }
226
- return path.dirname(path.dirname(process.execPath));
227
- };
228
- var getNpmPrefix = () => {
229
- const envPrefix = getEnvNpmPrefix();
230
- if (envPrefix) {
231
- return envPrefix;
232
- }
233
- const homePrefix = readRc(path.join(os.homedir(), ".npmrc"));
234
- if (homePrefix) {
235
- return homePrefix;
236
- }
237
- if (process.env.PREFIX) {
238
- return process.env.PREFIX;
239
- }
240
- const globalPrefix = readRc(getGlobalNpmrc());
241
- if (globalPrefix) {
242
- return globalPrefix;
243
- }
244
- return getDefaultNpmPrefix();
245
- };
246
- var npmPrefix = path.resolve(getNpmPrefix());
247
- var getYarnWindowsDirectory = () => {
248
- if (isWindows && process.env.LOCALAPPDATA) {
249
- const dir = path.join(process.env.LOCALAPPDATA, "Yarn");
250
- if (fs2.existsSync(dir)) {
251
- return dir;
252
- }
253
- }
254
- return false;
255
- };
256
- var getYarnPrefix = () => {
257
- if (process.env.PREFIX) {
258
- return process.env.PREFIX;
259
- }
260
- const windowsPrefix = getYarnWindowsDirectory();
261
- if (windowsPrefix) {
262
- return windowsPrefix;
263
- }
264
- const configPrefix = path.join(os.homedir(), ".config/yarn");
265
- if (fs2.existsSync(configPrefix)) {
266
- return configPrefix;
267
- }
268
- const homePrefix = path.join(os.homedir(), ".yarn-config");
269
- if (fs2.existsSync(homePrefix)) {
270
- return homePrefix;
271
- }
272
- return npmPrefix;
273
- };
274
- exports.npm = {};
275
- exports.npm.prefix = npmPrefix;
276
- exports.npm.packages = path.join(npmPrefix, isWindows ? "node_modules" : "lib/node_modules");
277
- exports.npm.binaries = isWindows ? npmPrefix : path.join(npmPrefix, "bin");
278
- var yarnPrefix = path.resolve(getYarnPrefix());
279
- exports.yarn = {};
280
- exports.yarn.prefix = yarnPrefix;
281
- exports.yarn.packages = path.join(yarnPrefix, getYarnWindowsDirectory() ? "Data/global/node_modules" : "global/node_modules");
282
- exports.yarn.binaries = path.join(exports.yarn.packages, ".bin");
283
- }
284
- });
285
- var import_global_dirs = (0, import_chunk_4VNS5WPM.__toESM)(require_global_dirs());
286
- function isCurrentBinInstalledGlobally() {
287
- try {
288
- const realPrismaPath = import_fs.default.realpathSync(process.argv[1]);
289
- const usingGlobalNpm = realPrismaPath.indexOf(import_fs.default.realpathSync(import_global_dirs.default.npm.packages)) === 0;
290
- if (usingGlobalNpm) {
291
- return "npm";
292
- }
293
- } catch (e) {
294
- }
295
- return false;
296
- }