@prisma/internals 6.3.0-integration-engines-6-3-0-6-integration-5-22-0-with-simplified-typeinfo-c7d99d9db5129d8b35986b8518c7f10bc8580e03.1 → 6.3.0-integration-simpler-typeinfo-query.1

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 (99) hide show
  1. package/dist/{chunk-3DMEILBC.js → chunk-2DXAGCPS.js} +11 -11
  2. package/dist/{chunk-4B7QW7H5.js → chunk-2WJPHJ2I.js} +5 -5
  3. package/dist/{chunk-MGZOEY6N.js → chunk-3U2ANLD3.js} +6 -6
  4. package/dist/{chunk-MPJLR4LI.js → chunk-44JHENE6.js} +41 -14
  5. package/dist/{chunk-KQOJB3ZW.js → chunk-4NFLAUKD.js} +70 -70
  6. package/dist/chunk-4RWCRJYD.js +166 -0
  7. package/dist/{chunk-5MCWLJSR.js → chunk-5I4BOTBV.js} +9 -3
  8. package/dist/{chunk-ITRA3ERO.js → chunk-5R7AZFMV.js} +5 -5
  9. package/dist/{chunk-LDTCWMJN.js → chunk-5UJZARUY.js} +17 -17
  10. package/dist/{chunk-E2GS2B3X.js → chunk-67KWF6KB.js} +5 -5
  11. package/dist/{chunk-ZZLZJFQD.js → chunk-B44XJG7K.js} +5 -5
  12. package/dist/{chunk-6HMDWGVB.js → chunk-CKVVVLEH.js} +8 -8
  13. package/dist/{chunk-UWA3O2GR.js → chunk-COFXY6NH.js} +41 -14
  14. package/dist/chunk-D4MCOTL5.js +122 -0
  15. package/dist/{chunk-3M6SPBPE.js → chunk-DFG3425X.js} +16 -16
  16. package/dist/chunk-FPHZVRV4.js +110 -0
  17. package/dist/{chunk-S57RMXZW.js → chunk-FTS2IEWX.js} +5 -5
  18. package/dist/chunk-G7LL2H2O.js +54 -0
  19. package/dist/{chunk-25RJ7YTB.js → chunk-H3T4L34H.js} +83 -88
  20. package/dist/{chunk-3BND5XB4.js → chunk-HMGEWJDY.js} +47 -232
  21. package/dist/{chunk-77IC3DNO.js → chunk-IABMG3F4.js} +5 -5
  22. package/dist/{chunk-CXEMRKV4.js → chunk-IAEMHQAC.js} +8 -8
  23. package/dist/{chunk-CZDIXJEO.js → chunk-J3JE5NVO.js} +32 -56
  24. package/dist/{chunk-N6K7M2HZ.js → chunk-J4MA2JIK.js} +5 -5
  25. package/dist/{chunk-FQ3NGUFC.js → chunk-JBUUTZQL.js} +15 -15
  26. package/dist/chunk-JMZHUHCC.js +177 -0
  27. package/dist/{chunk-D6NVMO5B.js → chunk-KNNIRRTO.js} +5 -5
  28. package/dist/{chunk-PC7HPZQJ.js → chunk-KPVPQQGU.js} +5 -5
  29. package/dist/{chunk-PJLZHXCV.js → chunk-KROMVQBD.js} +9 -9
  30. package/dist/{chunk-Z74VDPVS.js → chunk-LXIE6UJ2.js} +961 -79
  31. package/dist/{chunk-NZDTAI2U.js → chunk-MUJIYA44.js} +5 -5
  32. package/dist/{chunk-CGFXOUVQ.js → chunk-OHBFHT5Q.js} +15 -15
  33. package/dist/{chunk-UPIULDLZ.js → chunk-OSOXVAZB.js} +11 -11
  34. package/dist/chunk-RQPDQSHK.js +1429 -0
  35. package/dist/{chunk-2XRDQCIA.js → chunk-S4LINK5Y.js} +5 -5
  36. package/dist/{chunk-D3VAE4HY.js → chunk-UR3LUZY3.js} +17 -17
  37. package/dist/{chunk-EKBX4J6O.js → chunk-V2VWODV3.js} +5 -5
  38. package/dist/{chunk-FT32HRUC.js → chunk-VFU3I6P6.js} +16 -16
  39. package/dist/{chunk-TR2BJI77.js → chunk-VJQK3LHU.js} +185 -74
  40. package/dist/{chunk-V2ZF7ETH.js → chunk-WCRKL55L.js} +7 -7
  41. package/dist/{chunk-C47SCASR.js → chunk-WMIBAVWZ.js} +5 -5
  42. package/dist/{chunk-DRPRJIUE.js → chunk-WYTN2XGW.js} +5 -5
  43. package/dist/{chunk-QTXYAZFX.js → chunk-XLYQ6PQW.js} +17 -17
  44. package/dist/{chunk-VRT7T6MF.js → chunk-YDZVEVUG.js} +73 -73
  45. package/dist/{chunk-ZKAW5JSN.js → chunk-ZA3RMW2P.js} +8 -5
  46. package/dist/cli/checkUnsupportedDataProxy.js +40 -41
  47. package/dist/cli/getSchema.js +45 -46
  48. package/dist/cli/hashes.js +40 -41
  49. package/dist/engine-commands/errorHelpers.js +4 -4
  50. package/dist/engine-commands/formatSchema.js +39 -40
  51. package/dist/engine-commands/getConfig.js +13 -13
  52. package/dist/engine-commands/getDmmf.js +10 -10
  53. package/dist/engine-commands/getEngineVersion.js +8 -8
  54. package/dist/engine-commands/getEnginesMetaInfo.js +10 -10
  55. package/dist/engine-commands/index.js +50 -51
  56. package/dist/engine-commands/lintSchema.js +8 -8
  57. package/dist/engine-commands/mergeSchemas.js +10 -10
  58. package/dist/engine-commands/queryEngineCommons.js +7 -7
  59. package/dist/engine-commands/relativizePathInPSLError.js +2 -2
  60. package/dist/engine-commands/validate.js +10 -10
  61. package/dist/errorReporting.js +6 -6
  62. package/dist/get-generators/generatorResolvers/generatorResolvers.js +39 -40
  63. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +3 -3
  64. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +4 -4
  65. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +39 -40
  66. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.d.ts +9 -0
  67. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.js +132 -0
  68. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +3 -3
  69. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +40 -41
  70. package/dist/get-generators/getGenerators.js +42 -43
  71. package/dist/get-generators/utils/getBinaryPathsByVersion.js +3 -3
  72. package/dist/getPackedPackage.js +2 -2
  73. package/dist/index.d.ts +0 -1
  74. package/dist/index.js +85 -87
  75. package/dist/{multipart-parser-32AROPTR.js → multipart-parser-LCETWFPE.js} +6 -9
  76. package/dist/resolveBinary.js +7 -7
  77. package/dist/schemaEngineCommands.js +8 -8
  78. package/dist/sendPanic.js +39 -40
  79. package/dist/tracing/types.d.ts +16 -26
  80. package/dist/utils/cloudflareD1.js +3 -3
  81. package/dist/utils/getCommandWithExecutor.js +3 -3
  82. package/dist/utils/getEnvPaths.js +39 -40
  83. package/dist/utils/getGitHubIssueUrl.js +4 -4
  84. package/dist/utils/getVersionFromPackageJson.js +3 -3
  85. package/dist/utils/handleEngineLoadingErrors.js +3 -3
  86. package/dist/utils/handlePanic.js +39 -40
  87. package/dist/utils/isCurrentBinInstalledGlobally.d.ts +1 -1
  88. package/dist/utils/isCurrentBinInstalledGlobally.js +2 -2
  89. package/dist/utils/load.js +4 -4
  90. package/dist/utils/loadEnvFile.js +39 -40
  91. package/dist/utils/tryLoadEnvs.js +5 -5
  92. package/dist/wasm.js +4 -4
  93. package/package.json +12 -12
  94. package/dist/chunk-BONFK27U.js +0 -47
  95. package/dist/chunk-PPCNLYSB.js +0 -47
  96. package/dist/cli/getTypescriptVersion.d.ts +0 -1
  97. package/dist/cli/getTypescriptVersion.js +0 -25
  98. package/dist/typescript-AILDXN3I.js +0 -205230
  99. package/dist/typescript-WN4QH2CP.js +0 -205192
@@ -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_3BND5XB4_exports = {};
30
- __export(chunk_3BND5XB4_exports, {
29
+ var chunk_HMGEWJDY_exports = {};
30
+ __export(chunk_HMGEWJDY_exports, {
31
31
  exists: () => exists,
32
32
  loadEnv: () => loadEnv,
33
33
  pathsEqual: () => pathsEqual,
34
34
  tryLoadEnvs: () => tryLoadEnvs
35
35
  });
36
- module.exports = __toCommonJS(chunk_3BND5XB4_exports);
36
+ module.exports = __toCommonJS(chunk_HMGEWJDY_exports);
37
37
  var import_chunk_T2PM5TKT = require("./chunk-T2PM5TKT.js");
38
38
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
39
39
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
@@ -41,17 +41,17 @@ var import_debug = __toESM(require("@prisma/debug"));
41
41
  var import_fs = __toESM(require("fs"));
42
42
  var import_path = __toESM(require("path"));
43
43
  var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
44
- "../../node_modules/.pnpm/dotenv@16.4.7/node_modules/dotenv/package.json"(exports, module2) {
44
+ "../../node_modules/.pnpm/dotenv@16.0.3/node_modules/dotenv/package.json"(exports, module2) {
45
45
  module2.exports = {
46
46
  name: "dotenv",
47
- version: "16.4.7",
47
+ version: "16.0.3",
48
48
  description: "Loads environment variables from .env file",
49
49
  main: "lib/main.js",
50
50
  types: "lib/main.d.ts",
51
51
  exports: {
52
52
  ".": {
53
- types: "./lib/main.d.ts",
54
53
  require: "./lib/main.js",
54
+ types: "./lib/main.d.ts",
55
55
  default: "./lib/main.js"
56
56
  },
57
57
  "./config": "./config.js",
@@ -65,9 +65,9 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
65
65
  scripts: {
66
66
  "dts-check": "tsc --project tests/types/tsconfig.json",
67
67
  lint: "standard",
68
+ "lint-readme": "standard-markdown",
68
69
  pretest: "npm run lint && npm run dts-check",
69
- test: "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
70
- "test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=lcov",
70
+ test: "tap tests/*.js --100 -Rspec",
71
71
  prerelease: "npm test",
72
72
  release: "standard-version"
73
73
  },
@@ -75,7 +75,6 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
75
75
  type: "git",
76
76
  url: "git://github.com/motdotla/dotenv.git"
77
77
  },
78
- funding: "https://dotenvx.com",
79
78
  keywords: [
80
79
  "dotenv",
81
80
  "env",
@@ -88,30 +87,29 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
88
87
  readmeFilename: "README.md",
89
88
  license: "BSD-2-Clause",
90
89
  devDependencies: {
91
- "@types/node": "^18.11.3",
92
- decache: "^4.6.2",
93
- sinon: "^14.0.1",
94
- standard: "^17.0.0",
95
- "standard-version": "^9.5.0",
96
- tap: "^19.2.0",
97
- typescript: "^4.8.4"
90
+ "@types/node": "^17.0.9",
91
+ decache: "^4.6.1",
92
+ dtslint: "^3.7.0",
93
+ sinon: "^12.0.1",
94
+ standard: "^16.0.4",
95
+ "standard-markdown": "^7.1.0",
96
+ "standard-version": "^9.3.2",
97
+ tap: "^15.1.6",
98
+ tar: "^6.1.11",
99
+ typescript: "^4.5.4"
98
100
  },
99
101
  engines: {
100
102
  node: ">=12"
101
- },
102
- browser: {
103
- fs: false
104
103
  }
105
104
  };
106
105
  }
107
106
  });
108
107
  var require_main = (0, import_chunk_WWAWV7DQ.__commonJS)({
109
- "../../node_modules/.pnpm/dotenv@16.4.7/node_modules/dotenv/lib/main.js"(exports, module2) {
108
+ "../../node_modules/.pnpm/dotenv@16.0.3/node_modules/dotenv/lib/main.js"(exports, module2) {
110
109
  "use strict";
111
110
  var fs2 = (0, import_chunk_WWAWV7DQ.__require)("fs");
112
111
  var path2 = (0, import_chunk_WWAWV7DQ.__require)("path");
113
112
  var os = (0, import_chunk_WWAWV7DQ.__require)("os");
114
- var crypto = (0, import_chunk_WWAWV7DQ.__require)("crypto");
115
113
  var packageJson = require_package();
116
114
  var version = packageJson.version;
117
115
  var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;
@@ -134,240 +132,57 @@ var require_main = (0, import_chunk_WWAWV7DQ.__commonJS)({
134
132
  }
135
133
  return obj;
136
134
  }
137
- function _parseVault(options) {
138
- const vaultPath = _vaultPath(options);
139
- const result = DotenvModule.configDotenv({ path: vaultPath });
140
- if (!result.parsed) {
141
- const err = new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`);
142
- err.code = "MISSING_DATA";
143
- throw err;
144
- }
145
- const keys = _dotenvKey(options).split(",");
146
- const length = keys.length;
147
- let decrypted;
148
- for (let i = 0; i < length; i++) {
149
- try {
150
- const key = keys[i].trim();
151
- const attrs = _instructions(result, key);
152
- decrypted = DotenvModule.decrypt(attrs.ciphertext, attrs.key);
153
- break;
154
- } catch (error) {
155
- if (i + 1 >= length) {
156
- throw error;
157
- }
158
- }
159
- }
160
- return DotenvModule.parse(decrypted);
161
- }
162
135
  function _log(message) {
163
- console.log(`[dotenv@${version}][INFO] ${message}`);
164
- }
165
- function _warn(message) {
166
- console.log(`[dotenv@${version}][WARN] ${message}`);
167
- }
168
- function _debug(message) {
169
136
  console.log(`[dotenv@${version}][DEBUG] ${message}`);
170
137
  }
171
- function _dotenvKey(options) {
172
- if (options && options.DOTENV_KEY && options.DOTENV_KEY.length > 0) {
173
- return options.DOTENV_KEY;
174
- }
175
- if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) {
176
- return process.env.DOTENV_KEY;
177
- }
178
- return "";
179
- }
180
- function _instructions(result, dotenvKey) {
181
- let uri;
182
- try {
183
- uri = new URL(dotenvKey);
184
- } catch (error) {
185
- if (error.code === "ERR_INVALID_URL") {
186
- const err = new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");
187
- err.code = "INVALID_DOTENV_KEY";
188
- throw err;
189
- }
190
- throw error;
191
- }
192
- const key = uri.password;
193
- if (!key) {
194
- const err = new Error("INVALID_DOTENV_KEY: Missing key part");
195
- err.code = "INVALID_DOTENV_KEY";
196
- throw err;
197
- }
198
- const environment = uri.searchParams.get("environment");
199
- if (!environment) {
200
- const err = new Error("INVALID_DOTENV_KEY: Missing environment part");
201
- err.code = "INVALID_DOTENV_KEY";
202
- throw err;
203
- }
204
- const environmentKey = `DOTENV_VAULT_${environment.toUpperCase()}`;
205
- const ciphertext = result.parsed[environmentKey];
206
- if (!ciphertext) {
207
- const err = new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${environmentKey} in your .env.vault file.`);
208
- err.code = "NOT_FOUND_DOTENV_ENVIRONMENT";
209
- throw err;
210
- }
211
- return { ciphertext, key };
212
- }
213
- function _vaultPath(options) {
214
- let possibleVaultPath = null;
215
- if (options && options.path && options.path.length > 0) {
216
- if (Array.isArray(options.path)) {
217
- for (const filepath of options.path) {
218
- if (fs2.existsSync(filepath)) {
219
- possibleVaultPath = filepath.endsWith(".vault") ? filepath : `${filepath}.vault`;
220
- }
221
- }
222
- } else {
223
- possibleVaultPath = options.path.endsWith(".vault") ? options.path : `${options.path}.vault`;
224
- }
225
- } else {
226
- possibleVaultPath = path2.resolve(process.cwd(), ".env.vault");
227
- }
228
- if (fs2.existsSync(possibleVaultPath)) {
229
- return possibleVaultPath;
230
- }
231
- return null;
232
- }
233
138
  function _resolveHome(envPath) {
234
139
  return envPath[0] === "~" ? path2.join(os.homedir(), envPath.slice(1)) : envPath;
235
140
  }
236
- function _configVault(options) {
237
- _log("Loading env from encrypted .env.vault");
238
- const parsed = DotenvModule._parseVault(options);
239
- let processEnv = process.env;
240
- if (options && options.processEnv != null) {
241
- processEnv = options.processEnv;
242
- }
243
- DotenvModule.populate(processEnv, parsed, options);
244
- return { parsed };
245
- }
246
- function configDotenv(options) {
247
- const dotenvPath = path2.resolve(process.cwd(), ".env");
141
+ function config(options) {
142
+ let dotenvPath = path2.resolve(process.cwd(), ".env");
248
143
  let encoding = "utf8";
249
144
  const debug2 = Boolean(options && options.debug);
250
- if (options && options.encoding) {
251
- encoding = options.encoding;
252
- } else {
253
- if (debug2) {
254
- _debug("No encoding is specified. UTF-8 is used by default");
255
- }
256
- }
257
- let optionPaths = [dotenvPath];
258
- if (options && options.path) {
259
- if (!Array.isArray(options.path)) {
260
- optionPaths = [_resolveHome(options.path)];
261
- } else {
262
- optionPaths = [];
263
- for (const filepath of options.path) {
264
- optionPaths.push(_resolveHome(filepath));
265
- }
145
+ const override = Boolean(options && options.override);
146
+ if (options) {
147
+ if (options.path != null) {
148
+ dotenvPath = _resolveHome(options.path);
266
149
  }
267
- }
268
- let lastError;
269
- const parsedAll = {};
270
- for (const path3 of optionPaths) {
271
- try {
272
- const parsed = DotenvModule.parse(fs2.readFileSync(path3, { encoding }));
273
- DotenvModule.populate(parsedAll, parsed, options);
274
- } catch (e) {
275
- if (debug2) {
276
- _debug(`Failed to load ${path3} ${e.message}`);
277
- }
278
- lastError = e;
150
+ if (options.encoding != null) {
151
+ encoding = options.encoding;
279
152
  }
280
153
  }
281
- let processEnv = process.env;
282
- if (options && options.processEnv != null) {
283
- processEnv = options.processEnv;
284
- }
285
- DotenvModule.populate(processEnv, parsedAll, options);
286
- if (lastError) {
287
- return { parsed: parsedAll, error: lastError };
288
- } else {
289
- return { parsed: parsedAll };
290
- }
291
- }
292
- function config(options) {
293
- if (_dotenvKey(options).length === 0) {
294
- return DotenvModule.configDotenv(options);
295
- }
296
- const vaultPath = _vaultPath(options);
297
- if (!vaultPath) {
298
- _warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}. Did you forget to build it?`);
299
- return DotenvModule.configDotenv(options);
300
- }
301
- return DotenvModule._configVault(options);
302
- }
303
- function decrypt(encrypted, keyStr) {
304
- const key = Buffer.from(keyStr.slice(-64), "hex");
305
- let ciphertext = Buffer.from(encrypted, "base64");
306
- const nonce = ciphertext.subarray(0, 12);
307
- const authTag = ciphertext.subarray(-16);
308
- ciphertext = ciphertext.subarray(12, -16);
309
154
  try {
310
- const aesgcm = crypto.createDecipheriv("aes-256-gcm", key, nonce);
311
- aesgcm.setAuthTag(authTag);
312
- return `${aesgcm.update(ciphertext)}${aesgcm.final()}`;
313
- } catch (error) {
314
- const isRange = error instanceof RangeError;
315
- const invalidKeyLength = error.message === "Invalid key length";
316
- const decryptionFailed = error.message === "Unsupported state or unable to authenticate data";
317
- if (isRange || invalidKeyLength) {
318
- const err = new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");
319
- err.code = "INVALID_DOTENV_KEY";
320
- throw err;
321
- } else if (decryptionFailed) {
322
- const err = new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");
323
- err.code = "DECRYPTION_FAILED";
324
- throw err;
325
- } else {
326
- throw error;
327
- }
328
- }
329
- }
330
- function populate(processEnv, parsed, options = {}) {
331
- const debug2 = Boolean(options && options.debug);
332
- const override = Boolean(options && options.override);
333
- if (typeof parsed !== "object") {
334
- const err = new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");
335
- err.code = "OBJECT_REQUIRED";
336
- throw err;
337
- }
338
- for (const key of Object.keys(parsed)) {
339
- if (Object.prototype.hasOwnProperty.call(processEnv, key)) {
340
- if (override === true) {
341
- processEnv[key] = parsed[key];
342
- }
343
- if (debug2) {
155
+ const parsed = DotenvModule.parse(fs2.readFileSync(dotenvPath, { encoding }));
156
+ Object.keys(parsed).forEach(function(key) {
157
+ if (!Object.prototype.hasOwnProperty.call(process.env, key)) {
158
+ process.env[key] = parsed[key];
159
+ } else {
344
160
  if (override === true) {
345
- _debug(`"${key}" is already defined and WAS overwritten`);
346
- } else {
347
- _debug(`"${key}" is already defined and was NOT overwritten`);
161
+ process.env[key] = parsed[key];
162
+ }
163
+ if (debug2) {
164
+ if (override === true) {
165
+ _log(`"${key}" is already defined in \`process.env\` and WAS overwritten`);
166
+ } else {
167
+ _log(`"${key}" is already defined in \`process.env\` and was NOT overwritten`);
168
+ }
348
169
  }
349
170
  }
350
- } else {
351
- processEnv[key] = parsed[key];
171
+ });
172
+ return { parsed };
173
+ } catch (e) {
174
+ if (debug2) {
175
+ _log(`Failed to load ${dotenvPath} ${e.message}`);
352
176
  }
177
+ return { error: e };
353
178
  }
354
179
  }
355
180
  var DotenvModule = {
356
- configDotenv,
357
- _configVault,
358
- _parseVault,
359
181
  config,
360
- decrypt,
361
- parse,
362
- populate
182
+ parse
363
183
  };
364
- module2.exports.configDotenv = DotenvModule.configDotenv;
365
- module2.exports._configVault = DotenvModule._configVault;
366
- module2.exports._parseVault = DotenvModule._parseVault;
367
184
  module2.exports.config = DotenvModule.config;
368
- module2.exports.decrypt = DotenvModule.decrypt;
369
185
  module2.exports.parse = DotenvModule.parse;
370
- module2.exports.populate = DotenvModule.populate;
371
186
  module2.exports = DotenvModule;
372
187
  }
373
188
  });
@@ -16,17 +16,17 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_77IC3DNO_exports = {};
20
- __export(chunk_77IC3DNO_exports, {
19
+ var chunk_IABMG3F4_exports = {};
20
+ __export(chunk_IABMG3F4_exports, {
21
21
  runPackageCmd: () => runPackageCmd
22
22
  });
23
- module.exports = __toCommonJS(chunk_77IC3DNO_exports);
24
- var import_chunk_MGZOEY6N = require("./chunk-MGZOEY6N.js");
23
+ module.exports = __toCommonJS(chunk_IABMG3F4_exports);
24
+ var import_chunk_3U2ANLD3 = require("./chunk-3U2ANLD3.js");
25
25
  var import_chunk_7XNZDY2V = require("./chunk-7XNZDY2V.js");
26
26
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
27
27
  var import_execa = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_7XNZDY2V.require_execa)());
28
28
  async function runPackageCmd(cwd, cmd, ...args) {
29
- await import_execa.default.command(await (0, import_chunk_MGZOEY6N.getPackageCmd)(cwd, cmd, ...args), {
29
+ await import_execa.default.command(await (0, import_chunk_3U2ANLD3.getPackageCmd)(cwd, cmd, ...args), {
30
30
  // we skip this because we are already in the generator
31
31
  env: { PRISMA_SKIP_POSTINSTALL_GENERATE: "true" },
32
32
  stdio: "inherit",
@@ -26,17 +26,17 @@ 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_CXEMRKV4_exports = {};
30
- __export(chunk_CXEMRKV4_exports, {
29
+ var chunk_IAEMHQAC_exports = {};
30
+ __export(chunk_IAEMHQAC_exports, {
31
31
  createDebugErrorType: () => createDebugErrorType,
32
32
  createSchemaValidationError: () => createSchemaValidationError,
33
33
  parseQueryEngineError: () => parseQueryEngineError,
34
34
  unlinkTempDatamodelPath: () => unlinkTempDatamodelPath
35
35
  });
36
- module.exports = __toCommonJS(chunk_CXEMRKV4_exports);
37
- var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
36
+ module.exports = __toCommonJS(chunk_IAEMHQAC_exports);
37
+ var import_chunk_WMIBAVWZ = require("./chunk-WMIBAVWZ.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
- var import_chunk_25RJ7YTB = require("./chunk-25RJ7YTB.js");
39
+ var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
40
40
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
41
41
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
42
42
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
@@ -71,13 +71,13 @@ function parseQueryEngineError({ errorOutput, reason }) {
71
71
  () => ({ _tag: "unparsed", message: errorOutput, reason })
72
72
  ),
73
73
  (0, import_chunk_7MD6344A.map)((errorOutputAsJSON) => {
74
- const defaultMessage = (0, import_chunk_PG5FDKSF.red)((0, import_chunk_PG5FDKSF.bold)((0, import_chunk_C47SCASR.relativizePathInPSLError)(errorOutputAsJSON.message)));
75
- const getConfigErrorInit = (0, import_chunk_25RJ7YTB.z)(errorOutputAsJSON).with({ error_code: "P1012" }, (eJSON) => {
74
+ const defaultMessage = (0, import_chunk_PG5FDKSF.red)((0, import_chunk_PG5FDKSF.bold)((0, import_chunk_WMIBAVWZ.relativizePathInPSLError)(errorOutputAsJSON.message)));
75
+ const getConfigErrorInit = (0, import_chunk_H3T4L34H.$)(errorOutputAsJSON).with({ error_code: "P1012" }, (eJSON) => {
76
76
  return {
77
77
  reason: createSchemaValidationError(reason),
78
78
  errorCode: eJSON.error_code
79
79
  };
80
- }).with({ error_code: import_chunk_25RJ7YTB.N.string }, (eJSON) => {
80
+ }).with({ error_code: import_chunk_H3T4L34H.N.string }, (eJSON) => {
81
81
  return {
82
82
  reason,
83
83
  errorCode: eJSON.error_code