@prisma/internals 6.4.0-dev.13 → 6.4.0-dev.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 (36) hide show
  1. package/dist/{chunk-KF2J6J3M.js → chunk-37UXFHYR.js} +5 -5
  2. package/dist/{chunk-VG2UXESE.js → chunk-4XJWT4CI.js} +5 -5
  3. package/dist/{chunk-IRYJZDWL.js → chunk-5UBNMSJR.js} +18 -18
  4. package/dist/{chunk-RL3K4V2J.js → chunk-B2T5HDW7.js} +15 -29
  5. package/dist/{chunk-JP3G4WQ5.js → chunk-DNI5H6FJ.js} +8 -8
  6. package/dist/{chunk-ZO4UHTLN.js → chunk-FZMAKPFX.js} +8 -8
  7. package/dist/{chunk-F24DSXIJ.js → chunk-IXUYQYQE.js} +34 -34
  8. package/dist/{chunk-UU3G3WPI.js → chunk-KNSZOF5V.js} +8 -8
  9. package/dist/{chunk-HNYCOLOO.js → chunk-LCXA3OCR.js} +4 -4
  10. package/dist/{chunk-TIIEX7ES.js → chunk-LVNJYWV5.js} +7 -7
  11. package/dist/{chunk-LP6BDB4L.js → chunk-MTSY2PFV.js} +5 -5
  12. package/dist/{chunk-IKNQ7LDF.js → chunk-Z5WTKM2B.js} +5 -5
  13. package/dist/cli/checkUnsupportedDataProxy.js +13 -13
  14. package/dist/cli/getSchema.js +18 -18
  15. package/dist/cli/hashes.js +13 -13
  16. package/dist/engine-commands/errorHelpers.js +4 -4
  17. package/dist/engine-commands/formatSchema.js +12 -12
  18. package/dist/engine-commands/getConfig.js +10 -10
  19. package/dist/engine-commands/getDmmf.js +7 -7
  20. package/dist/engine-commands/index.js +21 -21
  21. package/dist/engine-commands/lintSchema.js +8 -8
  22. package/dist/engine-commands/mergeSchemas.js +7 -7
  23. package/dist/engine-commands/validate.js +7 -7
  24. package/dist/get-generators/generatorResolvers/generatorResolvers.js +12 -12
  25. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +12 -12
  26. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +13 -13
  27. package/dist/get-generators/getGenerators.js +15 -15
  28. package/dist/getPackedPackage.js +2 -2
  29. package/dist/index.js +41 -41
  30. package/dist/sendPanic.js +12 -12
  31. package/dist/utils/getEnvPaths.js +12 -12
  32. package/dist/utils/getVersionFromPackageJson.js +3 -3
  33. package/dist/utils/handlePanic.js +12 -12
  34. package/dist/utils/loadEnvFile.js +12 -12
  35. package/dist/wasm.js +4 -4
  36. package/package.json +7 -7
@@ -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_KF2J6J3M_exports = {};
30
- __export(chunk_KF2J6J3M_exports, {
29
+ var chunk_37UXFHYR_exports = {};
30
+ __export(chunk_37UXFHYR_exports, {
31
31
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
32
32
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
33
33
  wasm_exports: () => wasm_exports
34
34
  });
35
- module.exports = __toCommonJS(chunk_KF2J6J3M_exports);
36
- var import_chunk_HNYCOLOO = require("./chunk-HNYCOLOO.js");
35
+ module.exports = __toCommonJS(chunk_37UXFHYR_exports);
36
+ var import_chunk_LCXA3OCR = require("./chunk-LCXA3OCR.js");
37
37
  var import_chunk_HOZFIXMD = require("./chunk-HOZFIXMD.js");
38
38
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
39
39
  var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
@@ -42,6 +42,6 @@ var wasm_exports = {};
42
42
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
43
43
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion
44
44
  });
45
- var { dependencies } = (0, import_chunk_HNYCOLOO.require_package)();
45
+ var { dependencies } = (0, import_chunk_LCXA3OCR.require_package)();
46
46
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
47
47
  globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_HOZFIXMD.WasmPanicRegistry();
@@ -16,11 +16,11 @@ 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_VG2UXESE_exports = {};
20
- __export(chunk_VG2UXESE_exports, {
19
+ var chunk_4XJWT4CI_exports = {};
20
+ __export(chunk_4XJWT4CI_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_VG2UXESE_exports);
24
- var import_chunk_HNYCOLOO = require("./chunk-HNYCOLOO.js");
25
- var packageJson = (0, import_chunk_HNYCOLOO.require_package)();
23
+ module.exports = __toCommonJS(chunk_4XJWT4CI_exports);
24
+ var import_chunk_LCXA3OCR = require("./chunk-LCXA3OCR.js");
25
+ var packageJson = (0, import_chunk_LCXA3OCR.require_package)();
26
26
  var version = packageJson.version;
@@ -26,8 +26,8 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS2 = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_IRYJZDWL_exports = {};
30
- __export2(chunk_IRYJZDWL_exports, {
29
+ var chunk_5UBNMSJR_exports = {};
30
+ __export2(chunk_5UBNMSJR_exports, {
31
31
  checkTypeScriptVersion: () => checkTypeScriptVersion,
32
32
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
33
33
  debug: () => debug5,
@@ -55,7 +55,7 @@ __export2(chunk_IRYJZDWL_exports, {
55
55
  sendPanic: () => sendPanic,
56
56
  skipIndex: () => skipIndex
57
57
  });
58
- module.exports = __toCommonJS2(chunk_IRYJZDWL_exports);
58
+ module.exports = __toCommonJS2(chunk_5UBNMSJR_exports);
59
59
  var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
60
60
  var import_chunk_IPKE37QC = require("./chunk-IPKE37QC.js");
61
61
  var import_chunk_PIPE5DSU = require("./chunk-PIPE5DSU.js");
@@ -95,7 +95,7 @@ var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
95
95
  var import_chunk_635TMBAP = require("./chunk-635TMBAP.js");
96
96
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
97
97
  var import_chunk_KQOJB3ZW = require("./chunk-KQOJB3ZW.js");
98
- var import_chunk_RL3K4V2J = require("./chunk-RL3K4V2J.js");
98
+ var import_chunk_B2T5HDW7 = require("./chunk-B2T5HDW7.js");
99
99
  var import_chunk_YXD4CJDK = require("./chunk-YXD4CJDK.js");
100
100
  var import_chunk_53LS3WUO = require("./chunk-53LS3WUO.js");
101
101
  var import_chunk_AZNLB67U = require("./chunk-AZNLB67U.js");
@@ -439,7 +439,7 @@ var require_readdir_glob = (0, import_chunk_WWAWV7DQ.__commonJS)({
439
439
  module2.exports = readdirGlob;
440
440
  var fs8 = (0, import_chunk_WWAWV7DQ.__require)("fs");
441
441
  var { EventEmitter } = (0, import_chunk_WWAWV7DQ.__require)("events");
442
- var { Minimatch } = (0, import_chunk_RL3K4V2J.require_minimatch)();
442
+ var { Minimatch } = (0, import_chunk_B2T5HDW7.require_minimatch)();
443
443
  var { resolve } = (0, import_chunk_WWAWV7DQ.__require)("path");
444
444
  function readdir(dir2, strict) {
445
445
  return new Promise((resolve2, reject2) => {
@@ -2850,7 +2850,7 @@ var require_stream_writable = (0, import_chunk_WWAWV7DQ.__commonJS)({
2850
2850
  var Duplex;
2851
2851
  Writable.WritableState = WritableState;
2852
2852
  var util = Object.create(require_util());
2853
- util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
2853
+ util.inherits = (0, import_chunk_B2T5HDW7.require_inherits)();
2854
2854
  var internalUtil = {
2855
2855
  deprecate: require_node()
2856
2856
  };
@@ -3288,7 +3288,7 @@ var require_stream_duplex = (0, import_chunk_WWAWV7DQ.__commonJS)({
3288
3288
  };
3289
3289
  module2.exports = Duplex;
3290
3290
  var util = Object.create(require_util());
3291
- util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
3291
+ util.inherits = (0, import_chunk_B2T5HDW7.require_inherits)();
3292
3292
  var Readable = require_stream_readable();
3293
3293
  var Writable = require_stream_writable();
3294
3294
  util.inherits(Duplex, Readable);
@@ -3609,7 +3609,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3609
3609
  return Buffer2.isBuffer(obj) || obj instanceof OurUint8Array;
3610
3610
  }
3611
3611
  var util = Object.create(require_util());
3612
- util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
3612
+ util.inherits = (0, import_chunk_B2T5HDW7.require_inherits)();
3613
3613
  var debugUtil = (0, import_chunk_WWAWV7DQ.__require)("util");
3614
3614
  var debug8 = void 0;
3615
3615
  if (debugUtil && debugUtil.debuglog) {
@@ -4276,7 +4276,7 @@ var require_stream_transform = (0, import_chunk_WWAWV7DQ.__commonJS)({
4276
4276
  module2.exports = Transform;
4277
4277
  var Duplex = require_stream_duplex();
4278
4278
  var util = Object.create(require_util());
4279
- util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
4279
+ util.inherits = (0, import_chunk_B2T5HDW7.require_inherits)();
4280
4280
  util.inherits(Transform, Duplex);
4281
4281
  function afterTransform(er, data) {
4282
4282
  var ts = this._transformState;
@@ -4374,7 +4374,7 @@ var require_stream_passthrough = (0, import_chunk_WWAWV7DQ.__commonJS)({
4374
4374
  module2.exports = PassThrough;
4375
4375
  var Transform = require_stream_transform();
4376
4376
  var util = Object.create(require_util());
4377
- util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
4377
+ util.inherits = (0, import_chunk_B2T5HDW7.require_inherits)();
4378
4378
  util.inherits(PassThrough, Transform);
4379
4379
  function PassThrough(options2) {
4380
4380
  if (!(this instanceof PassThrough)) return new PassThrough(options2);
@@ -5660,7 +5660,7 @@ var require_stream_writable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
5660
5660
  var ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END;
5661
5661
  var ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;
5662
5662
  var errorOrDestroy = destroyImpl.errorOrDestroy;
5663
- (0, import_chunk_RL3K4V2J.require_inherits)()(Writable, Stream);
5663
+ (0, import_chunk_B2T5HDW7.require_inherits)()(Writable, Stream);
5664
5664
  function nop() {
5665
5665
  }
5666
5666
  function WritableState(options2, stream, isDuplex) {
@@ -6102,7 +6102,7 @@ var require_stream_duplex2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6102
6102
  module2.exports = Duplex;
6103
6103
  var Readable = require_stream_readable2();
6104
6104
  var Writable = require_stream_writable2();
6105
- (0, import_chunk_RL3K4V2J.require_inherits)()(Duplex, Readable);
6105
+ (0, import_chunk_B2T5HDW7.require_inherits)()(Duplex, Readable);
6106
6106
  {
6107
6107
  keys = objectKeys(Writable.prototype);
6108
6108
  for (v = 0; v < keys.length; v++) {
@@ -6879,7 +6879,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6879
6879
  var StringDecoder;
6880
6880
  var createReadableStreamAsyncIterator;
6881
6881
  var from;
6882
- (0, import_chunk_RL3K4V2J.require_inherits)()(Readable, Stream);
6882
+ (0, import_chunk_B2T5HDW7.require_inherits)()(Readable, Stream);
6883
6883
  var errorOrDestroy = destroyImpl.errorOrDestroy;
6884
6884
  var kProxyEvents = ["error", "close", "destroy", "pause", "resume"];
6885
6885
  function prependListener(emitter, event, fn) {
@@ -7584,7 +7584,7 @@ var require_stream_transform2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7584
7584
  var ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING;
7585
7585
  var ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;
7586
7586
  var Duplex = require_stream_duplex2();
7587
- (0, import_chunk_RL3K4V2J.require_inherits)()(Transform, Duplex);
7587
+ (0, import_chunk_B2T5HDW7.require_inherits)()(Transform, Duplex);
7588
7588
  function afterTransform(er, data) {
7589
7589
  var ts = this._transformState;
7590
7590
  ts.transforming = false;
@@ -7678,7 +7678,7 @@ var require_stream_passthrough2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7678
7678
  "use strict";
7679
7679
  module2.exports = PassThrough;
7680
7680
  var Transform = require_stream_transform2();
7681
- (0, import_chunk_RL3K4V2J.require_inherits)()(PassThrough, Transform);
7681
+ (0, import_chunk_B2T5HDW7.require_inherits)()(PassThrough, Transform);
7682
7682
  function PassThrough(options2) {
7683
7683
  if (!(this instanceof PassThrough)) return new PassThrough(options2);
7684
7684
  Transform.call(this, options2);
@@ -8552,7 +8552,7 @@ var require_file = (0, import_chunk_WWAWV7DQ.__commonJS)({
8552
8552
  var difference = require_difference();
8553
8553
  var union = require_union();
8554
8554
  var isPlainObject = require_isPlainObject();
8555
- var glob = (0, import_chunk_RL3K4V2J.require_glob)();
8555
+ var glob = (0, import_chunk_B2T5HDW7.require_glob)();
8556
8556
  var file = module2.exports = {};
8557
8557
  var pathSeparatorRe = /[\/\\]/g;
8558
8558
  var processPatterns = function(patterns, fn) {
@@ -14855,7 +14855,7 @@ function renderDefaultLookupError(error, cwd) {
14855
14855
  return parts.join("\n");
14856
14856
  }
14857
14857
  async function getPrismaConfigFromPackageJson(cwd) {
14858
- const pkgJson = await (0, import_chunk_RL3K4V2J.readPackageUp)({ cwd, normalize: false });
14858
+ const pkgJson = await (0, import_chunk_B2T5HDW7.readPackageUp)({ cwd, normalize: false });
14859
14859
  const prismaPropertyFromPkgJson = pkgJson?.packageJson?.prisma;
14860
14860
  if (!pkgJson) {
14861
14861
  return null;
@@ -15081,7 +15081,7 @@ function getCLIPathHash() {
15081
15081
  const cliPath = process.argv[1];
15082
15082
  return import_crypto.default.createHash("sha256").update(cliPath).digest("hex").substring(0, 8);
15083
15083
  }
15084
- var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_RL3K4V2J.require_p_map)());
15084
+ var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_B2T5HDW7.require_p_map)());
15085
15085
  var debug4 = (0, import_debug6.default)("prisma:generator");
15086
15086
  async function checkTypeScriptVersion() {
15087
15087
  const minVersion = "4.1.0";
@@ -26,8 +26,8 @@ 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_RL3K4V2J_exports = {};
30
- __export(chunk_RL3K4V2J_exports, {
29
+ var chunk_B2T5HDW7_exports = {};
30
+ __export(chunk_B2T5HDW7_exports, {
31
31
  getPackedPackage: () => getPackedPackage,
32
32
  readPackageUp: () => readPackageUp,
33
33
  require_glob: () => require_glob,
@@ -35,7 +35,7 @@ __export(chunk_RL3K4V2J_exports, {
35
35
  require_minimatch: () => require_minimatch,
36
36
  require_p_map: () => require_p_map
37
37
  });
38
- module.exports = __toCommonJS(chunk_RL3K4V2J_exports);
38
+ module.exports = __toCommonJS(chunk_B2T5HDW7_exports);
39
39
  var import_chunk_YXD4CJDK = require("./chunk-YXD4CJDK.js");
40
40
  var import_chunk_LKTTJWFT = require("./chunk-LKTTJWFT.js");
41
41
  var import_chunk_T5RACBRF = require("./chunk-T5RACBRF.js");
@@ -5015,7 +5015,7 @@ ${frame}`;
5015
5015
  }
5016
5016
  });
5017
5017
  var require_debug = (0, import_chunk_WWAWV7DQ.__commonJS)({
5018
- "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/internal/debug.js"(exports, module2) {
5018
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"(exports, module2) {
5019
5019
  "use strict";
5020
5020
  var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
5021
5021
  };
@@ -5023,7 +5023,7 @@ var require_debug = (0, import_chunk_WWAWV7DQ.__commonJS)({
5023
5023
  }
5024
5024
  });
5025
5025
  var require_constants = (0, import_chunk_WWAWV7DQ.__commonJS)({
5026
- "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/internal/constants.js"(exports, module2) {
5026
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"(exports, module2) {
5027
5027
  "use strict";
5028
5028
  var SEMVER_SPEC_VERSION = "2.0.0";
5029
5029
  var MAX_LENGTH = 256;
@@ -5053,7 +5053,7 @@ var require_constants = (0, import_chunk_WWAWV7DQ.__commonJS)({
5053
5053
  }
5054
5054
  });
5055
5055
  var require_re = (0, import_chunk_WWAWV7DQ.__commonJS)({
5056
- "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/internal/re.js"(exports, module2) {
5056
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"(exports, module2) {
5057
5057
  "use strict";
5058
5058
  var {
5059
5059
  MAX_SAFE_COMPONENT_LENGTH,
@@ -5137,7 +5137,7 @@ var require_re = (0, import_chunk_WWAWV7DQ.__commonJS)({
5137
5137
  }
5138
5138
  });
5139
5139
  var require_parse_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
5140
- "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/internal/parse-options.js"(exports, module2) {
5140
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"(exports, module2) {
5141
5141
  "use strict";
5142
5142
  var looseOption = Object.freeze({ loose: true });
5143
5143
  var emptyOpts = Object.freeze({});
@@ -5154,7 +5154,7 @@ var require_parse_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
5154
5154
  }
5155
5155
  });
5156
5156
  var require_identifiers = (0, import_chunk_WWAWV7DQ.__commonJS)({
5157
- "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/internal/identifiers.js"(exports, module2) {
5157
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js"(exports, module2) {
5158
5158
  "use strict";
5159
5159
  var numeric = /^[0-9]+$/;
5160
5160
  var compareIdentifiers = (a, b) => {
@@ -5174,7 +5174,7 @@ var require_identifiers = (0, import_chunk_WWAWV7DQ.__commonJS)({
5174
5174
  }
5175
5175
  });
5176
5176
  var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
5177
- "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/classes/semver.js"(exports, module2) {
5177
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"(exports, module2) {
5178
5178
  "use strict";
5179
5179
  var debug = require_debug();
5180
5180
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
@@ -5318,17 +5318,6 @@ var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
5318
5318
  // preminor will bump the version up to the next minor release, and immediately
5319
5319
  // down to pre-release. premajor and prepatch work the same way.
5320
5320
  inc(release, identifier, identifierBase) {
5321
- if (release.startsWith("pre")) {
5322
- if (!identifier && identifierBase === false) {
5323
- throw new Error("invalid increment argument: identifier is empty");
5324
- }
5325
- if (identifier) {
5326
- const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
5327
- if (!match || match[1] !== identifier) {
5328
- throw new Error(`invalid identifier: ${identifier}`);
5329
- }
5330
- }
5331
- }
5332
5321
  switch (release) {
5333
5322
  case "premajor":
5334
5323
  this.prerelease.length = 0;
@@ -5356,12 +5345,6 @@ var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
5356
5345
  }
5357
5346
  this.inc("pre", identifier, identifierBase);
5358
5347
  break;
5359
- case "release":
5360
- if (this.prerelease.length === 0) {
5361
- throw new Error(`version ${this.raw} is not a prerelease`);
5362
- }
5363
- this.prerelease.length = 0;
5364
- break;
5365
5348
  case "major":
5366
5349
  if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
5367
5350
  this.major++;
@@ -5387,6 +5370,9 @@ var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
5387
5370
  // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
5388
5371
  case "pre": {
5389
5372
  const base = Number(identifierBase) ? 1 : 0;
5373
+ if (!identifier && identifierBase === false) {
5374
+ throw new Error("invalid increment argument: identifier is empty");
5375
+ }
5390
5376
  if (this.prerelease.length === 0) {
5391
5377
  this.prerelease = [base];
5392
5378
  } else {
@@ -5433,7 +5419,7 @@ var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
5433
5419
  }
5434
5420
  });
5435
5421
  var require_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
5436
- "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/functions/parse.js"(exports, module2) {
5422
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"(exports, module2) {
5437
5423
  "use strict";
5438
5424
  var SemVer = require_semver();
5439
5425
  var parse = (version, options, throwErrors = false) => {
@@ -5453,7 +5439,7 @@ var require_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
5453
5439
  }
5454
5440
  });
5455
5441
  var require_valid = (0, import_chunk_WWAWV7DQ.__commonJS)({
5456
- "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/functions/valid.js"(exports, module2) {
5442
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js"(exports, module2) {
5457
5443
  "use strict";
5458
5444
  var parse = require_parse();
5459
5445
  var valid = (version, options) => {
@@ -5464,7 +5450,7 @@ var require_valid = (0, import_chunk_WWAWV7DQ.__commonJS)({
5464
5450
  }
5465
5451
  });
5466
5452
  var require_clean = (0, import_chunk_WWAWV7DQ.__commonJS)({
5467
- "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/functions/clean.js"(exports, module2) {
5453
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js"(exports, module2) {
5468
5454
  "use strict";
5469
5455
  var parse = require_parse();
5470
5456
  var clean = (version, options) => {
@@ -26,18 +26,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_JP3G4WQ5_exports = {};
30
- __export(chunk_JP3G4WQ5_exports, {
29
+ var chunk_DNI5H6FJ_exports = {};
30
+ __export(chunk_DNI5H6FJ_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_JP3G4WQ5_exports);
34
+ module.exports = __toCommonJS(chunk_DNI5H6FJ_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
- var import_chunk_IKNQ7LDF = require("./chunk-IKNQ7LDF.js");
37
+ var import_chunk_Z5WTKM2B = require("./chunk-Z5WTKM2B.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
39
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
40
- var import_chunk_KF2J6J3M = require("./chunk-KF2J6J3M.js");
40
+ var import_chunk_37UXFHYR = require("./chunk-37UXFHYR.js");
41
41
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
42
42
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: getDmmf]`;
63
- super((0, import_chunk_IKNQ7LDF.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_Z5WTKM2B.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
@@ -90,13 +90,13 @@ async function getDMMF(options) {
90
90
  () => {
91
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
92
92
  debug("Triggering a Rust panic...");
93
- import_chunk_KF2J6J3M.prismaSchemaWasm.debug_panic();
93
+ import_chunk_37UXFHYR.prismaSchemaWasm.debug_panic();
94
94
  }
95
95
  const params = JSON.stringify({
96
96
  prismaSchema: datamodel,
97
97
  noColor: Boolean(process.env.NO_COLOR)
98
98
  });
99
- const data = import_chunk_KF2J6J3M.prismaSchemaWasm.get_dmmf(params);
99
+ const data = import_chunk_37UXFHYR.prismaSchemaWasm.get_dmmf(params);
100
100
  return data;
101
101
  },
102
102
  (e) => ({
@@ -26,22 +26,22 @@ 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_ZO4UHTLN_exports = {};
30
- __export(chunk_ZO4UHTLN_exports, {
29
+ var chunk_FZMAKPFX_exports = {};
30
+ __export(chunk_FZMAKPFX_exports, {
31
31
  GetConfigError: () => GetConfigError,
32
32
  getConfig: () => getConfig,
33
33
  getDirectUrl: () => getDirectUrl,
34
34
  getEffectiveUrl: () => getEffectiveUrl,
35
35
  resolveUrl: () => resolveUrl
36
36
  });
37
- module.exports = __toCommonJS(chunk_ZO4UHTLN_exports);
37
+ module.exports = __toCommonJS(chunk_FZMAKPFX_exports);
38
38
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
39
39
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
40
40
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
41
- var import_chunk_IKNQ7LDF = require("./chunk-IKNQ7LDF.js");
41
+ var import_chunk_Z5WTKM2B = require("./chunk-Z5WTKM2B.js");
42
42
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
43
43
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
44
- var import_chunk_KF2J6J3M = require("./chunk-KF2J6J3M.js");
44
+ var import_chunk_37UXFHYR = require("./chunk-37UXFHYR.js");
45
45
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
46
46
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
47
47
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -65,7 +65,7 @@ ${detailsHeader} ${message}`;
65
65
  }).exhaustive();
66
66
  const errorMessageWithContext = `${constructedErrorMessage}
67
67
  [Context: getConfig]`;
68
- super((0, import_chunk_IKNQ7LDF.addVersionDetailsToErrorMessage)(errorMessageWithContext));
68
+ super((0, import_chunk_Z5WTKM2B.addVersionDetailsToErrorMessage)(errorMessageWithContext));
69
69
  this.name = "GetConfigError";
70
70
  }
71
71
  };
@@ -90,7 +90,7 @@ async function getConfig(options) {
90
90
  () => {
91
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
92
92
  debug("Triggering a Rust panic...");
93
- import_chunk_KF2J6J3M.prismaSchemaWasm.debug_panic();
93
+ import_chunk_37UXFHYR.prismaSchemaWasm.debug_panic();
94
94
  }
95
95
  const params = JSON.stringify({
96
96
  prismaSchema: options.datamodel,
@@ -98,7 +98,7 @@ async function getConfig(options) {
98
98
  ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
99
99
  env: process.env
100
100
  });
101
- const data = import_chunk_KF2J6J3M.prismaSchemaWasm.get_config(params);
101
+ const data = import_chunk_37UXFHYR.prismaSchemaWasm.get_config(params);
102
102
  return data;
103
103
  },
104
104
  (e) => ({