@prisma/get-platform 6.18.0-dev.10 → 6.18.0-dev.12
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-3UEKS5W6.js → chunk-BYJPXX74.js} +75 -37
- package/dist/{chunk-5EPDNTW3.js → chunk-JP5VYEU6.js} +7 -7
- package/dist/index.js +6 -6
- package/dist/test-utils/index.js +6 -6
- package/dist/test-utils/jestContext.js +6 -6
- package/dist/test-utils/vitestContext.js +4 -4
- package/package.json +3 -4
|
@@ -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_BYJPXX74_exports = {};
|
|
30
|
+
__export(chunk_BYJPXX74_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_BYJPXX74_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.6/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: "/" };
|
|
@@ -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.6/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,7 +1938,9 @@ 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");
|
|
1941
1942
|
var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
1943
|
+
var braExpEscape = (s) => s.replace(/[[\]\\]/g, "\\$&");
|
|
1942
1944
|
var Minimatch = class {
|
|
1943
1945
|
constructor(pattern, options) {
|
|
1944
1946
|
assertValidPattern(pattern);
|
|
@@ -1991,7 +1993,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1991
1993
|
negate = !negate;
|
|
1992
1994
|
negateOffset++;
|
|
1993
1995
|
}
|
|
1994
|
-
if (negateOffset) this.pattern = pattern.
|
|
1996
|
+
if (negateOffset) this.pattern = pattern.slice(negateOffset);
|
|
1995
1997
|
this.negate = negate;
|
|
1996
1998
|
}
|
|
1997
1999
|
// set partial to true to test if, for example,
|
|
@@ -2077,7 +2079,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2077
2079
|
}
|
|
2078
2080
|
if (pattern === "") return "";
|
|
2079
2081
|
let re = "";
|
|
2080
|
-
let hasMagic =
|
|
2082
|
+
let hasMagic = false;
|
|
2081
2083
|
let escaping = false;
|
|
2082
2084
|
const patternListStack = [];
|
|
2083
2085
|
const negativeLists = [];
|
|
@@ -2088,7 +2090,10 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2088
2090
|
let cs;
|
|
2089
2091
|
let pl;
|
|
2090
2092
|
let sp;
|
|
2091
|
-
|
|
2093
|
+
let dotTravAllowed = pattern.charAt(0) === ".";
|
|
2094
|
+
let dotFileAllowed = options.dot || dotTravAllowed;
|
|
2095
|
+
const patternStart = () => dotTravAllowed ? "" : dotFileAllowed ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
|
2096
|
+
const subPatternStart = (p) => p.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
|
2092
2097
|
const clearStateChar = () => {
|
|
2093
2098
|
if (stateChar) {
|
|
2094
2099
|
switch (stateChar) {
|
|
@@ -2127,6 +2132,10 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2127
2132
|
return false;
|
|
2128
2133
|
}
|
|
2129
2134
|
case "\\":
|
|
2135
|
+
if (inClass && pattern.charAt(i + 1) === "-") {
|
|
2136
|
+
re += c;
|
|
2137
|
+
continue;
|
|
2138
|
+
}
|
|
2130
2139
|
clearStateChar();
|
|
2131
2140
|
escaping = true;
|
|
2132
2141
|
continue;
|
|
@@ -2149,7 +2158,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2149
2158
|
stateChar = c;
|
|
2150
2159
|
if (options.noext) clearStateChar();
|
|
2151
2160
|
continue;
|
|
2152
|
-
case "(":
|
|
2161
|
+
case "(": {
|
|
2153
2162
|
if (inClass) {
|
|
2154
2163
|
re += "(";
|
|
2155
2164
|
continue;
|
|
@@ -2158,39 +2167,54 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2158
2167
|
re += "\\(";
|
|
2159
2168
|
continue;
|
|
2160
2169
|
}
|
|
2161
|
-
|
|
2170
|
+
const plEntry = {
|
|
2162
2171
|
type: stateChar,
|
|
2163
2172
|
start: i - 1,
|
|
2164
2173
|
reStart: re.length,
|
|
2165
2174
|
open: plTypes[stateChar].open,
|
|
2166
2175
|
close: plTypes[stateChar].close
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2176
|
+
};
|
|
2177
|
+
this.debug(this.pattern, " ", plEntry);
|
|
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
|
+
}
|
|
2169
2184
|
this.debug("plType %j %j", stateChar, re);
|
|
2170
2185
|
stateChar = false;
|
|
2171
2186
|
continue;
|
|
2172
|
-
|
|
2173
|
-
|
|
2187
|
+
}
|
|
2188
|
+
case ")": {
|
|
2189
|
+
const plEntry = patternListStack[patternListStack.length - 1];
|
|
2190
|
+
if (inClass || !plEntry) {
|
|
2174
2191
|
re += "\\)";
|
|
2175
2192
|
continue;
|
|
2176
2193
|
}
|
|
2194
|
+
patternListStack.pop();
|
|
2177
2195
|
clearStateChar();
|
|
2178
2196
|
hasMagic = true;
|
|
2179
|
-
pl =
|
|
2197
|
+
pl = plEntry;
|
|
2180
2198
|
re += pl.close;
|
|
2181
2199
|
if (pl.type === "!") {
|
|
2182
|
-
negativeLists.push(pl);
|
|
2200
|
+
negativeLists.push(Object.assign(pl, { reEnd: re.length }));
|
|
2183
2201
|
}
|
|
2184
|
-
pl.reEnd = re.length;
|
|
2185
2202
|
continue;
|
|
2186
|
-
|
|
2187
|
-
|
|
2203
|
+
}
|
|
2204
|
+
case "|": {
|
|
2205
|
+
const plEntry = patternListStack[patternListStack.length - 1];
|
|
2206
|
+
if (inClass || !plEntry) {
|
|
2188
2207
|
re += "\\|";
|
|
2189
2208
|
continue;
|
|
2190
2209
|
}
|
|
2191
2210
|
clearStateChar();
|
|
2192
2211
|
re += "|";
|
|
2212
|
+
if (plEntry.start === 0 && plEntry.type !== "!") {
|
|
2213
|
+
dotTravAllowed = true;
|
|
2214
|
+
re += subPatternStart(pattern.slice(i + 1));
|
|
2215
|
+
}
|
|
2193
2216
|
continue;
|
|
2217
|
+
}
|
|
2194
2218
|
// these are mostly the same in regexp and glob
|
|
2195
2219
|
case "[":
|
|
2196
2220
|
clearStateChar();
|
|
@@ -2210,17 +2234,13 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2210
2234
|
}
|
|
2211
2235
|
cs = pattern.substring(classStart + 1, i);
|
|
2212
2236
|
try {
|
|
2213
|
-
RegExp("[" + cs + "]");
|
|
2237
|
+
RegExp("[" + braExpEscape(charUnescape(cs)) + "]");
|
|
2238
|
+
re += c;
|
|
2214
2239
|
} catch (er) {
|
|
2215
|
-
|
|
2216
|
-
re = re.substr(0, reClassStart) + "\\[" + sp[0] + "\\]";
|
|
2217
|
-
hasMagic = hasMagic || sp[1];
|
|
2218
|
-
inClass = false;
|
|
2219
|
-
continue;
|
|
2240
|
+
re = re.substring(0, reClassStart) + "(?:$.)";
|
|
2220
2241
|
}
|
|
2221
2242
|
hasMagic = true;
|
|
2222
2243
|
inClass = false;
|
|
2223
|
-
re += c;
|
|
2224
2244
|
continue;
|
|
2225
2245
|
default:
|
|
2226
2246
|
clearStateChar();
|
|
@@ -2232,9 +2252,9 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2232
2252
|
}
|
|
2233
2253
|
}
|
|
2234
2254
|
if (inClass) {
|
|
2235
|
-
cs = pattern.
|
|
2255
|
+
cs = pattern.slice(classStart + 1);
|
|
2236
2256
|
sp = this.parse(cs, SUBPARSE);
|
|
2237
|
-
re = re.
|
|
2257
|
+
re = re.substring(0, reClassStart) + "\\[" + sp[0];
|
|
2238
2258
|
hasMagic = hasMagic || sp[1];
|
|
2239
2259
|
}
|
|
2240
2260
|
for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
|
|
@@ -2263,24 +2283,28 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2263
2283
|
const nlFirst = re.slice(nl.reStart, nl.reEnd - 8);
|
|
2264
2284
|
let nlAfter = re.slice(nl.reEnd);
|
|
2265
2285
|
const nlLast = re.slice(nl.reEnd - 8, nl.reEnd) + nlAfter;
|
|
2266
|
-
const
|
|
2286
|
+
const closeParensBefore = nlBefore.split(")").length;
|
|
2287
|
+
const openParensBefore = nlBefore.split("(").length - closeParensBefore;
|
|
2267
2288
|
let cleanAfter = nlAfter;
|
|
2268
2289
|
for (let i = 0; i < openParensBefore; i++) {
|
|
2269
2290
|
cleanAfter = cleanAfter.replace(/\)[+*?]?/, "");
|
|
2270
2291
|
}
|
|
2271
2292
|
nlAfter = cleanAfter;
|
|
2272
|
-
const dollar = nlAfter === "" && isSub !== SUBPARSE ? "
|
|
2293
|
+
const dollar = nlAfter === "" && isSub !== SUBPARSE ? "(?:$|\\/)" : "";
|
|
2273
2294
|
re = nlBefore + nlFirst + nlAfter + dollar + nlLast;
|
|
2274
2295
|
}
|
|
2275
2296
|
if (re !== "" && hasMagic) {
|
|
2276
2297
|
re = "(?=.)" + re;
|
|
2277
2298
|
}
|
|
2278
2299
|
if (addPatternStart) {
|
|
2279
|
-
re = patternStart + re;
|
|
2300
|
+
re = patternStart() + re;
|
|
2280
2301
|
}
|
|
2281
2302
|
if (isSub === SUBPARSE) {
|
|
2282
2303
|
return [re, hasMagic];
|
|
2283
2304
|
}
|
|
2305
|
+
if (options.nocase && !hasMagic) {
|
|
2306
|
+
hasMagic = pattern.toUpperCase() !== pattern.toLowerCase();
|
|
2307
|
+
}
|
|
2284
2308
|
if (!hasMagic) {
|
|
2285
2309
|
return globUnescape(pattern);
|
|
2286
2310
|
}
|
|
@@ -9170,7 +9194,7 @@ var require_dir_glob = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9170
9194
|
}
|
|
9171
9195
|
});
|
|
9172
9196
|
var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
9173
|
-
"../../node_modules/.pnpm/ignore@5.2
|
|
9197
|
+
"../../node_modules/.pnpm/ignore@5.3.2/node_modules/ignore/index.js"(exports, module2) {
|
|
9174
9198
|
"use strict";
|
|
9175
9199
|
function makeArray(subject) {
|
|
9176
9200
|
return Array.isArray(subject) ? subject : [subject];
|
|
@@ -9202,18 +9226,32 @@ var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9202
9226
|
return slashes.slice(0, length - length % 2);
|
|
9203
9227
|
};
|
|
9204
9228
|
var REPLACERS = [
|
|
9229
|
+
[
|
|
9230
|
+
// remove BOM
|
|
9231
|
+
// TODO:
|
|
9232
|
+
// Other similar zero-width characters?
|
|
9233
|
+
/^\uFEFF/,
|
|
9234
|
+
() => EMPTY
|
|
9235
|
+
],
|
|
9205
9236
|
// > Trailing spaces are ignored unless they are quoted with backslash ("\")
|
|
9206
9237
|
[
|
|
9207
9238
|
// (a\ ) -> (a )
|
|
9208
9239
|
// (a ) -> (a)
|
|
9240
|
+
// (a ) -> (a)
|
|
9209
9241
|
// (a \ ) -> (a )
|
|
9210
|
-
|
|
9211
|
-
(
|
|
9242
|
+
/((?:\\\\)*?)(\\?\s+)$/,
|
|
9243
|
+
(_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
|
|
9212
9244
|
],
|
|
9213
9245
|
// replace (\ ) with ' '
|
|
9246
|
+
// (\ ) -> ' '
|
|
9247
|
+
// (\\ ) -> '\\ '
|
|
9248
|
+
// (\\\ ) -> '\\ '
|
|
9214
9249
|
[
|
|
9215
|
-
|
|
9216
|
-
() =>
|
|
9250
|
+
/(\\+?)\s/g,
|
|
9251
|
+
(_, m1) => {
|
|
9252
|
+
const { length } = m1;
|
|
9253
|
+
return m1.slice(0, length - length % 2) + SPACE;
|
|
9254
|
+
}
|
|
9217
9255
|
],
|
|
9218
9256
|
// Escape metacharacters
|
|
9219
9257
|
// which is written down by users but means special for regular expressions.
|
|
@@ -9348,7 +9386,7 @@ var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
9348
9386
|
let source = regexCache[pattern];
|
|
9349
9387
|
if (!source) {
|
|
9350
9388
|
source = REPLACERS.reduce(
|
|
9351
|
-
(prev,
|
|
9389
|
+
(prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)),
|
|
9352
9390
|
pattern
|
|
9353
9391
|
);
|
|
9354
9392
|
regexCache[pattern] = source;
|
|
@@ -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_JP5VYEU6_exports = {};
|
|
30
|
+
__export(chunk_JP5VYEU6_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_JP5VYEU6_exports);
|
|
37
|
+
var import_chunk_BYJPXX74 = require("./chunk-BYJPXX74.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_BYJPXX74.require_main)());
|
|
41
|
+
var import_tempy = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_BYJPXX74.require_tempy)());
|
|
42
42
|
var jestContext = {
|
|
43
43
|
new: function(ctx = {}) {
|
|
44
44
|
const c = ctx;
|
|
@@ -77,7 +77,7 @@ ${[...generateDirectoryTree(children, indent)].join("\n")}
|
|
|
77
77
|
c.fs.symlink(import_node_path.default.join(originalCwd, "..", "client"), import_node_path.default.join(c.fs.cwd(), "node_modules", "@prisma", "client"));
|
|
78
78
|
};
|
|
79
79
|
c.cli = (...input) => {
|
|
80
|
-
return (0,
|
|
80
|
+
return (0, import_chunk_BYJPXX74.execaNode)(import_node_path.default.join(originalCwd, "../cli/build/index.js"), input, {
|
|
81
81
|
cwd: c.fs.cwd(),
|
|
82
82
|
stdio: "pipe",
|
|
83
83
|
all: true
|
package/dist/index.js
CHANGED
|
@@ -24,16 +24,16 @@ __export(index_exports, {
|
|
|
24
24
|
getNodeAPIName: () => import_chunk_2U36ISZO.getNodeAPIName,
|
|
25
25
|
getPlatformInfo: () => import_chunk_7PMGXL6S.getPlatformInfo,
|
|
26
26
|
getos: () => import_chunk_7PMGXL6S.getos,
|
|
27
|
-
jestConsoleContext: () =>
|
|
28
|
-
jestContext: () =>
|
|
29
|
-
jestStdoutContext: () =>
|
|
27
|
+
jestConsoleContext: () => import_chunk_JP5VYEU6.jestConsoleContext,
|
|
28
|
+
jestContext: () => import_chunk_JP5VYEU6.jestContext,
|
|
29
|
+
jestStdoutContext: () => import_chunk_JP5VYEU6.jestStdoutContext,
|
|
30
30
|
link: () => import_chunk_M5T7GI2R.link,
|
|
31
|
-
processExitContext: () =>
|
|
31
|
+
processExitContext: () => import_chunk_JP5VYEU6.processExitContext
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(index_exports);
|
|
34
34
|
var import_chunk_6HZWON4S = require("./chunk-6HZWON4S.js");
|
|
35
|
-
var
|
|
36
|
-
var
|
|
35
|
+
var import_chunk_JP5VYEU6 = require("./chunk-JP5VYEU6.js");
|
|
36
|
+
var import_chunk_BYJPXX74 = require("./chunk-BYJPXX74.js");
|
|
37
37
|
var import_chunk_O5EOXX3N = require("./chunk-O5EOXX3N.js");
|
|
38
38
|
var import_chunk_2U36ISZO = require("./chunk-2U36ISZO.js");
|
|
39
39
|
var import_chunk_7PMGXL6S = require("./chunk-7PMGXL6S.js");
|
package/dist/test-utils/index.js
CHANGED
|
@@ -18,13 +18,13 @@ 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
|
-
jestStdoutContext: () =>
|
|
24
|
-
processExitContext: () =>
|
|
21
|
+
jestConsoleContext: () => import_chunk_JP5VYEU6.jestConsoleContext,
|
|
22
|
+
jestContext: () => import_chunk_JP5VYEU6.jestContext,
|
|
23
|
+
jestStdoutContext: () => import_chunk_JP5VYEU6.jestStdoutContext,
|
|
24
|
+
processExitContext: () => import_chunk_JP5VYEU6.processExitContext
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(test_utils_exports);
|
|
27
27
|
var import_chunk_6HZWON4S = require("../chunk-6HZWON4S.js");
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var import_chunk_JP5VYEU6 = require("../chunk-JP5VYEU6.js");
|
|
29
|
+
var import_chunk_BYJPXX74 = require("../chunk-BYJPXX74.js");
|
|
30
30
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
@@ -18,12 +18,12 @@ 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
|
-
jestStdoutContext: () =>
|
|
24
|
-
processExitContext: () =>
|
|
21
|
+
jestConsoleContext: () => import_chunk_JP5VYEU6.jestConsoleContext,
|
|
22
|
+
jestContext: () => import_chunk_JP5VYEU6.jestContext,
|
|
23
|
+
jestStdoutContext: () => import_chunk_JP5VYEU6.jestStdoutContext,
|
|
24
|
+
processExitContext: () => import_chunk_JP5VYEU6.processExitContext
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(jestContext_exports);
|
|
27
|
-
var
|
|
28
|
-
var
|
|
27
|
+
var import_chunk_JP5VYEU6 = require("../chunk-JP5VYEU6.js");
|
|
28
|
+
var import_chunk_BYJPXX74 = require("../chunk-BYJPXX74.js");
|
|
29
29
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
@@ -35,7 +35,7 @@ __export(vitestContext_exports, {
|
|
|
35
35
|
vitestStdoutContext: () => vitestStdoutContext
|
|
36
36
|
});
|
|
37
37
|
module.exports = __toCommonJS(vitestContext_exports);
|
|
38
|
-
var
|
|
38
|
+
var import_chunk_BYJPXX74 = require("../chunk-BYJPXX74.js");
|
|
39
39
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
40
40
|
var import_node_path = __toESM(require("node:path"));
|
|
41
41
|
var import_tty = require("tty");
|
|
@@ -579,8 +579,8 @@ var require_dist = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
579
579
|
exports.expectTypeOf = expectTypeOf2;
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
|
-
var import_fs_jetpack = (0, import_chunk_2ESYSVXG.__toESM)((0,
|
|
583
|
-
var import_tempy = (0, import_chunk_2ESYSVXG.__toESM)((0,
|
|
582
|
+
var import_fs_jetpack = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_BYJPXX74.require_main)());
|
|
583
|
+
var import_tempy = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_BYJPXX74.require_tempy)());
|
|
584
584
|
var f = {
|
|
585
585
|
reset: [0, 0],
|
|
586
586
|
bold: [1, 22, "\x1B[22m\x1B[1m"],
|
|
@@ -17233,7 +17233,7 @@ ${[...generateDirectoryTree(children, indent)].join("\n")}
|
|
|
17233
17233
|
c.fs.symlink(import_node_path.default.join(originalCwd, "..", "client"), import_node_path.default.join(c.fs.cwd(), "node_modules", "@prisma", "client"));
|
|
17234
17234
|
};
|
|
17235
17235
|
c.cli = (...input) => {
|
|
17236
|
-
return (0,
|
|
17236
|
+
return (0, import_chunk_BYJPXX74.execaNode)(import_node_path.default.join(originalCwd, "../cli/build/index.js"), input, {
|
|
17237
17237
|
cwd: c.fs.cwd(),
|
|
17238
17238
|
stdio: "pipe",
|
|
17239
17239
|
all: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/get-platform",
|
|
3
|
-
"version": "6.18.0-dev.
|
|
3
|
+
"version": "6.18.0-dev.12",
|
|
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",
|
|
@@ -29,11 +29,10 @@
|
|
|
29
29
|
"tempy": "1.0.1",
|
|
30
30
|
"terminal-link": "4.0.0",
|
|
31
31
|
"ts-pattern": "5.6.2",
|
|
32
|
-
"typescript": "5.4.5"
|
|
33
|
-
"vitest": "3.2.4"
|
|
32
|
+
"typescript": "5.4.5"
|
|
34
33
|
},
|
|
35
34
|
"dependencies": {
|
|
36
|
-
"@prisma/debug": "6.18.0-dev.
|
|
35
|
+
"@prisma/debug": "6.18.0-dev.12"
|
|
37
36
|
},
|
|
38
37
|
"files": [
|
|
39
38
|
"README.md",
|