@prisma/internals 6.20.0-integration-next.18 → 6.20.0-integration-next.20

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 (70) hide show
  1. package/dist/{chunk-D4EKBLXK.js → chunk-2KZ45IF4.js} +5 -5
  2. package/dist/{chunk-MEOOYUIZ.js → chunk-5AI4FIZ3.js} +10 -10
  3. package/dist/{chunk-MLFKBBDL.js → chunk-5BRXEOYH.js} +5 -5
  4. package/dist/{chunk-G2X4QA7T.js → chunk-62K5ZWEW.js} +6 -6
  5. package/dist/{chunk-R7L5ID34.js → chunk-63BLJTNP.js} +8 -8
  6. package/dist/{chunk-QWXKO4HW.js → chunk-6GLUKG5A.js} +5 -5
  7. package/dist/{chunk-XHZ4TZUD.js → chunk-6XDWK3XF.js} +8 -8
  8. package/dist/{chunk-U4HDQIEL.js → chunk-AQYQLWHE.js} +8 -8
  9. package/dist/{chunk-34PI6TZD.js → chunk-AYH4F3GT.js} +5 -5
  10. package/dist/{chunk-7SF6QSKE.js → chunk-BGMZPA2F.js} +5 -5
  11. package/dist/{chunk-QSVWJ2S2.js → chunk-BXIKQUP5.js} +784 -13
  12. package/dist/{chunk-HNRMSI3R.js → chunk-FASYSGWP.js} +5 -5
  13. package/dist/{chunk-LHTJCI5U.js → chunk-GZLJZGHX.js} +7 -7
  14. package/dist/{chunk-3XC6WKUH.js → chunk-HHG4DGHC.js} +12 -11
  15. package/dist/{chunk-3WXUQZS7.js → chunk-I6WLABB2.js} +5 -14
  16. package/dist/{chunk-FF7OLLBP.js → chunk-IDINCQMN.js} +784 -12
  17. package/dist/{chunk-AFGR5FNL.js → chunk-IGSPI5SQ.js} +5 -5
  18. package/dist/{chunk-UYBRAYI3.js → chunk-JPFN3KW3.js} +26 -26
  19. package/dist/{chunk-CIGXHXCG.js → chunk-K4IC7NPI.js} +7 -7
  20. package/dist/{chunk-X4GBU23V.js → chunk-KV5M6BWD.js} +8 -8
  21. package/dist/{chunk-H5STSTVK.js → chunk-MNP6VO5F.js} +5 -5
  22. package/dist/{chunk-HQDG2BBX.js → chunk-NHM75P2J.js} +5 -5
  23. package/dist/{chunk-KNNTV7IN.js → chunk-NVNI2SRU.js} +213 -687
  24. package/dist/{chunk-OV3PWX3C.js → chunk-PHCC4RQK.js} +7 -7
  25. package/dist/{chunk-5MHUYAV3.js → chunk-PKOQQT7I.js} +5 -5
  26. package/dist/{chunk-SMJRM3EM.js → chunk-Q5XW7CMJ.js} +9 -9
  27. package/dist/{chunk-2Z7PH5WX.js → chunk-SYSGRIYM.js} +5 -5
  28. package/dist/{chunk-XIYRAW5R.js → chunk-TRAG7WPX.js} +5 -5
  29. package/dist/{chunk-OPJUL5XV.js → chunk-UF5MLWNF.js} +8 -8
  30. package/dist/{chunk-SL44O4OA.js → chunk-UIA6QRTF.js} +5 -5
  31. package/dist/{chunk-7VXI23OO.js → chunk-UUZVVTOP.js} +5 -5
  32. package/dist/{chunk-PGLQ2MLS.js → chunk-UYMUOW4P.js} +26 -26
  33. package/dist/{chunk-22HIO2UL.js → chunk-V6DWK6TN.js} +7 -7
  34. package/dist/{chunk-T2VFAHGM.js → chunk-VS5Y4W6V.js} +7 -7
  35. package/dist/{chunk-JKRK7KSQ.js → chunk-XV3WHAKH.js} +5 -5
  36. package/dist/{chunk-QOZ7USPD.js → chunk-YV4IFLW4.js} +33 -68
  37. package/dist/{chunk-4B7YT7EE.js → chunk-YXCPS3WU.js} +6 -6
  38. package/dist/{chunk-6WBK35XU.js → chunk-Z2SS2ZAQ.js} +8 -8
  39. package/dist/cli/checkUnsupportedDataProxy.js +30 -31
  40. package/dist/cli/schemaContext.js +31 -32
  41. package/dist/engine-commands/errorHelpers.js +4 -4
  42. package/dist/engine-commands/formatSchema.js +29 -30
  43. package/dist/engine-commands/getConfig.js +7 -7
  44. package/dist/engine-commands/getDmmf.js +7 -7
  45. package/dist/engine-commands/getEngineVersion.js +5 -6
  46. package/dist/engine-commands/getEnginesInfo.js +6 -7
  47. package/dist/engine-commands/index.js +39 -40
  48. package/dist/engine-commands/lintSchema.js +8 -8
  49. package/dist/engine-commands/mergeSchemas.js +7 -7
  50. package/dist/engine-commands/validate.js +7 -7
  51. package/dist/errorReporting.js +6 -6
  52. package/dist/get-generators/getGenerators.js +32 -33
  53. package/dist/get-generators/utils/getBinaryPathsByVersion.js +3 -4
  54. package/dist/getPackedPackage.js +3 -4
  55. package/dist/index.js +63 -64
  56. package/dist/{multipart-parser-UV3WZSWW.js → multipart-parser-3AFJFP6K.js} +6 -6
  57. package/dist/resolveBinary.js +7 -8
  58. package/dist/schemaEngineCommands.js +8 -9
  59. package/dist/sendPanic.js +4 -4
  60. package/dist/utils/drawBox.js +2 -2
  61. package/dist/utils/fs-functional.js +10 -10
  62. package/dist/utils/fs-utils.js +8 -8
  63. package/dist/utils/getVersionFromPackageJson.js +3 -3
  64. package/dist/utils/handlePanic.js +6 -6
  65. package/dist/utils/link.js +2 -2
  66. package/dist/utils/missingDatasource.js +3 -3
  67. package/dist/utils/missingGeneratorMessage.js +5 -5
  68. package/dist/wasm.js +5 -5
  69. package/package.json +13 -13
  70. package/dist/chunk-DYV47NUW.js +0 -796
@@ -26,17 +26,16 @@ 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_QSVWJ2S2_exports = {};
30
- __export(chunk_QSVWJ2S2_exports, {
29
+ var chunk_BXIKQUP5_exports = {};
30
+ __export(chunk_BXIKQUP5_exports, {
31
31
  getPackedPackage: () => getPackedPackage,
32
32
  require_p_map: () => require_p_map
33
33
  });
34
- module.exports = __toCommonJS(chunk_QSVWJ2S2_exports);
34
+ module.exports = __toCommonJS(chunk_BXIKQUP5_exports);
35
35
  var import_chunk_KDP6C3CB = require("./chunk-KDP6C3CB.js");
36
- var import_chunk_QOZ7USPD = require("./chunk-QOZ7USPD.js");
36
+ var import_chunk_YV4IFLW4 = require("./chunk-YV4IFLW4.js");
37
37
  var import_chunk_UMM35VP5 = require("./chunk-UMM35VP5.js");
38
38
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
39
- var import_chunk_DYV47NUW = require("./chunk-DYV47NUW.js");
40
39
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
41
40
  var import_node_path = require("node:path");
42
41
  var import_node_fs = require("node:fs");
@@ -367,7 +366,7 @@ var require_balanced_match = (0, import_chunk_4VNS5WPM.__commonJS)({
367
366
  }
368
367
  });
369
368
  var require_brace_expansion = (0, import_chunk_4VNS5WPM.__commonJS)({
370
- "../../node_modules/.pnpm/brace-expansion@2.0.2/node_modules/brace-expansion/index.js"(exports, module2) {
369
+ "../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js"(exports, module2) {
371
370
  "use strict";
372
371
  var balanced = require_balanced_match();
373
372
  module2.exports = expandTop;
@@ -442,7 +441,7 @@ var require_brace_expansion = (0, import_chunk_4VNS5WPM.__commonJS)({
442
441
  var isSequence = isNumericSequence || isAlphaSequence;
443
442
  var isOptions = m.body.indexOf(",") >= 0;
444
443
  if (!isSequence && !isOptions) {
445
- if (m.post.match(/,(?!,).*\}/)) {
444
+ if (m.post.match(/,.*\}/)) {
446
445
  str = m.pre + "{" + m.body + escClose + m.post;
447
446
  return expand(str);
448
447
  }
@@ -3186,6 +3185,778 @@ var require_is_stream = (0, import_chunk_4VNS5WPM.__commonJS)({
3186
3185
  module2.exports = isStream;
3187
3186
  }
3188
3187
  });
3188
+ var require_polyfills = (0, import_chunk_4VNS5WPM.__commonJS)({
3189
+ "../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/polyfills.js"(exports, module2) {
3190
+ "use strict";
3191
+ var constants = (0, import_chunk_4VNS5WPM.__require)("constants");
3192
+ var origCwd = process.cwd;
3193
+ var cwd = null;
3194
+ var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
3195
+ process.cwd = function() {
3196
+ if (!cwd)
3197
+ cwd = origCwd.call(process);
3198
+ return cwd;
3199
+ };
3200
+ try {
3201
+ process.cwd();
3202
+ } catch (er) {
3203
+ }
3204
+ if (typeof process.chdir === "function") {
3205
+ chdir = process.chdir;
3206
+ process.chdir = function(d) {
3207
+ cwd = null;
3208
+ chdir.call(process, d);
3209
+ };
3210
+ if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, chdir);
3211
+ }
3212
+ var chdir;
3213
+ module2.exports = patch;
3214
+ function patch(fs2) {
3215
+ if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
3216
+ patchLchmod(fs2);
3217
+ }
3218
+ if (!fs2.lutimes) {
3219
+ patchLutimes(fs2);
3220
+ }
3221
+ fs2.chown = chownFix(fs2.chown);
3222
+ fs2.fchown = chownFix(fs2.fchown);
3223
+ fs2.lchown = chownFix(fs2.lchown);
3224
+ fs2.chmod = chmodFix(fs2.chmod);
3225
+ fs2.fchmod = chmodFix(fs2.fchmod);
3226
+ fs2.lchmod = chmodFix(fs2.lchmod);
3227
+ fs2.chownSync = chownFixSync(fs2.chownSync);
3228
+ fs2.fchownSync = chownFixSync(fs2.fchownSync);
3229
+ fs2.lchownSync = chownFixSync(fs2.lchownSync);
3230
+ fs2.chmodSync = chmodFixSync(fs2.chmodSync);
3231
+ fs2.fchmodSync = chmodFixSync(fs2.fchmodSync);
3232
+ fs2.lchmodSync = chmodFixSync(fs2.lchmodSync);
3233
+ fs2.stat = statFix(fs2.stat);
3234
+ fs2.fstat = statFix(fs2.fstat);
3235
+ fs2.lstat = statFix(fs2.lstat);
3236
+ fs2.statSync = statFixSync(fs2.statSync);
3237
+ fs2.fstatSync = statFixSync(fs2.fstatSync);
3238
+ fs2.lstatSync = statFixSync(fs2.lstatSync);
3239
+ if (fs2.chmod && !fs2.lchmod) {
3240
+ fs2.lchmod = function(path2, mode, cb) {
3241
+ if (cb) process.nextTick(cb);
3242
+ };
3243
+ fs2.lchmodSync = function() {
3244
+ };
3245
+ }
3246
+ if (fs2.chown && !fs2.lchown) {
3247
+ fs2.lchown = function(path2, uid, gid, cb) {
3248
+ if (cb) process.nextTick(cb);
3249
+ };
3250
+ fs2.lchownSync = function() {
3251
+ };
3252
+ }
3253
+ if (platform === "win32") {
3254
+ fs2.rename = typeof fs2.rename !== "function" ? fs2.rename : function(fs$rename) {
3255
+ function rename(from, to, cb) {
3256
+ var start = Date.now();
3257
+ var backoff = 0;
3258
+ fs$rename(from, to, function CB(er) {
3259
+ if (er && (er.code === "EACCES" || er.code === "EPERM") && Date.now() - start < 6e4) {
3260
+ setTimeout(function() {
3261
+ fs2.stat(to, function(stater, st) {
3262
+ if (stater && stater.code === "ENOENT")
3263
+ fs$rename(from, to, CB);
3264
+ else
3265
+ cb(er);
3266
+ });
3267
+ }, backoff);
3268
+ if (backoff < 100)
3269
+ backoff += 10;
3270
+ return;
3271
+ }
3272
+ if (cb) cb(er);
3273
+ });
3274
+ }
3275
+ if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename);
3276
+ return rename;
3277
+ }(fs2.rename);
3278
+ }
3279
+ fs2.read = typeof fs2.read !== "function" ? fs2.read : function(fs$read) {
3280
+ function read(fd, buffer, offset, length, position, callback_) {
3281
+ var callback;
3282
+ if (callback_ && typeof callback_ === "function") {
3283
+ var eagCounter = 0;
3284
+ callback = function(er, _, __) {
3285
+ if (er && er.code === "EAGAIN" && eagCounter < 10) {
3286
+ eagCounter++;
3287
+ return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
3288
+ }
3289
+ callback_.apply(this, arguments);
3290
+ };
3291
+ }
3292
+ return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
3293
+ }
3294
+ if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read);
3295
+ return read;
3296
+ }(fs2.read);
3297
+ fs2.readSync = typeof fs2.readSync !== "function" ? fs2.readSync : /* @__PURE__ */ function(fs$readSync) {
3298
+ return function(fd, buffer, offset, length, position) {
3299
+ var eagCounter = 0;
3300
+ while (true) {
3301
+ try {
3302
+ return fs$readSync.call(fs2, fd, buffer, offset, length, position);
3303
+ } catch (er) {
3304
+ if (er.code === "EAGAIN" && eagCounter < 10) {
3305
+ eagCounter++;
3306
+ continue;
3307
+ }
3308
+ throw er;
3309
+ }
3310
+ }
3311
+ };
3312
+ }(fs2.readSync);
3313
+ function patchLchmod(fs3) {
3314
+ fs3.lchmod = function(path2, mode, callback) {
3315
+ fs3.open(
3316
+ path2,
3317
+ constants.O_WRONLY | constants.O_SYMLINK,
3318
+ mode,
3319
+ function(err, fd) {
3320
+ if (err) {
3321
+ if (callback) callback(err);
3322
+ return;
3323
+ }
3324
+ fs3.fchmod(fd, mode, function(err2) {
3325
+ fs3.close(fd, function(err22) {
3326
+ if (callback) callback(err2 || err22);
3327
+ });
3328
+ });
3329
+ }
3330
+ );
3331
+ };
3332
+ fs3.lchmodSync = function(path2, mode) {
3333
+ var fd = fs3.openSync(path2, constants.O_WRONLY | constants.O_SYMLINK, mode);
3334
+ var threw = true;
3335
+ var ret;
3336
+ try {
3337
+ ret = fs3.fchmodSync(fd, mode);
3338
+ threw = false;
3339
+ } finally {
3340
+ if (threw) {
3341
+ try {
3342
+ fs3.closeSync(fd);
3343
+ } catch (er) {
3344
+ }
3345
+ } else {
3346
+ fs3.closeSync(fd);
3347
+ }
3348
+ }
3349
+ return ret;
3350
+ };
3351
+ }
3352
+ function patchLutimes(fs3) {
3353
+ if (constants.hasOwnProperty("O_SYMLINK") && fs3.futimes) {
3354
+ fs3.lutimes = function(path2, at, mt, cb) {
3355
+ fs3.open(path2, constants.O_SYMLINK, function(er, fd) {
3356
+ if (er) {
3357
+ if (cb) cb(er);
3358
+ return;
3359
+ }
3360
+ fs3.futimes(fd, at, mt, function(er2) {
3361
+ fs3.close(fd, function(er22) {
3362
+ if (cb) cb(er2 || er22);
3363
+ });
3364
+ });
3365
+ });
3366
+ };
3367
+ fs3.lutimesSync = function(path2, at, mt) {
3368
+ var fd = fs3.openSync(path2, constants.O_SYMLINK);
3369
+ var ret;
3370
+ var threw = true;
3371
+ try {
3372
+ ret = fs3.futimesSync(fd, at, mt);
3373
+ threw = false;
3374
+ } finally {
3375
+ if (threw) {
3376
+ try {
3377
+ fs3.closeSync(fd);
3378
+ } catch (er) {
3379
+ }
3380
+ } else {
3381
+ fs3.closeSync(fd);
3382
+ }
3383
+ }
3384
+ return ret;
3385
+ };
3386
+ } else if (fs3.futimes) {
3387
+ fs3.lutimes = function(_a, _b, _c, cb) {
3388
+ if (cb) process.nextTick(cb);
3389
+ };
3390
+ fs3.lutimesSync = function() {
3391
+ };
3392
+ }
3393
+ }
3394
+ function chmodFix(orig) {
3395
+ if (!orig) return orig;
3396
+ return function(target, mode, cb) {
3397
+ return orig.call(fs2, target, mode, function(er) {
3398
+ if (chownErOk(er)) er = null;
3399
+ if (cb) cb.apply(this, arguments);
3400
+ });
3401
+ };
3402
+ }
3403
+ function chmodFixSync(orig) {
3404
+ if (!orig) return orig;
3405
+ return function(target, mode) {
3406
+ try {
3407
+ return orig.call(fs2, target, mode);
3408
+ } catch (er) {
3409
+ if (!chownErOk(er)) throw er;
3410
+ }
3411
+ };
3412
+ }
3413
+ function chownFix(orig) {
3414
+ if (!orig) return orig;
3415
+ return function(target, uid, gid, cb) {
3416
+ return orig.call(fs2, target, uid, gid, function(er) {
3417
+ if (chownErOk(er)) er = null;
3418
+ if (cb) cb.apply(this, arguments);
3419
+ });
3420
+ };
3421
+ }
3422
+ function chownFixSync(orig) {
3423
+ if (!orig) return orig;
3424
+ return function(target, uid, gid) {
3425
+ try {
3426
+ return orig.call(fs2, target, uid, gid);
3427
+ } catch (er) {
3428
+ if (!chownErOk(er)) throw er;
3429
+ }
3430
+ };
3431
+ }
3432
+ function statFix(orig) {
3433
+ if (!orig) return orig;
3434
+ return function(target, options, cb) {
3435
+ if (typeof options === "function") {
3436
+ cb = options;
3437
+ options = null;
3438
+ }
3439
+ function callback(er, stats) {
3440
+ if (stats) {
3441
+ if (stats.uid < 0) stats.uid += 4294967296;
3442
+ if (stats.gid < 0) stats.gid += 4294967296;
3443
+ }
3444
+ if (cb) cb.apply(this, arguments);
3445
+ }
3446
+ return options ? orig.call(fs2, target, options, callback) : orig.call(fs2, target, callback);
3447
+ };
3448
+ }
3449
+ function statFixSync(orig) {
3450
+ if (!orig) return orig;
3451
+ return function(target, options) {
3452
+ var stats = options ? orig.call(fs2, target, options) : orig.call(fs2, target);
3453
+ if (stats) {
3454
+ if (stats.uid < 0) stats.uid += 4294967296;
3455
+ if (stats.gid < 0) stats.gid += 4294967296;
3456
+ }
3457
+ return stats;
3458
+ };
3459
+ }
3460
+ function chownErOk(er) {
3461
+ if (!er)
3462
+ return true;
3463
+ if (er.code === "ENOSYS")
3464
+ return true;
3465
+ var nonroot = !process.getuid || process.getuid() !== 0;
3466
+ if (nonroot) {
3467
+ if (er.code === "EINVAL" || er.code === "EPERM")
3468
+ return true;
3469
+ }
3470
+ return false;
3471
+ }
3472
+ }
3473
+ }
3474
+ });
3475
+ var require_legacy_streams = (0, import_chunk_4VNS5WPM.__commonJS)({
3476
+ "../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/legacy-streams.js"(exports, module2) {
3477
+ "use strict";
3478
+ var Stream = (0, import_chunk_4VNS5WPM.__require)("stream").Stream;
3479
+ module2.exports = legacy;
3480
+ function legacy(fs2) {
3481
+ return {
3482
+ ReadStream,
3483
+ WriteStream
3484
+ };
3485
+ function ReadStream(path2, options) {
3486
+ if (!(this instanceof ReadStream)) return new ReadStream(path2, options);
3487
+ Stream.call(this);
3488
+ var self = this;
3489
+ this.path = path2;
3490
+ this.fd = null;
3491
+ this.readable = true;
3492
+ this.paused = false;
3493
+ this.flags = "r";
3494
+ this.mode = 438;
3495
+ this.bufferSize = 64 * 1024;
3496
+ options = options || {};
3497
+ var keys = Object.keys(options);
3498
+ for (var index = 0, length = keys.length; index < length; index++) {
3499
+ var key = keys[index];
3500
+ this[key] = options[key];
3501
+ }
3502
+ if (this.encoding) this.setEncoding(this.encoding);
3503
+ if (this.start !== void 0) {
3504
+ if ("number" !== typeof this.start) {
3505
+ throw TypeError("start must be a Number");
3506
+ }
3507
+ if (this.end === void 0) {
3508
+ this.end = Infinity;
3509
+ } else if ("number" !== typeof this.end) {
3510
+ throw TypeError("end must be a Number");
3511
+ }
3512
+ if (this.start > this.end) {
3513
+ throw new Error("start must be <= end");
3514
+ }
3515
+ this.pos = this.start;
3516
+ }
3517
+ if (this.fd !== null) {
3518
+ process.nextTick(function() {
3519
+ self._read();
3520
+ });
3521
+ return;
3522
+ }
3523
+ fs2.open(this.path, this.flags, this.mode, function(err, fd) {
3524
+ if (err) {
3525
+ self.emit("error", err);
3526
+ self.readable = false;
3527
+ return;
3528
+ }
3529
+ self.fd = fd;
3530
+ self.emit("open", fd);
3531
+ self._read();
3532
+ });
3533
+ }
3534
+ function WriteStream(path2, options) {
3535
+ if (!(this instanceof WriteStream)) return new WriteStream(path2, options);
3536
+ Stream.call(this);
3537
+ this.path = path2;
3538
+ this.fd = null;
3539
+ this.writable = true;
3540
+ this.flags = "w";
3541
+ this.encoding = "binary";
3542
+ this.mode = 438;
3543
+ this.bytesWritten = 0;
3544
+ options = options || {};
3545
+ var keys = Object.keys(options);
3546
+ for (var index = 0, length = keys.length; index < length; index++) {
3547
+ var key = keys[index];
3548
+ this[key] = options[key];
3549
+ }
3550
+ if (this.start !== void 0) {
3551
+ if ("number" !== typeof this.start) {
3552
+ throw TypeError("start must be a Number");
3553
+ }
3554
+ if (this.start < 0) {
3555
+ throw new Error("start must be >= zero");
3556
+ }
3557
+ this.pos = this.start;
3558
+ }
3559
+ this.busy = false;
3560
+ this._queue = [];
3561
+ if (this.fd === null) {
3562
+ this._open = fs2.open;
3563
+ this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
3564
+ this.flush();
3565
+ }
3566
+ }
3567
+ }
3568
+ }
3569
+ });
3570
+ var require_clone = (0, import_chunk_4VNS5WPM.__commonJS)({
3571
+ "../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/clone.js"(exports, module2) {
3572
+ "use strict";
3573
+ module2.exports = clone;
3574
+ var getPrototypeOf = Object.getPrototypeOf || function(obj) {
3575
+ return obj.__proto__;
3576
+ };
3577
+ function clone(obj) {
3578
+ if (obj === null || typeof obj !== "object")
3579
+ return obj;
3580
+ if (obj instanceof Object)
3581
+ var copy = { __proto__: getPrototypeOf(obj) };
3582
+ else
3583
+ var copy = /* @__PURE__ */ Object.create(null);
3584
+ Object.getOwnPropertyNames(obj).forEach(function(key) {
3585
+ Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key));
3586
+ });
3587
+ return copy;
3588
+ }
3589
+ }
3590
+ });
3591
+ var require_graceful_fs = (0, import_chunk_4VNS5WPM.__commonJS)({
3592
+ "../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js"(exports, module2) {
3593
+ "use strict";
3594
+ var fs2 = (0, import_chunk_4VNS5WPM.__require)("fs");
3595
+ var polyfills = require_polyfills();
3596
+ var legacy = require_legacy_streams();
3597
+ var clone = require_clone();
3598
+ var util = (0, import_chunk_4VNS5WPM.__require)("util");
3599
+ var gracefulQueue;
3600
+ var previousSymbol;
3601
+ if (typeof Symbol === "function" && typeof Symbol.for === "function") {
3602
+ gracefulQueue = Symbol.for("graceful-fs.queue");
3603
+ previousSymbol = Symbol.for("graceful-fs.previous");
3604
+ } else {
3605
+ gracefulQueue = "___graceful-fs.queue";
3606
+ previousSymbol = "___graceful-fs.previous";
3607
+ }
3608
+ function noop() {
3609
+ }
3610
+ function publishQueue(context, queue2) {
3611
+ Object.defineProperty(context, gracefulQueue, {
3612
+ get: function() {
3613
+ return queue2;
3614
+ }
3615
+ });
3616
+ }
3617
+ var debug = noop;
3618
+ if (util.debuglog)
3619
+ debug = util.debuglog("gfs4");
3620
+ else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ""))
3621
+ debug = function() {
3622
+ var m = util.format.apply(util, arguments);
3623
+ m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
3624
+ console.error(m);
3625
+ };
3626
+ if (!fs2[gracefulQueue]) {
3627
+ queue = global[gracefulQueue] || [];
3628
+ publishQueue(fs2, queue);
3629
+ fs2.close = function(fs$close) {
3630
+ function close(fd, cb) {
3631
+ return fs$close.call(fs2, fd, function(err) {
3632
+ if (!err) {
3633
+ resetQueue();
3634
+ }
3635
+ if (typeof cb === "function")
3636
+ cb.apply(this, arguments);
3637
+ });
3638
+ }
3639
+ Object.defineProperty(close, previousSymbol, {
3640
+ value: fs$close
3641
+ });
3642
+ return close;
3643
+ }(fs2.close);
3644
+ fs2.closeSync = function(fs$closeSync) {
3645
+ function closeSync(fd) {
3646
+ fs$closeSync.apply(fs2, arguments);
3647
+ resetQueue();
3648
+ }
3649
+ Object.defineProperty(closeSync, previousSymbol, {
3650
+ value: fs$closeSync
3651
+ });
3652
+ return closeSync;
3653
+ }(fs2.closeSync);
3654
+ if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
3655
+ process.on("exit", function() {
3656
+ debug(fs2[gracefulQueue]);
3657
+ (0, import_chunk_4VNS5WPM.__require)("assert").equal(fs2[gracefulQueue].length, 0);
3658
+ });
3659
+ }
3660
+ }
3661
+ var queue;
3662
+ if (!global[gracefulQueue]) {
3663
+ publishQueue(global, fs2[gracefulQueue]);
3664
+ }
3665
+ module2.exports = patch(clone(fs2));
3666
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs2.__patched) {
3667
+ module2.exports = patch(fs2);
3668
+ fs2.__patched = true;
3669
+ }
3670
+ function patch(fs3) {
3671
+ polyfills(fs3);
3672
+ fs3.gracefulify = patch;
3673
+ fs3.createReadStream = createReadStream;
3674
+ fs3.createWriteStream = createWriteStream;
3675
+ var fs$readFile = fs3.readFile;
3676
+ fs3.readFile = readFile;
3677
+ function readFile(path2, options, cb) {
3678
+ if (typeof options === "function")
3679
+ cb = options, options = null;
3680
+ return go$readFile(path2, options, cb);
3681
+ function go$readFile(path3, options2, cb2, startTime) {
3682
+ return fs$readFile(path3, options2, function(err) {
3683
+ if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3684
+ enqueue([go$readFile, [path3, options2, cb2], err, startTime || Date.now(), Date.now()]);
3685
+ else {
3686
+ if (typeof cb2 === "function")
3687
+ cb2.apply(this, arguments);
3688
+ }
3689
+ });
3690
+ }
3691
+ }
3692
+ var fs$writeFile = fs3.writeFile;
3693
+ fs3.writeFile = writeFile;
3694
+ function writeFile(path2, data, options, cb) {
3695
+ if (typeof options === "function")
3696
+ cb = options, options = null;
3697
+ return go$writeFile(path2, data, options, cb);
3698
+ function go$writeFile(path3, data2, options2, cb2, startTime) {
3699
+ return fs$writeFile(path3, data2, options2, function(err) {
3700
+ if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3701
+ enqueue([go$writeFile, [path3, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
3702
+ else {
3703
+ if (typeof cb2 === "function")
3704
+ cb2.apply(this, arguments);
3705
+ }
3706
+ });
3707
+ }
3708
+ }
3709
+ var fs$appendFile = fs3.appendFile;
3710
+ if (fs$appendFile)
3711
+ fs3.appendFile = appendFile;
3712
+ function appendFile(path2, data, options, cb) {
3713
+ if (typeof options === "function")
3714
+ cb = options, options = null;
3715
+ return go$appendFile(path2, data, options, cb);
3716
+ function go$appendFile(path3, data2, options2, cb2, startTime) {
3717
+ return fs$appendFile(path3, data2, options2, function(err) {
3718
+ if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3719
+ enqueue([go$appendFile, [path3, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
3720
+ else {
3721
+ if (typeof cb2 === "function")
3722
+ cb2.apply(this, arguments);
3723
+ }
3724
+ });
3725
+ }
3726
+ }
3727
+ var fs$copyFile = fs3.copyFile;
3728
+ if (fs$copyFile)
3729
+ fs3.copyFile = copyFile;
3730
+ function copyFile(src, dest, flags, cb) {
3731
+ if (typeof flags === "function") {
3732
+ cb = flags;
3733
+ flags = 0;
3734
+ }
3735
+ return go$copyFile(src, dest, flags, cb);
3736
+ function go$copyFile(src2, dest2, flags2, cb2, startTime) {
3737
+ return fs$copyFile(src2, dest2, flags2, function(err) {
3738
+ if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3739
+ enqueue([go$copyFile, [src2, dest2, flags2, cb2], err, startTime || Date.now(), Date.now()]);
3740
+ else {
3741
+ if (typeof cb2 === "function")
3742
+ cb2.apply(this, arguments);
3743
+ }
3744
+ });
3745
+ }
3746
+ }
3747
+ var fs$readdir = fs3.readdir;
3748
+ fs3.readdir = readdir;
3749
+ var noReaddirOptionVersions = /^v[0-5]\./;
3750
+ function readdir(path2, options, cb) {
3751
+ if (typeof options === "function")
3752
+ cb = options, options = null;
3753
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path3, options2, cb2, startTime) {
3754
+ return fs$readdir(path3, fs$readdirCallback(
3755
+ path3,
3756
+ options2,
3757
+ cb2,
3758
+ startTime
3759
+ ));
3760
+ } : function go$readdir2(path3, options2, cb2, startTime) {
3761
+ return fs$readdir(path3, options2, fs$readdirCallback(
3762
+ path3,
3763
+ options2,
3764
+ cb2,
3765
+ startTime
3766
+ ));
3767
+ };
3768
+ return go$readdir(path2, options, cb);
3769
+ function fs$readdirCallback(path3, options2, cb2, startTime) {
3770
+ return function(err, files) {
3771
+ if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3772
+ enqueue([
3773
+ go$readdir,
3774
+ [path3, options2, cb2],
3775
+ err,
3776
+ startTime || Date.now(),
3777
+ Date.now()
3778
+ ]);
3779
+ else {
3780
+ if (files && files.sort)
3781
+ files.sort();
3782
+ if (typeof cb2 === "function")
3783
+ cb2.call(this, err, files);
3784
+ }
3785
+ };
3786
+ }
3787
+ }
3788
+ if (process.version.substr(0, 4) === "v0.8") {
3789
+ var legStreams = legacy(fs3);
3790
+ ReadStream = legStreams.ReadStream;
3791
+ WriteStream = legStreams.WriteStream;
3792
+ }
3793
+ var fs$ReadStream = fs3.ReadStream;
3794
+ if (fs$ReadStream) {
3795
+ ReadStream.prototype = Object.create(fs$ReadStream.prototype);
3796
+ ReadStream.prototype.open = ReadStream$open;
3797
+ }
3798
+ var fs$WriteStream = fs3.WriteStream;
3799
+ if (fs$WriteStream) {
3800
+ WriteStream.prototype = Object.create(fs$WriteStream.prototype);
3801
+ WriteStream.prototype.open = WriteStream$open;
3802
+ }
3803
+ Object.defineProperty(fs3, "ReadStream", {
3804
+ get: function() {
3805
+ return ReadStream;
3806
+ },
3807
+ set: function(val) {
3808
+ ReadStream = val;
3809
+ },
3810
+ enumerable: true,
3811
+ configurable: true
3812
+ });
3813
+ Object.defineProperty(fs3, "WriteStream", {
3814
+ get: function() {
3815
+ return WriteStream;
3816
+ },
3817
+ set: function(val) {
3818
+ WriteStream = val;
3819
+ },
3820
+ enumerable: true,
3821
+ configurable: true
3822
+ });
3823
+ var FileReadStream = ReadStream;
3824
+ Object.defineProperty(fs3, "FileReadStream", {
3825
+ get: function() {
3826
+ return FileReadStream;
3827
+ },
3828
+ set: function(val) {
3829
+ FileReadStream = val;
3830
+ },
3831
+ enumerable: true,
3832
+ configurable: true
3833
+ });
3834
+ var FileWriteStream = WriteStream;
3835
+ Object.defineProperty(fs3, "FileWriteStream", {
3836
+ get: function() {
3837
+ return FileWriteStream;
3838
+ },
3839
+ set: function(val) {
3840
+ FileWriteStream = val;
3841
+ },
3842
+ enumerable: true,
3843
+ configurable: true
3844
+ });
3845
+ function ReadStream(path2, options) {
3846
+ if (this instanceof ReadStream)
3847
+ return fs$ReadStream.apply(this, arguments), this;
3848
+ else
3849
+ return ReadStream.apply(Object.create(ReadStream.prototype), arguments);
3850
+ }
3851
+ function ReadStream$open() {
3852
+ var that = this;
3853
+ open(that.path, that.flags, that.mode, function(err, fd) {
3854
+ if (err) {
3855
+ if (that.autoClose)
3856
+ that.destroy();
3857
+ that.emit("error", err);
3858
+ } else {
3859
+ that.fd = fd;
3860
+ that.emit("open", fd);
3861
+ that.read();
3862
+ }
3863
+ });
3864
+ }
3865
+ function WriteStream(path2, options) {
3866
+ if (this instanceof WriteStream)
3867
+ return fs$WriteStream.apply(this, arguments), this;
3868
+ else
3869
+ return WriteStream.apply(Object.create(WriteStream.prototype), arguments);
3870
+ }
3871
+ function WriteStream$open() {
3872
+ var that = this;
3873
+ open(that.path, that.flags, that.mode, function(err, fd) {
3874
+ if (err) {
3875
+ that.destroy();
3876
+ that.emit("error", err);
3877
+ } else {
3878
+ that.fd = fd;
3879
+ that.emit("open", fd);
3880
+ }
3881
+ });
3882
+ }
3883
+ function createReadStream(path2, options) {
3884
+ return new fs3.ReadStream(path2, options);
3885
+ }
3886
+ function createWriteStream(path2, options) {
3887
+ return new fs3.WriteStream(path2, options);
3888
+ }
3889
+ var fs$open = fs3.open;
3890
+ fs3.open = open;
3891
+ function open(path2, flags, mode, cb) {
3892
+ if (typeof mode === "function")
3893
+ cb = mode, mode = null;
3894
+ return go$open(path2, flags, mode, cb);
3895
+ function go$open(path3, flags2, mode2, cb2, startTime) {
3896
+ return fs$open(path3, flags2, mode2, function(err, fd) {
3897
+ if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
3898
+ enqueue([go$open, [path3, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
3899
+ else {
3900
+ if (typeof cb2 === "function")
3901
+ cb2.apply(this, arguments);
3902
+ }
3903
+ });
3904
+ }
3905
+ }
3906
+ return fs3;
3907
+ }
3908
+ function enqueue(elem) {
3909
+ debug("ENQUEUE", elem[0].name, elem[1]);
3910
+ fs2[gracefulQueue].push(elem);
3911
+ retry();
3912
+ }
3913
+ var retryTimer;
3914
+ function resetQueue() {
3915
+ var now = Date.now();
3916
+ for (var i = 0; i < fs2[gracefulQueue].length; ++i) {
3917
+ if (fs2[gracefulQueue][i].length > 2) {
3918
+ fs2[gracefulQueue][i][3] = now;
3919
+ fs2[gracefulQueue][i][4] = now;
3920
+ }
3921
+ }
3922
+ retry();
3923
+ }
3924
+ function retry() {
3925
+ clearTimeout(retryTimer);
3926
+ retryTimer = void 0;
3927
+ if (fs2[gracefulQueue].length === 0)
3928
+ return;
3929
+ var elem = fs2[gracefulQueue].shift();
3930
+ var fn = elem[0];
3931
+ var args = elem[1];
3932
+ var err = elem[2];
3933
+ var startTime = elem[3];
3934
+ var lastTime = elem[4];
3935
+ if (startTime === void 0) {
3936
+ debug("RETRY", fn.name, args);
3937
+ fn.apply(null, args);
3938
+ } else if (Date.now() - startTime >= 6e4) {
3939
+ debug("TIMEOUT", fn.name, args);
3940
+ var cb = args.pop();
3941
+ if (typeof cb === "function")
3942
+ cb.call(null, err);
3943
+ } else {
3944
+ var sinceAttempt = Date.now() - lastTime;
3945
+ var sinceStart = Math.max(lastTime - startTime, 1);
3946
+ var desiredDelay = Math.min(sinceStart * 1.2, 100);
3947
+ if (sinceAttempt >= desiredDelay) {
3948
+ debug("RETRY", fn.name, args);
3949
+ fn.apply(null, args.concat([startTime]));
3950
+ } else {
3951
+ fs2[gracefulQueue].push(elem);
3952
+ }
3953
+ }
3954
+ if (retryTimer === void 0) {
3955
+ retryTimer = setTimeout(retry, 0);
3956
+ }
3957
+ }
3958
+ }
3959
+ });
3189
3960
  var require_is_path_cwd = (0, import_chunk_4VNS5WPM.__commonJS)({
3190
3961
  "../../node_modules/.pnpm/is-path-cwd@2.2.0/node_modules/is-path-cwd/index.js"(exports, module2) {
3191
3962
  "use strict";
@@ -3231,7 +4002,7 @@ var require_concat_map = (0, import_chunk_4VNS5WPM.__commonJS)({
3231
4002
  }
3232
4003
  });
3233
4004
  var require_brace_expansion2 = (0, import_chunk_4VNS5WPM.__commonJS)({
3234
- "../../node_modules/.pnpm/brace-expansion@1.1.12/node_modules/brace-expansion/index.js"(exports, module2) {
4005
+ "../../node_modules/.pnpm/brace-expansion@1.1.11/node_modules/brace-expansion/index.js"(exports, module2) {
3235
4006
  "use strict";
3236
4007
  var concatMap = require_concat_map();
3237
4008
  var balanced = require_balanced_match();
@@ -3299,7 +4070,7 @@ var require_brace_expansion2 = (0, import_chunk_4VNS5WPM.__commonJS)({
3299
4070
  var isSequence = isNumericSequence || isAlphaSequence;
3300
4071
  var isOptions = m.body.indexOf(",") >= 0;
3301
4072
  if (!isSequence && !isOptions) {
3302
- if (m.post.match(/,(?!,).*\}/)) {
4073
+ if (m.post.match(/,.*\}/)) {
3303
4074
  str = m.pre + "{" + m.body + escClose + m.post;
3304
4075
  return expand(str);
3305
4076
  }
@@ -5483,10 +6254,10 @@ var require_del = (0, import_chunk_4VNS5WPM.__commonJS)({
5483
6254
  "use strict";
5484
6255
  var { promisify } = (0, import_chunk_4VNS5WPM.__require)("util");
5485
6256
  var path2 = (0, import_chunk_4VNS5WPM.__require)("path");
5486
- var globby = (0, import_chunk_QOZ7USPD.require_globby)();
5487
- var isGlob = (0, import_chunk_QOZ7USPD.require_is_glob)();
5488
- var slash = (0, import_chunk_QOZ7USPD.require_slash)();
5489
- var gracefulFs = (0, import_chunk_DYV47NUW.require_graceful_fs)();
6257
+ var globby = (0, import_chunk_YV4IFLW4.require_globby)();
6258
+ var isGlob = (0, import_chunk_YV4IFLW4.require_is_glob)();
6259
+ var slash = (0, import_chunk_YV4IFLW4.require_slash)();
6260
+ var gracefulFs = require_graceful_fs();
5490
6261
  var isPathCwd = require_is_path_cwd();
5491
6262
  var isPathInside = require_is_path_inside();
5492
6263
  var rimraf = require_rimraf();