@prisma/client 6.20.0-integration-next.9 → 6.20.0-integration-next.11

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.
@@ -466,14 +466,14 @@ var require_polyfills = __commonJS({
466
466
  fs4.fstatSync = statFixSync(fs4.fstatSync);
467
467
  fs4.lstatSync = statFixSync(fs4.lstatSync);
468
468
  if (fs4.chmod && !fs4.lchmod) {
469
- fs4.lchmod = function(path11, mode2, cb) {
469
+ fs4.lchmod = function(path10, mode2, cb) {
470
470
  if (cb) process.nextTick(cb);
471
471
  };
472
472
  fs4.lchmodSync = function() {
473
473
  };
474
474
  }
475
475
  if (fs4.chown && !fs4.lchown) {
476
- fs4.lchown = function(path11, uid, gid, cb) {
476
+ fs4.lchown = function(path10, uid, gid, cb) {
477
477
  if (cb) process.nextTick(cb);
478
478
  };
479
479
  fs4.lchownSync = function() {
@@ -540,9 +540,9 @@ var require_polyfills = __commonJS({
540
540
  };
541
541
  }(fs4.readSync);
542
542
  function patchLchmod(fs5) {
543
- fs5.lchmod = function(path11, mode2, callback) {
543
+ fs5.lchmod = function(path10, mode2, callback) {
544
544
  fs5.open(
545
- path11,
545
+ path10,
546
546
  constants2.O_WRONLY | constants2.O_SYMLINK,
547
547
  mode2,
548
548
  function(err, fd) {
@@ -558,8 +558,8 @@ var require_polyfills = __commonJS({
558
558
  }
559
559
  );
560
560
  };
561
- fs5.lchmodSync = function(path11, mode2) {
562
- var fd = fs5.openSync(path11, constants2.O_WRONLY | constants2.O_SYMLINK, mode2);
561
+ fs5.lchmodSync = function(path10, mode2) {
562
+ var fd = fs5.openSync(path10, constants2.O_WRONLY | constants2.O_SYMLINK, mode2);
563
563
  var threw = true;
564
564
  var ret;
565
565
  try {
@@ -580,8 +580,8 @@ var require_polyfills = __commonJS({
580
580
  }
581
581
  function patchLutimes(fs5) {
582
582
  if (constants2.hasOwnProperty("O_SYMLINK") && fs5.futimes) {
583
- fs5.lutimes = function(path11, at, mt, cb) {
584
- fs5.open(path11, constants2.O_SYMLINK, function(er, fd) {
583
+ fs5.lutimes = function(path10, at, mt, cb) {
584
+ fs5.open(path10, constants2.O_SYMLINK, function(er, fd) {
585
585
  if (er) {
586
586
  if (cb) cb(er);
587
587
  return;
@@ -593,8 +593,8 @@ var require_polyfills = __commonJS({
593
593
  });
594
594
  });
595
595
  };
596
- fs5.lutimesSync = function(path11, at, mt) {
597
- var fd = fs5.openSync(path11, constants2.O_SYMLINK);
596
+ fs5.lutimesSync = function(path10, at, mt) {
597
+ var fd = fs5.openSync(path10, constants2.O_SYMLINK);
598
598
  var ret;
599
599
  var threw = true;
600
600
  try {
@@ -713,11 +713,11 @@ var require_legacy_streams = __commonJS({
713
713
  ReadStream,
714
714
  WriteStream
715
715
  };
716
- function ReadStream(path11, options2) {
717
- if (!(this instanceof ReadStream)) return new ReadStream(path11, options2);
716
+ function ReadStream(path10, options2) {
717
+ if (!(this instanceof ReadStream)) return new ReadStream(path10, options2);
718
718
  Stream.call(this);
719
719
  var self2 = this;
720
- this.path = path11;
720
+ this.path = path10;
721
721
  this.fd = null;
722
722
  this.readable = true;
723
723
  this.paused = false;
@@ -762,10 +762,10 @@ var require_legacy_streams = __commonJS({
762
762
  self2._read();
763
763
  });
764
764
  }
765
- function WriteStream(path11, options2) {
766
- if (!(this instanceof WriteStream)) return new WriteStream(path11, options2);
765
+ function WriteStream(path10, options2) {
766
+ if (!(this instanceof WriteStream)) return new WriteStream(path10, options2);
767
767
  Stream.call(this);
768
- this.path = path11;
768
+ this.path = path10;
769
769
  this.fd = null;
770
770
  this.writable = true;
771
771
  this.flags = "w";
@@ -909,14 +909,14 @@ var require_graceful_fs = __commonJS({
909
909
  fs5.createWriteStream = createWriteStream2;
910
910
  var fs$readFile = fs5.readFile;
911
911
  fs5.readFile = readFile;
912
- function readFile(path11, options2, cb) {
912
+ function readFile(path10, options2, cb) {
913
913
  if (typeof options2 === "function")
914
914
  cb = options2, options2 = null;
915
- return go$readFile(path11, options2, cb);
916
- function go$readFile(path12, options3, cb2, startTime) {
917
- return fs$readFile(path12, options3, function(err) {
915
+ return go$readFile(path10, options2, cb);
916
+ function go$readFile(path11, options3, cb2, startTime) {
917
+ return fs$readFile(path11, options3, function(err) {
918
918
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
919
- enqueue([go$readFile, [path12, options3, cb2], err, startTime || Date.now(), Date.now()]);
919
+ enqueue([go$readFile, [path11, options3, cb2], err, startTime || Date.now(), Date.now()]);
920
920
  else {
921
921
  if (typeof cb2 === "function")
922
922
  cb2.apply(this, arguments);
@@ -926,14 +926,14 @@ var require_graceful_fs = __commonJS({
926
926
  }
927
927
  var fs$writeFile = fs5.writeFile;
928
928
  fs5.writeFile = writeFile;
929
- function writeFile(path11, data, options2, cb) {
929
+ function writeFile(path10, data, options2, cb) {
930
930
  if (typeof options2 === "function")
931
931
  cb = options2, options2 = null;
932
- return go$writeFile(path11, data, options2, cb);
933
- function go$writeFile(path12, data2, options3, cb2, startTime) {
934
- return fs$writeFile(path12, data2, options3, function(err) {
932
+ return go$writeFile(path10, data, options2, cb);
933
+ function go$writeFile(path11, data2, options3, cb2, startTime) {
934
+ return fs$writeFile(path11, data2, options3, function(err) {
935
935
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
936
- enqueue([go$writeFile, [path12, data2, options3, cb2], err, startTime || Date.now(), Date.now()]);
936
+ enqueue([go$writeFile, [path11, data2, options3, cb2], err, startTime || Date.now(), Date.now()]);
937
937
  else {
938
938
  if (typeof cb2 === "function")
939
939
  cb2.apply(this, arguments);
@@ -944,14 +944,14 @@ var require_graceful_fs = __commonJS({
944
944
  var fs$appendFile = fs5.appendFile;
945
945
  if (fs$appendFile)
946
946
  fs5.appendFile = appendFile;
947
- function appendFile(path11, data, options2, cb) {
947
+ function appendFile(path10, data, options2, cb) {
948
948
  if (typeof options2 === "function")
949
949
  cb = options2, options2 = null;
950
- return go$appendFile(path11, data, options2, cb);
951
- function go$appendFile(path12, data2, options3, cb2, startTime) {
952
- return fs$appendFile(path12, data2, options3, function(err) {
950
+ return go$appendFile(path10, data, options2, cb);
951
+ function go$appendFile(path11, data2, options3, cb2, startTime) {
952
+ return fs$appendFile(path11, data2, options3, function(err) {
953
953
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
954
- enqueue([go$appendFile, [path12, data2, options3, cb2], err, startTime || Date.now(), Date.now()]);
954
+ enqueue([go$appendFile, [path11, data2, options3, cb2], err, startTime || Date.now(), Date.now()]);
955
955
  else {
956
956
  if (typeof cb2 === "function")
957
957
  cb2.apply(this, arguments);
@@ -982,31 +982,31 @@ var require_graceful_fs = __commonJS({
982
982
  var fs$readdir = fs5.readdir;
983
983
  fs5.readdir = readdir;
984
984
  var noReaddirOptionVersions = /^v[0-5]\./;
985
- function readdir(path11, options2, cb) {
985
+ function readdir(path10, options2, cb) {
986
986
  if (typeof options2 === "function")
987
987
  cb = options2, options2 = null;
988
- var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path12, options3, cb2, startTime) {
989
- return fs$readdir(path12, fs$readdirCallback(
990
- path12,
988
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path11, options3, cb2, startTime) {
989
+ return fs$readdir(path11, fs$readdirCallback(
990
+ path11,
991
991
  options3,
992
992
  cb2,
993
993
  startTime
994
994
  ));
995
- } : function go$readdir2(path12, options3, cb2, startTime) {
996
- return fs$readdir(path12, options3, fs$readdirCallback(
997
- path12,
995
+ } : function go$readdir2(path11, options3, cb2, startTime) {
996
+ return fs$readdir(path11, options3, fs$readdirCallback(
997
+ path11,
998
998
  options3,
999
999
  cb2,
1000
1000
  startTime
1001
1001
  ));
1002
1002
  };
1003
- return go$readdir(path11, options2, cb);
1004
- function fs$readdirCallback(path12, options3, cb2, startTime) {
1003
+ return go$readdir(path10, options2, cb);
1004
+ function fs$readdirCallback(path11, options3, cb2, startTime) {
1005
1005
  return function(err, files) {
1006
1006
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
1007
1007
  enqueue([
1008
1008
  go$readdir,
1009
- [path12, options3, cb2],
1009
+ [path11, options3, cb2],
1010
1010
  err,
1011
1011
  startTime || Date.now(),
1012
1012
  Date.now()
@@ -1077,7 +1077,7 @@ var require_graceful_fs = __commonJS({
1077
1077
  enumerable: true,
1078
1078
  configurable: true
1079
1079
  });
1080
- function ReadStream(path11, options2) {
1080
+ function ReadStream(path10, options2) {
1081
1081
  if (this instanceof ReadStream)
1082
1082
  return fs$ReadStream.apply(this, arguments), this;
1083
1083
  else
@@ -1097,7 +1097,7 @@ var require_graceful_fs = __commonJS({
1097
1097
  }
1098
1098
  });
1099
1099
  }
1100
- function WriteStream(path11, options2) {
1100
+ function WriteStream(path10, options2) {
1101
1101
  if (this instanceof WriteStream)
1102
1102
  return fs$WriteStream.apply(this, arguments), this;
1103
1103
  else
@@ -1115,22 +1115,22 @@ var require_graceful_fs = __commonJS({
1115
1115
  }
1116
1116
  });
1117
1117
  }
1118
- function createReadStream2(path11, options2) {
1119
- return new fs5.ReadStream(path11, options2);
1118
+ function createReadStream2(path10, options2) {
1119
+ return new fs5.ReadStream(path10, options2);
1120
1120
  }
1121
- function createWriteStream2(path11, options2) {
1122
- return new fs5.WriteStream(path11, options2);
1121
+ function createWriteStream2(path10, options2) {
1122
+ return new fs5.WriteStream(path10, options2);
1123
1123
  }
1124
1124
  var fs$open = fs5.open;
1125
1125
  fs5.open = open;
1126
- function open(path11, flags, mode2, cb) {
1126
+ function open(path10, flags, mode2, cb) {
1127
1127
  if (typeof mode2 === "function")
1128
1128
  cb = mode2, mode2 = null;
1129
- return go$open(path11, flags, mode2, cb);
1130
- function go$open(path12, flags2, mode3, cb2, startTime) {
1131
- return fs$open(path12, flags2, mode3, function(err, fd) {
1129
+ return go$open(path10, flags, mode2, cb);
1130
+ function go$open(path11, flags2, mode3, cb2, startTime) {
1131
+ return fs$open(path11, flags2, mode3, function(err, fd) {
1132
1132
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
1133
- enqueue([go$open, [path12, flags2, mode3, cb2], err, startTime || Date.now(), Date.now()]);
1133
+ enqueue([go$open, [path11, flags2, mode3, cb2], err, startTime || Date.now(), Date.now()]);
1134
1134
  else {
1135
1135
  if (typeof cb2 === "function")
1136
1136
  cb2.apply(this, arguments);
@@ -1313,10 +1313,10 @@ var require_fs = __commonJS({
1313
1313
  var require_utils = __commonJS({
1314
1314
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/utils.js"(exports2, module2) {
1315
1315
  "use strict";
1316
- var path11 = require("path");
1316
+ var path10 = require("path");
1317
1317
  module2.exports.checkPath = function checkPath(pth) {
1318
1318
  if (process.platform === "win32") {
1319
- const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path11.parse(pth).root, ""));
1319
+ const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path10.parse(pth).root, ""));
1320
1320
  if (pathHasInvalidWinCharacters) {
1321
1321
  const error = new Error(`Path contains invalid characters: ${pth}`);
1322
1322
  error.code = "EINVAL";
@@ -1380,8 +1380,8 @@ var require_path_exists = __commonJS({
1380
1380
  "use strict";
1381
1381
  var u = require_universalify().fromPromise;
1382
1382
  var fs4 = require_fs();
1383
- function pathExists(path11) {
1384
- return fs4.access(path11).then(() => true).catch(() => false);
1383
+ function pathExists(path10) {
1384
+ return fs4.access(path10).then(() => true).catch(() => false);
1385
1385
  }
1386
1386
  module2.exports = {
1387
1387
  pathExists: u(pathExists),
@@ -1396,8 +1396,8 @@ var require_utimes = __commonJS({
1396
1396
  "use strict";
1397
1397
  var fs4 = require_fs();
1398
1398
  var u = require_universalify().fromPromise;
1399
- async function utimesMillis(path11, atime, mtime) {
1400
- const fd = await fs4.open(path11, "r+");
1399
+ async function utimesMillis(path10, atime, mtime) {
1400
+ const fd = await fs4.open(path10, "r+");
1401
1401
  let closeErr = null;
1402
1402
  try {
1403
1403
  await fs4.futimes(fd, atime, mtime);
@@ -1412,8 +1412,8 @@ var require_utimes = __commonJS({
1412
1412
  throw closeErr;
1413
1413
  }
1414
1414
  }
1415
- function utimesMillisSync(path11, atime, mtime) {
1416
- const fd = fs4.openSync(path11, "r+");
1415
+ function utimesMillisSync(path10, atime, mtime) {
1416
+ const fd = fs4.openSync(path10, "r+");
1417
1417
  fs4.futimesSync(fd, atime, mtime);
1418
1418
  return fs4.closeSync(fd);
1419
1419
  }
@@ -1429,7 +1429,7 @@ var require_stat = __commonJS({
1429
1429
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/util/stat.js"(exports2, module2) {
1430
1430
  "use strict";
1431
1431
  var fs4 = require_fs();
1432
- var path11 = require("path");
1432
+ var path10 = require("path");
1433
1433
  var u = require_universalify().fromPromise;
1434
1434
  function getStats(src2, dest, opts) {
1435
1435
  const statFunc = opts.dereference ? (file2) => fs4.stat(file2, { bigint: true }) : (file2) => fs4.lstat(file2, { bigint: true });
@@ -1457,8 +1457,8 @@ var require_stat = __commonJS({
1457
1457
  const { srcStat, destStat } = await getStats(src2, dest, opts);
1458
1458
  if (destStat) {
1459
1459
  if (areIdentical(srcStat, destStat)) {
1460
- const srcBaseName = path11.basename(src2);
1461
- const destBaseName = path11.basename(dest);
1460
+ const srcBaseName = path10.basename(src2);
1461
+ const destBaseName = path10.basename(dest);
1462
1462
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
1463
1463
  return { srcStat, destStat, isChangingCase: true };
1464
1464
  }
@@ -1480,8 +1480,8 @@ var require_stat = __commonJS({
1480
1480
  const { srcStat, destStat } = getStatsSync(src2, dest, opts);
1481
1481
  if (destStat) {
1482
1482
  if (areIdentical(srcStat, destStat)) {
1483
- const srcBaseName = path11.basename(src2);
1484
- const destBaseName = path11.basename(dest);
1483
+ const srcBaseName = path10.basename(src2);
1484
+ const destBaseName = path10.basename(dest);
1485
1485
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
1486
1486
  return { srcStat, destStat, isChangingCase: true };
1487
1487
  }
@@ -1500,9 +1500,9 @@ var require_stat = __commonJS({
1500
1500
  return { srcStat, destStat };
1501
1501
  }
1502
1502
  async function checkParentPaths(src2, srcStat, dest, funcName) {
1503
- const srcParent = path11.resolve(path11.dirname(src2));
1504
- const destParent = path11.resolve(path11.dirname(dest));
1505
- if (destParent === srcParent || destParent === path11.parse(destParent).root) return;
1503
+ const srcParent = path10.resolve(path10.dirname(src2));
1504
+ const destParent = path10.resolve(path10.dirname(dest));
1505
+ if (destParent === srcParent || destParent === path10.parse(destParent).root) return;
1506
1506
  let destStat;
1507
1507
  try {
1508
1508
  destStat = await fs4.stat(destParent, { bigint: true });
@@ -1516,9 +1516,9 @@ var require_stat = __commonJS({
1516
1516
  return checkParentPaths(src2, srcStat, destParent, funcName);
1517
1517
  }
1518
1518
  function checkParentPathsSync(src2, srcStat, dest, funcName) {
1519
- const srcParent = path11.resolve(path11.dirname(src2));
1520
- const destParent = path11.resolve(path11.dirname(dest));
1521
- if (destParent === srcParent || destParent === path11.parse(destParent).root) return;
1519
+ const srcParent = path10.resolve(path10.dirname(src2));
1520
+ const destParent = path10.resolve(path10.dirname(dest));
1521
+ if (destParent === srcParent || destParent === path10.parse(destParent).root) return;
1522
1522
  let destStat;
1523
1523
  try {
1524
1524
  destStat = fs4.statSync(destParent, { bigint: true });
@@ -1535,8 +1535,8 @@ var require_stat = __commonJS({
1535
1535
  return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
1536
1536
  }
1537
1537
  function isSrcSubdir(src2, dest) {
1538
- const srcArr = path11.resolve(src2).split(path11.sep).filter((i) => i);
1539
- const destArr = path11.resolve(dest).split(path11.sep).filter((i) => i);
1538
+ const srcArr = path10.resolve(src2).split(path10.sep).filter((i) => i);
1539
+ const destArr = path10.resolve(dest).split(path10.sep).filter((i) => i);
1540
1540
  return srcArr.every((cur, i) => destArr[i] === cur);
1541
1541
  }
1542
1542
  function errMsg(src2, dest, funcName) {
@@ -1561,7 +1561,7 @@ var require_copy = __commonJS({
1561
1561
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/copy.js"(exports2, module2) {
1562
1562
  "use strict";
1563
1563
  var fs4 = require_fs();
1564
- var path11 = require("path");
1564
+ var path10 = require("path");
1565
1565
  var { mkdirs } = require_mkdirs();
1566
1566
  var { pathExists } = require_path_exists();
1567
1567
  var { utimesMillis } = require_utimes();
@@ -1583,7 +1583,7 @@ var require_copy = __commonJS({
1583
1583
  await stat.checkParentPaths(src2, srcStat, dest, "copy");
1584
1584
  const include = await runFilter(src2, dest, opts);
1585
1585
  if (!include) return;
1586
- const destParent = path11.dirname(dest);
1586
+ const destParent = path10.dirname(dest);
1587
1587
  const dirExists = await pathExists(destParent);
1588
1588
  if (!dirExists) {
1589
1589
  await mkdirs(destParent);
@@ -1637,8 +1637,8 @@ var require_copy = __commonJS({
1637
1637
  }
1638
1638
  const promises2 = [];
1639
1639
  for await (const item2 of await fs4.opendir(src2)) {
1640
- const srcItem = path11.join(src2, item2.name);
1641
- const destItem = path11.join(dest, item2.name);
1640
+ const srcItem = path10.join(src2, item2.name);
1641
+ const destItem = path10.join(dest, item2.name);
1642
1642
  promises2.push(
1643
1643
  runFilter(srcItem, destItem, opts).then((include) => {
1644
1644
  if (include) {
@@ -1657,7 +1657,7 @@ var require_copy = __commonJS({
1657
1657
  async function onLink(destStat, src2, dest, opts) {
1658
1658
  let resolvedSrc = await fs4.readlink(src2);
1659
1659
  if (opts.dereference) {
1660
- resolvedSrc = path11.resolve(process.cwd(), resolvedSrc);
1660
+ resolvedSrc = path10.resolve(process.cwd(), resolvedSrc);
1661
1661
  }
1662
1662
  if (!destStat) {
1663
1663
  return fs4.symlink(resolvedSrc, dest);
@@ -1670,7 +1670,7 @@ var require_copy = __commonJS({
1670
1670
  throw e;
1671
1671
  }
1672
1672
  if (opts.dereference) {
1673
- resolvedDest = path11.resolve(process.cwd(), resolvedDest);
1673
+ resolvedDest = path10.resolve(process.cwd(), resolvedDest);
1674
1674
  }
1675
1675
  if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
1676
1676
  throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
@@ -1690,7 +1690,7 @@ var require_copy_sync = __commonJS({
1690
1690
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/copy-sync.js"(exports2, module2) {
1691
1691
  "use strict";
1692
1692
  var fs4 = require_graceful_fs();
1693
- var path11 = require("path");
1693
+ var path10 = require("path");
1694
1694
  var mkdirsSync = require_mkdirs().mkdirsSync;
1695
1695
  var utimesMillisSync = require_utimes().utimesMillisSync;
1696
1696
  var stat = require_stat();
@@ -1711,7 +1711,7 @@ var require_copy_sync = __commonJS({
1711
1711
  const { srcStat, destStat } = stat.checkPathsSync(src2, dest, "copy", opts);
1712
1712
  stat.checkParentPathsSync(src2, srcStat, dest, "copy");
1713
1713
  if (opts.filter && !opts.filter(src2, dest)) return;
1714
- const destParent = path11.dirname(dest);
1714
+ const destParent = path10.dirname(dest);
1715
1715
  if (!fs4.existsSync(destParent)) mkdirsSync(destParent);
1716
1716
  return getStats(destStat, src2, dest, opts);
1717
1717
  }
@@ -1780,8 +1780,8 @@ var require_copy_sync = __commonJS({
1780
1780
  }
1781
1781
  }
1782
1782
  function copyDirItem(item2, src2, dest, opts) {
1783
- const srcItem = path11.join(src2, item2);
1784
- const destItem = path11.join(dest, item2);
1783
+ const srcItem = path10.join(src2, item2);
1784
+ const destItem = path10.join(dest, item2);
1785
1785
  if (opts.filter && !opts.filter(srcItem, destItem)) return;
1786
1786
  const { destStat } = stat.checkPathsSync(srcItem, destItem, "copy", opts);
1787
1787
  return getStats(destStat, srcItem, destItem, opts);
@@ -1789,7 +1789,7 @@ var require_copy_sync = __commonJS({
1789
1789
  function onLink(destStat, src2, dest, opts) {
1790
1790
  let resolvedSrc = fs4.readlinkSync(src2);
1791
1791
  if (opts.dereference) {
1792
- resolvedSrc = path11.resolve(process.cwd(), resolvedSrc);
1792
+ resolvedSrc = path10.resolve(process.cwd(), resolvedSrc);
1793
1793
  }
1794
1794
  if (!destStat) {
1795
1795
  return fs4.symlinkSync(resolvedSrc, dest);
@@ -1802,7 +1802,7 @@ var require_copy_sync = __commonJS({
1802
1802
  throw err;
1803
1803
  }
1804
1804
  if (opts.dereference) {
1805
- resolvedDest = path11.resolve(process.cwd(), resolvedDest);
1805
+ resolvedDest = path10.resolve(process.cwd(), resolvedDest);
1806
1806
  }
1807
1807
  if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
1808
1808
  throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
@@ -1839,11 +1839,11 @@ var require_remove = __commonJS({
1839
1839
  "use strict";
1840
1840
  var fs4 = require_graceful_fs();
1841
1841
  var u = require_universalify().fromCallback;
1842
- function remove2(path11, callback) {
1843
- fs4.rm(path11, { recursive: true, force: true }, callback);
1842
+ function remove2(path10, callback) {
1843
+ fs4.rm(path10, { recursive: true, force: true }, callback);
1844
1844
  }
1845
- function removeSync(path11) {
1846
- fs4.rmSync(path11, { recursive: true, force: true });
1845
+ function removeSync(path10) {
1846
+ fs4.rmSync(path10, { recursive: true, force: true });
1847
1847
  }
1848
1848
  module2.exports = {
1849
1849
  remove: u(remove2),
@@ -1858,7 +1858,7 @@ var require_empty = __commonJS({
1858
1858
  "use strict";
1859
1859
  var u = require_universalify().fromPromise;
1860
1860
  var fs4 = require_fs();
1861
- var path11 = require("path");
1861
+ var path10 = require("path");
1862
1862
  var mkdir = require_mkdirs();
1863
1863
  var remove2 = require_remove();
1864
1864
  var emptyDir = u(async function emptyDir2(dir) {
@@ -1868,7 +1868,7 @@ var require_empty = __commonJS({
1868
1868
  } catch {
1869
1869
  return mkdir.mkdirs(dir);
1870
1870
  }
1871
- return Promise.all(items.map((item2) => remove2.remove(path11.join(dir, item2))));
1871
+ return Promise.all(items.map((item2) => remove2.remove(path10.join(dir, item2))));
1872
1872
  });
1873
1873
  function emptyDirSync(dir) {
1874
1874
  let items;
@@ -1878,7 +1878,7 @@ var require_empty = __commonJS({
1878
1878
  return mkdir.mkdirsSync(dir);
1879
1879
  }
1880
1880
  items.forEach((item2) => {
1881
- item2 = path11.join(dir, item2);
1881
+ item2 = path10.join(dir, item2);
1882
1882
  remove2.removeSync(item2);
1883
1883
  });
1884
1884
  }
@@ -1896,7 +1896,7 @@ var require_file = __commonJS({
1896
1896
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/file.js"(exports2, module2) {
1897
1897
  "use strict";
1898
1898
  var u = require_universalify().fromPromise;
1899
- var path11 = require("path");
1899
+ var path10 = require("path");
1900
1900
  var fs4 = require_fs();
1901
1901
  var mkdir = require_mkdirs();
1902
1902
  async function createFile(file2) {
@@ -1906,7 +1906,7 @@ var require_file = __commonJS({
1906
1906
  } catch {
1907
1907
  }
1908
1908
  if (stats && stats.isFile()) return;
1909
- const dir = path11.dirname(file2);
1909
+ const dir = path10.dirname(file2);
1910
1910
  let dirStats = null;
1911
1911
  try {
1912
1912
  dirStats = await fs4.stat(dir);
@@ -1932,7 +1932,7 @@ var require_file = __commonJS({
1932
1932
  } catch {
1933
1933
  }
1934
1934
  if (stats && stats.isFile()) return;
1935
- const dir = path11.dirname(file2);
1935
+ const dir = path10.dirname(file2);
1936
1936
  try {
1937
1937
  if (!fs4.statSync(dir).isDirectory()) {
1938
1938
  fs4.readdirSync(dir);
@@ -1955,7 +1955,7 @@ var require_link = __commonJS({
1955
1955
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/link.js"(exports2, module2) {
1956
1956
  "use strict";
1957
1957
  var u = require_universalify().fromPromise;
1958
- var path11 = require("path");
1958
+ var path10 = require("path");
1959
1959
  var fs4 = require_fs();
1960
1960
  var mkdir = require_mkdirs();
1961
1961
  var { pathExists } = require_path_exists();
@@ -1974,7 +1974,7 @@ var require_link = __commonJS({
1974
1974
  throw err;
1975
1975
  }
1976
1976
  if (dstStat && areIdentical(srcStat, dstStat)) return;
1977
- const dir = path11.dirname(dstpath);
1977
+ const dir = path10.dirname(dstpath);
1978
1978
  const dirExists = await pathExists(dir);
1979
1979
  if (!dirExists) {
1980
1980
  await mkdir.mkdirs(dir);
@@ -1994,7 +1994,7 @@ var require_link = __commonJS({
1994
1994
  err.message = err.message.replace("lstat", "ensureLink");
1995
1995
  throw err;
1996
1996
  }
1997
- const dir = path11.dirname(dstpath);
1997
+ const dir = path10.dirname(dstpath);
1998
1998
  const dirExists = fs4.existsSync(dir);
1999
1999
  if (dirExists) return fs4.linkSync(srcpath, dstpath);
2000
2000
  mkdir.mkdirsSync(dir);
@@ -2011,12 +2011,12 @@ var require_link = __commonJS({
2011
2011
  var require_symlink_paths = __commonJS({
2012
2012
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports2, module2) {
2013
2013
  "use strict";
2014
- var path11 = require("path");
2014
+ var path10 = require("path");
2015
2015
  var fs4 = require_fs();
2016
2016
  var { pathExists } = require_path_exists();
2017
2017
  var u = require_universalify().fromPromise;
2018
2018
  async function symlinkPaths(srcpath, dstpath) {
2019
- if (path11.isAbsolute(srcpath)) {
2019
+ if (path10.isAbsolute(srcpath)) {
2020
2020
  try {
2021
2021
  await fs4.lstat(srcpath);
2022
2022
  } catch (err) {
@@ -2028,8 +2028,8 @@ var require_symlink_paths = __commonJS({
2028
2028
  toDst: srcpath
2029
2029
  };
2030
2030
  }
2031
- const dstdir = path11.dirname(dstpath);
2032
- const relativeToDst = path11.join(dstdir, srcpath);
2031
+ const dstdir = path10.dirname(dstpath);
2032
+ const relativeToDst = path10.join(dstdir, srcpath);
2033
2033
  const exists = await pathExists(relativeToDst);
2034
2034
  if (exists) {
2035
2035
  return {
@@ -2045,11 +2045,11 @@ var require_symlink_paths = __commonJS({
2045
2045
  }
2046
2046
  return {
2047
2047
  toCwd: srcpath,
2048
- toDst: path11.relative(dstdir, srcpath)
2048
+ toDst: path10.relative(dstdir, srcpath)
2049
2049
  };
2050
2050
  }
2051
2051
  function symlinkPathsSync(srcpath, dstpath) {
2052
- if (path11.isAbsolute(srcpath)) {
2052
+ if (path10.isAbsolute(srcpath)) {
2053
2053
  const exists2 = fs4.existsSync(srcpath);
2054
2054
  if (!exists2) throw new Error("absolute srcpath does not exist");
2055
2055
  return {
@@ -2057,8 +2057,8 @@ var require_symlink_paths = __commonJS({
2057
2057
  toDst: srcpath
2058
2058
  };
2059
2059
  }
2060
- const dstdir = path11.dirname(dstpath);
2061
- const relativeToDst = path11.join(dstdir, srcpath);
2060
+ const dstdir = path10.dirname(dstpath);
2061
+ const relativeToDst = path10.join(dstdir, srcpath);
2062
2062
  const exists = fs4.existsSync(relativeToDst);
2063
2063
  if (exists) {
2064
2064
  return {
@@ -2070,7 +2070,7 @@ var require_symlink_paths = __commonJS({
2070
2070
  if (!srcExists) throw new Error("relative srcpath does not exist");
2071
2071
  return {
2072
2072
  toCwd: srcpath,
2073
- toDst: path11.relative(dstdir, srcpath)
2073
+ toDst: path10.relative(dstdir, srcpath)
2074
2074
  };
2075
2075
  }
2076
2076
  module2.exports = {
@@ -2118,7 +2118,7 @@ var require_symlink = __commonJS({
2118
2118
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink.js"(exports2, module2) {
2119
2119
  "use strict";
2120
2120
  var u = require_universalify().fromPromise;
2121
- var path11 = require("path");
2121
+ var path10 = require("path");
2122
2122
  var fs4 = require_fs();
2123
2123
  var { mkdirs, mkdirsSync } = require_mkdirs();
2124
2124
  var { symlinkPaths, symlinkPathsSync } = require_symlink_paths();
@@ -2141,7 +2141,7 @@ var require_symlink = __commonJS({
2141
2141
  const relative = await symlinkPaths(srcpath, dstpath);
2142
2142
  srcpath = relative.toDst;
2143
2143
  const toType = await symlinkType(relative.toCwd, type);
2144
- const dir = path11.dirname(dstpath);
2144
+ const dir = path10.dirname(dstpath);
2145
2145
  if (!await pathExists(dir)) {
2146
2146
  await mkdirs(dir);
2147
2147
  }
@@ -2161,7 +2161,7 @@ var require_symlink = __commonJS({
2161
2161
  const relative = symlinkPathsSync(srcpath, dstpath);
2162
2162
  srcpath = relative.toDst;
2163
2163
  type = symlinkTypeSync(relative.toCwd, type);
2164
- const dir = path11.dirname(dstpath);
2164
+ const dir = path10.dirname(dstpath);
2165
2165
  const exists = fs4.existsSync(dir);
2166
2166
  if (exists) return fs4.symlinkSync(srcpath, dstpath, type);
2167
2167
  mkdirsSync(dir);
@@ -2312,18 +2312,18 @@ var require_output_file = __commonJS({
2312
2312
  "use strict";
2313
2313
  var u = require_universalify().fromPromise;
2314
2314
  var fs4 = require_fs();
2315
- var path11 = require("path");
2315
+ var path10 = require("path");
2316
2316
  var mkdir = require_mkdirs();
2317
2317
  var pathExists = require_path_exists().pathExists;
2318
2318
  async function outputFile(file2, data, encoding = "utf-8") {
2319
- const dir = path11.dirname(file2);
2319
+ const dir = path10.dirname(file2);
2320
2320
  if (!await pathExists(dir)) {
2321
2321
  await mkdir.mkdirs(dir);
2322
2322
  }
2323
2323
  return fs4.writeFile(file2, data, encoding);
2324
2324
  }
2325
2325
  function outputFileSync(file2, ...args) {
2326
- const dir = path11.dirname(file2);
2326
+ const dir = path10.dirname(file2);
2327
2327
  if (!fs4.existsSync(dir)) {
2328
2328
  mkdir.mkdirsSync(dir);
2329
2329
  }
@@ -2387,7 +2387,7 @@ var require_move = __commonJS({
2387
2387
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/move.js"(exports2, module2) {
2388
2388
  "use strict";
2389
2389
  var fs4 = require_fs();
2390
- var path11 = require("path");
2390
+ var path10 = require("path");
2391
2391
  var { copy } = require_copy2();
2392
2392
  var { remove: remove2 } = require_remove();
2393
2393
  var { mkdirp } = require_mkdirs();
@@ -2397,8 +2397,8 @@ var require_move = __commonJS({
2397
2397
  const overwrite = opts.overwrite || opts.clobber || false;
2398
2398
  const { srcStat, isChangingCase = false } = await stat.checkPaths(src2, dest, "move", opts);
2399
2399
  await stat.checkParentPaths(src2, srcStat, dest, "move");
2400
- const destParent = path11.dirname(dest);
2401
- const parsedParentPath = path11.parse(destParent);
2400
+ const destParent = path10.dirname(dest);
2401
+ const parsedParentPath = path10.parse(destParent);
2402
2402
  if (parsedParentPath.root !== destParent) {
2403
2403
  await mkdirp(destParent);
2404
2404
  }
@@ -2439,7 +2439,7 @@ var require_move_sync = __commonJS({
2439
2439
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/move-sync.js"(exports2, module2) {
2440
2440
  "use strict";
2441
2441
  var fs4 = require_graceful_fs();
2442
- var path11 = require("path");
2442
+ var path10 = require("path");
2443
2443
  var copySync = require_copy2().copySync;
2444
2444
  var removeSync = require_remove().removeSync;
2445
2445
  var mkdirpSync = require_mkdirs().mkdirpSync;
@@ -2449,12 +2449,12 @@ var require_move_sync = __commonJS({
2449
2449
  const overwrite = opts.overwrite || opts.clobber || false;
2450
2450
  const { srcStat, isChangingCase = false } = stat.checkPathsSync(src2, dest, "move", opts);
2451
2451
  stat.checkParentPathsSync(src2, srcStat, dest, "move");
2452
- if (!isParentRoot(dest)) mkdirpSync(path11.dirname(dest));
2452
+ if (!isParentRoot(dest)) mkdirpSync(path10.dirname(dest));
2453
2453
  return doRename(src2, dest, overwrite, isChangingCase);
2454
2454
  }
2455
2455
  function isParentRoot(dest) {
2456
- const parent = path11.dirname(dest);
2457
- const parsedPath = path11.parse(parent);
2456
+ const parent = path10.dirname(dest);
2457
+ const parsedPath = path10.parse(parent);
2458
2458
  return parsedPath.root === parent;
2459
2459
  }
2460
2460
  function doRename(src2, dest, overwrite, isChangingCase) {
@@ -2699,8 +2699,8 @@ var require_path_parse = __commonJS({
2699
2699
  var require_node_modules_paths = __commonJS({
2700
2700
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/lib/node-modules-paths.js"(exports2, module2) {
2701
2701
  "use strict";
2702
- var path11 = require("path");
2703
- var parse2 = path11.parse || require_path_parse();
2702
+ var path10 = require("path");
2703
+ var parse2 = path10.parse || require_path_parse();
2704
2704
  var getNodeModulesDirs = function getNodeModulesDirs2(absoluteStart, modules) {
2705
2705
  var prefix = "/";
2706
2706
  if (/^([A-Za-z]:)/.test(absoluteStart)) {
@@ -2716,7 +2716,7 @@ var require_node_modules_paths = __commonJS({
2716
2716
  }
2717
2717
  return paths2.reduce(function(dirs, aPath) {
2718
2718
  return dirs.concat(modules.map(function(moduleDir) {
2719
- return path11.resolve(prefix, aPath, moduleDir);
2719
+ return path10.resolve(prefix, aPath, moduleDir);
2720
2720
  }));
2721
2721
  }, []);
2722
2722
  };
@@ -3081,7 +3081,7 @@ var require_async = __commonJS({
3081
3081
  "use strict";
3082
3082
  var fs4 = require("fs");
3083
3083
  var getHomedir = require_homedir();
3084
- var path11 = require("path");
3084
+ var path10 = require("path");
3085
3085
  var caller = require_caller();
3086
3086
  var nodeModulesPaths = require_node_modules_paths();
3087
3087
  var normalizeOptions = require_normalize_options();
@@ -3090,8 +3090,8 @@ var require_async = __commonJS({
3090
3090
  var homedir = getHomedir();
3091
3091
  var defaultPaths = function() {
3092
3092
  return [
3093
- path11.join(homedir, ".node_modules"),
3094
- path11.join(homedir, ".node_libraries")
3093
+ path10.join(homedir, ".node_modules"),
3094
+ path10.join(homedir, ".node_libraries")
3095
3095
  ];
3096
3096
  };
3097
3097
  var defaultIsFile = function isFile(file2, cb) {
@@ -3141,7 +3141,7 @@ var require_async = __commonJS({
3141
3141
  var getPackageCandidates = function getPackageCandidates2(x, start, opts) {
3142
3142
  var dirs = nodeModulesPaths(start, opts, x);
3143
3143
  for (var i = 0; i < dirs.length; i++) {
3144
- dirs[i] = path11.join(dirs[i], x);
3144
+ dirs[i] = path10.join(dirs[i], x);
3145
3145
  }
3146
3146
  return dirs;
3147
3147
  };
@@ -3173,10 +3173,10 @@ var require_async = __commonJS({
3173
3173
  var packageIterator = opts.packageIterator;
3174
3174
  var extensions = opts.extensions || [".js"];
3175
3175
  var includeCoreModules = opts.includeCoreModules !== false;
3176
- var basedir = opts.basedir || path11.dirname(caller());
3176
+ var basedir = opts.basedir || path10.dirname(caller());
3177
3177
  var parent = opts.filename || basedir;
3178
3178
  opts.paths = opts.paths || defaultPaths();
3179
- var absoluteStart = path11.resolve(basedir);
3179
+ var absoluteStart = path10.resolve(basedir);
3180
3180
  maybeRealpath(
3181
3181
  realpath,
3182
3182
  absoluteStart,
@@ -3189,7 +3189,7 @@ var require_async = __commonJS({
3189
3189
  var res;
3190
3190
  function init3(basedir2) {
3191
3191
  if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(x)) {
3192
- res = path11.resolve(basedir2, x);
3192
+ res = path10.resolve(basedir2, x);
3193
3193
  if (x === "." || x === ".." || x.slice(-1) === "/") res += "/";
3194
3194
  if (/\/$/.test(x) && res === basedir2) {
3195
3195
  loadAsDirectory(res, opts.package, onfile);
@@ -3247,17 +3247,17 @@ var require_async = __commonJS({
3247
3247
  var file2 = x3 + exts2[0];
3248
3248
  var pkg = loadPackage;
3249
3249
  if (pkg) onpkg(null, pkg);
3250
- else loadpkg(path11.dirname(file2), onpkg);
3250
+ else loadpkg(path10.dirname(file2), onpkg);
3251
3251
  function onpkg(err2, pkg_, dir) {
3252
3252
  pkg = pkg_;
3253
3253
  if (err2) return cb2(err2);
3254
3254
  if (dir && pkg && opts.pathFilter) {
3255
- var rfile = path11.relative(dir, file2);
3255
+ var rfile = path10.relative(dir, file2);
3256
3256
  var rel = rfile.slice(0, rfile.length - exts2[0].length);
3257
3257
  var r = opts.pathFilter(pkg, x3, rel);
3258
3258
  if (r) return load2(
3259
3259
  [""].concat(extensions.slice()),
3260
- path11.resolve(dir, r),
3260
+ path10.resolve(dir, r),
3261
3261
  pkg
3262
3262
  );
3263
3263
  }
@@ -3277,10 +3277,10 @@ var require_async = __commonJS({
3277
3277
  }
3278
3278
  if (/[/\\]node_modules[/\\]*$/.test(dir)) return cb2(null);
3279
3279
  maybeRealpath(realpath, dir, opts, function(unwrapErr, pkgdir) {
3280
- if (unwrapErr) return loadpkg(path11.dirname(dir), cb2);
3281
- var pkgfile = path11.join(pkgdir, "package.json");
3280
+ if (unwrapErr) return loadpkg(path10.dirname(dir), cb2);
3281
+ var pkgfile = path10.join(pkgdir, "package.json");
3282
3282
  isFile(pkgfile, function(err2, ex) {
3283
- if (!ex) return loadpkg(path11.dirname(dir), cb2);
3283
+ if (!ex) return loadpkg(path10.dirname(dir), cb2);
3284
3284
  readPackage(readFile, pkgfile, function(err3, pkgParam) {
3285
3285
  if (err3) cb2(err3);
3286
3286
  var pkg = pkgParam;
@@ -3301,10 +3301,10 @@ var require_async = __commonJS({
3301
3301
  }
3302
3302
  maybeRealpath(realpath, x2, opts, function(unwrapErr, pkgdir) {
3303
3303
  if (unwrapErr) return cb2(unwrapErr);
3304
- var pkgfile = path11.join(pkgdir, "package.json");
3304
+ var pkgfile = path10.join(pkgdir, "package.json");
3305
3305
  isFile(pkgfile, function(err2, ex) {
3306
3306
  if (err2) return cb2(err2);
3307
- if (!ex) return loadAsFile(path11.join(x2, "index"), fpkg, cb2);
3307
+ if (!ex) return loadAsFile(path10.join(x2, "index"), fpkg, cb2);
3308
3308
  readPackage(readFile, pkgfile, function(err3, pkgParam) {
3309
3309
  if (err3) return cb2(err3);
3310
3310
  var pkg = pkgParam;
@@ -3320,20 +3320,20 @@ var require_async = __commonJS({
3320
3320
  if (pkg.main === "." || pkg.main === "./") {
3321
3321
  pkg.main = "index";
3322
3322
  }
3323
- loadAsFile(path11.resolve(x2, pkg.main), pkg, function(err4, m, pkg2) {
3323
+ loadAsFile(path10.resolve(x2, pkg.main), pkg, function(err4, m, pkg2) {
3324
3324
  if (err4) return cb2(err4);
3325
3325
  if (m) return cb2(null, m, pkg2);
3326
- if (!pkg2) return loadAsFile(path11.join(x2, "index"), pkg2, cb2);
3327
- var dir = path11.resolve(x2, pkg2.main);
3326
+ if (!pkg2) return loadAsFile(path10.join(x2, "index"), pkg2, cb2);
3327
+ var dir = path10.resolve(x2, pkg2.main);
3328
3328
  loadAsDirectory(dir, pkg2, function(err5, n, pkg3) {
3329
3329
  if (err5) return cb2(err5);
3330
3330
  if (n) return cb2(null, n, pkg3);
3331
- loadAsFile(path11.join(x2, "index"), pkg3, cb2);
3331
+ loadAsFile(path10.join(x2, "index"), pkg3, cb2);
3332
3332
  });
3333
3333
  });
3334
3334
  return;
3335
3335
  }
3336
- loadAsFile(path11.join(x2, "/index"), pkg, cb2);
3336
+ loadAsFile(path10.join(x2, "/index"), pkg, cb2);
3337
3337
  });
3338
3338
  });
3339
3339
  });
@@ -3341,7 +3341,7 @@ var require_async = __commonJS({
3341
3341
  function processDirs(cb2, dirs) {
3342
3342
  if (dirs.length === 0) return cb2(null, void 0);
3343
3343
  var dir = dirs[0];
3344
- isDirectory(path11.dirname(dir), isdir);
3344
+ isDirectory(path10.dirname(dir), isdir);
3345
3345
  function isdir(err2, isdir2) {
3346
3346
  if (err2) return cb2(err2);
3347
3347
  if (!isdir2) return processDirs(cb2, dirs.slice(1));
@@ -3573,7 +3573,7 @@ var require_sync = __commonJS({
3573
3573
  "use strict";
3574
3574
  var isCore = require_is_core_module();
3575
3575
  var fs4 = require("fs");
3576
- var path11 = require("path");
3576
+ var path10 = require("path");
3577
3577
  var getHomedir = require_homedir();
3578
3578
  var caller = require_caller();
3579
3579
  var nodeModulesPaths = require_node_modules_paths();
@@ -3582,8 +3582,8 @@ var require_sync = __commonJS({
3582
3582
  var homedir = getHomedir();
3583
3583
  var defaultPaths = function() {
3584
3584
  return [
3585
- path11.join(homedir, ".node_modules"),
3586
- path11.join(homedir, ".node_libraries")
3585
+ path10.join(homedir, ".node_modules"),
3586
+ path10.join(homedir, ".node_libraries")
3587
3587
  ];
3588
3588
  };
3589
3589
  var defaultIsFile = function isFile(file2) {
@@ -3631,7 +3631,7 @@ var require_sync = __commonJS({
3631
3631
  var getPackageCandidates = function getPackageCandidates2(x, start, opts) {
3632
3632
  var dirs = nodeModulesPaths(start, opts, x);
3633
3633
  for (var i = 0; i < dirs.length; i++) {
3634
- dirs[i] = path11.join(dirs[i], x);
3634
+ dirs[i] = path10.join(dirs[i], x);
3635
3635
  }
3636
3636
  return dirs;
3637
3637
  };
@@ -3651,12 +3651,12 @@ var require_sync = __commonJS({
3651
3651
  var packageIterator = opts.packageIterator;
3652
3652
  var extensions = opts.extensions || [".js"];
3653
3653
  var includeCoreModules = opts.includeCoreModules !== false;
3654
- var basedir = opts.basedir || path11.dirname(caller());
3654
+ var basedir = opts.basedir || path10.dirname(caller());
3655
3655
  var parent = opts.filename || basedir;
3656
3656
  opts.paths = opts.paths || defaultPaths();
3657
- var absoluteStart = maybeRealpathSync(realpathSync, path11.resolve(basedir), opts);
3657
+ var absoluteStart = maybeRealpathSync(realpathSync, path10.resolve(basedir), opts);
3658
3658
  if (/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(x)) {
3659
- var res = path11.resolve(absoluteStart, x);
3659
+ var res = path10.resolve(absoluteStart, x);
3660
3660
  if (x === "." || x === ".." || x.slice(-1) === "/") res += "/";
3661
3661
  var m = loadAsFileSync(res) || loadAsDirectorySync(res);
3662
3662
  if (m) return maybeRealpathSync(realpathSync, m, opts);
@@ -3670,12 +3670,12 @@ var require_sync = __commonJS({
3670
3670
  err.code = "MODULE_NOT_FOUND";
3671
3671
  throw err;
3672
3672
  function loadAsFileSync(x2) {
3673
- var pkg = loadpkg(path11.dirname(x2));
3673
+ var pkg = loadpkg(path10.dirname(x2));
3674
3674
  if (pkg && pkg.dir && pkg.pkg && opts.pathFilter) {
3675
- var rfile = path11.relative(pkg.dir, x2);
3675
+ var rfile = path10.relative(pkg.dir, x2);
3676
3676
  var r = opts.pathFilter(pkg.pkg, x2, rfile);
3677
3677
  if (r) {
3678
- x2 = path11.resolve(pkg.dir, r);
3678
+ x2 = path10.resolve(pkg.dir, r);
3679
3679
  }
3680
3680
  }
3681
3681
  if (isFile(x2)) {
@@ -3694,9 +3694,9 @@ var require_sync = __commonJS({
3694
3694
  return;
3695
3695
  }
3696
3696
  if (/[/\\]node_modules[/\\]*$/.test(dir)) return;
3697
- var pkgfile = path11.join(maybeRealpathSync(realpathSync, dir, opts), "package.json");
3697
+ var pkgfile = path10.join(maybeRealpathSync(realpathSync, dir, opts), "package.json");
3698
3698
  if (!isFile(pkgfile)) {
3699
- return loadpkg(path11.dirname(dir));
3699
+ return loadpkg(path10.dirname(dir));
3700
3700
  }
3701
3701
  var pkg = readPackageSync(readFileSync, pkgfile);
3702
3702
  if (pkg && opts.packageFilter) {
@@ -3709,7 +3709,7 @@ var require_sync = __commonJS({
3709
3709
  return { pkg, dir };
3710
3710
  }
3711
3711
  function loadAsDirectorySync(x2) {
3712
- var pkgfile = path11.join(maybeRealpathSync(realpathSync, x2, opts), "/package.json");
3712
+ var pkgfile = path10.join(maybeRealpathSync(realpathSync, x2, opts), "/package.json");
3713
3713
  if (isFile(pkgfile)) {
3714
3714
  try {
3715
3715
  var pkg = readPackageSync(readFileSync, pkgfile);
@@ -3732,15 +3732,15 @@ var require_sync = __commonJS({
3732
3732
  pkg.main = "index";
3733
3733
  }
3734
3734
  try {
3735
- var m2 = loadAsFileSync(path11.resolve(x2, pkg.main));
3735
+ var m2 = loadAsFileSync(path10.resolve(x2, pkg.main));
3736
3736
  if (m2) return m2;
3737
- var n2 = loadAsDirectorySync(path11.resolve(x2, pkg.main));
3737
+ var n2 = loadAsDirectorySync(path10.resolve(x2, pkg.main));
3738
3738
  if (n2) return n2;
3739
3739
  } catch (e) {
3740
3740
  }
3741
3741
  }
3742
3742
  }
3743
- return loadAsFileSync(path11.join(x2, "/index"));
3743
+ return loadAsFileSync(path10.join(x2, "/index"));
3744
3744
  }
3745
3745
  function loadNodeModulesSync(x2, start) {
3746
3746
  var thunk = function() {
@@ -3749,7 +3749,7 @@ var require_sync = __commonJS({
3749
3749
  var dirs = packageIterator ? packageIterator(x2, start, thunk, opts) : thunk();
3750
3750
  for (var i = 0; i < dirs.length; i++) {
3751
3751
  var dir = dirs[i];
3752
- if (isDirectory(path11.dirname(dir))) {
3752
+ if (isDirectory(path10.dirname(dir))) {
3753
3753
  var m2 = loadAsFileSync(dir);
3754
3754
  if (m2) return m2;
3755
3755
  var n2 = loadAsDirectorySync(dir);
@@ -3948,42 +3948,42 @@ var require_lib2 = __commonJS({
3948
3948
  var require_env_paths = __commonJS({
3949
3949
  "../../node_modules/.pnpm/env-paths@2.2.1/node_modules/env-paths/index.js"(exports2, module2) {
3950
3950
  "use strict";
3951
- var path11 = require("path");
3951
+ var path10 = require("path");
3952
3952
  var os2 = require("os");
3953
3953
  var homedir = os2.homedir();
3954
3954
  var tmpdir = os2.tmpdir();
3955
3955
  var { env: env2 } = process;
3956
3956
  var macos = (name) => {
3957
- const library = path11.join(homedir, "Library");
3957
+ const library = path10.join(homedir, "Library");
3958
3958
  return {
3959
- data: path11.join(library, "Application Support", name),
3960
- config: path11.join(library, "Preferences", name),
3961
- cache: path11.join(library, "Caches", name),
3962
- log: path11.join(library, "Logs", name),
3963
- temp: path11.join(tmpdir, name)
3959
+ data: path10.join(library, "Application Support", name),
3960
+ config: path10.join(library, "Preferences", name),
3961
+ cache: path10.join(library, "Caches", name),
3962
+ log: path10.join(library, "Logs", name),
3963
+ temp: path10.join(tmpdir, name)
3964
3964
  };
3965
3965
  };
3966
3966
  var windows2 = (name) => {
3967
- const appData = env2.APPDATA || path11.join(homedir, "AppData", "Roaming");
3968
- const localAppData = env2.LOCALAPPDATA || path11.join(homedir, "AppData", "Local");
3967
+ const appData = env2.APPDATA || path10.join(homedir, "AppData", "Roaming");
3968
+ const localAppData = env2.LOCALAPPDATA || path10.join(homedir, "AppData", "Local");
3969
3969
  return {
3970
3970
  // Data/config/cache/log are invented by me as Windows isn't opinionated about this
3971
- data: path11.join(localAppData, name, "Data"),
3972
- config: path11.join(appData, name, "Config"),
3973
- cache: path11.join(localAppData, name, "Cache"),
3974
- log: path11.join(localAppData, name, "Log"),
3975
- temp: path11.join(tmpdir, name)
3971
+ data: path10.join(localAppData, name, "Data"),
3972
+ config: path10.join(appData, name, "Config"),
3973
+ cache: path10.join(localAppData, name, "Cache"),
3974
+ log: path10.join(localAppData, name, "Log"),
3975
+ temp: path10.join(tmpdir, name)
3976
3976
  };
3977
3977
  };
3978
3978
  var linux = (name) => {
3979
- const username = path11.basename(homedir);
3979
+ const username = path10.basename(homedir);
3980
3980
  return {
3981
- data: path11.join(env2.XDG_DATA_HOME || path11.join(homedir, ".local", "share"), name),
3982
- config: path11.join(env2.XDG_CONFIG_HOME || path11.join(homedir, ".config"), name),
3983
- cache: path11.join(env2.XDG_CACHE_HOME || path11.join(homedir, ".cache"), name),
3981
+ data: path10.join(env2.XDG_DATA_HOME || path10.join(homedir, ".local", "share"), name),
3982
+ config: path10.join(env2.XDG_CONFIG_HOME || path10.join(homedir, ".config"), name),
3983
+ cache: path10.join(env2.XDG_CACHE_HOME || path10.join(homedir, ".cache"), name),
3984
3984
  // https://wiki.debian.org/XDGBaseDirectorySpecification#state
3985
- log: path11.join(env2.XDG_STATE_HOME || path11.join(homedir, ".local", "state"), name),
3986
- temp: path11.join(tmpdir, username, name)
3985
+ log: path10.join(env2.XDG_STATE_HOME || path10.join(homedir, ".local", "state"), name),
3986
+ temp: path10.join(tmpdir, username, name)
3987
3987
  };
3988
3988
  };
3989
3989
  var envPaths = (name, options2) => {
@@ -4378,7 +4378,7 @@ var Debug = new Proxy(debugCreate, {
4378
4378
  get: (_, prop) => topProps[prop],
4379
4379
  set: (_, prop, value) => topProps[prop] = value
4380
4380
  });
4381
- function safeStringify(value, indent9 = 2) {
4381
+ function safeStringify(value, indent8 = 2) {
4382
4382
  const cache = /* @__PURE__ */ new Set();
4383
4383
  return JSON.stringify(
4384
4384
  value,
@@ -4393,7 +4393,7 @@ function safeStringify(value, indent9 = 2) {
4393
4393
  }
4394
4394
  return value2;
4395
4395
  },
4396
- indent9
4396
+ indent8
4397
4397
  );
4398
4398
  }
4399
4399
 
@@ -4653,12 +4653,12 @@ async function packageUp({ cwd = import_node_process2.default.cwd() } = {}) {
4653
4653
  }
4654
4654
 
4655
4655
  // ../client-generator-js/src/generateClient.ts
4656
- var import_path5 = __toESM(require("path"));
4656
+ var import_path4 = __toESM(require("path"));
4657
4657
 
4658
4658
  // package.json
4659
4659
  var package_default = {
4660
4660
  name: "@prisma/client",
4661
- version: "6.20.0-integration-next.9",
4661
+ version: "6.20.0-integration-next.11",
4662
4662
  description: "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
4663
4663
  keywords: [
4664
4664
  "ORM",
@@ -5165,9 +5165,9 @@ function docCommentTag(strings, args) {
5165
5165
  if (lines2.length === 0) {
5166
5166
  return docComment2;
5167
5167
  }
5168
- const indent9 = getIndent(lines2[0]);
5168
+ const indent8 = getIndent(lines2[0]);
5169
5169
  for (const line of lines2) {
5170
- docComment2.addText(line.slice(indent9));
5170
+ docComment2.addText(line.slice(indent8));
5171
5171
  }
5172
5172
  return docComment2;
5173
5173
  }
@@ -5193,11 +5193,11 @@ function isEmptyLine(line) {
5193
5193
  return line.trim().length === 0;
5194
5194
  }
5195
5195
  function getIndent(line) {
5196
- let indent9 = 0;
5197
- while (line[indent9] === " ") {
5198
- indent9++;
5196
+ let indent8 = 0;
5197
+ while (line[indent8] === " ") {
5198
+ indent8++;
5199
5199
  }
5200
- return indent9;
5200
+ return indent8;
5201
5201
  }
5202
5202
 
5203
5203
  // ../ts-builders/src/Export.ts
@@ -7963,8 +7963,7 @@ function fluentWrapperName(modelName) {
7963
7963
  }
7964
7964
 
7965
7965
  // ../client-generator-js/src/TSClient/TSClient.ts
7966
- var import_indent_string8 = __toESM(require_indent_string());
7967
- var import_path4 = __toESM(require("path"));
7966
+ var import_indent_string7 = __toESM(require_indent_string());
7968
7967
 
7969
7968
  // ../client-generator-js/src/dmmf.ts
7970
7969
  var DMMFHelper = class {
@@ -8169,35 +8168,6 @@ function buildDebugInitialization(edge) {
8169
8168
  `;
8170
8169
  }
8171
8170
 
8172
- // ../client-generator-js/src/utils/buildDirname.ts
8173
- function buildDirname(edge, relativeOutdir) {
8174
- if (edge === true) {
8175
- return buildDirnameDefault();
8176
- }
8177
- return buildDirnameFind(relativeOutdir);
8178
- }
8179
- function buildDirnameFind(relativeOutdir) {
8180
- return `
8181
- const fs = require('fs')
8182
-
8183
- config.dirname = __dirname
8184
- if (!fs.existsSync(path.join(__dirname, 'schema.prisma'))) {
8185
- const alternativePaths = [
8186
- ${JSON.stringify(pathToPosix(relativeOutdir))},
8187
- ${JSON.stringify(pathToPosix(relativeOutdir).split("/").slice(1).join("/"))},
8188
- ]
8189
-
8190
- const alternativePath = alternativePaths.find((altPath) => {
8191
- return fs.existsSync(path.join(process.cwd(), altPath, 'schema.prisma'))
8192
- }) ?? alternativePaths[0]
8193
-
8194
- config.dirname = path.join(process.cwd(), alternativePath)
8195
- }`;
8196
- }
8197
- function buildDirnameDefault() {
8198
- return `config.dirname = '/'`;
8199
- }
8200
-
8201
8171
  // ../client-generator-js/src/utils/buildDMMF.ts
8202
8172
  function buildRuntimeDataModel(datamodel, runtimeNameJs) {
8203
8173
  const runtimeDataModel = dmmfToRuntimeDataModel(datamodel);
@@ -8899,27 +8869,13 @@ var GenerateContext = class {
8899
8869
  };
8900
8870
 
8901
8871
  // ../client-generator-js/src/TSClient/PrismaClient.ts
8902
- var import_indent_string7 = __toESM(require_indent_string());
8872
+ var import_indent_string6 = __toESM(require_indent_string());
8903
8873
 
8904
8874
  // ../client-generator-js/src/utils/runtimeImport.ts
8905
8875
  function runtimeImportedType(name) {
8906
8876
  return namedType(`runtime.${name}`);
8907
8877
  }
8908
8878
 
8909
- // ../client-generator-js/src/TSClient/Datasources.ts
8910
- var import_indent_string6 = __toESM(require_indent_string());
8911
- var Datasources = class {
8912
- constructor(internalDatasources) {
8913
- this.internalDatasources = internalDatasources;
8914
- }
8915
- toTS() {
8916
- const sources = this.internalDatasources;
8917
- return `export type Datasources = {
8918
- ${(0, import_indent_string6.default)(sources.map((s) => `${s.name}?: Datasource`).join("\n"), 2)}
8919
- }`;
8920
- }
8921
- };
8922
-
8923
8879
  // ../client-generator-js/src/TSClient/globalOmit.ts
8924
8880
  function globalOmitConfig(dmmf) {
8925
8881
  const objectType2 = objectType().addMultiple(
@@ -9238,7 +9194,7 @@ export class PrismaClient<
9238
9194
  > {
9239
9195
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
9240
9196
 
9241
- ${(0, import_indent_string7.default)(this.jsDoc, TAB_SIZE)}
9197
+ ${(0, import_indent_string6.default)(this.jsDoc, TAB_SIZE)}
9242
9198
 
9243
9199
  constructor(optionsArg ?: Prisma.Subset<ClientOptions, Prisma.PrismaClientOptions>);
9244
9200
  ${eventRegistrationMethodDeclaration(this.runtimeNameTs)}
@@ -9263,7 +9219,7 @@ ${[
9263
9219
  extendsPropertyDefinition()
9264
9220
  ].filter((d) => d !== null).join("\n").trim()}
9265
9221
 
9266
- ${(0, import_indent_string7.default)(
9222
+ ${(0, import_indent_string6.default)(
9267
9223
  dmmf.mappings.modelOperations.filter((m) => m.findMany).map((m) => {
9268
9224
  let methodName = uncapitalize(m.model);
9269
9225
  if (methodName === "constructor") {
@@ -9286,8 +9242,7 @@ get ${methodName}(): Prisma.${m.model}Delegate<${generics.join(", ")}>;`;
9286
9242
  }
9287
9243
  toTS() {
9288
9244
  const clientOptions = this.buildClientOptions();
9289
- return `${new Datasources(this.internalDatasources).toTS()}
9290
- ${clientExtensionsDefinitions(this.context)}
9245
+ return `${clientExtensionsDefinitions(this.context)}
9291
9246
  export type DefaultPrismaClient = PrismaClient
9292
9247
  export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
9293
9248
  ${stringify(moduleExport(clientOptions))}
@@ -9360,8 +9315,6 @@ export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClie
9360
9315
  }
9361
9316
  buildClientOptions() {
9362
9317
  const clientOptions = interfaceDeclaration("PrismaClientOptions").add(
9363
- property("datasources", namedType("Datasources")).optional().setDocComment(docComment("Overwrites the datasource url from your schema.prisma file"))
9364
- ).add(
9365
9318
  property("errorFormat", namedType("ErrorFormat")).optional().setDocComment(docComment('@default "colorless"'))
9366
9319
  ).add(
9367
9320
  property("log", array(unionType([namedType("LogLevel"), namedType("LogDefinition")]))).optional().setDocComment(docComment`
@@ -9445,7 +9398,7 @@ var TSClient = class {
9445
9398
  dmmf;
9446
9399
  genericsInfo;
9447
9400
  toJS() {
9448
- const { edge, wasm, generator, outputDir, datamodel: inlineSchema, runtimeNameJs, reusedJs } = this.options;
9401
+ const { edge, wasm, generator, datamodel: inlineSchema, runtimeNameJs, reusedJs } = this.options;
9449
9402
  if (reusedJs) {
9450
9403
  return `module.exports = { ...require('${reusedJs}') }`;
9451
9404
  }
@@ -9456,7 +9409,6 @@ var TSClient = class {
9456
9409
  activeProvider: this.options.activeProvider,
9457
9410
  inlineSchema
9458
9411
  };
9459
- const relativeOutdir = import_path4.default.relative(process.cwd(), outputDir);
9460
9412
  const code = `${commonCodeJS({ ...this.options, browser: false })}
9461
9413
  ${buildRequirePath(edge)}
9462
9414
 
@@ -9480,7 +9432,6 @@ ${new Enum(
9480
9432
  * Create the Client
9481
9433
  */
9482
9434
  const config = ${JSON.stringify(config, null, 2)}
9483
- ${buildDirname(edge, relativeOutdir)}
9484
9435
  ${buildRuntimeDataModel(this.dmmf.datamodel, runtimeNameJs)}
9485
9436
  ${buildQueryCompilerWasmModule(wasm, runtimeNameJs)}
9486
9437
  ${buildDebugInitialization(edge)}
@@ -9554,7 +9505,7 @@ ${modelEnumsAliases.join("\n\n")}
9554
9505
  ${prismaClientClass.toTSWithoutNamespace()}
9555
9506
 
9556
9507
  export namespace Prisma {
9557
- ${(0, import_indent_string8.default)(
9508
+ ${(0, import_indent_string7.default)(
9558
9509
  `${commonCode.ts()}
9559
9510
  ${new Enum(
9560
9511
  {
@@ -10169,10 +10120,10 @@ function getTypedSqlRuntimeBase(runtimeBase) {
10169
10120
  return `../${runtimeBase}`;
10170
10121
  }
10171
10122
  function getDefaultOutdir(outputDir) {
10172
- if (outputDir.endsWith(import_path5.default.normalize("node_modules/@prisma/client"))) {
10173
- return import_path5.default.join(outputDir, "../../.prisma/client");
10123
+ if (outputDir.endsWith(import_path4.default.normalize("node_modules/@prisma/client"))) {
10124
+ return import_path4.default.join(outputDir, "../../.prisma/client");
10174
10125
  }
10175
- return import_path5.default.join(outputDir, "../../.prisma/client");
10126
+ return import_path4.default.join(outputDir, "../../.prisma/client");
10176
10127
  }
10177
10128
  async function generateClient(options2) {
10178
10129
  const {
@@ -10225,7 +10176,7 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
10225
10176
  await (0, import_fs_extra.ensureDir)(outputDir);
10226
10177
  await writeFileMap(outputDir, fileMap);
10227
10178
  if (copyRuntime || generator.isCustomOutput === true) {
10228
- const copiedRuntimeDir = import_path5.default.join(outputDir, "runtime");
10179
+ const copiedRuntimeDir = import_path4.default.join(outputDir, "runtime");
10229
10180
  await (0, import_fs_extra.ensureDir)(copiedRuntimeDir);
10230
10181
  await copyRuntimeFiles({
10231
10182
  from: runtimeSourcePath,
@@ -10234,20 +10185,20 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
10234
10185
  runtimeName: "client"
10235
10186
  });
10236
10187
  }
10237
- const schemaTargetPath = import_path5.default.join(outputDir, "schema.prisma");
10188
+ const schemaTargetPath = import_path4.default.join(outputDir, "schema.prisma");
10238
10189
  await import_promises2.default.writeFile(schemaTargetPath, datamodel, { encoding: "utf-8" });
10239
10190
  if (isWasmEngineSupported(provider) && !testMode) {
10240
10191
  const suffix = provider === "postgres" ? "postgresql" : provider;
10241
10192
  const filename = "query_compiler_bg";
10242
- const wasmJsBundlePath = import_path5.default.join(runtimeSourcePath, `${filename}.${suffix}.wasm-base64.js`);
10193
+ const wasmJsBundlePath = import_path4.default.join(runtimeSourcePath, `${filename}.${suffix}.wasm-base64.js`);
10243
10194
  const wasmBase64 = require(wasmJsBundlePath).wasm;
10244
- await import_promises2.default.writeFile(import_path5.default.join(outputDir, `${filename}.wasm`), Buffer.from(wasmBase64, "base64"));
10245
- await import_promises2.default.copyFile(import_path5.default.join(runtimeSourcePath, `${filename}.${suffix}.js`), import_path5.default.join(outputDir, `${filename}.js`));
10246
- await import_promises2.default.copyFile(wasmJsBundlePath, import_path5.default.join(outputDir, `${filename}.wasm-base64.js`));
10195
+ await import_promises2.default.writeFile(import_path4.default.join(outputDir, `${filename}.wasm`), Buffer.from(wasmBase64, "base64"));
10196
+ await import_promises2.default.copyFile(import_path4.default.join(runtimeSourcePath, `${filename}.${suffix}.js`), import_path4.default.join(outputDir, `${filename}.js`));
10197
+ await import_promises2.default.copyFile(wasmJsBundlePath, import_path4.default.join(outputDir, `${filename}.wasm-base64.js`));
10247
10198
  }
10248
10199
  try {
10249
10200
  const prismaCache = (0, import_env_paths.default)("prisma").cache;
10250
- const signalsPath = import_path5.default.join(prismaCache, "last-generate");
10201
+ const signalsPath = import_path4.default.join(prismaCache, "last-generate");
10251
10202
  await import_promises2.default.mkdir(prismaCache, { recursive: true });
10252
10203
  await import_promises2.default.writeFile(signalsPath, Date.now().toString());
10253
10204
  } catch {
@@ -10256,7 +10207,7 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
10256
10207
  function writeFileMap(outputDir, fileMap) {
10257
10208
  return Promise.all(
10258
10209
  Object.entries(fileMap).map(async ([fileName, content]) => {
10259
- const absolutePath = import_path5.default.join(outputDir, fileName);
10210
+ const absolutePath = import_path4.default.join(outputDir, fileName);
10260
10211
  await import_promises2.default.rm(absolutePath, { recursive: true, force: true });
10261
10212
  if (typeof content === "string") {
10262
10213
  await import_promises2.default.writeFile(absolutePath, content);
@@ -10356,7 +10307,7 @@ async function getGenerationDirs({
10356
10307
  testMode
10357
10308
  }) {
10358
10309
  const isCustomOutput = generator.isCustomOutput === true;
10359
- const normalizedOutputDir = import_path5.default.normalize(outputDir);
10310
+ const normalizedOutputDir = import_path4.default.normalize(outputDir);
10360
10311
  let userRuntimeImport = isCustomOutput ? "./runtime" : "@prisma/client/runtime";
10361
10312
  let userOutputDir = isCustomOutput ? normalizedOutputDir : getDefaultOutdir(normalizedOutputDir);
10362
10313
  if (testMode && runtimeBase) {
@@ -10366,8 +10317,8 @@ async function getGenerationDirs({
10366
10317
  if (isCustomOutput) {
10367
10318
  await verifyOutputDirectory(userOutputDir, datamodel, schemaPath);
10368
10319
  }
10369
- const userPackageRoot = await packageUp({ cwd: import_path5.default.dirname(userOutputDir) });
10370
- const userProjectRoot = userPackageRoot ? import_path5.default.dirname(userPackageRoot) : process.cwd();
10320
+ const userPackageRoot = await packageUp({ cwd: import_path4.default.dirname(userOutputDir) });
10321
+ const userProjectRoot = userPackageRoot ? import_path4.default.dirname(userPackageRoot) : process.cwd();
10371
10322
  return {
10372
10323
  runtimeBase: userRuntimeImport,
10373
10324
  outputDir: userOutputDir,
@@ -10377,7 +10328,7 @@ async function getGenerationDirs({
10377
10328
  async function verifyOutputDirectory(directory, datamodel, schemaPath) {
10378
10329
  let content;
10379
10330
  try {
10380
- content = await import_promises2.default.readFile(import_path5.default.join(directory, "package.json"), "utf8");
10331
+ content = await import_promises2.default.readFile(import_path4.default.join(directory, "package.json"), "utf8");
10381
10332
  } catch (e) {
10382
10333
  if (e.code === "ENOENT") {
10383
10334
  return;
@@ -10429,8 +10380,8 @@ async function copyRuntimeFiles({ from, to, runtimeName, sourceMaps }) {
10429
10380
  }
10430
10381
  await Promise.all(
10431
10382
  files.map(async (file2) => {
10432
- const sourcePath = import_path5.default.join(from, file2);
10433
- const targetPath = import_path5.default.join(to, file2);
10383
+ const sourcePath = import_path4.default.join(from, file2);
10384
+ const targetPath = import_path4.default.join(to, file2);
10434
10385
  if (file2.endsWith(".js")) {
10435
10386
  const content = await import_promises2.default.readFile(sourcePath, "utf-8");
10436
10387
  await import_promises2.default.writeFile(targetPath, addPreamble(content));
@@ -10452,7 +10403,7 @@ var import_node_path4 = __toESM(require("node:path"));
10452
10403
  var import_engines_version = __toESM(require_engines_version());
10453
10404
 
10454
10405
  // ../client-generator-js/package.json
10455
- var version = "6.20.0-integration-next.9";
10406
+ var version = "6.20.0-integration-next.11";
10456
10407
 
10457
10408
  // ../client-generator-js/src/resolvePrismaClient.ts
10458
10409
  var import_promises5 = __toESM(require("node:fs/promises"));
@@ -10465,7 +10416,7 @@ var import_node_process3 = __toESM(require("node:process"), 1);
10465
10416
  var import_node_buffer = require("node:buffer");
10466
10417
  var import_node_child_process = __toESM(require("node:child_process"), 1);
10467
10418
  var import_child_process = __toESM(require("child_process"), 1);
10468
- var import_path6 = __toESM(require("path"), 1);
10419
+ var import_path5 = __toESM(require("path"), 1);
10469
10420
  var import_fs = __toESM(require("fs"), 1);
10470
10421
  var import_node_url2 = __toESM(require("node:url"), 1);
10471
10422
  var import_node_os = __toESM(require("node:os"), 1);
@@ -10587,7 +10538,7 @@ function requireWindows() {
10587
10538
  windows = isexe2;
10588
10539
  isexe2.sync = sync2;
10589
10540
  var fs4 = import_fs.default;
10590
- function checkPathExt2(path11, options2) {
10541
+ function checkPathExt2(path10, options2) {
10591
10542
  var pathext = options2.pathExt !== void 0 ? options2.pathExt : process.env.PATHEXT;
10592
10543
  if (!pathext) {
10593
10544
  return true;
@@ -10598,25 +10549,25 @@ function requireWindows() {
10598
10549
  }
10599
10550
  for (var i = 0; i < pathext.length; i++) {
10600
10551
  var p = pathext[i].toLowerCase();
10601
- if (p && path11.substr(-p.length).toLowerCase() === p) {
10552
+ if (p && path10.substr(-p.length).toLowerCase() === p) {
10602
10553
  return true;
10603
10554
  }
10604
10555
  }
10605
10556
  return false;
10606
10557
  }
10607
- function checkStat2(stat, path11, options2) {
10558
+ function checkStat2(stat, path10, options2) {
10608
10559
  if (!stat.isSymbolicLink() && !stat.isFile()) {
10609
10560
  return false;
10610
10561
  }
10611
- return checkPathExt2(path11, options2);
10562
+ return checkPathExt2(path10, options2);
10612
10563
  }
10613
- function isexe2(path11, options2, cb) {
10614
- fs4.stat(path11, function(er, stat) {
10615
- cb(er, er ? false : checkStat2(stat, path11, options2));
10564
+ function isexe2(path10, options2, cb) {
10565
+ fs4.stat(path10, function(er, stat) {
10566
+ cb(er, er ? false : checkStat2(stat, path10, options2));
10616
10567
  });
10617
10568
  }
10618
- function sync2(path11, options2) {
10619
- return checkStat2(fs4.statSync(path11), path11, options2);
10569
+ function sync2(path10, options2) {
10570
+ return checkStat2(fs4.statSync(path10), path10, options2);
10620
10571
  }
10621
10572
  return windows;
10622
10573
  }
@@ -10628,13 +10579,13 @@ function requireMode() {
10628
10579
  mode = isexe2;
10629
10580
  isexe2.sync = sync2;
10630
10581
  var fs4 = import_fs.default;
10631
- function isexe2(path11, options2, cb) {
10632
- fs4.stat(path11, function(er, stat) {
10582
+ function isexe2(path10, options2, cb) {
10583
+ fs4.stat(path10, function(er, stat) {
10633
10584
  cb(er, er ? false : checkStat2(stat, options2));
10634
10585
  });
10635
10586
  }
10636
- function sync2(path11, options2) {
10637
- return checkStat2(fs4.statSync(path11), options2);
10587
+ function sync2(path10, options2) {
10588
+ return checkStat2(fs4.statSync(path10), options2);
10638
10589
  }
10639
10590
  function checkStat2(stat, options2) {
10640
10591
  return stat.isFile() && checkMode2(stat, options2);
@@ -10662,7 +10613,7 @@ if (process.platform === "win32" || commonjsGlobal.TESTING_WINDOWS) {
10662
10613
  }
10663
10614
  var isexe_1 = isexe$4;
10664
10615
  isexe$4.sync = sync$2;
10665
- function isexe$4(path11, options2, cb) {
10616
+ function isexe$4(path10, options2, cb) {
10666
10617
  if (typeof options2 === "function") {
10667
10618
  cb = options2;
10668
10619
  options2 = {};
@@ -10672,7 +10623,7 @@ function isexe$4(path11, options2, cb) {
10672
10623
  throw new TypeError("callback not provided");
10673
10624
  }
10674
10625
  return new Promise(function(resolve3, reject) {
10675
- isexe$4(path11, options2 || {}, function(er, is) {
10626
+ isexe$4(path10, options2 || {}, function(er, is) {
10676
10627
  if (er) {
10677
10628
  reject(er);
10678
10629
  } else {
@@ -10681,7 +10632,7 @@ function isexe$4(path11, options2, cb) {
10681
10632
  });
10682
10633
  });
10683
10634
  }
10684
- core(path11, options2 || {}, function(er, is) {
10635
+ core(path10, options2 || {}, function(er, is) {
10685
10636
  if (er) {
10686
10637
  if (er.code === "EACCES" || options2 && options2.ignoreErrors) {
10687
10638
  er = null;
@@ -10691,9 +10642,9 @@ function isexe$4(path11, options2, cb) {
10691
10642
  cb(er, is);
10692
10643
  });
10693
10644
  }
10694
- function sync$2(path11, options2) {
10645
+ function sync$2(path10, options2) {
10695
10646
  try {
10696
- return core.sync(path11, options2 || {});
10647
+ return core.sync(path10, options2 || {});
10697
10648
  } catch (er) {
10698
10649
  if (options2 && options2.ignoreErrors || er.code === "EACCES") {
10699
10650
  return false;
@@ -10703,7 +10654,7 @@ function sync$2(path11, options2) {
10703
10654
  }
10704
10655
  }
10705
10656
  var isWindows$1 = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
10706
- var path$2 = import_path6.default;
10657
+ var path$2 = import_path5.default;
10707
10658
  var COLON = isWindows$1 ? ";" : ":";
10708
10659
  var isexe$3 = isexe_1;
10709
10660
  var getNotFoundError$1 = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
@@ -10804,7 +10755,7 @@ var pathKey$1 = (options2 = {}) => {
10804
10755
  pathKey$2.exports = pathKey$1;
10805
10756
  pathKey$2.exports.default = pathKey$1;
10806
10757
  var pathKeyExports = pathKey$2.exports;
10807
- var path$1 = import_path6.default;
10758
+ var path$1 = import_path5.default;
10808
10759
  var which$2 = which_1;
10809
10760
  var getPathKey = pathKeyExports;
10810
10761
  function resolveCommandAttempt(parsed, withoutPathExt) {
@@ -10865,8 +10816,8 @@ var shebangCommand$1 = (string = "") => {
10865
10816
  if (!match) {
10866
10817
  return null;
10867
10818
  }
10868
- const [path11, argument] = match[0].replace(/#! ?/, "").split(" ");
10869
- const binary = path11.split("/").pop();
10819
+ const [path10, argument] = match[0].replace(/#! ?/, "").split(" ");
10820
+ const binary = path10.split("/").pop();
10870
10821
  if (binary === "env") {
10871
10822
  return argument;
10872
10823
  }
@@ -10887,7 +10838,7 @@ function readShebang$1(command) {
10887
10838
  return shebangCommand(buffer.toString());
10888
10839
  }
10889
10840
  var readShebang_1 = readShebang$1;
10890
- var path6 = import_path6.default;
10841
+ var path5 = import_path5.default;
10891
10842
  var resolveCommand = resolveCommand_1;
10892
10843
  var escape = _escape;
10893
10844
  var readShebang = readShebang_1;
@@ -10912,7 +10863,7 @@ function parseNonShell(parsed) {
10912
10863
  const needsShell = !isExecutableRegExp.test(commandFile);
10913
10864
  if (parsed.options.forceShell || needsShell) {
10914
10865
  const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
10915
- parsed.command = path6.normalize(parsed.command);
10866
+ parsed.command = path5.normalize(parsed.command);
10916
10867
  parsed.command = escape.command(parsed.command);
10917
10868
  parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
10918
10869
  const shellCommand = [parsed.command].concat(parsed.args).join(" ");
@@ -11048,9 +10999,9 @@ function npmRunPath(options2 = {}) {
11048
10999
  }
11049
11000
  function npmRunPathEnv({ env: env2 = import_node_process3.default.env, ...options2 } = {}) {
11050
11001
  env2 = { ...env2 };
11051
- const path11 = pathKey({ env: env2 });
11052
- options2.path = env2[path11];
11053
- env2[path11] = npmRunPath(options2);
11002
+ const path10 = pathKey({ env: env2 });
11003
+ options2.path = env2[path10];
11004
+ env2[path10] = npmRunPath(options2);
11054
11005
  return env2;
11055
11006
  }
11056
11007
  var copyProperty = (to, from, property2, ignoreNonConfigurable) => {
@@ -14988,10 +14939,10 @@ Object.defineProperty(posix$1, "__esModule", { value: true });
14988
14939
  posix$1.sync = posix$1.isexe = void 0;
14989
14940
  var fs_1$1 = import_fs.default;
14990
14941
  var promises_1$1 = import_promises4.default;
14991
- var isexe$2 = async (path11, options2 = {}) => {
14942
+ var isexe$2 = async (path10, options2 = {}) => {
14992
14943
  const { ignoreErrors = false } = options2;
14993
14944
  try {
14994
- return checkStat$1(await (0, promises_1$1.stat)(path11), options2);
14945
+ return checkStat$1(await (0, promises_1$1.stat)(path10), options2);
14995
14946
  } catch (e) {
14996
14947
  const er = e;
14997
14948
  if (ignoreErrors || er.code === "EACCES")
@@ -15000,10 +14951,10 @@ var isexe$2 = async (path11, options2 = {}) => {
15000
14951
  }
15001
14952
  };
15002
14953
  posix$1.isexe = isexe$2;
15003
- var sync$1 = (path11, options2 = {}) => {
14954
+ var sync$1 = (path10, options2 = {}) => {
15004
14955
  const { ignoreErrors = false } = options2;
15005
14956
  try {
15006
- return checkStat$1((0, fs_1$1.statSync)(path11), options2);
14957
+ return checkStat$1((0, fs_1$1.statSync)(path10), options2);
15007
14958
  } catch (e) {
15008
14959
  const er = e;
15009
14960
  if (ignoreErrors || er.code === "EACCES")
@@ -15035,10 +14986,10 @@ Object.defineProperty(win32, "__esModule", { value: true });
15035
14986
  win32.sync = win32.isexe = void 0;
15036
14987
  var fs_1 = import_fs.default;
15037
14988
  var promises_1 = import_promises4.default;
15038
- var isexe$1 = async (path11, options2 = {}) => {
14989
+ var isexe$1 = async (path10, options2 = {}) => {
15039
14990
  const { ignoreErrors = false } = options2;
15040
14991
  try {
15041
- return checkStat(await (0, promises_1.stat)(path11), path11, options2);
14992
+ return checkStat(await (0, promises_1.stat)(path10), path10, options2);
15042
14993
  } catch (e) {
15043
14994
  const er = e;
15044
14995
  if (ignoreErrors || er.code === "EACCES")
@@ -15047,10 +14998,10 @@ var isexe$1 = async (path11, options2 = {}) => {
15047
14998
  }
15048
14999
  };
15049
15000
  win32.isexe = isexe$1;
15050
- var sync = (path11, options2 = {}) => {
15001
+ var sync = (path10, options2 = {}) => {
15051
15002
  const { ignoreErrors = false } = options2;
15052
15003
  try {
15053
- return checkStat((0, fs_1.statSync)(path11), path11, options2);
15004
+ return checkStat((0, fs_1.statSync)(path10), path10, options2);
15054
15005
  } catch (e) {
15055
15006
  const er = e;
15056
15007
  if (ignoreErrors || er.code === "EACCES")
@@ -15059,7 +15010,7 @@ var sync = (path11, options2 = {}) => {
15059
15010
  }
15060
15011
  };
15061
15012
  win32.sync = sync;
15062
- var checkPathExt = (path11, options2) => {
15013
+ var checkPathExt = (path10, options2) => {
15063
15014
  const { pathExt = process.env.PATHEXT || "" } = options2;
15064
15015
  const peSplit = pathExt.split(";");
15065
15016
  if (peSplit.indexOf("") !== -1) {
@@ -15067,14 +15018,14 @@ var checkPathExt = (path11, options2) => {
15067
15018
  }
15068
15019
  for (let i = 0; i < peSplit.length; i++) {
15069
15020
  const p = peSplit[i].toLowerCase();
15070
- const ext = path11.substring(path11.length - p.length).toLowerCase();
15021
+ const ext = path10.substring(path10.length - p.length).toLowerCase();
15071
15022
  if (p && ext === p) {
15072
15023
  return true;
15073
15024
  }
15074
15025
  }
15075
15026
  return false;
15076
15027
  };
15077
- var checkStat = (stat, path11, options2) => stat.isFile() && checkPathExt(path11, options2);
15028
+ var checkStat = (stat, path10, options2) => stat.isFile() && checkPathExt(path10, options2);
15078
15029
  var options = {};
15079
15030
  Object.defineProperty(options, "__esModule", { value: true });
15080
15031
  (function(exports2) {
@@ -15121,7 +15072,7 @@ Object.defineProperty(options, "__esModule", { value: true });
15121
15072
  exports2.sync = impl.sync;
15122
15073
  })(cjs);
15123
15074
  var { isexe, sync: isexeSync } = cjs;
15124
- var { join, delimiter, sep, posix } = import_path6.default;
15075
+ var { join, delimiter, sep, posix } = import_path5.default;
15125
15076
  var isWindows = process.platform === "win32";
15126
15077
  var rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? "" : sep}]`.replace(/(\\)/g, "\\$1"));
15127
15078
  var rRel = new RegExp(`^\\.${rSlash.source}`);