@prisma/get-platform 6.3.0-dev.2 → 6.3.0-dev.21
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_2BHXWNN4_exports = {};
|
|
30
|
+
__export(chunk_2BHXWNN4_exports, {
|
|
31
31
|
jestConsoleContext: () => jestConsoleContext,
|
|
32
32
|
jestContext: () => jestContext,
|
|
33
33
|
jestProcessContext: () => jestProcessContext
|
|
34
34
|
});
|
|
35
|
-
module.exports = __toCommonJS(
|
|
35
|
+
module.exports = __toCommonJS(chunk_2BHXWNN4_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)({
|
|
@@ -5212,7 +5212,7 @@ var require_merge2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5212
5212
|
}
|
|
5213
5213
|
});
|
|
5214
5214
|
var require_array = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
5215
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
5215
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports) {
|
|
5216
5216
|
"use strict";
|
|
5217
5217
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5218
5218
|
exports.splitWhen = exports.flatten = void 0;
|
|
@@ -5237,7 +5237,7 @@ var require_array = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5237
5237
|
}
|
|
5238
5238
|
});
|
|
5239
5239
|
var require_errno = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
5240
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
5240
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js"(exports) {
|
|
5241
5241
|
"use strict";
|
|
5242
5242
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5243
5243
|
exports.isEnoentCodeError = void 0;
|
|
@@ -5248,7 +5248,7 @@ var require_errno = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5248
5248
|
}
|
|
5249
5249
|
});
|
|
5250
5250
|
var require_fs2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
5251
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
5251
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js"(exports) {
|
|
5252
5252
|
"use strict";
|
|
5253
5253
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5254
5254
|
exports.createDirentFromStats = void 0;
|
|
@@ -5271,7 +5271,7 @@ var require_fs2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5271
5271
|
}
|
|
5272
5272
|
});
|
|
5273
5273
|
var require_path2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
5274
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
5274
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js"(exports) {
|
|
5275
5275
|
"use strict";
|
|
5276
5276
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5277
5277
|
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
|
|
@@ -5495,7 +5495,7 @@ var require_glob_parent = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5495
5495
|
}
|
|
5496
5496
|
});
|
|
5497
5497
|
var require_utils = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
5498
|
-
"../../node_modules/.pnpm/braces@3.0.
|
|
5498
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js"(exports) {
|
|
5499
5499
|
"use strict";
|
|
5500
5500
|
exports.isInteger = (num) => {
|
|
5501
5501
|
if (typeof num === "number") {
|
|
@@ -5513,7 +5513,7 @@ var require_utils = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5513
5513
|
return (Number(max) - Number(min)) / Number(step) >= limit;
|
|
5514
5514
|
};
|
|
5515
5515
|
exports.escapeNode = (block, n = 0, type) => {
|
|
5516
|
-
|
|
5516
|
+
const node = block.nodes[n];
|
|
5517
5517
|
if (!node) return;
|
|
5518
5518
|
if (type && node.type === type || node.type === "open" || node.type === "close") {
|
|
5519
5519
|
if (node.escaped !== true) {
|
|
@@ -5558,8 +5558,14 @@ var require_utils = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5558
5558
|
const result = [];
|
|
5559
5559
|
const flat = (arr) => {
|
|
5560
5560
|
for (let i = 0; i < arr.length; i++) {
|
|
5561
|
-
|
|
5562
|
-
Array.isArray(ele)
|
|
5561
|
+
const ele = arr[i];
|
|
5562
|
+
if (Array.isArray(ele)) {
|
|
5563
|
+
flat(ele);
|
|
5564
|
+
continue;
|
|
5565
|
+
}
|
|
5566
|
+
if (ele !== void 0) {
|
|
5567
|
+
result.push(ele);
|
|
5568
|
+
}
|
|
5563
5569
|
}
|
|
5564
5570
|
return result;
|
|
5565
5571
|
};
|
|
@@ -5569,13 +5575,13 @@ var require_utils = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5569
5575
|
}
|
|
5570
5576
|
});
|
|
5571
5577
|
var require_stringify = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
5572
|
-
"../../node_modules/.pnpm/braces@3.0.
|
|
5578
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js"(exports, module2) {
|
|
5573
5579
|
"use strict";
|
|
5574
5580
|
var utils = require_utils();
|
|
5575
5581
|
module2.exports = (ast, options = {}) => {
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5582
|
+
const stringify = (node, parent = {}) => {
|
|
5583
|
+
const invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent);
|
|
5584
|
+
const invalidNode = node.invalid === true && options.escapeInvalid === true;
|
|
5579
5585
|
let output = "";
|
|
5580
5586
|
if (node.value) {
|
|
5581
5587
|
if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) {
|
|
@@ -5587,7 +5593,7 @@ var require_stringify = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5587
5593
|
return node.value;
|
|
5588
5594
|
}
|
|
5589
5595
|
if (node.nodes) {
|
|
5590
|
-
for (
|
|
5596
|
+
for (const child of node.nodes) {
|
|
5591
5597
|
output += stringify(child);
|
|
5592
5598
|
}
|
|
5593
5599
|
}
|
|
@@ -6013,21 +6019,22 @@ var require_fill_range = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6013
6019
|
}
|
|
6014
6020
|
});
|
|
6015
6021
|
var require_compile = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
6016
|
-
"../../node_modules/.pnpm/braces@3.0.
|
|
6022
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js"(exports, module2) {
|
|
6017
6023
|
"use strict";
|
|
6018
6024
|
var fill = require_fill_range();
|
|
6019
6025
|
var utils = require_utils();
|
|
6020
6026
|
var compile = (ast, options = {}) => {
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6027
|
+
const walk = (node, parent = {}) => {
|
|
6028
|
+
const invalidBlock = utils.isInvalidBrace(parent);
|
|
6029
|
+
const invalidNode = node.invalid === true && options.escapeInvalid === true;
|
|
6030
|
+
const invalid = invalidBlock === true || invalidNode === true;
|
|
6031
|
+
const prefix = options.escapeInvalid === true ? "\\" : "";
|
|
6026
6032
|
let output = "";
|
|
6027
6033
|
if (node.isOpen === true) {
|
|
6028
6034
|
return prefix + node.value;
|
|
6029
6035
|
}
|
|
6030
6036
|
if (node.isClose === true) {
|
|
6037
|
+
console.log("node.isClose", prefix, node.value);
|
|
6031
6038
|
return prefix + node.value;
|
|
6032
6039
|
}
|
|
6033
6040
|
if (node.type === "open") {
|
|
@@ -6043,14 +6050,14 @@ var require_compile = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6043
6050
|
return node.value;
|
|
6044
6051
|
}
|
|
6045
6052
|
if (node.nodes && node.ranges > 0) {
|
|
6046
|
-
|
|
6047
|
-
|
|
6053
|
+
const args = utils.reduce(node.nodes);
|
|
6054
|
+
const range = fill(...args, { ...options, wrap: false, toRegex: true, strictZeros: true });
|
|
6048
6055
|
if (range.length !== 0) {
|
|
6049
6056
|
return args.length > 1 && range.length > 1 ? `(${range})` : range;
|
|
6050
6057
|
}
|
|
6051
6058
|
}
|
|
6052
6059
|
if (node.nodes) {
|
|
6053
|
-
for (
|
|
6060
|
+
for (const child of node.nodes) {
|
|
6054
6061
|
output += walk(child, node);
|
|
6055
6062
|
}
|
|
6056
6063
|
}
|
|
@@ -6062,22 +6069,22 @@ var require_compile = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6062
6069
|
}
|
|
6063
6070
|
});
|
|
6064
6071
|
var require_expand = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
6065
|
-
"../../node_modules/.pnpm/braces@3.0.
|
|
6072
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js"(exports, module2) {
|
|
6066
6073
|
"use strict";
|
|
6067
6074
|
var fill = require_fill_range();
|
|
6068
6075
|
var stringify = require_stringify();
|
|
6069
6076
|
var utils = require_utils();
|
|
6070
6077
|
var append = (queue = "", stash = "", enclose = false) => {
|
|
6071
|
-
|
|
6078
|
+
const result = [];
|
|
6072
6079
|
queue = [].concat(queue);
|
|
6073
6080
|
stash = [].concat(stash);
|
|
6074
6081
|
if (!stash.length) return queue;
|
|
6075
6082
|
if (!queue.length) {
|
|
6076
6083
|
return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash;
|
|
6077
6084
|
}
|
|
6078
|
-
for (
|
|
6085
|
+
for (const item of queue) {
|
|
6079
6086
|
if (Array.isArray(item)) {
|
|
6080
|
-
for (
|
|
6087
|
+
for (const value of item) {
|
|
6081
6088
|
result.push(append(value, stash, enclose));
|
|
6082
6089
|
}
|
|
6083
6090
|
} else {
|
|
@@ -6090,8 +6097,8 @@ var require_expand = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6090
6097
|
return utils.flatten(result);
|
|
6091
6098
|
};
|
|
6092
6099
|
var expand = (ast, options = {}) => {
|
|
6093
|
-
|
|
6094
|
-
|
|
6100
|
+
const rangeLimit = options.rangeLimit === void 0 ? 1e3 : options.rangeLimit;
|
|
6101
|
+
const walk = (node, parent = {}) => {
|
|
6095
6102
|
node.queue = [];
|
|
6096
6103
|
let p = parent;
|
|
6097
6104
|
let q = parent.queue;
|
|
@@ -6108,7 +6115,7 @@ var require_expand = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6108
6115
|
return;
|
|
6109
6116
|
}
|
|
6110
6117
|
if (node.nodes && node.ranges > 0) {
|
|
6111
|
-
|
|
6118
|
+
const args = utils.reduce(node.nodes);
|
|
6112
6119
|
if (utils.exceedsLimit(...args, options.step, rangeLimit)) {
|
|
6113
6120
|
throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
|
|
6114
6121
|
}
|
|
@@ -6120,7 +6127,7 @@ var require_expand = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6120
6127
|
node.nodes = [];
|
|
6121
6128
|
return;
|
|
6122
6129
|
}
|
|
6123
|
-
|
|
6130
|
+
const enclose = utils.encloseBrace(node);
|
|
6124
6131
|
let queue = node.queue;
|
|
6125
6132
|
let block = node;
|
|
6126
6133
|
while (block.type !== "brace" && block.type !== "root" && block.parent) {
|
|
@@ -6128,7 +6135,7 @@ var require_expand = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6128
6135
|
queue = block.queue;
|
|
6129
6136
|
}
|
|
6130
6137
|
for (let i = 0; i < node.nodes.length; i++) {
|
|
6131
|
-
|
|
6138
|
+
const child = node.nodes[i];
|
|
6132
6139
|
if (child.type === "comma" && node.type === "brace") {
|
|
6133
6140
|
if (i === 1) queue.push("");
|
|
6134
6141
|
queue.push("");
|
|
@@ -6154,10 +6161,10 @@ var require_expand = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6154
6161
|
}
|
|
6155
6162
|
});
|
|
6156
6163
|
var require_constants = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
6157
|
-
"../../node_modules/.pnpm/braces@3.0.
|
|
6164
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js"(exports, module2) {
|
|
6158
6165
|
"use strict";
|
|
6159
6166
|
module2.exports = {
|
|
6160
|
-
MAX_LENGTH:
|
|
6167
|
+
MAX_LENGTH: 1e4,
|
|
6161
6168
|
// Digits
|
|
6162
6169
|
CHAR_0: "0",
|
|
6163
6170
|
/* 0 */
|
|
@@ -6253,7 +6260,7 @@ var require_constants = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6253
6260
|
}
|
|
6254
6261
|
});
|
|
6255
6262
|
var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
6256
|
-
"../../node_modules/.pnpm/braces@3.0.
|
|
6263
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js"(exports, module2) {
|
|
6257
6264
|
"use strict";
|
|
6258
6265
|
var stringify = require_stringify();
|
|
6259
6266
|
var {
|
|
@@ -6289,21 +6296,20 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6289
6296
|
if (typeof input !== "string") {
|
|
6290
6297
|
throw new TypeError("Expected a string");
|
|
6291
6298
|
}
|
|
6292
|
-
|
|
6293
|
-
|
|
6299
|
+
const opts = options || {};
|
|
6300
|
+
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
6294
6301
|
if (input.length > max) {
|
|
6295
6302
|
throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);
|
|
6296
6303
|
}
|
|
6297
|
-
|
|
6298
|
-
|
|
6304
|
+
const ast = { type: "root", input, nodes: [] };
|
|
6305
|
+
const stack = [ast];
|
|
6299
6306
|
let block = ast;
|
|
6300
6307
|
let prev = ast;
|
|
6301
6308
|
let brackets = 0;
|
|
6302
|
-
|
|
6309
|
+
const length = input.length;
|
|
6303
6310
|
let index = 0;
|
|
6304
6311
|
let depth = 0;
|
|
6305
6312
|
let value;
|
|
6306
|
-
let memo = {};
|
|
6307
6313
|
const advance = () => input[index++];
|
|
6308
6314
|
const push = (node) => {
|
|
6309
6315
|
if (node.type === "text" && prev.type === "dot") {
|
|
@@ -6336,7 +6342,6 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6336
6342
|
}
|
|
6337
6343
|
if (value === CHAR_LEFT_SQUARE_BRACKET) {
|
|
6338
6344
|
brackets++;
|
|
6339
|
-
let closed = true;
|
|
6340
6345
|
let next;
|
|
6341
6346
|
while (index < length && (next = advance())) {
|
|
6342
6347
|
value += next;
|
|
@@ -6375,7 +6380,7 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6375
6380
|
continue;
|
|
6376
6381
|
}
|
|
6377
6382
|
if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {
|
|
6378
|
-
|
|
6383
|
+
const open = value;
|
|
6379
6384
|
let next;
|
|
6380
6385
|
if (options.keepQuotes !== true) {
|
|
6381
6386
|
value = "";
|
|
@@ -6396,8 +6401,8 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6396
6401
|
}
|
|
6397
6402
|
if (value === CHAR_LEFT_CURLY_BRACE) {
|
|
6398
6403
|
depth++;
|
|
6399
|
-
|
|
6400
|
-
|
|
6404
|
+
const dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true;
|
|
6405
|
+
const brace = {
|
|
6401
6406
|
type: "brace",
|
|
6402
6407
|
open: true,
|
|
6403
6408
|
close: false,
|
|
@@ -6417,7 +6422,7 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6417
6422
|
push({ type: "text", value });
|
|
6418
6423
|
continue;
|
|
6419
6424
|
}
|
|
6420
|
-
|
|
6425
|
+
const type = "close";
|
|
6421
6426
|
block = stack.pop();
|
|
6422
6427
|
block.close = true;
|
|
6423
6428
|
push({ type, value });
|
|
@@ -6428,7 +6433,7 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6428
6433
|
if (value === CHAR_COMMA && depth > 0) {
|
|
6429
6434
|
if (block.ranges > 0) {
|
|
6430
6435
|
block.ranges = 0;
|
|
6431
|
-
|
|
6436
|
+
const open = block.nodes.shift();
|
|
6432
6437
|
block.nodes = [open, { type: "text", value: stringify(block) }];
|
|
6433
6438
|
}
|
|
6434
6439
|
push({ type: "comma", value });
|
|
@@ -6436,7 +6441,7 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6436
6441
|
continue;
|
|
6437
6442
|
}
|
|
6438
6443
|
if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
|
|
6439
|
-
|
|
6444
|
+
const siblings = block.nodes;
|
|
6440
6445
|
if (depth === 0 || siblings.length === 0) {
|
|
6441
6446
|
push({ type: "text", value });
|
|
6442
6447
|
continue;
|
|
@@ -6457,7 +6462,7 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6457
6462
|
}
|
|
6458
6463
|
if (prev.type === "range") {
|
|
6459
6464
|
siblings.pop();
|
|
6460
|
-
|
|
6465
|
+
const before = siblings[siblings.length - 1];
|
|
6461
6466
|
before.value += prev.value + value;
|
|
6462
6467
|
prev = before;
|
|
6463
6468
|
block.ranges--;
|
|
@@ -6479,8 +6484,8 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6479
6484
|
node.invalid = true;
|
|
6480
6485
|
}
|
|
6481
6486
|
});
|
|
6482
|
-
|
|
6483
|
-
|
|
6487
|
+
const parent = stack[stack.length - 1];
|
|
6488
|
+
const index2 = parent.nodes.indexOf(block);
|
|
6484
6489
|
parent.nodes.splice(index2, 1, ...block.nodes);
|
|
6485
6490
|
}
|
|
6486
6491
|
} while (stack.length > 0);
|
|
@@ -6491,7 +6496,7 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6491
6496
|
}
|
|
6492
6497
|
});
|
|
6493
6498
|
var require_braces = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
6494
|
-
"../../node_modules/.pnpm/braces@3.0.
|
|
6499
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js"(exports, module2) {
|
|
6495
6500
|
"use strict";
|
|
6496
6501
|
var stringify = require_stringify();
|
|
6497
6502
|
var compile = require_compile();
|
|
@@ -6500,8 +6505,8 @@ var require_braces = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6500
6505
|
var braces = (input, options = {}) => {
|
|
6501
6506
|
let output = [];
|
|
6502
6507
|
if (Array.isArray(input)) {
|
|
6503
|
-
for (
|
|
6504
|
-
|
|
6508
|
+
for (const pattern of input) {
|
|
6509
|
+
const result = braces.create(pattern, options);
|
|
6505
6510
|
if (Array.isArray(result)) {
|
|
6506
6511
|
output.push(...result);
|
|
6507
6512
|
} else {
|
|
@@ -8050,13 +8055,17 @@ var require_picomatch2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
8050
8055
|
}
|
|
8051
8056
|
});
|
|
8052
8057
|
var require_micromatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
8053
|
-
"../../node_modules/.pnpm/micromatch@4.0.
|
|
8058
|
+
"../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js"(exports, module2) {
|
|
8054
8059
|
"use strict";
|
|
8055
8060
|
var util = (0, import_chunk_2ESYSVXG.__require)("util");
|
|
8056
8061
|
var braces = require_braces();
|
|
8057
8062
|
var picomatch = require_picomatch2();
|
|
8058
8063
|
var utils = require_utils2();
|
|
8059
|
-
var isEmptyString = (
|
|
8064
|
+
var isEmptyString = (v) => v === "" || v === "./";
|
|
8065
|
+
var hasBraces = (v) => {
|
|
8066
|
+
const index = v.indexOf("{");
|
|
8067
|
+
return index > -1 && v.indexOf("}", index) > -1;
|
|
8068
|
+
};
|
|
8060
8069
|
var micromatch = (list, patterns, options) => {
|
|
8061
8070
|
patterns = [].concat(patterns);
|
|
8062
8071
|
list = [].concat(list);
|
|
@@ -8191,7 +8200,7 @@ var require_micromatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
8191
8200
|
};
|
|
8192
8201
|
micromatch.braces = (pattern, options) => {
|
|
8193
8202
|
if (typeof pattern !== "string") throw new TypeError("Expected a string");
|
|
8194
|
-
if (options && options.nobrace === true ||
|
|
8203
|
+
if (options && options.nobrace === true || !hasBraces(pattern)) {
|
|
8195
8204
|
return [pattern];
|
|
8196
8205
|
}
|
|
8197
8206
|
return braces(pattern, options);
|
|
@@ -8200,14 +8209,15 @@ var require_micromatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
8200
8209
|
if (typeof pattern !== "string") throw new TypeError("Expected a string");
|
|
8201
8210
|
return micromatch.braces(pattern, { ...options, expand: true });
|
|
8202
8211
|
};
|
|
8212
|
+
micromatch.hasBraces = hasBraces;
|
|
8203
8213
|
module2.exports = micromatch;
|
|
8204
8214
|
}
|
|
8205
8215
|
});
|
|
8206
8216
|
var require_pattern = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
8207
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
8217
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js"(exports) {
|
|
8208
8218
|
"use strict";
|
|
8209
8219
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8210
|
-
exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
|
8220
|
+
exports.isAbsolute = exports.partitionAbsoluteAndRelative = exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
|
8211
8221
|
var path2 = (0, import_chunk_2ESYSVXG.__require)("path");
|
|
8212
8222
|
var globParent = require_glob_parent();
|
|
8213
8223
|
var micromatch = require_micromatch();
|
|
@@ -8347,10 +8357,27 @@ var require_pattern = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
8347
8357
|
return pattern.replace(DOUBLE_SLASH_RE, "/");
|
|
8348
8358
|
}
|
|
8349
8359
|
exports.removeDuplicateSlashes = removeDuplicateSlashes;
|
|
8360
|
+
function partitionAbsoluteAndRelative(patterns) {
|
|
8361
|
+
const absolute = [];
|
|
8362
|
+
const relative = [];
|
|
8363
|
+
for (const pattern of patterns) {
|
|
8364
|
+
if (isAbsolute(pattern)) {
|
|
8365
|
+
absolute.push(pattern);
|
|
8366
|
+
} else {
|
|
8367
|
+
relative.push(pattern);
|
|
8368
|
+
}
|
|
8369
|
+
}
|
|
8370
|
+
return [absolute, relative];
|
|
8371
|
+
}
|
|
8372
|
+
exports.partitionAbsoluteAndRelative = partitionAbsoluteAndRelative;
|
|
8373
|
+
function isAbsolute(pattern) {
|
|
8374
|
+
return path2.isAbsolute(pattern);
|
|
8375
|
+
}
|
|
8376
|
+
exports.isAbsolute = isAbsolute;
|
|
8350
8377
|
}
|
|
8351
8378
|
});
|
|
8352
8379
|
var require_stream2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
8353
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
8380
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(exports) {
|
|
8354
8381
|
"use strict";
|
|
8355
8382
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8356
8383
|
exports.merge = void 0;
|
|
@@ -8371,7 +8398,7 @@ var require_stream2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
8371
8398
|
}
|
|
8372
8399
|
});
|
|
8373
8400
|
var require_string = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
8374
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
8401
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js"(exports) {
|
|
8375
8402
|
"use strict";
|
|
8376
8403
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8377
8404
|
exports.isEmpty = exports.isString = void 0;
|
|
@@ -8386,7 +8413,7 @@ var require_string = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
8386
8413
|
}
|
|
8387
8414
|
});
|
|
8388
8415
|
var require_utils3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
8389
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
8416
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js"(exports) {
|
|
8390
8417
|
"use strict";
|
|
8391
8418
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8392
8419
|
exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
|
|
@@ -8407,7 +8434,7 @@ var require_utils3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
8407
8434
|
}
|
|
8408
8435
|
});
|
|
8409
8436
|
var require_tasks = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
8410
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
8437
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js"(exports) {
|
|
8411
8438
|
"use strict";
|
|
8412
8439
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8413
8440
|
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
|
|
@@ -9642,7 +9669,7 @@ var require_out3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9642
9669
|
}
|
|
9643
9670
|
});
|
|
9644
9671
|
var require_reader2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9645
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
9672
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js"(exports) {
|
|
9646
9673
|
"use strict";
|
|
9647
9674
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9648
9675
|
var path2 = (0, import_chunk_2ESYSVXG.__require)("path");
|
|
@@ -9679,7 +9706,7 @@ var require_reader2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9679
9706
|
}
|
|
9680
9707
|
});
|
|
9681
9708
|
var require_stream4 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9682
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
9709
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js"(exports) {
|
|
9683
9710
|
"use strict";
|
|
9684
9711
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9685
9712
|
var stream_1 = (0, import_chunk_2ESYSVXG.__require)("stream");
|
|
@@ -9734,7 +9761,7 @@ var require_stream4 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9734
9761
|
}
|
|
9735
9762
|
});
|
|
9736
9763
|
var require_async5 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9737
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
9764
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js"(exports) {
|
|
9738
9765
|
"use strict";
|
|
9739
9766
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9740
9767
|
var fsWalk = require_out3();
|
|
@@ -9771,7 +9798,7 @@ var require_async5 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9771
9798
|
}
|
|
9772
9799
|
});
|
|
9773
9800
|
var require_matcher2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9774
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
9801
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
|
|
9775
9802
|
"use strict";
|
|
9776
9803
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9777
9804
|
var utils = require_utils3();
|
|
@@ -9820,7 +9847,7 @@ var require_matcher2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9820
9847
|
}
|
|
9821
9848
|
});
|
|
9822
9849
|
var require_partial = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9823
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
9850
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js"(exports) {
|
|
9824
9851
|
"use strict";
|
|
9825
9852
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9826
9853
|
var matcher_1 = require_matcher2();
|
|
@@ -9855,7 +9882,7 @@ var require_partial = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9855
9882
|
}
|
|
9856
9883
|
});
|
|
9857
9884
|
var require_deep = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9858
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
9885
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
|
|
9859
9886
|
"use strict";
|
|
9860
9887
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9861
9888
|
var utils = require_utils3();
|
|
@@ -9918,7 +9945,7 @@ var require_deep = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9918
9945
|
}
|
|
9919
9946
|
});
|
|
9920
9947
|
var require_entry = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9921
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
9948
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
|
|
9922
9949
|
"use strict";
|
|
9923
9950
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9924
9951
|
var utils = require_utils3();
|
|
@@ -9929,11 +9956,19 @@ var require_entry = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9929
9956
|
this.index = /* @__PURE__ */ new Map();
|
|
9930
9957
|
}
|
|
9931
9958
|
getFilter(positive, negative) {
|
|
9932
|
-
const
|
|
9933
|
-
const
|
|
9934
|
-
|
|
9959
|
+
const [absoluteNegative, relativeNegative] = utils.pattern.partitionAbsoluteAndRelative(negative);
|
|
9960
|
+
const patterns = {
|
|
9961
|
+
positive: {
|
|
9962
|
+
all: utils.pattern.convertPatternsToRe(positive, this._micromatchOptions)
|
|
9963
|
+
},
|
|
9964
|
+
negative: {
|
|
9965
|
+
absolute: utils.pattern.convertPatternsToRe(absoluteNegative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true })),
|
|
9966
|
+
relative: utils.pattern.convertPatternsToRe(relativeNegative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true }))
|
|
9967
|
+
}
|
|
9968
|
+
};
|
|
9969
|
+
return (entry) => this._filter(entry, patterns);
|
|
9935
9970
|
}
|
|
9936
|
-
_filter(entry,
|
|
9971
|
+
_filter(entry, patterns) {
|
|
9937
9972
|
const filepath = utils.path.removeLeadingDotSegment(entry.path);
|
|
9938
9973
|
if (this._settings.unique && this._isDuplicateEntry(filepath)) {
|
|
9939
9974
|
return false;
|
|
@@ -9941,11 +9976,7 @@ var require_entry = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9941
9976
|
if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) {
|
|
9942
9977
|
return false;
|
|
9943
9978
|
}
|
|
9944
|
-
|
|
9945
|
-
return false;
|
|
9946
|
-
}
|
|
9947
|
-
const isDirectory = entry.dirent.isDirectory();
|
|
9948
|
-
const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(filepath, negativeRe, isDirectory);
|
|
9979
|
+
const isMatched = this._isMatchToPatternsSet(filepath, patterns, entry.dirent.isDirectory());
|
|
9949
9980
|
if (this._settings.unique && isMatched) {
|
|
9950
9981
|
this._createIndexRecord(filepath);
|
|
9951
9982
|
}
|
|
@@ -9963,14 +9994,32 @@ var require_entry = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9963
9994
|
_onlyDirectoryFilter(entry) {
|
|
9964
9995
|
return this._settings.onlyDirectories && !entry.dirent.isDirectory();
|
|
9965
9996
|
}
|
|
9966
|
-
|
|
9967
|
-
|
|
9997
|
+
_isMatchToPatternsSet(filepath, patterns, isDirectory) {
|
|
9998
|
+
const isMatched = this._isMatchToPatterns(filepath, patterns.positive.all, isDirectory);
|
|
9999
|
+
if (!isMatched) {
|
|
10000
|
+
return false;
|
|
10001
|
+
}
|
|
10002
|
+
const isMatchedByRelativeNegative = this._isMatchToPatterns(filepath, patterns.negative.relative, isDirectory);
|
|
10003
|
+
if (isMatchedByRelativeNegative) {
|
|
10004
|
+
return false;
|
|
10005
|
+
}
|
|
10006
|
+
const isMatchedByAbsoluteNegative = this._isMatchToAbsoluteNegative(filepath, patterns.negative.absolute, isDirectory);
|
|
10007
|
+
if (isMatchedByAbsoluteNegative) {
|
|
10008
|
+
return false;
|
|
10009
|
+
}
|
|
10010
|
+
return true;
|
|
10011
|
+
}
|
|
10012
|
+
_isMatchToAbsoluteNegative(filepath, patternsRe, isDirectory) {
|
|
10013
|
+
if (patternsRe.length === 0) {
|
|
9968
10014
|
return false;
|
|
9969
10015
|
}
|
|
9970
|
-
const fullpath = utils.path.makeAbsolute(this._settings.cwd,
|
|
9971
|
-
return
|
|
10016
|
+
const fullpath = utils.path.makeAbsolute(this._settings.cwd, filepath);
|
|
10017
|
+
return this._isMatchToPatterns(fullpath, patternsRe, isDirectory);
|
|
9972
10018
|
}
|
|
9973
10019
|
_isMatchToPatterns(filepath, patternsRe, isDirectory) {
|
|
10020
|
+
if (patternsRe.length === 0) {
|
|
10021
|
+
return false;
|
|
10022
|
+
}
|
|
9974
10023
|
const isMatched = utils.pattern.matchAny(filepath, patternsRe);
|
|
9975
10024
|
if (!isMatched && isDirectory) {
|
|
9976
10025
|
return utils.pattern.matchAny(filepath + "/", patternsRe);
|
|
@@ -9982,7 +10031,7 @@ var require_entry = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9982
10031
|
}
|
|
9983
10032
|
});
|
|
9984
10033
|
var require_error2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9985
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
10034
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js"(exports) {
|
|
9986
10035
|
"use strict";
|
|
9987
10036
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9988
10037
|
var utils = require_utils3();
|
|
@@ -10001,7 +10050,7 @@ var require_error2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10001
10050
|
}
|
|
10002
10051
|
});
|
|
10003
10052
|
var require_entry2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10004
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
10053
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
|
|
10005
10054
|
"use strict";
|
|
10006
10055
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10007
10056
|
var utils = require_utils3();
|
|
@@ -10031,7 +10080,7 @@ var require_entry2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10031
10080
|
}
|
|
10032
10081
|
});
|
|
10033
10082
|
var require_provider = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10034
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
10083
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js"(exports) {
|
|
10035
10084
|
"use strict";
|
|
10036
10085
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10037
10086
|
var path2 = (0, import_chunk_2ESYSVXG.__require)("path");
|
|
@@ -10083,7 +10132,7 @@ var require_provider = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10083
10132
|
}
|
|
10084
10133
|
});
|
|
10085
10134
|
var require_async6 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10086
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
10135
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js"(exports) {
|
|
10087
10136
|
"use strict";
|
|
10088
10137
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10089
10138
|
var async_1 = require_async5();
|
|
@@ -10110,7 +10159,7 @@ var require_async6 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10110
10159
|
}
|
|
10111
10160
|
});
|
|
10112
10161
|
var require_stream5 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10113
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
10162
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js"(exports) {
|
|
10114
10163
|
"use strict";
|
|
10115
10164
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10116
10165
|
var stream_1 = (0, import_chunk_2ESYSVXG.__require)("stream");
|
|
@@ -10142,7 +10191,7 @@ var require_stream5 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10142
10191
|
}
|
|
10143
10192
|
});
|
|
10144
10193
|
var require_sync5 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10145
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
10194
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js"(exports) {
|
|
10146
10195
|
"use strict";
|
|
10147
10196
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10148
10197
|
var fsStat = require_out();
|
|
@@ -10188,7 +10237,7 @@ var require_sync5 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10188
10237
|
}
|
|
10189
10238
|
});
|
|
10190
10239
|
var require_sync6 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10191
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
10240
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js"(exports) {
|
|
10192
10241
|
"use strict";
|
|
10193
10242
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10194
10243
|
var sync_1 = require_sync5();
|
|
@@ -10215,7 +10264,7 @@ var require_sync6 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10215
10264
|
}
|
|
10216
10265
|
});
|
|
10217
10266
|
var require_settings4 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10218
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
10267
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js"(exports) {
|
|
10219
10268
|
"use strict";
|
|
10220
10269
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10221
10270
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
@@ -10273,7 +10322,7 @@ var require_settings4 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10273
10322
|
}
|
|
10274
10323
|
});
|
|
10275
10324
|
var require_out4 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10276
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
|
10325
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.js"(exports, module2) {
|
|
10277
10326
|
"use strict";
|
|
10278
10327
|
var taskManager = require_tasks();
|
|
10279
10328
|
var async_1 = require_async6();
|
|
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_7PMGXL6S_exports = {};
|
|
30
|
+
__export(chunk_7PMGXL6S_exports, {
|
|
31
31
|
computeLibSSLSpecificPaths: () => computeLibSSLSpecificPaths,
|
|
32
32
|
getArchFromUname: () => getArchFromUname,
|
|
33
33
|
getBinaryTargetForCurrentPlatform: () => getBinaryTargetForCurrentPlatform,
|
|
@@ -41,7 +41,7 @@ __export(chunk_EY5MORMD_exports, {
|
|
|
41
41
|
parseOpenSSLVersion: () => parseOpenSSLVersion,
|
|
42
42
|
resolveDistro: () => resolveDistro
|
|
43
43
|
});
|
|
44
|
-
module.exports = __toCommonJS(
|
|
44
|
+
module.exports = __toCommonJS(chunk_7PMGXL6S_exports);
|
|
45
45
|
var import_chunk_FWMN4WME = require("./chunk-FWMN4WME.js");
|
|
46
46
|
var import_debug = __toESM(require("@prisma/debug"));
|
|
47
47
|
var import_child_process = __toESM(require("child_process"));
|
package/dist/getPlatform.js
CHANGED
|
@@ -18,21 +18,21 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var getPlatform_exports = {};
|
|
20
20
|
__export(getPlatform_exports, {
|
|
21
|
-
computeLibSSLSpecificPaths: () =>
|
|
22
|
-
getArchFromUname: () =>
|
|
23
|
-
getBinaryTargetForCurrentPlatform: () =>
|
|
24
|
-
getBinaryTargetForCurrentPlatformInternal: () =>
|
|
25
|
-
getPlatformInfo: () =>
|
|
26
|
-
getPlatformInfoMemoized: () =>
|
|
27
|
-
getSSLVersion: () =>
|
|
28
|
-
getos: () =>
|
|
29
|
-
parseDistro: () =>
|
|
30
|
-
parseLibSSLVersion: () =>
|
|
31
|
-
parseOpenSSLVersion: () =>
|
|
32
|
-
resolveDistro: () =>
|
|
21
|
+
computeLibSSLSpecificPaths: () => import_chunk_7PMGXL6S.computeLibSSLSpecificPaths,
|
|
22
|
+
getArchFromUname: () => import_chunk_7PMGXL6S.getArchFromUname,
|
|
23
|
+
getBinaryTargetForCurrentPlatform: () => import_chunk_7PMGXL6S.getBinaryTargetForCurrentPlatform,
|
|
24
|
+
getBinaryTargetForCurrentPlatformInternal: () => import_chunk_7PMGXL6S.getBinaryTargetForCurrentPlatformInternal,
|
|
25
|
+
getPlatformInfo: () => import_chunk_7PMGXL6S.getPlatformInfo,
|
|
26
|
+
getPlatformInfoMemoized: () => import_chunk_7PMGXL6S.getPlatformInfoMemoized,
|
|
27
|
+
getSSLVersion: () => import_chunk_7PMGXL6S.getSSLVersion,
|
|
28
|
+
getos: () => import_chunk_7PMGXL6S.getos,
|
|
29
|
+
parseDistro: () => import_chunk_7PMGXL6S.parseDistro,
|
|
30
|
+
parseLibSSLVersion: () => import_chunk_7PMGXL6S.parseLibSSLVersion,
|
|
31
|
+
parseOpenSSLVersion: () => import_chunk_7PMGXL6S.parseOpenSSLVersion,
|
|
32
|
+
resolveDistro: () => import_chunk_7PMGXL6S.resolveDistro
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(getPlatform_exports);
|
|
35
|
-
var
|
|
35
|
+
var import_chunk_7PMGXL6S = require("./chunk-7PMGXL6S.js");
|
|
36
36
|
var import_chunk_FWMN4WME = require("./chunk-FWMN4WME.js");
|
|
37
37
|
var import_chunk_YVXCXD3A = require("./chunk-YVXCXD3A.js");
|
|
38
38
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
package/dist/index.js
CHANGED
|
@@ -16,25 +16,25 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var index_exports = {};
|
|
20
|
+
__export(index_exports, {
|
|
21
21
|
assertNodeAPISupported: () => import_chunk_O5EOXX3N.assertNodeAPISupported,
|
|
22
22
|
binaryTargets: () => import_chunk_7MLUNQIZ.binaryTargets,
|
|
23
|
-
getBinaryTargetForCurrentPlatform: () =>
|
|
23
|
+
getBinaryTargetForCurrentPlatform: () => import_chunk_7PMGXL6S.getBinaryTargetForCurrentPlatform,
|
|
24
24
|
getNodeAPIName: () => import_chunk_2U36ISZO.getNodeAPIName,
|
|
25
|
-
getPlatformInfo: () =>
|
|
26
|
-
getos: () =>
|
|
27
|
-
jestConsoleContext: () =>
|
|
28
|
-
jestContext: () =>
|
|
29
|
-
jestProcessContext: () =>
|
|
25
|
+
getPlatformInfo: () => import_chunk_7PMGXL6S.getPlatformInfo,
|
|
26
|
+
getos: () => import_chunk_7PMGXL6S.getos,
|
|
27
|
+
jestConsoleContext: () => import_chunk_2BHXWNN4.jestConsoleContext,
|
|
28
|
+
jestContext: () => import_chunk_2BHXWNN4.jestContext,
|
|
29
|
+
jestProcessContext: () => import_chunk_2BHXWNN4.jestProcessContext,
|
|
30
30
|
link: () => import_chunk_D7S5FGQN.link
|
|
31
31
|
});
|
|
32
|
-
module.exports = __toCommonJS(
|
|
32
|
+
module.exports = __toCommonJS(index_exports);
|
|
33
33
|
var import_chunk_6HZWON4S = require("./chunk-6HZWON4S.js");
|
|
34
|
-
var
|
|
34
|
+
var import_chunk_2BHXWNN4 = require("./chunk-2BHXWNN4.js");
|
|
35
35
|
var import_chunk_O5EOXX3N = require("./chunk-O5EOXX3N.js");
|
|
36
36
|
var import_chunk_2U36ISZO = require("./chunk-2U36ISZO.js");
|
|
37
|
-
var
|
|
37
|
+
var import_chunk_7PMGXL6S = require("./chunk-7PMGXL6S.js");
|
|
38
38
|
var import_chunk_D7S5FGQN = require("./chunk-D7S5FGQN.js");
|
|
39
39
|
var import_chunk_FWMN4WME = require("./chunk-FWMN4WME.js");
|
|
40
40
|
var import_chunk_YVXCXD3A = require("./chunk-YVXCXD3A.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_2BHXWNN4.jestConsoleContext,
|
|
22
|
+
jestContext: () => import_chunk_2BHXWNN4.jestContext,
|
|
23
|
+
jestProcessContext: () => import_chunk_2BHXWNN4.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_2BHXWNN4 = require("../chunk-2BHXWNN4.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_2BHXWNN4.jestConsoleContext,
|
|
22
|
+
jestContext: () => import_chunk_2BHXWNN4.jestContext,
|
|
23
|
+
jestProcessContext: () => import_chunk_2BHXWNN4.jestProcessContext
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(jestContext_exports);
|
|
26
|
-
var
|
|
26
|
+
var import_chunk_2BHXWNN4 = require("../chunk-2BHXWNN4.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.3.0-dev.
|
|
3
|
+
"version": "6.3.0-dev.21",
|
|
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",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"bugs": "https://github.com/prisma/prisma/issues",
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@codspeed/benchmark.js-plugin": "3.1.1",
|
|
18
|
-
"@swc/core": "1.10.
|
|
18
|
+
"@swc/core": "1.10.9",
|
|
19
19
|
"@swc/jest": "0.2.37",
|
|
20
20
|
"@types/jest": "29.5.14",
|
|
21
21
|
"@types/node": "18.19.31",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"strip-ansi": "6.0.1",
|
|
32
32
|
"tempy": "1.0.1",
|
|
33
33
|
"terminal-link": "2.1.1",
|
|
34
|
-
"ts-pattern": "5.6.
|
|
34
|
+
"ts-pattern": "5.6.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@prisma/debug": "6.3.0-dev.
|
|
37
|
+
"@prisma/debug": "6.3.0-dev.21"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"README.md",
|