@prisma/get-platform 6.20.0-integration-next.18 → 6.20.0-integration-next.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-OJINGNLI.js → chunk-3UEKS5W6.js} +70 -129
- package/dist/{chunk-6OBQDQYE.js → chunk-GGL63BNP.js} +7 -7
- package/dist/{chunk-YLRTNN74.js → chunk-M5T7GI2R.js} +5 -14
- package/dist/index.js +8 -8
- package/dist/link.js +2 -2
- package/dist/{magic-string.es-SDTMJBWP.js → magic-string.es-3WRPFX2A.js} +17 -26
- package/dist/test-utils/index.js +6 -6
- package/dist/test-utils/jestContext.js +6 -6
- package/dist/test-utils/vitestContext.js +1163 -1170
- package/package.json +2 -2
|
@@ -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_3UEKS5W6_exports = {};
|
|
30
|
+
__export(chunk_3UEKS5W6_exports, {
|
|
31
31
|
execaNode: () => execaNode,
|
|
32
32
|
require_main: () => require_main,
|
|
33
33
|
require_tempy: () => require_tempy
|
|
34
34
|
});
|
|
35
|
-
module.exports = __toCommonJS(
|
|
35
|
+
module.exports = __toCommonJS(chunk_3UEKS5W6_exports);
|
|
36
36
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
37
37
|
var import_node_buffer = require("node:buffer");
|
|
38
38
|
var import_node_path = __toESM(require("node:path"));
|
|
@@ -1639,7 +1639,7 @@ var require_tree_walker = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1639
1639
|
}
|
|
1640
1640
|
});
|
|
1641
1641
|
var require_path = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1642
|
-
"../../node_modules/.pnpm/minimatch@5.1.
|
|
1642
|
+
"../../node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.js"(exports, module2) {
|
|
1643
1643
|
"use strict";
|
|
1644
1644
|
var isWindows = typeof process === "object" && process && process.platform === "win32";
|
|
1645
1645
|
module2.exports = isWindows ? { sep: "\\" } : { sep: "/" };
|
|
@@ -1702,7 +1702,7 @@ var require_balanced_match = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1702
1702
|
}
|
|
1703
1703
|
});
|
|
1704
1704
|
var require_brace_expansion = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1705
|
-
"../../node_modules/.pnpm/brace-expansion@2.0.
|
|
1705
|
+
"../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js"(exports, module2) {
|
|
1706
1706
|
"use strict";
|
|
1707
1707
|
var balanced = require_balanced_match();
|
|
1708
1708
|
module2.exports = expandTop;
|
|
@@ -1777,7 +1777,7 @@ var require_brace_expansion = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1777
1777
|
var isSequence = isNumericSequence || isAlphaSequence;
|
|
1778
1778
|
var isOptions = m.body.indexOf(",") >= 0;
|
|
1779
1779
|
if (!isSequence && !isOptions) {
|
|
1780
|
-
if (m.post.match(
|
|
1780
|
+
if (m.post.match(/,.*\}/)) {
|
|
1781
1781
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
1782
1782
|
return expand(str);
|
|
1783
1783
|
}
|
|
@@ -1851,7 +1851,7 @@ var require_brace_expansion = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1851
1851
|
}
|
|
1852
1852
|
});
|
|
1853
1853
|
var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1854
|
-
"../../node_modules/.pnpm/minimatch@5.1.
|
|
1854
|
+
"../../node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.js"(exports, module2) {
|
|
1855
1855
|
"use strict";
|
|
1856
1856
|
var minimatch = module2.exports = (p, pattern, options = {}) => {
|
|
1857
1857
|
assertValidPattern(pattern);
|
|
@@ -1938,9 +1938,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1938
1938
|
return list;
|
|
1939
1939
|
};
|
|
1940
1940
|
var globUnescape = (s) => s.replace(/\\(.)/g, "$1");
|
|
1941
|
-
var charUnescape = (s) => s.replace(/\\([^-\]])/g, "$1");
|
|
1942
1941
|
var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
1943
|
-
var braExpEscape = (s) => s.replace(/[[\]\\]/g, "\\$&");
|
|
1944
1942
|
var Minimatch = class {
|
|
1945
1943
|
constructor(pattern, options) {
|
|
1946
1944
|
assertValidPattern(pattern);
|
|
@@ -1993,7 +1991,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1993
1991
|
negate = !negate;
|
|
1994
1992
|
negateOffset++;
|
|
1995
1993
|
}
|
|
1996
|
-
if (negateOffset) this.pattern = pattern.
|
|
1994
|
+
if (negateOffset) this.pattern = pattern.substr(negateOffset);
|
|
1997
1995
|
this.negate = negate;
|
|
1998
1996
|
}
|
|
1999
1997
|
// set partial to true to test if, for example,
|
|
@@ -2079,7 +2077,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2079
2077
|
}
|
|
2080
2078
|
if (pattern === "") return "";
|
|
2081
2079
|
let re = "";
|
|
2082
|
-
let hasMagic =
|
|
2080
|
+
let hasMagic = !!options.nocase;
|
|
2083
2081
|
let escaping = false;
|
|
2084
2082
|
const patternListStack = [];
|
|
2085
2083
|
const negativeLists = [];
|
|
@@ -2090,10 +2088,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2090
2088
|
let cs;
|
|
2091
2089
|
let pl;
|
|
2092
2090
|
let sp;
|
|
2093
|
-
|
|
2094
|
-
let dotFileAllowed = options.dot || dotTravAllowed;
|
|
2095
|
-
const patternStart = () => dotTravAllowed ? "" : dotFileAllowed ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
|
2096
|
-
const subPatternStart = (p) => p.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
|
2091
|
+
const patternStart = pattern.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
|
2097
2092
|
const clearStateChar = () => {
|
|
2098
2093
|
if (stateChar) {
|
|
2099
2094
|
switch (stateChar) {
|
|
@@ -2132,10 +2127,6 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2132
2127
|
return false;
|
|
2133
2128
|
}
|
|
2134
2129
|
case "\\":
|
|
2135
|
-
if (inClass && pattern.charAt(i + 1) === "-") {
|
|
2136
|
-
re += c;
|
|
2137
|
-
continue;
|
|
2138
|
-
}
|
|
2139
2130
|
clearStateChar();
|
|
2140
2131
|
escaping = true;
|
|
2141
2132
|
continue;
|
|
@@ -2158,7 +2149,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2158
2149
|
stateChar = c;
|
|
2159
2150
|
if (options.noext) clearStateChar();
|
|
2160
2151
|
continue;
|
|
2161
|
-
case "(":
|
|
2152
|
+
case "(":
|
|
2162
2153
|
if (inClass) {
|
|
2163
2154
|
re += "(";
|
|
2164
2155
|
continue;
|
|
@@ -2167,54 +2158,39 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2167
2158
|
re += "\\(";
|
|
2168
2159
|
continue;
|
|
2169
2160
|
}
|
|
2170
|
-
|
|
2161
|
+
patternListStack.push({
|
|
2171
2162
|
type: stateChar,
|
|
2172
2163
|
start: i - 1,
|
|
2173
2164
|
reStart: re.length,
|
|
2174
2165
|
open: plTypes[stateChar].open,
|
|
2175
2166
|
close: plTypes[stateChar].close
|
|
2176
|
-
};
|
|
2177
|
-
|
|
2178
|
-
patternListStack.push(plEntry);
|
|
2179
|
-
re += plEntry.open;
|
|
2180
|
-
if (plEntry.start === 0 && plEntry.type !== "!") {
|
|
2181
|
-
dotTravAllowed = true;
|
|
2182
|
-
re += subPatternStart(pattern.slice(i + 1));
|
|
2183
|
-
}
|
|
2167
|
+
});
|
|
2168
|
+
re += stateChar === "!" ? "(?:(?!(?:" : "(?:";
|
|
2184
2169
|
this.debug("plType %j %j", stateChar, re);
|
|
2185
2170
|
stateChar = false;
|
|
2186
2171
|
continue;
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
const plEntry = patternListStack[patternListStack.length - 1];
|
|
2190
|
-
if (inClass || !plEntry) {
|
|
2172
|
+
case ")":
|
|
2173
|
+
if (inClass || !patternListStack.length) {
|
|
2191
2174
|
re += "\\)";
|
|
2192
2175
|
continue;
|
|
2193
2176
|
}
|
|
2194
|
-
patternListStack.pop();
|
|
2195
2177
|
clearStateChar();
|
|
2196
2178
|
hasMagic = true;
|
|
2197
|
-
pl =
|
|
2179
|
+
pl = patternListStack.pop();
|
|
2198
2180
|
re += pl.close;
|
|
2199
2181
|
if (pl.type === "!") {
|
|
2200
|
-
negativeLists.push(
|
|
2182
|
+
negativeLists.push(pl);
|
|
2201
2183
|
}
|
|
2184
|
+
pl.reEnd = re.length;
|
|
2202
2185
|
continue;
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
const plEntry = patternListStack[patternListStack.length - 1];
|
|
2206
|
-
if (inClass || !plEntry) {
|
|
2186
|
+
case "|":
|
|
2187
|
+
if (inClass || !patternListStack.length) {
|
|
2207
2188
|
re += "\\|";
|
|
2208
2189
|
continue;
|
|
2209
2190
|
}
|
|
2210
2191
|
clearStateChar();
|
|
2211
2192
|
re += "|";
|
|
2212
|
-
if (plEntry.start === 0 && plEntry.type !== "!") {
|
|
2213
|
-
dotTravAllowed = true;
|
|
2214
|
-
re += subPatternStart(pattern.slice(i + 1));
|
|
2215
|
-
}
|
|
2216
2193
|
continue;
|
|
2217
|
-
}
|
|
2218
2194
|
// these are mostly the same in regexp and glob
|
|
2219
2195
|
case "[":
|
|
2220
2196
|
clearStateChar();
|
|
@@ -2234,13 +2210,17 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2234
2210
|
}
|
|
2235
2211
|
cs = pattern.substring(classStart + 1, i);
|
|
2236
2212
|
try {
|
|
2237
|
-
RegExp("[" +
|
|
2238
|
-
re += c;
|
|
2213
|
+
RegExp("[" + cs + "]");
|
|
2239
2214
|
} catch (er) {
|
|
2240
|
-
|
|
2215
|
+
sp = this.parse(cs, SUBPARSE);
|
|
2216
|
+
re = re.substr(0, reClassStart) + "\\[" + sp[0] + "\\]";
|
|
2217
|
+
hasMagic = hasMagic || sp[1];
|
|
2218
|
+
inClass = false;
|
|
2219
|
+
continue;
|
|
2241
2220
|
}
|
|
2242
2221
|
hasMagic = true;
|
|
2243
2222
|
inClass = false;
|
|
2223
|
+
re += c;
|
|
2244
2224
|
continue;
|
|
2245
2225
|
default:
|
|
2246
2226
|
clearStateChar();
|
|
@@ -2252,9 +2232,9 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2252
2232
|
}
|
|
2253
2233
|
}
|
|
2254
2234
|
if (inClass) {
|
|
2255
|
-
cs = pattern.
|
|
2235
|
+
cs = pattern.substr(classStart + 1);
|
|
2256
2236
|
sp = this.parse(cs, SUBPARSE);
|
|
2257
|
-
re = re.
|
|
2237
|
+
re = re.substr(0, reClassStart) + "\\[" + sp[0];
|
|
2258
2238
|
hasMagic = hasMagic || sp[1];
|
|
2259
2239
|
}
|
|
2260
2240
|
for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
|
|
@@ -2283,28 +2263,24 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2283
2263
|
const nlFirst = re.slice(nl.reStart, nl.reEnd - 8);
|
|
2284
2264
|
let nlAfter = re.slice(nl.reEnd);
|
|
2285
2265
|
const nlLast = re.slice(nl.reEnd - 8, nl.reEnd) + nlAfter;
|
|
2286
|
-
const
|
|
2287
|
-
const openParensBefore = nlBefore.split("(").length - closeParensBefore;
|
|
2266
|
+
const openParensBefore = nlBefore.split("(").length - 1;
|
|
2288
2267
|
let cleanAfter = nlAfter;
|
|
2289
2268
|
for (let i = 0; i < openParensBefore; i++) {
|
|
2290
2269
|
cleanAfter = cleanAfter.replace(/\)[+*?]?/, "");
|
|
2291
2270
|
}
|
|
2292
2271
|
nlAfter = cleanAfter;
|
|
2293
|
-
const dollar = nlAfter === "" && isSub !== SUBPARSE ? "
|
|
2272
|
+
const dollar = nlAfter === "" && isSub !== SUBPARSE ? "$" : "";
|
|
2294
2273
|
re = nlBefore + nlFirst + nlAfter + dollar + nlLast;
|
|
2295
2274
|
}
|
|
2296
2275
|
if (re !== "" && hasMagic) {
|
|
2297
2276
|
re = "(?=.)" + re;
|
|
2298
2277
|
}
|
|
2299
2278
|
if (addPatternStart) {
|
|
2300
|
-
re = patternStart
|
|
2279
|
+
re = patternStart + re;
|
|
2301
2280
|
}
|
|
2302
2281
|
if (isSub === SUBPARSE) {
|
|
2303
2282
|
return [re, hasMagic];
|
|
2304
2283
|
}
|
|
2305
|
-
if (options.nocase && !hasMagic) {
|
|
2306
|
-
hasMagic = pattern.toUpperCase() !== pattern.toLowerCase();
|
|
2307
|
-
}
|
|
2308
2284
|
if (!hasMagic) {
|
|
2309
2285
|
return globUnescape(pattern);
|
|
2310
2286
|
}
|
|
@@ -7705,7 +7681,7 @@ var require_out2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7705
7681
|
}
|
|
7706
7682
|
});
|
|
7707
7683
|
var require_reusify = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
7708
|
-
"../../node_modules/.pnpm/reusify@1.
|
|
7684
|
+
"../../node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.js"(exports, module2) {
|
|
7709
7685
|
"use strict";
|
|
7710
7686
|
function reusify(Constructor) {
|
|
7711
7687
|
var head = new Constructor();
|
|
@@ -7734,17 +7710,17 @@ var require_reusify = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7734
7710
|
}
|
|
7735
7711
|
});
|
|
7736
7712
|
var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
7737
|
-
"../../node_modules/.pnpm/fastq@1.
|
|
7713
|
+
"../../node_modules/.pnpm/fastq@1.15.0/node_modules/fastq/queue.js"(exports, module2) {
|
|
7738
7714
|
"use strict";
|
|
7739
7715
|
var reusify = require_reusify();
|
|
7740
|
-
function fastqueue(context, worker,
|
|
7716
|
+
function fastqueue(context, worker, concurrency) {
|
|
7741
7717
|
if (typeof context === "function") {
|
|
7742
|
-
|
|
7718
|
+
concurrency = worker;
|
|
7743
7719
|
worker = context;
|
|
7744
7720
|
context = null;
|
|
7745
7721
|
}
|
|
7746
|
-
if (
|
|
7747
|
-
throw new Error("fastqueue concurrency must be
|
|
7722
|
+
if (concurrency < 1) {
|
|
7723
|
+
throw new Error("fastqueue concurrency must be greater than 1");
|
|
7748
7724
|
}
|
|
7749
7725
|
var cache = reusify(Task);
|
|
7750
7726
|
var queueHead = null;
|
|
@@ -7757,20 +7733,7 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7757
7733
|
saturated: noop2,
|
|
7758
7734
|
pause,
|
|
7759
7735
|
paused: false,
|
|
7760
|
-
|
|
7761
|
-
return _concurrency;
|
|
7762
|
-
},
|
|
7763
|
-
set concurrency(value) {
|
|
7764
|
-
if (!(value >= 1)) {
|
|
7765
|
-
throw new Error("fastqueue concurrency must be equal to or greater than 1");
|
|
7766
|
-
}
|
|
7767
|
-
_concurrency = value;
|
|
7768
|
-
if (self.paused) return;
|
|
7769
|
-
for (; queueHead && _running < _concurrency; ) {
|
|
7770
|
-
_running++;
|
|
7771
|
-
release();
|
|
7772
|
-
}
|
|
7773
|
-
},
|
|
7736
|
+
concurrency,
|
|
7774
7737
|
running,
|
|
7775
7738
|
resume,
|
|
7776
7739
|
idle,
|
|
@@ -7810,12 +7773,7 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7810
7773
|
function resume() {
|
|
7811
7774
|
if (!self.paused) return;
|
|
7812
7775
|
self.paused = false;
|
|
7813
|
-
|
|
7814
|
-
_running++;
|
|
7815
|
-
release();
|
|
7816
|
-
return;
|
|
7817
|
-
}
|
|
7818
|
-
for (; queueHead && _running < _concurrency; ) {
|
|
7776
|
+
for (var i = 0; i < self.concurrency; i++) {
|
|
7819
7777
|
_running++;
|
|
7820
7778
|
release();
|
|
7821
7779
|
}
|
|
@@ -7830,7 +7788,7 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7830
7788
|
current.value = value;
|
|
7831
7789
|
current.callback = done || noop2;
|
|
7832
7790
|
current.errorHandler = errorHandler;
|
|
7833
|
-
if (_running
|
|
7791
|
+
if (_running === self.concurrency || self.paused) {
|
|
7834
7792
|
if (queueTail) {
|
|
7835
7793
|
queueTail.next = current;
|
|
7836
7794
|
queueTail = current;
|
|
@@ -7850,8 +7808,7 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7850
7808
|
current.release = release;
|
|
7851
7809
|
current.value = value;
|
|
7852
7810
|
current.callback = done || noop2;
|
|
7853
|
-
|
|
7854
|
-
if (_running >= _concurrency || self.paused) {
|
|
7811
|
+
if (_running === self.concurrency || self.paused) {
|
|
7855
7812
|
if (queueHead) {
|
|
7856
7813
|
current.next = queueHead;
|
|
7857
7814
|
queueHead = current;
|
|
@@ -7870,7 +7827,7 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7870
7827
|
cache.release(holder);
|
|
7871
7828
|
}
|
|
7872
7829
|
var next = queueHead;
|
|
7873
|
-
if (next
|
|
7830
|
+
if (next) {
|
|
7874
7831
|
if (!self.paused) {
|
|
7875
7832
|
if (queueTail === queueHead) {
|
|
7876
7833
|
queueTail = null;
|
|
@@ -7926,9 +7883,9 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7926
7883
|
self.release(self);
|
|
7927
7884
|
};
|
|
7928
7885
|
}
|
|
7929
|
-
function queueAsPromised(context, worker,
|
|
7886
|
+
function queueAsPromised(context, worker, concurrency) {
|
|
7930
7887
|
if (typeof context === "function") {
|
|
7931
|
-
|
|
7888
|
+
concurrency = worker;
|
|
7932
7889
|
worker = context;
|
|
7933
7890
|
context = null;
|
|
7934
7891
|
}
|
|
@@ -7937,7 +7894,7 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7937
7894
|
cb(null, res);
|
|
7938
7895
|
}, cb);
|
|
7939
7896
|
}
|
|
7940
|
-
var queue = fastqueue(context, asyncWrapper,
|
|
7897
|
+
var queue = fastqueue(context, asyncWrapper, concurrency);
|
|
7941
7898
|
var pushCb = queue.push;
|
|
7942
7899
|
var unshiftCb = queue.unshift;
|
|
7943
7900
|
queue.push = push;
|
|
@@ -7971,19 +7928,17 @@ var require_queue = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7971
7928
|
return p;
|
|
7972
7929
|
}
|
|
7973
7930
|
function drained() {
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
resolve();
|
|
7978
|
-
} else {
|
|
7979
|
-
var previousDrain = queue.drain;
|
|
7980
|
-
queue.drain = function() {
|
|
7981
|
-
if (typeof previousDrain === "function") previousDrain();
|
|
7982
|
-
resolve();
|
|
7983
|
-
queue.drain = previousDrain;
|
|
7984
|
-
};
|
|
7985
|
-
}
|
|
7931
|
+
if (queue.idle()) {
|
|
7932
|
+
return new Promise(function(resolve) {
|
|
7933
|
+
resolve();
|
|
7986
7934
|
});
|
|
7935
|
+
}
|
|
7936
|
+
var previousDrain = queue.drain;
|
|
7937
|
+
var p = new Promise(function(resolve) {
|
|
7938
|
+
queue.drain = function() {
|
|
7939
|
+
previousDrain();
|
|
7940
|
+
resolve();
|
|
7941
|
+
};
|
|
7987
7942
|
});
|
|
7988
7943
|
return p;
|
|
7989
7944
|
}
|
|
@@ -9215,7 +9170,7 @@ var require_dir_glob = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9215
9170
|
}
|
|
9216
9171
|
});
|
|
9217
9172
|
var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9218
|
-
"../../node_modules/.pnpm/ignore@5.
|
|
9173
|
+
"../../node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.js"(exports, module2) {
|
|
9219
9174
|
"use strict";
|
|
9220
9175
|
function makeArray(subject) {
|
|
9221
9176
|
return Array.isArray(subject) ? subject : [subject];
|
|
@@ -9247,32 +9202,18 @@ var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9247
9202
|
return slashes.slice(0, length - length % 2);
|
|
9248
9203
|
};
|
|
9249
9204
|
var REPLACERS = [
|
|
9250
|
-
[
|
|
9251
|
-
// remove BOM
|
|
9252
|
-
// TODO:
|
|
9253
|
-
// Other similar zero-width characters?
|
|
9254
|
-
/^\uFEFF/,
|
|
9255
|
-
() => EMPTY
|
|
9256
|
-
],
|
|
9257
9205
|
// > Trailing spaces are ignored unless they are quoted with backslash ("\")
|
|
9258
9206
|
[
|
|
9259
9207
|
// (a\ ) -> (a )
|
|
9260
9208
|
// (a ) -> (a)
|
|
9261
|
-
// (a ) -> (a)
|
|
9262
9209
|
// (a \ ) -> (a )
|
|
9263
|
-
|
|
9264
|
-
(
|
|
9210
|
+
/\\?\s+$/,
|
|
9211
|
+
(match) => match.indexOf("\\") === 0 ? SPACE : EMPTY
|
|
9265
9212
|
],
|
|
9266
9213
|
// replace (\ ) with ' '
|
|
9267
|
-
// (\ ) -> ' '
|
|
9268
|
-
// (\\ ) -> '\\ '
|
|
9269
|
-
// (\\\ ) -> '\\ '
|
|
9270
9214
|
[
|
|
9271
|
-
|
|
9272
|
-
(
|
|
9273
|
-
const { length } = m1;
|
|
9274
|
-
return m1.slice(0, length - length % 2) + SPACE;
|
|
9275
|
-
}
|
|
9215
|
+
/\\\s/g,
|
|
9216
|
+
() => SPACE
|
|
9276
9217
|
],
|
|
9277
9218
|
// Escape metacharacters
|
|
9278
9219
|
// which is written down by users but means special for regular expressions.
|
|
@@ -9407,7 +9348,7 @@ var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9407
9348
|
let source = regexCache[pattern];
|
|
9408
9349
|
if (!source) {
|
|
9409
9350
|
source = REPLACERS.reduce(
|
|
9410
|
-
(prev,
|
|
9351
|
+
(prev, current) => prev.replace(current[0], current[1].bind(pattern)),
|
|
9411
9352
|
pattern
|
|
9412
9353
|
);
|
|
9413
9354
|
regexCache[pattern] = source;
|
|
@@ -9885,7 +9826,7 @@ var require_globby = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9885
9826
|
}
|
|
9886
9827
|
});
|
|
9887
9828
|
var require_polyfills = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9888
|
-
"../../node_modules/.pnpm/graceful-fs@4.2.
|
|
9829
|
+
"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/polyfills.js"(exports, module2) {
|
|
9889
9830
|
"use strict";
|
|
9890
9831
|
var constants3 = (0, import_chunk_2ESYSVXG.__require)("constants");
|
|
9891
9832
|
var origCwd = process.cwd;
|
|
@@ -9955,7 +9896,7 @@ var require_polyfills = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9955
9896
|
var start = Date.now();
|
|
9956
9897
|
var backoff = 0;
|
|
9957
9898
|
fs$rename(from, to, function CB(er) {
|
|
9958
|
-
if (er && (er.code === "EACCES" || er.code === "EPERM"
|
|
9899
|
+
if (er && (er.code === "EACCES" || er.code === "EPERM") && Date.now() - start < 6e4) {
|
|
9959
9900
|
setTimeout(function() {
|
|
9960
9901
|
fs.stat(to, function(stater, st) {
|
|
9961
9902
|
if (stater && stater.code === "ENOENT")
|
|
@@ -10172,7 +10113,7 @@ var require_polyfills = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10172
10113
|
}
|
|
10173
10114
|
});
|
|
10174
10115
|
var require_legacy_streams = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10175
|
-
"../../node_modules/.pnpm/graceful-fs@4.2.
|
|
10116
|
+
"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/legacy-streams.js"(exports, module2) {
|
|
10176
10117
|
"use strict";
|
|
10177
10118
|
var Stream = (0, import_chunk_2ESYSVXG.__require)("stream").Stream;
|
|
10178
10119
|
module2.exports = legacy;
|
|
@@ -10267,7 +10208,7 @@ var require_legacy_streams = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10267
10208
|
}
|
|
10268
10209
|
});
|
|
10269
10210
|
var require_clone = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10270
|
-
"../../node_modules/.pnpm/graceful-fs@4.2.
|
|
10211
|
+
"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/clone.js"(exports, module2) {
|
|
10271
10212
|
"use strict";
|
|
10272
10213
|
module2.exports = clone;
|
|
10273
10214
|
var getPrototypeOf = Object.getPrototypeOf || function(obj) {
|
|
@@ -10288,7 +10229,7 @@ var require_clone = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10288
10229
|
}
|
|
10289
10230
|
});
|
|
10290
10231
|
var require_graceful_fs = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10291
|
-
"../../node_modules/.pnpm/graceful-fs@4.2.
|
|
10232
|
+
"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js"(exports, module2) {
|
|
10292
10233
|
"use strict";
|
|
10293
10234
|
var fs = (0, import_chunk_2ESYSVXG.__require)("fs");
|
|
10294
10235
|
var polyfills = require_polyfills();
|
|
@@ -10958,7 +10899,7 @@ var require_concat_map = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
10958
10899
|
}
|
|
10959
10900
|
});
|
|
10960
10901
|
var require_brace_expansion2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
10961
|
-
"../../node_modules/.pnpm/brace-expansion@1.1.
|
|
10902
|
+
"../../node_modules/.pnpm/brace-expansion@1.1.11/node_modules/brace-expansion/index.js"(exports, module2) {
|
|
10962
10903
|
"use strict";
|
|
10963
10904
|
var concatMap = require_concat_map();
|
|
10964
10905
|
var balanced = require_balanced_match();
|
|
@@ -11026,7 +10967,7 @@ var require_brace_expansion2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
11026
10967
|
var isSequence = isNumericSequence || isAlphaSequence;
|
|
11027
10968
|
var isOptions = m.body.indexOf(",") >= 0;
|
|
11028
10969
|
if (!isSequence && !isOptions) {
|
|
11029
|
-
if (m.post.match(
|
|
10970
|
+
if (m.post.match(/,.*\}/)) {
|
|
11030
10971
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
11031
10972
|
return expand(str);
|
|
11032
10973
|
}
|
|
@@ -26,19 +26,19 @@ 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_GGL63BNP_exports = {};
|
|
30
|
+
__export(chunk_GGL63BNP_exports, {
|
|
31
31
|
jestConsoleContext: () => jestConsoleContext,
|
|
32
32
|
jestContext: () => jestContext,
|
|
33
33
|
jestStdoutContext: () => jestStdoutContext,
|
|
34
34
|
processExitContext: () => processExitContext
|
|
35
35
|
});
|
|
36
|
-
module.exports = __toCommonJS(
|
|
37
|
-
var
|
|
36
|
+
module.exports = __toCommonJS(chunk_GGL63BNP_exports);
|
|
37
|
+
var import_chunk_3UEKS5W6 = require("./chunk-3UEKS5W6.js");
|
|
38
38
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
39
39
|
var import_node_path = __toESM(require("node:path"));
|
|
40
|
-
var import_fs_jetpack = (0, import_chunk_2ESYSVXG.__toESM)((0,
|
|
41
|
-
var import_tempy = (0, import_chunk_2ESYSVXG.__toESM)((0,
|
|
40
|
+
var import_fs_jetpack = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_3UEKS5W6.require_main)());
|
|
41
|
+
var import_tempy = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_3UEKS5W6.require_tempy)());
|
|
42
42
|
var jestContext = {
|
|
43
43
|
new: function(ctx = {}) {
|
|
44
44
|
const c = ctx;
|
|
@@ -78,7 +78,7 @@ ${[...generateDirectoryTree(children, indent)].join("\n")}
|
|
|
78
78
|
c.fs.symlink(import_node_path.default.join(originalCwd, "..", "config"), import_node_path.default.join(c.fs.cwd(), "node_modules", "@prisma", "config"));
|
|
79
79
|
};
|
|
80
80
|
c.cli = (...input) => {
|
|
81
|
-
return (0,
|
|
81
|
+
return (0, import_chunk_3UEKS5W6.execaNode)(import_node_path.default.join(originalCwd, "../cli/build/index.js"), input, {
|
|
82
82
|
cwd: c.fs.cwd(),
|
|
83
83
|
stdio: "pipe",
|
|
84
84
|
all: true
|
|
@@ -26,11 +26,11 @@ 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_M5T7GI2R_exports = {};
|
|
30
|
+
__export(chunk_M5T7GI2R_exports, {
|
|
31
31
|
link: () => link2
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_M5T7GI2R_exports);
|
|
34
34
|
var import_chunk_YVXCXD3A = require("./chunk-YVXCXD3A.js");
|
|
35
35
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
36
36
|
var import_node_process = __toESM(require("node:process"));
|
|
@@ -245,11 +245,9 @@ var require_supports_hyperlinks = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
245
245
|
});
|
|
246
246
|
var base_exports = {};
|
|
247
247
|
(0, import_chunk_2ESYSVXG.__export)(base_exports, {
|
|
248
|
-
ConEmu: () => ConEmu,
|
|
249
248
|
beep: () => beep,
|
|
250
249
|
clearScreen: () => clearScreen,
|
|
251
250
|
clearTerminal: () => clearTerminal,
|
|
252
|
-
clearViewport: () => clearViewport,
|
|
253
251
|
cursorBackward: () => cursorBackward,
|
|
254
252
|
cursorDown: () => cursorDown,
|
|
255
253
|
cursorForward: () => cursorForward,
|
|
@@ -277,8 +275,7 @@ var base_exports = {};
|
|
|
277
275
|
image: () => image,
|
|
278
276
|
link: () => link,
|
|
279
277
|
scrollDown: () => scrollDown,
|
|
280
|
-
scrollUp: () => scrollUp
|
|
281
|
-
setCwd: () => setCwd
|
|
278
|
+
scrollUp: () => scrollUp
|
|
282
279
|
});
|
|
283
280
|
var isBrowser = globalThis.window?.document !== void 0;
|
|
284
281
|
var isNode = globalThis.process?.versions?.node !== void 0;
|
|
@@ -362,7 +359,6 @@ var eraseScreen = ESC + "2J";
|
|
|
362
359
|
var scrollUp = ESC + "S";
|
|
363
360
|
var scrollDown = ESC + "T";
|
|
364
361
|
var clearScreen = "\x1Bc";
|
|
365
|
-
var clearViewport = `${eraseScreen}${ESC}H`;
|
|
366
362
|
var clearTerminal = isWindows2 ? `${eraseScreen}${ESC}0f` : `${eraseScreen}${ESC}3J${ESC}H`;
|
|
367
363
|
var enterAlternativeScreen = ESC + "?1049h";
|
|
368
364
|
var exitAlternativeScreen = ESC + "?1049l";
|
|
@@ -392,8 +388,7 @@ var image = (data, options = {}) => {
|
|
|
392
388
|
if (options.preserveAspectRatio === false) {
|
|
393
389
|
returnValue += ";preserveAspectRatio=0";
|
|
394
390
|
}
|
|
395
|
-
|
|
396
|
-
return returnValue + `;size=${imageBuffer.byteLength}:` + imageBuffer.toString("base64") + BEL;
|
|
391
|
+
return returnValue + ":" + Buffer.from(data).toString("base64") + BEL;
|
|
397
392
|
};
|
|
398
393
|
var iTerm = {
|
|
399
394
|
setCwd: (cwd = cwdFunction()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
@@ -414,10 +409,6 @@ var iTerm = {
|
|
|
414
409
|
return returnValue + BEL;
|
|
415
410
|
}
|
|
416
411
|
};
|
|
417
|
-
var ConEmu = {
|
|
418
|
-
setCwd: (cwd = cwdFunction()) => `${OSC}9;9;${cwd}${BEL}`
|
|
419
|
-
};
|
|
420
|
-
var setCwd = (cwd = cwdFunction()) => iTerm.setCwd(cwd) + ConEmu.setCwd(cwd);
|
|
421
412
|
var import_supports_hyperlinks = (0, import_chunk_2ESYSVXG.__toESM)(require_supports_hyperlinks(), 1);
|
|
422
413
|
function terminalLink(text, url, { target = "stdout", ...options } = {}) {
|
|
423
414
|
if (!import_supports_hyperlinks.default[target]) {
|
package/dist/index.js
CHANGED
|
@@ -22,20 +22,20 @@ __export(index_exports, {
|
|
|
22
22
|
getBinaryTargetForCurrentPlatform: () => import_chunk_7PMGXL6S.getBinaryTargetForCurrentPlatform,
|
|
23
23
|
getPlatformInfo: () => import_chunk_7PMGXL6S.getPlatformInfo,
|
|
24
24
|
getos: () => import_chunk_7PMGXL6S.getos,
|
|
25
|
-
jestConsoleContext: () =>
|
|
26
|
-
jestContext: () =>
|
|
27
|
-
jestStdoutContext: () =>
|
|
28
|
-
link: () =>
|
|
29
|
-
processExitContext: () =>
|
|
25
|
+
jestConsoleContext: () => import_chunk_GGL63BNP.jestConsoleContext,
|
|
26
|
+
jestContext: () => import_chunk_GGL63BNP.jestContext,
|
|
27
|
+
jestStdoutContext: () => import_chunk_GGL63BNP.jestStdoutContext,
|
|
28
|
+
link: () => import_chunk_M5T7GI2R.link,
|
|
29
|
+
processExitContext: () => import_chunk_GGL63BNP.processExitContext
|
|
30
30
|
});
|
|
31
31
|
module.exports = __toCommonJS(index_exports);
|
|
32
32
|
var import_chunk_7PMGXL6S = require("./chunk-7PMGXL6S.js");
|
|
33
|
-
var
|
|
33
|
+
var import_chunk_M5T7GI2R = require("./chunk-M5T7GI2R.js");
|
|
34
34
|
var import_chunk_FWMN4WME = require("./chunk-FWMN4WME.js");
|
|
35
35
|
var import_chunk_YVXCXD3A = require("./chunk-YVXCXD3A.js");
|
|
36
36
|
var import_chunk_7MLUNQIZ = require("./chunk-7MLUNQIZ.js");
|
|
37
37
|
var import_chunk_6HZWON4S = require("./chunk-6HZWON4S.js");
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var import_chunk_GGL63BNP = require("./chunk-GGL63BNP.js");
|
|
39
|
+
var import_chunk_3UEKS5W6 = require("./chunk-3UEKS5W6.js");
|
|
40
40
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
41
41
|
(0, import_chunk_7MLUNQIZ.init_binaryTargets)();
|
package/dist/link.js
CHANGED
|
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var link_exports = {};
|
|
20
20
|
__export(link_exports, {
|
|
21
|
-
link: () =>
|
|
21
|
+
link: () => import_chunk_M5T7GI2R.link
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(link_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_M5T7GI2R = require("./chunk-M5T7GI2R.js");
|
|
25
25
|
var import_chunk_YVXCXD3A = require("./chunk-YVXCXD3A.js");
|
|
26
26
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|