@prisma/internals 6.20.0-integration-merge-release-workflows2.1 → 6.20.0-integration-next.4
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.
- package/dist/{chunk-GMW36QQF.js → chunk-22HIO2UL.js} +7 -7
- package/dist/{chunk-TBR6SNKL.js → chunk-2Z7PH5WX.js} +5 -5
- package/dist/{chunk-2GUGGLPK.js → chunk-3D4RRUYX.js} +56 -129
- package/dist/{chunk-I6WLABB2.js → chunk-3WXUQZS7.js} +14 -5
- package/dist/{chunk-HFFWZTVM.js → chunk-4B7YT7EE.js} +8 -18
- package/dist/{chunk-RS2R7COT.js → chunk-5I4ERIIY.js} +3 -9
- package/dist/{chunk-F2OZV76L.js → chunk-5MHUYAV3.js} +9 -9
- package/dist/{chunk-FRE4ZWRR.js → chunk-65KNJHQS.js} +13 -13
- package/dist/{chunk-WYQJ4JWO.js → chunk-6WBK35XU.js} +13 -13
- package/dist/{chunk-7QC5VORA.js → chunk-7SF6QSKE.js} +7 -8
- package/dist/{chunk-TH33KD3E.js → chunk-7VXI23OO.js} +5 -5
- package/dist/{chunk-E7DQNMQJ.js → chunk-7X4RB4O5.js} +5 -5
- package/dist/{chunk-WFNB7VRA.js → chunk-ARC7TW3L.js} +4 -14
- package/dist/{chunk-HHG4DGHC.js → chunk-CGLLQXZE.js} +11 -12
- package/dist/{chunk-AX5N26KG.js → chunk-CIGXHXCG.js} +18 -13
- package/dist/{chunk-FHZ5QJLR.js → chunk-D4EKBLXK.js} +5 -5
- package/dist/chunk-DYV47NUW.js +796 -0
- package/dist/{chunk-DVRZSMZ2.js → chunk-E4PYP2ZV.js} +5 -5
- package/dist/{chunk-IDINCQMN.js → chunk-FF7OLLBP.js} +12 -784
- package/dist/{chunk-4CGPN5SR.js → chunk-GJSFP4V4.js} +3 -9
- package/dist/{chunk-4JCVHBYR.js → chunk-GL7OANR6.js} +5 -5
- package/dist/{chunk-LV27YCGC.js → chunk-H4QG5ONG.js} +12 -12
- package/dist/{chunk-OAT7ZJED.js → chunk-H5STSTVK.js} +7 -20
- package/dist/{chunk-FYZCPL2Z.js → chunk-HNRMSI3R.js} +5 -8
- package/dist/{chunk-CCLAMTCA.js → chunk-HQDG2BBX.js} +7 -9
- package/dist/{chunk-W26QS5OG.js → chunk-J757IEPK.js} +56 -129
- package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
- package/dist/{chunk-UQUWZJVN.js → chunk-LHTJCI5U.js} +7 -7
- package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
- package/dist/{chunk-TQFONRJP.js → chunk-MLFKBBDL.js} +5 -5
- package/dist/{chunk-EYVG6XQS.js → chunk-OKVM3CW4.js} +3 -39
- package/dist/{chunk-T4UGPDF4.js → chunk-OSMLJTQN.js} +8 -10
- package/dist/{chunk-E4H6V3Z4.js → chunk-OV3PWX3C.js} +11 -11
- package/dist/{chunk-DYM2NTAG.js → chunk-Q5EKGHVB.js} +5 -5
- package/dist/{chunk-JOIIWB3U.js → chunk-QOZ7USPD.js} +193 -159
- package/dist/{chunk-BVJP43JS.js → chunk-QSVWJ2S2.js} +13 -784
- package/dist/{chunk-QJ3QPUM5.js → chunk-QWXKO4HW.js} +5 -5
- package/dist/{chunk-J32M37NY.js → chunk-R7L5ID34.js} +12 -12
- package/dist/{chunk-75BIJ5PX.js → chunk-SMJRM3EM.js} +9 -9
- package/dist/{chunk-JTS4UPHJ.js → chunk-TQZ7VRPF.js} +5 -5
- package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
- package/dist/{chunk-TZJROXB3.js → chunk-WSZXPLJQ.js} +4 -4
- package/dist/{chunk-UQK76B5E.js → chunk-X6TWTGK6.js} +11 -11
- package/dist/{chunk-JYBUBKFO.js → chunk-XHZ4TZUD.js} +16 -38
- package/dist/{chunk-UHI6VYFX.js → chunk-XIYRAW5R.js} +15 -11
- package/dist/{chunk-SOKSKSEX.js → chunk-YJSJK7EC.js} +16 -38
- package/dist/cli/checkUnsupportedDataProxy.d.ts +3 -4
- package/dist/cli/checkUnsupportedDataProxy.js +56 -65
- package/dist/cli/getGeneratorSuccessMessage.js +2 -3
- package/dist/cli/getSchema.d.ts +1 -15
- package/dist/cli/getSchema.js +4 -5
- package/dist/cli/hashes.js +4 -4
- package/dist/cli/schemaContext.d.ts +3 -12
- package/dist/cli/schemaContext.js +57 -65
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +55 -64
- package/dist/engine-commands/getConfig.d.ts +1 -5
- package/dist/engine-commands/getConfig.js +10 -13
- package/dist/engine-commands/getDmmf.js +10 -10
- package/dist/engine-commands/getEngineVersion.js +6 -9
- package/dist/engine-commands/getEnginesInfo.d.ts +0 -1
- package/dist/engine-commands/getEnginesInfo.js +7 -9
- package/dist/engine-commands/index.d.ts +1 -1
- package/dist/engine-commands/index.js +65 -76
- package/dist/engine-commands/lintSchema.js +9 -9
- package/dist/engine-commands/mergeSchemas.js +10 -10
- package/dist/engine-commands/queryEngineCommons.js +6 -6
- package/dist/engine-commands/validate.js +10 -10
- package/dist/errorReporting.js +6 -6
- package/dist/get-generators/getGenerators.d.ts +0 -2
- package/dist/get-generators/getGenerators.js +58 -67
- package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
- package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
- package/dist/get-generators/utils/getBinaryPathsByVersion.js +6 -5
- package/dist/getPackedPackage.js +4 -3
- package/dist/highlight/highlight.js +5 -5
- package/dist/index.d.ts +2 -14
- package/dist/index.js +98 -121
- package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
- package/dist/resolveBinary.js +8 -7
- package/dist/schemaEngineCommands.js +9 -8
- package/dist/sendPanic.js +4 -5
- package/dist/utils/drawBox.js +2 -2
- package/dist/utils/fs-functional.js +10 -10
- package/dist/utils/fs-utils.js +8 -8
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +6 -7
- package/dist/utils/link.js +2 -2
- package/dist/utils/missingDatasource.js +5 -5
- package/dist/utils/missingGeneratorMessage.js +7 -7
- package/dist/wasm.js +5 -5
- package/package.json +15 -17
- package/dist/chunk-3FP46GUV.js +0 -471
- package/dist/chunk-46ABODUM.js +0 -186
- package/dist/chunk-6TTRTZXU.js +0 -37
- package/dist/chunk-D4VDA2TZ.js +0 -66
- package/dist/chunk-DZYINYAA.js +0 -68
- package/dist/chunk-ERSH2BQA.js +0 -58
- package/dist/chunk-HO5HRHFZ.js +0 -30
- package/dist/chunk-KDHESRKE.js +0 -49
- package/dist/chunk-PZMRR772.js +0 -41
- package/dist/chunk-T2PM5TKT.js +0 -55
- package/dist/cli/checkUnsupportedSchemaEngineWasm.d.ts +0 -22
- package/dist/cli/checkUnsupportedSchemaEngineWasm.js +0 -135
- package/dist/client/getClientEngineType.d.ts +0 -7
- package/dist/client/getClientEngineType.js +0 -26
- package/dist/dotenvExpand.d.ts +0 -35
- package/dist/dotenvExpand.js +0 -25
- package/dist/utils/__tests__/maskSchema.test.js +0 -23
- package/dist/utils/cloudflareD1.d.ts +0 -5
- package/dist/utils/cloudflareD1.js +0 -27
- package/dist/utils/getEnvPaths.d.ts +0 -14
- package/dist/utils/getEnvPaths.js +0 -29
- package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
- package/dist/utils/handleEngineLoadingErrors.js +0 -27
- package/dist/utils/load.d.ts +0 -6
- package/dist/utils/load.js +0 -28
- package/dist/utils/loadEnvFile.d.ts +0 -10
- package/dist/utils/loadEnvFile.js +0 -30
- package/dist/utils/maskSchema.d.ts +0 -4
- package/dist/utils/maskSchema.js +0 -27
- package/dist/utils/serializeQueryEngineName.d.ts +0 -4
- package/dist/utils/serializeQueryEngineName.js +0 -25
- package/dist/utils/tryLoadEnvs.d.ts +0 -25
- package/dist/utils/tryLoadEnvs.js +0 -30
|
@@ -16,15 +16,139 @@ 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 chunk_QOZ7USPD_exports = {};
|
|
20
|
+
__export(chunk_QOZ7USPD_exports, {
|
|
21
21
|
require_globby: () => require_globby,
|
|
22
22
|
require_is_glob: () => require_is_glob,
|
|
23
|
-
require_out: () => require_out4,
|
|
24
23
|
require_slash: () => require_slash
|
|
25
24
|
});
|
|
26
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(chunk_QOZ7USPD_exports);
|
|
27
26
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
27
|
+
var require_array_union = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
28
|
+
"../../node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js"(exports, module2) {
|
|
29
|
+
"use strict";
|
|
30
|
+
module2.exports = (...arguments_) => {
|
|
31
|
+
return [...new Set([].concat(...arguments_))];
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
var require_merge2 = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
36
|
+
"../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js"(exports, module2) {
|
|
37
|
+
"use strict";
|
|
38
|
+
var Stream = (0, import_chunk_4VNS5WPM.__require)("stream");
|
|
39
|
+
var PassThrough = Stream.PassThrough;
|
|
40
|
+
var slice = Array.prototype.slice;
|
|
41
|
+
module2.exports = merge2;
|
|
42
|
+
function merge2() {
|
|
43
|
+
const streamsQueue = [];
|
|
44
|
+
const args = slice.call(arguments);
|
|
45
|
+
let merging = false;
|
|
46
|
+
let options = args[args.length - 1];
|
|
47
|
+
if (options && !Array.isArray(options) && options.pipe == null) {
|
|
48
|
+
args.pop();
|
|
49
|
+
} else {
|
|
50
|
+
options = {};
|
|
51
|
+
}
|
|
52
|
+
const doEnd = options.end !== false;
|
|
53
|
+
const doPipeError = options.pipeError === true;
|
|
54
|
+
if (options.objectMode == null) {
|
|
55
|
+
options.objectMode = true;
|
|
56
|
+
}
|
|
57
|
+
if (options.highWaterMark == null) {
|
|
58
|
+
options.highWaterMark = 64 * 1024;
|
|
59
|
+
}
|
|
60
|
+
const mergedStream = PassThrough(options);
|
|
61
|
+
function addStream() {
|
|
62
|
+
for (let i = 0, len = arguments.length; i < len; i++) {
|
|
63
|
+
streamsQueue.push(pauseStreams(arguments[i], options));
|
|
64
|
+
}
|
|
65
|
+
mergeStream();
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
function mergeStream() {
|
|
69
|
+
if (merging) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
merging = true;
|
|
73
|
+
let streams = streamsQueue.shift();
|
|
74
|
+
if (!streams) {
|
|
75
|
+
process.nextTick(endStream);
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
if (!Array.isArray(streams)) {
|
|
79
|
+
streams = [streams];
|
|
80
|
+
}
|
|
81
|
+
let pipesCount = streams.length + 1;
|
|
82
|
+
function next() {
|
|
83
|
+
if (--pipesCount > 0) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
merging = false;
|
|
87
|
+
mergeStream();
|
|
88
|
+
}
|
|
89
|
+
function pipe(stream) {
|
|
90
|
+
function onend() {
|
|
91
|
+
stream.removeListener("merge2UnpipeEnd", onend);
|
|
92
|
+
stream.removeListener("end", onend);
|
|
93
|
+
if (doPipeError) {
|
|
94
|
+
stream.removeListener("error", onerror);
|
|
95
|
+
}
|
|
96
|
+
next();
|
|
97
|
+
}
|
|
98
|
+
function onerror(err) {
|
|
99
|
+
mergedStream.emit("error", err);
|
|
100
|
+
}
|
|
101
|
+
if (stream._readableState.endEmitted) {
|
|
102
|
+
return next();
|
|
103
|
+
}
|
|
104
|
+
stream.on("merge2UnpipeEnd", onend);
|
|
105
|
+
stream.on("end", onend);
|
|
106
|
+
if (doPipeError) {
|
|
107
|
+
stream.on("error", onerror);
|
|
108
|
+
}
|
|
109
|
+
stream.pipe(mergedStream, { end: false });
|
|
110
|
+
stream.resume();
|
|
111
|
+
}
|
|
112
|
+
for (let i = 0; i < streams.length; i++) {
|
|
113
|
+
pipe(streams[i]);
|
|
114
|
+
}
|
|
115
|
+
next();
|
|
116
|
+
}
|
|
117
|
+
function endStream() {
|
|
118
|
+
merging = false;
|
|
119
|
+
mergedStream.emit("queueDrain");
|
|
120
|
+
if (doEnd) {
|
|
121
|
+
mergedStream.end();
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
mergedStream.setMaxListeners(0);
|
|
125
|
+
mergedStream.add = addStream;
|
|
126
|
+
mergedStream.on("unpipe", function(stream) {
|
|
127
|
+
stream.emit("merge2UnpipeEnd");
|
|
128
|
+
});
|
|
129
|
+
if (args.length) {
|
|
130
|
+
addStream.apply(null, args);
|
|
131
|
+
}
|
|
132
|
+
return mergedStream;
|
|
133
|
+
}
|
|
134
|
+
function pauseStreams(streams, options) {
|
|
135
|
+
if (!Array.isArray(streams)) {
|
|
136
|
+
if (!streams._readableState && streams.pipe) {
|
|
137
|
+
streams = streams.pipe(PassThrough(options));
|
|
138
|
+
}
|
|
139
|
+
if (!streams._readableState || !streams.pause || !streams.pipe) {
|
|
140
|
+
throw new Error("Only readable stream can be merged.");
|
|
141
|
+
}
|
|
142
|
+
streams.pause();
|
|
143
|
+
} else {
|
|
144
|
+
for (let i = 0, len = streams.length; i < len; i++) {
|
|
145
|
+
streams[i] = pauseStreams(streams[i], options);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
return streams;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
});
|
|
28
152
|
var require_array = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
29
153
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports) {
|
|
30
154
|
"use strict";
|
|
@@ -3190,123 +3314,6 @@ var require_pattern = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
3190
3314
|
exports.isAbsolute = isAbsolute;
|
|
3191
3315
|
}
|
|
3192
3316
|
});
|
|
3193
|
-
var require_merge2 = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
3194
|
-
"../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js"(exports, module2) {
|
|
3195
|
-
"use strict";
|
|
3196
|
-
var Stream = (0, import_chunk_4VNS5WPM.__require)("stream");
|
|
3197
|
-
var PassThrough = Stream.PassThrough;
|
|
3198
|
-
var slice = Array.prototype.slice;
|
|
3199
|
-
module2.exports = merge2;
|
|
3200
|
-
function merge2() {
|
|
3201
|
-
const streamsQueue = [];
|
|
3202
|
-
const args = slice.call(arguments);
|
|
3203
|
-
let merging = false;
|
|
3204
|
-
let options = args[args.length - 1];
|
|
3205
|
-
if (options && !Array.isArray(options) && options.pipe == null) {
|
|
3206
|
-
args.pop();
|
|
3207
|
-
} else {
|
|
3208
|
-
options = {};
|
|
3209
|
-
}
|
|
3210
|
-
const doEnd = options.end !== false;
|
|
3211
|
-
const doPipeError = options.pipeError === true;
|
|
3212
|
-
if (options.objectMode == null) {
|
|
3213
|
-
options.objectMode = true;
|
|
3214
|
-
}
|
|
3215
|
-
if (options.highWaterMark == null) {
|
|
3216
|
-
options.highWaterMark = 64 * 1024;
|
|
3217
|
-
}
|
|
3218
|
-
const mergedStream = PassThrough(options);
|
|
3219
|
-
function addStream() {
|
|
3220
|
-
for (let i = 0, len = arguments.length; i < len; i++) {
|
|
3221
|
-
streamsQueue.push(pauseStreams(arguments[i], options));
|
|
3222
|
-
}
|
|
3223
|
-
mergeStream();
|
|
3224
|
-
return this;
|
|
3225
|
-
}
|
|
3226
|
-
function mergeStream() {
|
|
3227
|
-
if (merging) {
|
|
3228
|
-
return;
|
|
3229
|
-
}
|
|
3230
|
-
merging = true;
|
|
3231
|
-
let streams = streamsQueue.shift();
|
|
3232
|
-
if (!streams) {
|
|
3233
|
-
process.nextTick(endStream);
|
|
3234
|
-
return;
|
|
3235
|
-
}
|
|
3236
|
-
if (!Array.isArray(streams)) {
|
|
3237
|
-
streams = [streams];
|
|
3238
|
-
}
|
|
3239
|
-
let pipesCount = streams.length + 1;
|
|
3240
|
-
function next() {
|
|
3241
|
-
if (--pipesCount > 0) {
|
|
3242
|
-
return;
|
|
3243
|
-
}
|
|
3244
|
-
merging = false;
|
|
3245
|
-
mergeStream();
|
|
3246
|
-
}
|
|
3247
|
-
function pipe(stream) {
|
|
3248
|
-
function onend() {
|
|
3249
|
-
stream.removeListener("merge2UnpipeEnd", onend);
|
|
3250
|
-
stream.removeListener("end", onend);
|
|
3251
|
-
if (doPipeError) {
|
|
3252
|
-
stream.removeListener("error", onerror);
|
|
3253
|
-
}
|
|
3254
|
-
next();
|
|
3255
|
-
}
|
|
3256
|
-
function onerror(err) {
|
|
3257
|
-
mergedStream.emit("error", err);
|
|
3258
|
-
}
|
|
3259
|
-
if (stream._readableState.endEmitted) {
|
|
3260
|
-
return next();
|
|
3261
|
-
}
|
|
3262
|
-
stream.on("merge2UnpipeEnd", onend);
|
|
3263
|
-
stream.on("end", onend);
|
|
3264
|
-
if (doPipeError) {
|
|
3265
|
-
stream.on("error", onerror);
|
|
3266
|
-
}
|
|
3267
|
-
stream.pipe(mergedStream, { end: false });
|
|
3268
|
-
stream.resume();
|
|
3269
|
-
}
|
|
3270
|
-
for (let i = 0; i < streams.length; i++) {
|
|
3271
|
-
pipe(streams[i]);
|
|
3272
|
-
}
|
|
3273
|
-
next();
|
|
3274
|
-
}
|
|
3275
|
-
function endStream() {
|
|
3276
|
-
merging = false;
|
|
3277
|
-
mergedStream.emit("queueDrain");
|
|
3278
|
-
if (doEnd) {
|
|
3279
|
-
mergedStream.end();
|
|
3280
|
-
}
|
|
3281
|
-
}
|
|
3282
|
-
mergedStream.setMaxListeners(0);
|
|
3283
|
-
mergedStream.add = addStream;
|
|
3284
|
-
mergedStream.on("unpipe", function(stream) {
|
|
3285
|
-
stream.emit("merge2UnpipeEnd");
|
|
3286
|
-
});
|
|
3287
|
-
if (args.length) {
|
|
3288
|
-
addStream.apply(null, args);
|
|
3289
|
-
}
|
|
3290
|
-
return mergedStream;
|
|
3291
|
-
}
|
|
3292
|
-
function pauseStreams(streams, options) {
|
|
3293
|
-
if (!Array.isArray(streams)) {
|
|
3294
|
-
if (!streams._readableState && streams.pipe) {
|
|
3295
|
-
streams = streams.pipe(PassThrough(options));
|
|
3296
|
-
}
|
|
3297
|
-
if (!streams._readableState || !streams.pause || !streams.pipe) {
|
|
3298
|
-
throw new Error("Only readable stream can be merged.");
|
|
3299
|
-
}
|
|
3300
|
-
streams.pause();
|
|
3301
|
-
} else {
|
|
3302
|
-
for (let i = 0, len = streams.length; i < len; i++) {
|
|
3303
|
-
streams[i] = pauseStreams(streams[i], options);
|
|
3304
|
-
}
|
|
3305
|
-
}
|
|
3306
|
-
return streams;
|
|
3307
|
-
}
|
|
3308
|
-
}
|
|
3309
|
-
});
|
|
3310
3317
|
var require_stream = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
3311
3318
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(exports) {
|
|
3312
3319
|
"use strict";
|
|
@@ -3964,7 +3971,7 @@ var require_out2 = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
3964
3971
|
}
|
|
3965
3972
|
});
|
|
3966
3973
|
var require_reusify = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
3967
|
-
"../../node_modules/.pnpm/reusify@1.0
|
|
3974
|
+
"../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/reusify.js"(exports, module2) {
|
|
3968
3975
|
"use strict";
|
|
3969
3976
|
function reusify(Constructor) {
|
|
3970
3977
|
var head = new Constructor();
|
|
@@ -3993,17 +4000,17 @@ var require_reusify = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
3993
4000
|
}
|
|
3994
4001
|
});
|
|
3995
4002
|
var require_queue = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
3996
|
-
"../../node_modules/.pnpm/fastq@1.
|
|
4003
|
+
"../../node_modules/.pnpm/fastq@1.19.1/node_modules/fastq/queue.js"(exports, module2) {
|
|
3997
4004
|
"use strict";
|
|
3998
4005
|
var reusify = require_reusify();
|
|
3999
|
-
function fastqueue(context, worker,
|
|
4006
|
+
function fastqueue(context, worker, _concurrency) {
|
|
4000
4007
|
if (typeof context === "function") {
|
|
4001
|
-
|
|
4008
|
+
_concurrency = worker;
|
|
4002
4009
|
worker = context;
|
|
4003
4010
|
context = null;
|
|
4004
4011
|
}
|
|
4005
|
-
if (
|
|
4006
|
-
throw new Error("fastqueue concurrency must be greater than 1");
|
|
4012
|
+
if (!(_concurrency >= 1)) {
|
|
4013
|
+
throw new Error("fastqueue concurrency must be equal to or greater than 1");
|
|
4007
4014
|
}
|
|
4008
4015
|
var cache = reusify(Task);
|
|
4009
4016
|
var queueHead = null;
|
|
@@ -4016,7 +4023,20 @@ var require_queue = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
4016
4023
|
saturated: noop,
|
|
4017
4024
|
pause,
|
|
4018
4025
|
paused: false,
|
|
4019
|
-
concurrency
|
|
4026
|
+
get concurrency() {
|
|
4027
|
+
return _concurrency;
|
|
4028
|
+
},
|
|
4029
|
+
set concurrency(value) {
|
|
4030
|
+
if (!(value >= 1)) {
|
|
4031
|
+
throw new Error("fastqueue concurrency must be equal to or greater than 1");
|
|
4032
|
+
}
|
|
4033
|
+
_concurrency = value;
|
|
4034
|
+
if (self.paused) return;
|
|
4035
|
+
for (; queueHead && _running < _concurrency; ) {
|
|
4036
|
+
_running++;
|
|
4037
|
+
release();
|
|
4038
|
+
}
|
|
4039
|
+
},
|
|
4020
4040
|
running,
|
|
4021
4041
|
resume,
|
|
4022
4042
|
idle,
|
|
@@ -4056,7 +4076,12 @@ var require_queue = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
4056
4076
|
function resume() {
|
|
4057
4077
|
if (!self.paused) return;
|
|
4058
4078
|
self.paused = false;
|
|
4059
|
-
|
|
4079
|
+
if (queueHead === null) {
|
|
4080
|
+
_running++;
|
|
4081
|
+
release();
|
|
4082
|
+
return;
|
|
4083
|
+
}
|
|
4084
|
+
for (; queueHead && _running < _concurrency; ) {
|
|
4060
4085
|
_running++;
|
|
4061
4086
|
release();
|
|
4062
4087
|
}
|
|
@@ -4071,7 +4096,7 @@ var require_queue = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
4071
4096
|
current.value = value;
|
|
4072
4097
|
current.callback = done || noop;
|
|
4073
4098
|
current.errorHandler = errorHandler;
|
|
4074
|
-
if (_running
|
|
4099
|
+
if (_running >= _concurrency || self.paused) {
|
|
4075
4100
|
if (queueTail) {
|
|
4076
4101
|
queueTail.next = current;
|
|
4077
4102
|
queueTail = current;
|
|
@@ -4091,7 +4116,8 @@ var require_queue = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
4091
4116
|
current.release = release;
|
|
4092
4117
|
current.value = value;
|
|
4093
4118
|
current.callback = done || noop;
|
|
4094
|
-
|
|
4119
|
+
current.errorHandler = errorHandler;
|
|
4120
|
+
if (_running >= _concurrency || self.paused) {
|
|
4095
4121
|
if (queueHead) {
|
|
4096
4122
|
current.next = queueHead;
|
|
4097
4123
|
queueHead = current;
|
|
@@ -4110,7 +4136,7 @@ var require_queue = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
4110
4136
|
cache.release(holder);
|
|
4111
4137
|
}
|
|
4112
4138
|
var next = queueHead;
|
|
4113
|
-
if (next) {
|
|
4139
|
+
if (next && _running <= _concurrency) {
|
|
4114
4140
|
if (!self.paused) {
|
|
4115
4141
|
if (queueTail === queueHead) {
|
|
4116
4142
|
queueTail = null;
|
|
@@ -4166,9 +4192,9 @@ var require_queue = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
4166
4192
|
self.release(self);
|
|
4167
4193
|
};
|
|
4168
4194
|
}
|
|
4169
|
-
function queueAsPromised(context, worker,
|
|
4195
|
+
function queueAsPromised(context, worker, _concurrency) {
|
|
4170
4196
|
if (typeof context === "function") {
|
|
4171
|
-
|
|
4197
|
+
_concurrency = worker;
|
|
4172
4198
|
worker = context;
|
|
4173
4199
|
context = null;
|
|
4174
4200
|
}
|
|
@@ -4177,7 +4203,7 @@ var require_queue = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
4177
4203
|
cb(null, res);
|
|
4178
4204
|
}, cb);
|
|
4179
4205
|
}
|
|
4180
|
-
var queue = fastqueue(context, asyncWrapper,
|
|
4206
|
+
var queue = fastqueue(context, asyncWrapper, _concurrency);
|
|
4181
4207
|
var pushCb = queue.push;
|
|
4182
4208
|
var unshiftCb = queue.unshift;
|
|
4183
4209
|
queue.push = push;
|
|
@@ -4211,17 +4237,19 @@ var require_queue = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
4211
4237
|
return p;
|
|
4212
4238
|
}
|
|
4213
4239
|
function drained() {
|
|
4214
|
-
if (queue.idle()) {
|
|
4215
|
-
return new Promise(function(resolve) {
|
|
4216
|
-
resolve();
|
|
4217
|
-
});
|
|
4218
|
-
}
|
|
4219
|
-
var previousDrain = queue.drain;
|
|
4220
4240
|
var p = new Promise(function(resolve) {
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4241
|
+
process.nextTick(function() {
|
|
4242
|
+
if (queue.idle()) {
|
|
4243
|
+
resolve();
|
|
4244
|
+
} else {
|
|
4245
|
+
var previousDrain = queue.drain;
|
|
4246
|
+
queue.drain = function() {
|
|
4247
|
+
if (typeof previousDrain === "function") previousDrain();
|
|
4248
|
+
resolve();
|
|
4249
|
+
queue.drain = previousDrain;
|
|
4250
|
+
};
|
|
4251
|
+
}
|
|
4252
|
+
});
|
|
4225
4253
|
});
|
|
4226
4254
|
return p;
|
|
4227
4255
|
}
|
|
@@ -5351,14 +5379,6 @@ var require_out4 = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
5351
5379
|
module2.exports = FastGlob;
|
|
5352
5380
|
}
|
|
5353
5381
|
});
|
|
5354
|
-
var require_array_union = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
5355
|
-
"../../node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js"(exports, module2) {
|
|
5356
|
-
"use strict";
|
|
5357
|
-
module2.exports = (...arguments_) => {
|
|
5358
|
-
return [...new Set([].concat(...arguments_))];
|
|
5359
|
-
};
|
|
5360
|
-
}
|
|
5361
|
-
});
|
|
5362
5382
|
var require_path_type = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
5363
5383
|
"../../node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.js"(exports) {
|
|
5364
5384
|
"use strict";
|
|
@@ -5461,7 +5481,7 @@ var require_dir_glob = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
5461
5481
|
}
|
|
5462
5482
|
});
|
|
5463
5483
|
var require_ignore = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
5464
|
-
"../../node_modules/.pnpm/ignore@5.2
|
|
5484
|
+
"../../node_modules/.pnpm/ignore@5.3.2/node_modules/ignore/index.js"(exports, module2) {
|
|
5465
5485
|
"use strict";
|
|
5466
5486
|
function makeArray(subject) {
|
|
5467
5487
|
return Array.isArray(subject) ? subject : [subject];
|
|
@@ -5493,18 +5513,32 @@ var require_ignore = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
5493
5513
|
return slashes.slice(0, length - length % 2);
|
|
5494
5514
|
};
|
|
5495
5515
|
var REPLACERS = [
|
|
5516
|
+
[
|
|
5517
|
+
// remove BOM
|
|
5518
|
+
// TODO:
|
|
5519
|
+
// Other similar zero-width characters?
|
|
5520
|
+
/^\uFEFF/,
|
|
5521
|
+
() => EMPTY
|
|
5522
|
+
],
|
|
5496
5523
|
// > Trailing spaces are ignored unless they are quoted with backslash ("\")
|
|
5497
5524
|
[
|
|
5498
5525
|
// (a\ ) -> (a )
|
|
5499
5526
|
// (a ) -> (a)
|
|
5527
|
+
// (a ) -> (a)
|
|
5500
5528
|
// (a \ ) -> (a )
|
|
5501
|
-
|
|
5502
|
-
(
|
|
5529
|
+
/((?:\\\\)*?)(\\?\s+)$/,
|
|
5530
|
+
(_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
|
|
5503
5531
|
],
|
|
5504
5532
|
// replace (\ ) with ' '
|
|
5533
|
+
// (\ ) -> ' '
|
|
5534
|
+
// (\\ ) -> '\\ '
|
|
5535
|
+
// (\\\ ) -> '\\ '
|
|
5505
5536
|
[
|
|
5506
|
-
|
|
5507
|
-
() =>
|
|
5537
|
+
/(\\+?)\s/g,
|
|
5538
|
+
(_, m1) => {
|
|
5539
|
+
const { length } = m1;
|
|
5540
|
+
return m1.slice(0, length - length % 2) + SPACE;
|
|
5541
|
+
}
|
|
5508
5542
|
],
|
|
5509
5543
|
// Escape metacharacters
|
|
5510
5544
|
// which is written down by users but means special for regular expressions.
|
|
@@ -5639,7 +5673,7 @@ var require_ignore = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
5639
5673
|
let source = regexCache[pattern];
|
|
5640
5674
|
if (!source) {
|
|
5641
5675
|
source = REPLACERS.reduce(
|
|
5642
|
-
(prev,
|
|
5676
|
+
(prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)),
|
|
5643
5677
|
pattern
|
|
5644
5678
|
);
|
|
5645
5679
|
regexCache[pattern] = source;
|