@prisma/get-platform 6.6.0-integration-feat-orm-693-d1-driver-create-migration-adapter-using-new-http-binding.4 → 6.6.0-integration-mcp.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -26,13 +26,13 @@ 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
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_GONIKY4C_exports = {};
|
|
30
|
+
__export(chunk_GONIKY4C_exports, {
|
|
31
31
|
jestConsoleContext: () => jestConsoleContext,
|
|
32
32
|
jestContext: () => jestContext,
|
|
33
33
|
jestProcessContext: () => jestProcessContext
|
|
34
34
|
});
|
|
35
|
-
module.exports = __toCommonJS(
|
|
35
|
+
module.exports = __toCommonJS(chunk_GONIKY4C_exports);
|
|
36
36
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
37
37
|
var import_path = __toESM(require("path"));
|
|
38
38
|
var require_windows = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
@@ -271,7 +271,7 @@ var require_path_key = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
var require_resolveCommand = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
274
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
274
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
|
|
275
275
|
"use strict";
|
|
276
276
|
var path2 = (0, import_chunk_2ESYSVXG.__require)("path");
|
|
277
277
|
var which = require_which();
|
|
@@ -311,7 +311,7 @@ var require_resolveCommand = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
311
311
|
}
|
|
312
312
|
});
|
|
313
313
|
var require_escape = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
314
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
314
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
|
|
315
315
|
"use strict";
|
|
316
316
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
317
317
|
function escapeCommand(arg) {
|
|
@@ -320,8 +320,8 @@ var require_escape = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
320
320
|
}
|
|
321
321
|
function escapeArgument(arg, doubleEscapeMetaChars) {
|
|
322
322
|
arg = `${arg}`;
|
|
323
|
-
arg = arg.replace(/(
|
|
324
|
-
arg = arg.replace(/(
|
|
323
|
+
arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"');
|
|
324
|
+
arg = arg.replace(/(?=(\\+?)?)\1$/, "$1$1");
|
|
325
325
|
arg = `"${arg}"`;
|
|
326
326
|
arg = arg.replace(metaCharsRegExp, "^$1");
|
|
327
327
|
if (doubleEscapeMetaChars) {
|
|
@@ -358,7 +358,7 @@ var require_shebang_command = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
358
358
|
}
|
|
359
359
|
});
|
|
360
360
|
var require_readShebang = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
361
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
361
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
|
|
362
362
|
"use strict";
|
|
363
363
|
var fs2 = (0, import_chunk_2ESYSVXG.__require)("fs");
|
|
364
364
|
var shebangCommand = require_shebang_command();
|
|
@@ -378,7 +378,7 @@ var require_readShebang = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
380
|
var require_parse = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
381
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
381
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
|
|
382
382
|
"use strict";
|
|
383
383
|
var path2 = (0, import_chunk_2ESYSVXG.__require)("path");
|
|
384
384
|
var resolveCommand = require_resolveCommand();
|
|
@@ -438,7 +438,7 @@ var require_parse = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
438
438
|
}
|
|
439
439
|
});
|
|
440
440
|
var require_enoent = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
441
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
441
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
|
|
442
442
|
"use strict";
|
|
443
443
|
var isWin = process.platform === "win32";
|
|
444
444
|
function notFoundError(original, syscall) {
|
|
@@ -457,7 +457,7 @@ var require_enoent = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
457
457
|
const originalEmit = cp.emit;
|
|
458
458
|
cp.emit = function(name, arg1) {
|
|
459
459
|
if (name === "exit") {
|
|
460
|
-
const err = verifyENOENT(arg1, parsed
|
|
460
|
+
const err = verifyENOENT(arg1, parsed);
|
|
461
461
|
if (err) {
|
|
462
462
|
return originalEmit.call(cp, "error", err);
|
|
463
463
|
}
|
|
@@ -486,7 +486,7 @@ var require_enoent = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
486
486
|
}
|
|
487
487
|
});
|
|
488
488
|
var require_cross_spawn = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
489
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
|
489
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports, module2) {
|
|
490
490
|
"use strict";
|
|
491
491
|
var cp = (0, import_chunk_2ESYSVXG.__require)("child_process");
|
|
492
492
|
var parse = require_parse();
|
|
@@ -3002,7 +3002,7 @@ var require_tree_walker = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3002
3002
|
}
|
|
3003
3003
|
});
|
|
3004
3004
|
var require_path = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
3005
|
-
"../../node_modules/.pnpm/minimatch@5.1.
|
|
3005
|
+
"../../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/lib/path.js"(exports, module2) {
|
|
3006
3006
|
"use strict";
|
|
3007
3007
|
var isWindows = typeof process === "object" && process && process.platform === "win32";
|
|
3008
3008
|
module2.exports = isWindows ? { sep: "\\" } : { sep: "/" };
|
|
@@ -3214,7 +3214,7 @@ var require_brace_expansion = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3214
3214
|
}
|
|
3215
3215
|
});
|
|
3216
3216
|
var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
3217
|
-
"../../node_modules/.pnpm/minimatch@5.1.
|
|
3217
|
+
"../../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/minimatch.js"(exports, module2) {
|
|
3218
3218
|
"use strict";
|
|
3219
3219
|
var minimatch = module2.exports = (p, pattern, options = {}) => {
|
|
3220
3220
|
assertValidPattern(pattern);
|
|
@@ -3301,7 +3301,9 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3301
3301
|
return list;
|
|
3302
3302
|
};
|
|
3303
3303
|
var globUnescape = (s) => s.replace(/\\(.)/g, "$1");
|
|
3304
|
+
var charUnescape = (s) => s.replace(/\\([^-\]])/g, "$1");
|
|
3304
3305
|
var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
3306
|
+
var braExpEscape = (s) => s.replace(/[[\]\\]/g, "\\$&");
|
|
3305
3307
|
var Minimatch = class {
|
|
3306
3308
|
constructor(pattern, options) {
|
|
3307
3309
|
assertValidPattern(pattern);
|
|
@@ -3354,7 +3356,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3354
3356
|
negate = !negate;
|
|
3355
3357
|
negateOffset++;
|
|
3356
3358
|
}
|
|
3357
|
-
if (negateOffset) this.pattern = pattern.
|
|
3359
|
+
if (negateOffset) this.pattern = pattern.slice(negateOffset);
|
|
3358
3360
|
this.negate = negate;
|
|
3359
3361
|
}
|
|
3360
3362
|
// set partial to true to test if, for example,
|
|
@@ -3440,7 +3442,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3440
3442
|
}
|
|
3441
3443
|
if (pattern === "") return "";
|
|
3442
3444
|
let re = "";
|
|
3443
|
-
let hasMagic =
|
|
3445
|
+
let hasMagic = false;
|
|
3444
3446
|
let escaping = false;
|
|
3445
3447
|
const patternListStack = [];
|
|
3446
3448
|
const negativeLists = [];
|
|
@@ -3451,7 +3453,10 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3451
3453
|
let cs;
|
|
3452
3454
|
let pl;
|
|
3453
3455
|
let sp;
|
|
3454
|
-
|
|
3456
|
+
let dotTravAllowed = pattern.charAt(0) === ".";
|
|
3457
|
+
let dotFileAllowed = options.dot || dotTravAllowed;
|
|
3458
|
+
const patternStart = () => dotTravAllowed ? "" : dotFileAllowed ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
|
3459
|
+
const subPatternStart = (p) => p.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
|
3455
3460
|
const clearStateChar = () => {
|
|
3456
3461
|
if (stateChar) {
|
|
3457
3462
|
switch (stateChar) {
|
|
@@ -3490,6 +3495,10 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3490
3495
|
return false;
|
|
3491
3496
|
}
|
|
3492
3497
|
case "\\":
|
|
3498
|
+
if (inClass && pattern.charAt(i + 1) === "-") {
|
|
3499
|
+
re += c;
|
|
3500
|
+
continue;
|
|
3501
|
+
}
|
|
3493
3502
|
clearStateChar();
|
|
3494
3503
|
escaping = true;
|
|
3495
3504
|
continue;
|
|
@@ -3512,7 +3521,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3512
3521
|
stateChar = c;
|
|
3513
3522
|
if (options.noext) clearStateChar();
|
|
3514
3523
|
continue;
|
|
3515
|
-
case "(":
|
|
3524
|
+
case "(": {
|
|
3516
3525
|
if (inClass) {
|
|
3517
3526
|
re += "(";
|
|
3518
3527
|
continue;
|
|
@@ -3521,39 +3530,54 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3521
3530
|
re += "\\(";
|
|
3522
3531
|
continue;
|
|
3523
3532
|
}
|
|
3524
|
-
|
|
3533
|
+
const plEntry = {
|
|
3525
3534
|
type: stateChar,
|
|
3526
3535
|
start: i - 1,
|
|
3527
3536
|
reStart: re.length,
|
|
3528
3537
|
open: plTypes[stateChar].open,
|
|
3529
3538
|
close: plTypes[stateChar].close
|
|
3530
|
-
}
|
|
3531
|
-
|
|
3539
|
+
};
|
|
3540
|
+
this.debug(this.pattern, " ", plEntry);
|
|
3541
|
+
patternListStack.push(plEntry);
|
|
3542
|
+
re += plEntry.open;
|
|
3543
|
+
if (plEntry.start === 0 && plEntry.type !== "!") {
|
|
3544
|
+
dotTravAllowed = true;
|
|
3545
|
+
re += subPatternStart(pattern.slice(i + 1));
|
|
3546
|
+
}
|
|
3532
3547
|
this.debug("plType %j %j", stateChar, re);
|
|
3533
3548
|
stateChar = false;
|
|
3534
3549
|
continue;
|
|
3535
|
-
|
|
3536
|
-
|
|
3550
|
+
}
|
|
3551
|
+
case ")": {
|
|
3552
|
+
const plEntry = patternListStack[patternListStack.length - 1];
|
|
3553
|
+
if (inClass || !plEntry) {
|
|
3537
3554
|
re += "\\)";
|
|
3538
3555
|
continue;
|
|
3539
3556
|
}
|
|
3557
|
+
patternListStack.pop();
|
|
3540
3558
|
clearStateChar();
|
|
3541
3559
|
hasMagic = true;
|
|
3542
|
-
pl =
|
|
3560
|
+
pl = plEntry;
|
|
3543
3561
|
re += pl.close;
|
|
3544
3562
|
if (pl.type === "!") {
|
|
3545
|
-
negativeLists.push(pl);
|
|
3563
|
+
negativeLists.push(Object.assign(pl, { reEnd: re.length }));
|
|
3546
3564
|
}
|
|
3547
|
-
pl.reEnd = re.length;
|
|
3548
3565
|
continue;
|
|
3549
|
-
|
|
3550
|
-
|
|
3566
|
+
}
|
|
3567
|
+
case "|": {
|
|
3568
|
+
const plEntry = patternListStack[patternListStack.length - 1];
|
|
3569
|
+
if (inClass || !plEntry) {
|
|
3551
3570
|
re += "\\|";
|
|
3552
3571
|
continue;
|
|
3553
3572
|
}
|
|
3554
3573
|
clearStateChar();
|
|
3555
3574
|
re += "|";
|
|
3575
|
+
if (plEntry.start === 0 && plEntry.type !== "!") {
|
|
3576
|
+
dotTravAllowed = true;
|
|
3577
|
+
re += subPatternStart(pattern.slice(i + 1));
|
|
3578
|
+
}
|
|
3556
3579
|
continue;
|
|
3580
|
+
}
|
|
3557
3581
|
// these are mostly the same in regexp and glob
|
|
3558
3582
|
case "[":
|
|
3559
3583
|
clearStateChar();
|
|
@@ -3573,17 +3597,13 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3573
3597
|
}
|
|
3574
3598
|
cs = pattern.substring(classStart + 1, i);
|
|
3575
3599
|
try {
|
|
3576
|
-
RegExp("[" + cs + "]");
|
|
3600
|
+
RegExp("[" + braExpEscape(charUnescape(cs)) + "]");
|
|
3601
|
+
re += c;
|
|
3577
3602
|
} catch (er) {
|
|
3578
|
-
|
|
3579
|
-
re = re.substr(0, reClassStart) + "\\[" + sp[0] + "\\]";
|
|
3580
|
-
hasMagic = hasMagic || sp[1];
|
|
3581
|
-
inClass = false;
|
|
3582
|
-
continue;
|
|
3603
|
+
re = re.substring(0, reClassStart) + "(?:$.)";
|
|
3583
3604
|
}
|
|
3584
3605
|
hasMagic = true;
|
|
3585
3606
|
inClass = false;
|
|
3586
|
-
re += c;
|
|
3587
3607
|
continue;
|
|
3588
3608
|
default:
|
|
3589
3609
|
clearStateChar();
|
|
@@ -3595,9 +3615,9 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3595
3615
|
}
|
|
3596
3616
|
}
|
|
3597
3617
|
if (inClass) {
|
|
3598
|
-
cs = pattern.
|
|
3618
|
+
cs = pattern.slice(classStart + 1);
|
|
3599
3619
|
sp = this.parse(cs, SUBPARSE);
|
|
3600
|
-
re = re.
|
|
3620
|
+
re = re.substring(0, reClassStart) + "\\[" + sp[0];
|
|
3601
3621
|
hasMagic = hasMagic || sp[1];
|
|
3602
3622
|
}
|
|
3603
3623
|
for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
|
|
@@ -3626,24 +3646,28 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3626
3646
|
const nlFirst = re.slice(nl.reStart, nl.reEnd - 8);
|
|
3627
3647
|
let nlAfter = re.slice(nl.reEnd);
|
|
3628
3648
|
const nlLast = re.slice(nl.reEnd - 8, nl.reEnd) + nlAfter;
|
|
3629
|
-
const
|
|
3649
|
+
const closeParensBefore = nlBefore.split(")").length;
|
|
3650
|
+
const openParensBefore = nlBefore.split("(").length - closeParensBefore;
|
|
3630
3651
|
let cleanAfter = nlAfter;
|
|
3631
3652
|
for (let i = 0; i < openParensBefore; i++) {
|
|
3632
3653
|
cleanAfter = cleanAfter.replace(/\)[+*?]?/, "");
|
|
3633
3654
|
}
|
|
3634
3655
|
nlAfter = cleanAfter;
|
|
3635
|
-
const dollar = nlAfter === "" && isSub !== SUBPARSE ? "
|
|
3656
|
+
const dollar = nlAfter === "" && isSub !== SUBPARSE ? "(?:$|\\/)" : "";
|
|
3636
3657
|
re = nlBefore + nlFirst + nlAfter + dollar + nlLast;
|
|
3637
3658
|
}
|
|
3638
3659
|
if (re !== "" && hasMagic) {
|
|
3639
3660
|
re = "(?=.)" + re;
|
|
3640
3661
|
}
|
|
3641
3662
|
if (addPatternStart) {
|
|
3642
|
-
re = patternStart + re;
|
|
3663
|
+
re = patternStart() + re;
|
|
3643
3664
|
}
|
|
3644
3665
|
if (isSub === SUBPARSE) {
|
|
3645
3666
|
return [re, hasMagic];
|
|
3646
3667
|
}
|
|
3668
|
+
if (options.nocase && !hasMagic) {
|
|
3669
|
+
hasMagic = pattern.toUpperCase() !== pattern.toLowerCase();
|
|
3670
|
+
}
|
|
3647
3671
|
if (!hasMagic) {
|
|
3648
3672
|
return globUnescape(pattern);
|
|
3649
3673
|
}
|
|
@@ -9033,7 +9057,7 @@ var require_out2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9033
9057
|
}
|
|
9034
9058
|
});
|
|
9035
9059
|
var require_reusify = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9036
|
-
"../../node_modules/.pnpm/reusify@1.0
|
|
9060
|
+
"../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/reusify.js"(exports, module2) {
|
|
9037
9061
|
"use strict";
|
|
9038
9062
|
function reusify(Constructor) {
|
|
9039
9063
|
var head = new Constructor();
|
|
@@ -9062,17 +9086,17 @@ var require_reusify = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9062
9086
|
}
|
|
9063
9087
|
});
|
|
9064
9088
|
var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9065
|
-
"../../node_modules/.pnpm/fastq@1.
|
|
9089
|
+
"../../node_modules/.pnpm/fastq@1.19.1/node_modules/fastq/queue.js"(exports, module2) {
|
|
9066
9090
|
"use strict";
|
|
9067
9091
|
var reusify = require_reusify();
|
|
9068
|
-
function fastqueue(context, worker,
|
|
9092
|
+
function fastqueue(context, worker, _concurrency) {
|
|
9069
9093
|
if (typeof context === "function") {
|
|
9070
|
-
|
|
9094
|
+
_concurrency = worker;
|
|
9071
9095
|
worker = context;
|
|
9072
9096
|
context = null;
|
|
9073
9097
|
}
|
|
9074
|
-
if (
|
|
9075
|
-
throw new Error("fastqueue concurrency must be greater than 1");
|
|
9098
|
+
if (!(_concurrency >= 1)) {
|
|
9099
|
+
throw new Error("fastqueue concurrency must be equal to or greater than 1");
|
|
9076
9100
|
}
|
|
9077
9101
|
var cache = reusify(Task);
|
|
9078
9102
|
var queueHead = null;
|
|
@@ -9085,7 +9109,20 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9085
9109
|
saturated: noop,
|
|
9086
9110
|
pause,
|
|
9087
9111
|
paused: false,
|
|
9088
|
-
concurrency
|
|
9112
|
+
get concurrency() {
|
|
9113
|
+
return _concurrency;
|
|
9114
|
+
},
|
|
9115
|
+
set concurrency(value) {
|
|
9116
|
+
if (!(value >= 1)) {
|
|
9117
|
+
throw new Error("fastqueue concurrency must be equal to or greater than 1");
|
|
9118
|
+
}
|
|
9119
|
+
_concurrency = value;
|
|
9120
|
+
if (self.paused) return;
|
|
9121
|
+
for (; queueHead && _running < _concurrency; ) {
|
|
9122
|
+
_running++;
|
|
9123
|
+
release();
|
|
9124
|
+
}
|
|
9125
|
+
},
|
|
9089
9126
|
running,
|
|
9090
9127
|
resume,
|
|
9091
9128
|
idle,
|
|
@@ -9125,7 +9162,12 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9125
9162
|
function resume() {
|
|
9126
9163
|
if (!self.paused) return;
|
|
9127
9164
|
self.paused = false;
|
|
9128
|
-
|
|
9165
|
+
if (queueHead === null) {
|
|
9166
|
+
_running++;
|
|
9167
|
+
release();
|
|
9168
|
+
return;
|
|
9169
|
+
}
|
|
9170
|
+
for (; queueHead && _running < _concurrency; ) {
|
|
9129
9171
|
_running++;
|
|
9130
9172
|
release();
|
|
9131
9173
|
}
|
|
@@ -9140,7 +9182,7 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9140
9182
|
current.value = value;
|
|
9141
9183
|
current.callback = done || noop;
|
|
9142
9184
|
current.errorHandler = errorHandler;
|
|
9143
|
-
if (_running
|
|
9185
|
+
if (_running >= _concurrency || self.paused) {
|
|
9144
9186
|
if (queueTail) {
|
|
9145
9187
|
queueTail.next = current;
|
|
9146
9188
|
queueTail = current;
|
|
@@ -9160,7 +9202,8 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9160
9202
|
current.release = release;
|
|
9161
9203
|
current.value = value;
|
|
9162
9204
|
current.callback = done || noop;
|
|
9163
|
-
|
|
9205
|
+
current.errorHandler = errorHandler;
|
|
9206
|
+
if (_running >= _concurrency || self.paused) {
|
|
9164
9207
|
if (queueHead) {
|
|
9165
9208
|
current.next = queueHead;
|
|
9166
9209
|
queueHead = current;
|
|
@@ -9179,7 +9222,7 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9179
9222
|
cache.release(holder);
|
|
9180
9223
|
}
|
|
9181
9224
|
var next = queueHead;
|
|
9182
|
-
if (next) {
|
|
9225
|
+
if (next && _running <= _concurrency) {
|
|
9183
9226
|
if (!self.paused) {
|
|
9184
9227
|
if (queueTail === queueHead) {
|
|
9185
9228
|
queueTail = null;
|
|
@@ -9235,9 +9278,9 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9235
9278
|
self.release(self);
|
|
9236
9279
|
};
|
|
9237
9280
|
}
|
|
9238
|
-
function queueAsPromised(context, worker,
|
|
9281
|
+
function queueAsPromised(context, worker, _concurrency) {
|
|
9239
9282
|
if (typeof context === "function") {
|
|
9240
|
-
|
|
9283
|
+
_concurrency = worker;
|
|
9241
9284
|
worker = context;
|
|
9242
9285
|
context = null;
|
|
9243
9286
|
}
|
|
@@ -9246,7 +9289,7 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9246
9289
|
cb(null, res);
|
|
9247
9290
|
}, cb);
|
|
9248
9291
|
}
|
|
9249
|
-
var queue = fastqueue(context, asyncWrapper,
|
|
9292
|
+
var queue = fastqueue(context, asyncWrapper, _concurrency);
|
|
9250
9293
|
var pushCb = queue.push;
|
|
9251
9294
|
var unshiftCb = queue.unshift;
|
|
9252
9295
|
queue.push = push;
|
|
@@ -9280,17 +9323,19 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9280
9323
|
return p;
|
|
9281
9324
|
}
|
|
9282
9325
|
function drained() {
|
|
9283
|
-
if (queue.idle()) {
|
|
9284
|
-
return new Promise(function(resolve) {
|
|
9285
|
-
resolve();
|
|
9286
|
-
});
|
|
9287
|
-
}
|
|
9288
|
-
var previousDrain = queue.drain;
|
|
9289
9326
|
var p = new Promise(function(resolve) {
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9327
|
+
process.nextTick(function() {
|
|
9328
|
+
if (queue.idle()) {
|
|
9329
|
+
resolve();
|
|
9330
|
+
} else {
|
|
9331
|
+
var previousDrain = queue.drain;
|
|
9332
|
+
queue.drain = function() {
|
|
9333
|
+
if (typeof previousDrain === "function") previousDrain();
|
|
9334
|
+
resolve();
|
|
9335
|
+
queue.drain = previousDrain;
|
|
9336
|
+
};
|
|
9337
|
+
}
|
|
9338
|
+
});
|
|
9294
9339
|
});
|
|
9295
9340
|
return p;
|
|
9296
9341
|
}
|
|
@@ -10522,7 +10567,7 @@ var require_dir_glob = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10522
10567
|
}
|
|
10523
10568
|
});
|
|
10524
10569
|
var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10525
|
-
"../../node_modules/.pnpm/ignore@5.2
|
|
10570
|
+
"../../node_modules/.pnpm/ignore@5.3.2/node_modules/ignore/index.js"(exports, module2) {
|
|
10526
10571
|
"use strict";
|
|
10527
10572
|
function makeArray(subject) {
|
|
10528
10573
|
return Array.isArray(subject) ? subject : [subject];
|
|
@@ -10554,18 +10599,32 @@ var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10554
10599
|
return slashes.slice(0, length - length % 2);
|
|
10555
10600
|
};
|
|
10556
10601
|
var REPLACERS = [
|
|
10602
|
+
[
|
|
10603
|
+
// remove BOM
|
|
10604
|
+
// TODO:
|
|
10605
|
+
// Other similar zero-width characters?
|
|
10606
|
+
/^\uFEFF/,
|
|
10607
|
+
() => EMPTY
|
|
10608
|
+
],
|
|
10557
10609
|
// > Trailing spaces are ignored unless they are quoted with backslash ("\")
|
|
10558
10610
|
[
|
|
10559
10611
|
// (a\ ) -> (a )
|
|
10560
10612
|
// (a ) -> (a)
|
|
10613
|
+
// (a ) -> (a)
|
|
10561
10614
|
// (a \ ) -> (a )
|
|
10562
|
-
|
|
10563
|
-
(
|
|
10615
|
+
/((?:\\\\)*?)(\\?\s+)$/,
|
|
10616
|
+
(_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
|
|
10564
10617
|
],
|
|
10565
10618
|
// replace (\ ) with ' '
|
|
10619
|
+
// (\ ) -> ' '
|
|
10620
|
+
// (\\ ) -> '\\ '
|
|
10621
|
+
// (\\\ ) -> '\\ '
|
|
10566
10622
|
[
|
|
10567
|
-
|
|
10568
|
-
() =>
|
|
10623
|
+
/(\\+?)\s/g,
|
|
10624
|
+
(_, m1) => {
|
|
10625
|
+
const { length } = m1;
|
|
10626
|
+
return m1.slice(0, length - length % 2) + SPACE;
|
|
10627
|
+
}
|
|
10569
10628
|
],
|
|
10570
10629
|
// Escape metacharacters
|
|
10571
10630
|
// which is written down by users but means special for regular expressions.
|
|
@@ -10700,7 +10759,7 @@ var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10700
10759
|
let source = regexCache[pattern];
|
|
10701
10760
|
if (!source) {
|
|
10702
10761
|
source = REPLACERS.reduce(
|
|
10703
|
-
(prev,
|
|
10762
|
+
(prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)),
|
|
10704
10763
|
pattern
|
|
10705
10764
|
);
|
|
10706
10765
|
regexCache[pattern] = source;
|
|
@@ -11178,7 +11237,7 @@ var require_globby = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
11178
11237
|
}
|
|
11179
11238
|
});
|
|
11180
11239
|
var require_polyfills = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
11181
|
-
"../../node_modules/.pnpm/graceful-fs@4.2.
|
|
11240
|
+
"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports, module2) {
|
|
11182
11241
|
"use strict";
|
|
11183
11242
|
var constants = (0, import_chunk_2ESYSVXG.__require)("constants");
|
|
11184
11243
|
var origCwd = process.cwd;
|
|
@@ -11248,7 +11307,7 @@ var require_polyfills = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
11248
11307
|
var start = Date.now();
|
|
11249
11308
|
var backoff = 0;
|
|
11250
11309
|
fs$rename(from, to, function CB(er) {
|
|
11251
|
-
if (er && (er.code === "EACCES" || er.code === "EPERM") && Date.now() - start < 6e4) {
|
|
11310
|
+
if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 6e4) {
|
|
11252
11311
|
setTimeout(function() {
|
|
11253
11312
|
fs2.stat(to, function(stater, st) {
|
|
11254
11313
|
if (stater && stater.code === "ENOENT")
|
|
@@ -11465,7 +11524,7 @@ var require_polyfills = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
11465
11524
|
}
|
|
11466
11525
|
});
|
|
11467
11526
|
var require_legacy_streams = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
11468
|
-
"../../node_modules/.pnpm/graceful-fs@4.2.
|
|
11527
|
+
"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports, module2) {
|
|
11469
11528
|
"use strict";
|
|
11470
11529
|
var Stream = (0, import_chunk_2ESYSVXG.__require)("stream").Stream;
|
|
11471
11530
|
module2.exports = legacy;
|
|
@@ -11560,7 +11619,7 @@ var require_legacy_streams = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
11560
11619
|
}
|
|
11561
11620
|
});
|
|
11562
11621
|
var require_clone = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
11563
|
-
"../../node_modules/.pnpm/graceful-fs@4.2.
|
|
11622
|
+
"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js"(exports, module2) {
|
|
11564
11623
|
"use strict";
|
|
11565
11624
|
module2.exports = clone;
|
|
11566
11625
|
var getPrototypeOf = Object.getPrototypeOf || function(obj) {
|
|
@@ -11581,7 +11640,7 @@ var require_clone = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
11581
11640
|
}
|
|
11582
11641
|
});
|
|
11583
11642
|
var require_graceful_fs = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
11584
|
-
"../../node_modules/.pnpm/graceful-fs@4.2.
|
|
11643
|
+
"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports, module2) {
|
|
11585
11644
|
"use strict";
|
|
11586
11645
|
var fs2 = (0, import_chunk_2ESYSVXG.__require)("fs");
|
|
11587
11646
|
var polyfills = require_polyfills();
|
package/dist/index.js
CHANGED
|
@@ -24,14 +24,14 @@ __export(index_exports, {
|
|
|
24
24
|
getNodeAPIName: () => import_chunk_2U36ISZO.getNodeAPIName,
|
|
25
25
|
getPlatformInfo: () => import_chunk_7PMGXL6S.getPlatformInfo,
|
|
26
26
|
getos: () => import_chunk_7PMGXL6S.getos,
|
|
27
|
-
jestConsoleContext: () =>
|
|
28
|
-
jestContext: () =>
|
|
29
|
-
jestProcessContext: () =>
|
|
27
|
+
jestConsoleContext: () => import_chunk_GONIKY4C.jestConsoleContext,
|
|
28
|
+
jestContext: () => import_chunk_GONIKY4C.jestContext,
|
|
29
|
+
jestProcessContext: () => import_chunk_GONIKY4C.jestProcessContext,
|
|
30
30
|
link: () => import_chunk_DS3PYS3D.link
|
|
31
31
|
});
|
|
32
32
|
module.exports = __toCommonJS(index_exports);
|
|
33
33
|
var import_chunk_6HZWON4S = require("./chunk-6HZWON4S.js");
|
|
34
|
-
var
|
|
34
|
+
var import_chunk_GONIKY4C = require("./chunk-GONIKY4C.js");
|
|
35
35
|
var import_chunk_O5EOXX3N = require("./chunk-O5EOXX3N.js");
|
|
36
36
|
var import_chunk_2U36ISZO = require("./chunk-2U36ISZO.js");
|
|
37
37
|
var import_chunk_7PMGXL6S = require("./chunk-7PMGXL6S.js");
|
package/dist/test-utils/index.js
CHANGED
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var test_utils_exports = {};
|
|
20
20
|
__export(test_utils_exports, {
|
|
21
|
-
jestConsoleContext: () =>
|
|
22
|
-
jestContext: () =>
|
|
23
|
-
jestProcessContext: () =>
|
|
21
|
+
jestConsoleContext: () => import_chunk_GONIKY4C.jestConsoleContext,
|
|
22
|
+
jestContext: () => import_chunk_GONIKY4C.jestContext,
|
|
23
|
+
jestProcessContext: () => import_chunk_GONIKY4C.jestProcessContext
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(test_utils_exports);
|
|
26
26
|
var import_chunk_6HZWON4S = require("../chunk-6HZWON4S.js");
|
|
27
|
-
var
|
|
27
|
+
var import_chunk_GONIKY4C = require("../chunk-GONIKY4C.js");
|
|
28
28
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var jestContext_exports = {};
|
|
20
20
|
__export(jestContext_exports, {
|
|
21
|
-
jestConsoleContext: () =>
|
|
22
|
-
jestContext: () =>
|
|
23
|
-
jestProcessContext: () =>
|
|
21
|
+
jestConsoleContext: () => import_chunk_GONIKY4C.jestConsoleContext,
|
|
22
|
+
jestContext: () => import_chunk_GONIKY4C.jestContext,
|
|
23
|
+
jestProcessContext: () => import_chunk_GONIKY4C.jestProcessContext
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(jestContext_exports);
|
|
26
|
-
var
|
|
26
|
+
var import_chunk_GONIKY4C = require("../chunk-GONIKY4C.js");
|
|
27
27
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/get-platform",
|
|
3
|
-
"version": "6.6.0-integration-
|
|
3
|
+
"version": "6.6.0-integration-mcp.1",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"ts-pattern": "5.6.2"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@prisma/debug": "6.6.0-integration-
|
|
36
|
+
"@prisma/debug": "6.6.0-integration-mcp.1"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
|
39
39
|
"README.md",
|