@prisma/get-platform 6.1.0-dev.2 → 6.1.0-dev.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-YDM7ULQH.js → chunk-EY5MORMD.js} +73 -68
- package/dist/getPlatform.js +13 -13
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -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_EY5MORMD_exports = {};
|
|
30
|
+
__export(chunk_EY5MORMD_exports, {
|
|
31
31
|
computeLibSSLSpecificPaths: () => computeLibSSLSpecificPaths,
|
|
32
32
|
getArchFromUname: () => getArchFromUname,
|
|
33
33
|
getBinaryTargetForCurrentPlatform: () => getBinaryTargetForCurrentPlatform,
|
|
@@ -41,7 +41,7 @@ __export(chunk_YDM7ULQH_exports, {
|
|
|
41
41
|
parseOpenSSLVersion: () => parseOpenSSLVersion,
|
|
42
42
|
resolveDistro: () => resolveDistro
|
|
43
43
|
});
|
|
44
|
-
module.exports = __toCommonJS(
|
|
44
|
+
module.exports = __toCommonJS(chunk_EY5MORMD_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"));
|
|
@@ -53,52 +53,52 @@ var e = Symbol.for("@ts-pattern/isVariadic");
|
|
|
53
53
|
var n = "@ts-pattern/anonymous-select-key";
|
|
54
54
|
var r = (t2) => Boolean(t2 && "object" == typeof t2);
|
|
55
55
|
var i = (e2) => e2 && !!e2[t];
|
|
56
|
-
var
|
|
56
|
+
var s = (n2, o2, c2) => {
|
|
57
57
|
if (i(n2)) {
|
|
58
|
-
const e2 = n2[t](), { matched: r2, selections: i2 } = e2.match(
|
|
58
|
+
const e2 = n2[t](), { matched: r2, selections: i2 } = e2.match(o2);
|
|
59
59
|
return r2 && i2 && Object.keys(i2).forEach((t2) => c2(t2, i2[t2])), r2;
|
|
60
60
|
}
|
|
61
61
|
if (r(n2)) {
|
|
62
|
-
if (!r(
|
|
62
|
+
if (!r(o2)) return false;
|
|
63
63
|
if (Array.isArray(n2)) {
|
|
64
|
-
if (!Array.isArray(
|
|
64
|
+
if (!Array.isArray(o2)) return false;
|
|
65
65
|
let t2 = [], r2 = [], a = [];
|
|
66
|
-
for (const
|
|
67
|
-
const
|
|
68
|
-
i(
|
|
66
|
+
for (const s2 of n2.keys()) {
|
|
67
|
+
const o3 = n2[s2];
|
|
68
|
+
i(o3) && o3[e] ? a.push(o3) : a.length ? r2.push(o3) : t2.push(o3);
|
|
69
69
|
}
|
|
70
70
|
if (a.length) {
|
|
71
71
|
if (a.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
|
|
72
|
-
if (
|
|
73
|
-
const e2 =
|
|
74
|
-
return t2.every((t3, n4) =>
|
|
72
|
+
if (o2.length < t2.length + r2.length) return false;
|
|
73
|
+
const e2 = o2.slice(0, t2.length), n3 = 0 === r2.length ? [] : o2.slice(-r2.length), i2 = o2.slice(t2.length, 0 === r2.length ? Infinity : -r2.length);
|
|
74
|
+
return t2.every((t3, n4) => s(t3, e2[n4], c2)) && r2.every((t3, e3) => s(t3, n3[e3], c2)) && (0 === a.length || s(a[0], i2, c2));
|
|
75
75
|
}
|
|
76
|
-
return n2.length ===
|
|
76
|
+
return n2.length === o2.length && n2.every((t3, e2) => s(t3, o2[e2], c2));
|
|
77
77
|
}
|
|
78
|
-
return
|
|
78
|
+
return Reflect.ownKeys(n2).every((e2) => {
|
|
79
79
|
const r2 = n2[e2];
|
|
80
|
-
return (e2 in
|
|
80
|
+
return (e2 in o2 || i(a = r2) && "optional" === a[t]().matcherType) && s(r2, o2[e2], c2);
|
|
81
81
|
var a;
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
|
-
return Object.is(
|
|
84
|
+
return Object.is(o2, n2);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
87
|
-
var n2,
|
|
88
|
-
return r(e2) ? i(e2) ? null != (n2 = null == (
|
|
86
|
+
var o = (e2) => {
|
|
87
|
+
var n2, s2, a;
|
|
88
|
+
return r(e2) ? i(e2) ? null != (n2 = null == (s2 = (a = e2[t]()).getSelectionKeys) ? void 0 : s2.call(a)) ? n2 : [] : Array.isArray(e2) ? c(e2, o) : c(Object.values(e2), o) : [];
|
|
89
89
|
};
|
|
90
90
|
var c = (t2, e2) => t2.reduce((t3, n2) => t3.concat(e2(n2)), []);
|
|
91
91
|
function u(t2) {
|
|
92
|
-
return Object.assign(t2, { optional: () =>
|
|
92
|
+
return Object.assign(t2, { optional: () => h(t2), and: (e2) => m(t2, e2), or: (e2) => d(t2, e2), select: (e2) => void 0 === e2 ? y(t2) : y(e2, t2) });
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function h(e2) {
|
|
95
95
|
return u({ [t]: () => ({ match: (t2) => {
|
|
96
96
|
let n2 = {};
|
|
97
97
|
const r2 = (t3, e3) => {
|
|
98
98
|
n2[t3] = e3;
|
|
99
99
|
};
|
|
100
|
-
return void 0 === t2 ? (
|
|
101
|
-
}, getSelectionKeys: () =>
|
|
100
|
+
return void 0 === t2 ? (o(e2).forEach((t3) => r2(t3, void 0)), { matched: true, selections: n2 }) : { matched: s(e2, t2, r2), selections: n2 };
|
|
101
|
+
}, getSelectionKeys: () => o(e2), matcherType: "optional" }) });
|
|
102
102
|
}
|
|
103
103
|
function m(...e2) {
|
|
104
104
|
return u({ [t]: () => ({ match: (t2) => {
|
|
@@ -106,8 +106,8 @@ function m(...e2) {
|
|
|
106
106
|
const r2 = (t3, e3) => {
|
|
107
107
|
n2[t3] = e3;
|
|
108
108
|
};
|
|
109
|
-
return { matched: e2.every((e3) =>
|
|
110
|
-
}, getSelectionKeys: () => c(e2,
|
|
109
|
+
return { matched: e2.every((e3) => s(e3, t2, r2)), selections: n2 };
|
|
110
|
+
}, getSelectionKeys: () => c(e2, o), matcherType: "and" }) });
|
|
111
111
|
}
|
|
112
112
|
function d(...e2) {
|
|
113
113
|
return u({ [t]: () => ({ match: (t2) => {
|
|
@@ -115,20 +115,20 @@ function d(...e2) {
|
|
|
115
115
|
const r2 = (t3, e3) => {
|
|
116
116
|
n2[t3] = e3;
|
|
117
117
|
};
|
|
118
|
-
return c(e2,
|
|
119
|
-
}, getSelectionKeys: () => c(e2,
|
|
118
|
+
return c(e2, o).forEach((t3) => r2(t3, void 0)), { matched: e2.some((e3) => s(e3, t2, r2)), selections: n2 };
|
|
119
|
+
}, getSelectionKeys: () => c(e2, o), matcherType: "or" }) });
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function p(e2) {
|
|
122
122
|
return { [t]: () => ({ match: (t2) => ({ matched: Boolean(e2(t2)) }) }) };
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function y(...e2) {
|
|
125
125
|
const r2 = "string" == typeof e2[0] ? e2[0] : void 0, i2 = 2 === e2.length ? e2[1] : "string" == typeof e2[0] ? void 0 : e2[0];
|
|
126
126
|
return u({ [t]: () => ({ match: (t2) => {
|
|
127
127
|
let e3 = { [null != r2 ? r2 : n]: t2 };
|
|
128
|
-
return { matched: void 0 === i2 ||
|
|
128
|
+
return { matched: void 0 === i2 || s(i2, t2, (t3, n2) => {
|
|
129
129
|
e3[t3] = n2;
|
|
130
130
|
}), selections: e3 };
|
|
131
|
-
}, getSelectionKeys: () => [null != r2 ? r2 : n].concat(void 0 === i2 ? [] :
|
|
131
|
+
}, getSelectionKeys: () => [null != r2 ? r2 : n].concat(void 0 === i2 ? [] : o(i2)) }) });
|
|
132
132
|
}
|
|
133
133
|
function v(t2) {
|
|
134
134
|
return "number" == typeof t2;
|
|
@@ -139,44 +139,55 @@ function b(t2) {
|
|
|
139
139
|
function w(t2) {
|
|
140
140
|
return "bigint" == typeof t2;
|
|
141
141
|
}
|
|
142
|
-
var S = u(
|
|
142
|
+
var S = u(p(function(t2) {
|
|
143
143
|
return true;
|
|
144
144
|
}));
|
|
145
145
|
var j = (t2) => Object.assign(u(t2), { startsWith: (e2) => {
|
|
146
|
-
return j(m(t2, (n2 = e2,
|
|
146
|
+
return j(m(t2, (n2 = e2, p((t3) => b(t3) && t3.startsWith(n2)))));
|
|
147
147
|
var n2;
|
|
148
148
|
}, endsWith: (e2) => {
|
|
149
|
-
return j(m(t2, (n2 = e2,
|
|
149
|
+
return j(m(t2, (n2 = e2, p((t3) => b(t3) && t3.endsWith(n2)))));
|
|
150
150
|
var n2;
|
|
151
|
-
}, minLength: (e2) => j(m(t2, ((t3) =>
|
|
152
|
-
return j(m(t2, (n2 = e2,
|
|
151
|
+
}, minLength: (e2) => j(m(t2, ((t3) => p((e3) => b(e3) && e3.length >= t3))(e2))), length: (e2) => j(m(t2, ((t3) => p((e3) => b(e3) && e3.length === t3))(e2))), maxLength: (e2) => j(m(t2, ((t3) => p((e3) => b(e3) && e3.length <= t3))(e2))), includes: (e2) => {
|
|
152
|
+
return j(m(t2, (n2 = e2, p((t3) => b(t3) && t3.includes(n2)))));
|
|
153
153
|
var n2;
|
|
154
154
|
}, regex: (e2) => {
|
|
155
|
-
return j(m(t2, (n2 = e2,
|
|
155
|
+
return j(m(t2, (n2 = e2, p((t3) => b(t3) && Boolean(t3.match(n2))))));
|
|
156
156
|
var n2;
|
|
157
157
|
} });
|
|
158
|
-
var
|
|
159
|
-
var
|
|
160
|
-
var
|
|
161
|
-
var A = (t2) => Object.assign(u(t2), { between: (e2, n2) => A(m(t2, ((t3, e3) =>
|
|
162
|
-
var P = A(
|
|
163
|
-
var T = u(
|
|
158
|
+
var K = j(p(b));
|
|
159
|
+
var x = (t2) => Object.assign(u(t2), { between: (e2, n2) => x(m(t2, ((t3, e3) => p((n3) => v(n3) && t3 <= n3 && e3 >= n3))(e2, n2))), lt: (e2) => x(m(t2, ((t3) => p((e3) => v(e3) && e3 < t3))(e2))), gt: (e2) => x(m(t2, ((t3) => p((e3) => v(e3) && e3 > t3))(e2))), lte: (e2) => x(m(t2, ((t3) => p((e3) => v(e3) && e3 <= t3))(e2))), gte: (e2) => x(m(t2, ((t3) => p((e3) => v(e3) && e3 >= t3))(e2))), int: () => x(m(t2, p((t3) => v(t3) && Number.isInteger(t3)))), finite: () => x(m(t2, p((t3) => v(t3) && Number.isFinite(t3)))), positive: () => x(m(t2, p((t3) => v(t3) && t3 > 0))), negative: () => x(m(t2, p((t3) => v(t3) && t3 < 0))) });
|
|
160
|
+
var E = x(p(v));
|
|
161
|
+
var A = (t2) => Object.assign(u(t2), { between: (e2, n2) => A(m(t2, ((t3, e3) => p((n3) => w(n3) && t3 <= n3 && e3 >= n3))(e2, n2))), lt: (e2) => A(m(t2, ((t3) => p((e3) => w(e3) && e3 < t3))(e2))), gt: (e2) => A(m(t2, ((t3) => p((e3) => w(e3) && e3 > t3))(e2))), lte: (e2) => A(m(t2, ((t3) => p((e3) => w(e3) && e3 <= t3))(e2))), gte: (e2) => A(m(t2, ((t3) => p((e3) => w(e3) && e3 >= t3))(e2))), positive: () => A(m(t2, p((t3) => w(t3) && t3 > 0))), negative: () => A(m(t2, p((t3) => w(t3) && t3 < 0))) });
|
|
162
|
+
var P = A(p(w));
|
|
163
|
+
var T = u(p(function(t2) {
|
|
164
164
|
return "boolean" == typeof t2;
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
166
|
+
var B = u(p(function(t2) {
|
|
167
167
|
return "symbol" == typeof t2;
|
|
168
168
|
}));
|
|
169
|
-
var
|
|
169
|
+
var _ = u(p(function(t2) {
|
|
170
170
|
return null == t2;
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
172
|
+
var k = u(p(function(t2) {
|
|
173
173
|
return null != t2;
|
|
174
174
|
}));
|
|
175
|
-
var W =
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
var W = class extends Error {
|
|
176
|
+
constructor(t2) {
|
|
177
|
+
let e2;
|
|
178
|
+
try {
|
|
179
|
+
e2 = JSON.stringify(t2);
|
|
180
|
+
} catch (n2) {
|
|
181
|
+
e2 = t2;
|
|
182
|
+
}
|
|
183
|
+
super(`Pattern matching error: no pattern matches value ${e2}`), this.input = void 0, this.input = t2;
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
var $ = { matched: false, value: void 0 };
|
|
187
|
+
function z(t2) {
|
|
188
|
+
return new I(t2, $);
|
|
178
189
|
}
|
|
179
|
-
var
|
|
190
|
+
var I = class _I {
|
|
180
191
|
constructor(t2, e2) {
|
|
181
192
|
this.input = void 0, this.state = void 0, this.input = t2, this.state = e2;
|
|
182
193
|
}
|
|
@@ -185,29 +196,23 @@ var z = class _z {
|
|
|
185
196
|
const e2 = t2[t2.length - 1], r2 = [t2[0]];
|
|
186
197
|
let i2;
|
|
187
198
|
3 === t2.length && "function" == typeof t2[1] ? i2 = t2[1] : t2.length > 2 && r2.push(...t2.slice(1, t2.length - 1));
|
|
188
|
-
let
|
|
199
|
+
let o2 = false, c2 = {};
|
|
189
200
|
const a = (t3, e3) => {
|
|
190
|
-
|
|
191
|
-
}, u2 = !r2.some((t3) =>
|
|
192
|
-
return new
|
|
201
|
+
o2 = true, c2[t3] = e3;
|
|
202
|
+
}, u2 = !r2.some((t3) => s(t3, this.input, a)) || i2 && !Boolean(i2(this.input)) ? $ : { matched: true, value: e2(o2 ? n in c2 ? c2[n] : c2 : this.input, this.input) };
|
|
203
|
+
return new _I(this.input, u2);
|
|
193
204
|
}
|
|
194
205
|
when(t2, e2) {
|
|
195
206
|
if (this.state.matched) return this;
|
|
196
207
|
const n2 = Boolean(t2(this.input));
|
|
197
|
-
return new
|
|
208
|
+
return new _I(this.input, n2 ? { matched: true, value: e2(this.input, this.input) } : $);
|
|
198
209
|
}
|
|
199
210
|
otherwise(t2) {
|
|
200
211
|
return this.state.matched ? this.state.value : t2(this.input);
|
|
201
212
|
}
|
|
202
213
|
exhaustive() {
|
|
203
214
|
if (this.state.matched) return this.state.value;
|
|
204
|
-
|
|
205
|
-
try {
|
|
206
|
-
t2 = JSON.stringify(this.input);
|
|
207
|
-
} catch (e2) {
|
|
208
|
-
t2 = this.input;
|
|
209
|
-
}
|
|
210
|
-
throw new Error(`Pattern matching error: no pattern matches value ${t2}`);
|
|
215
|
+
throw new W(this.input);
|
|
211
216
|
}
|
|
212
217
|
run() {
|
|
213
218
|
return this.exhaustive();
|
|
@@ -261,7 +266,7 @@ function parseDistro(osReleaseInput) {
|
|
|
261
266
|
const id = idMatch && idMatch[1] && idMatch[1].toLowerCase() || "";
|
|
262
267
|
const idLikeMatch = idLikeRegex.exec(osReleaseInput);
|
|
263
268
|
const idLike = idLikeMatch && idLikeMatch[1] && idLikeMatch[1].toLowerCase() || "";
|
|
264
|
-
const distroInfo =
|
|
269
|
+
const distroInfo = z({ id, idLike }).with(
|
|
265
270
|
{ id: "alpine" },
|
|
266
271
|
({ id: originalDistro }) => ({
|
|
267
272
|
targetDistro: "musl",
|
|
@@ -375,9 +380,9 @@ function sanitiseSSLVersion(version) {
|
|
|
375
380
|
return void 0;
|
|
376
381
|
}
|
|
377
382
|
function computeLibSSLSpecificPaths(args) {
|
|
378
|
-
return
|
|
383
|
+
return z(args).with({ familyDistro: "musl" }, () => {
|
|
379
384
|
debug('Trying platform-specific paths for "alpine"');
|
|
380
|
-
return ["/lib"];
|
|
385
|
+
return ["/lib", "/usr/lib"];
|
|
381
386
|
}).with({ familyDistro: "debian" }, ({ archFromUname }) => {
|
|
382
387
|
debug('Trying platform-specific paths for "debian" (and "ubuntu")');
|
|
383
388
|
return [`/usr/lib/${archFromUname}-linux-gnu`, `/lib/${archFromUname}-linux-gnu`];
|
|
@@ -415,7 +420,7 @@ async function getSSLVersion(libsslSpecificPaths) {
|
|
|
415
420
|
`ldconfig -p | sed "s/.*=>s*//" | sed "s|.*/||" | grep libssl | sort | ${excludeLibssl0x}`
|
|
416
421
|
);
|
|
417
422
|
if (!libsslFilename) {
|
|
418
|
-
libsslFilename = await findLibSSLInLocations(["/lib64", "/usr/lib64", "/lib"]);
|
|
423
|
+
libsslFilename = await findLibSSLInLocations(["/lib64", "/usr/lib64", "/lib", "/usr/lib"]);
|
|
419
424
|
}
|
|
420
425
|
if (libsslFilename) {
|
|
421
426
|
debug(`Found libssl.so file using "ldconfig" or other generic paths: ${libsslFilename}`);
|
|
@@ -487,7 +492,7 @@ function getBinaryTargetForCurrentPlatformInternal(args) {
|
|
|
487
492
|
}
|
|
488
493
|
const defaultLibssl = "1.1.x";
|
|
489
494
|
if (platform === "linux" && libssl === void 0) {
|
|
490
|
-
const additionalMessage =
|
|
495
|
+
const additionalMessage = z({ familyDistro }).with({ familyDistro: "debian" }, () => {
|
|
491
496
|
return "Please manually install OpenSSL via `apt-get update -y && apt-get install -y openssl` and try installing Prisma again. If you're running Prisma on Docker, add this command to your Dockerfile, or switch to an image that already has OpenSSL installed.";
|
|
492
497
|
}).otherwise(() => {
|
|
493
498
|
return "Please manually install OpenSSL and try installing Prisma again.";
|
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_EY5MORMD.computeLibSSLSpecificPaths,
|
|
22
|
+
getArchFromUname: () => import_chunk_EY5MORMD.getArchFromUname,
|
|
23
|
+
getBinaryTargetForCurrentPlatform: () => import_chunk_EY5MORMD.getBinaryTargetForCurrentPlatform,
|
|
24
|
+
getBinaryTargetForCurrentPlatformInternal: () => import_chunk_EY5MORMD.getBinaryTargetForCurrentPlatformInternal,
|
|
25
|
+
getPlatformInfo: () => import_chunk_EY5MORMD.getPlatformInfo,
|
|
26
|
+
getPlatformInfoMemoized: () => import_chunk_EY5MORMD.getPlatformInfoMemoized,
|
|
27
|
+
getSSLVersion: () => import_chunk_EY5MORMD.getSSLVersion,
|
|
28
|
+
getos: () => import_chunk_EY5MORMD.getos,
|
|
29
|
+
parseDistro: () => import_chunk_EY5MORMD.parseDistro,
|
|
30
|
+
parseLibSSLVersion: () => import_chunk_EY5MORMD.parseLibSSLVersion,
|
|
31
|
+
parseOpenSSLVersion: () => import_chunk_EY5MORMD.parseOpenSSLVersion,
|
|
32
|
+
resolveDistro: () => import_chunk_EY5MORMD.resolveDistro
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(getPlatform_exports);
|
|
35
|
-
var
|
|
35
|
+
var import_chunk_EY5MORMD = require("./chunk-EY5MORMD.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
|
@@ -20,10 +20,10 @@ var dist_exports = {};
|
|
|
20
20
|
__export(dist_exports, {
|
|
21
21
|
assertNodeAPISupported: () => import_chunk_O5EOXX3N.assertNodeAPISupported,
|
|
22
22
|
binaryTargets: () => import_chunk_7MLUNQIZ.binaryTargets,
|
|
23
|
-
getBinaryTargetForCurrentPlatform: () =>
|
|
23
|
+
getBinaryTargetForCurrentPlatform: () => import_chunk_EY5MORMD.getBinaryTargetForCurrentPlatform,
|
|
24
24
|
getNodeAPIName: () => import_chunk_2U36ISZO.getNodeAPIName,
|
|
25
|
-
getPlatformInfo: () =>
|
|
26
|
-
getos: () =>
|
|
25
|
+
getPlatformInfo: () => import_chunk_EY5MORMD.getPlatformInfo,
|
|
26
|
+
getos: () => import_chunk_EY5MORMD.getos,
|
|
27
27
|
jestConsoleContext: () => import_chunk_2GHEBYIY.jestConsoleContext,
|
|
28
28
|
jestContext: () => import_chunk_2GHEBYIY.jestContext,
|
|
29
29
|
jestProcessContext: () => import_chunk_2GHEBYIY.jestProcessContext,
|
|
@@ -34,7 +34,7 @@ var import_chunk_6HZWON4S = require("./chunk-6HZWON4S.js");
|
|
|
34
34
|
var import_chunk_2GHEBYIY = require("./chunk-2GHEBYIY.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_EY5MORMD = require("./chunk-EY5MORMD.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/get-platform",
|
|
3
|
-
"version": "6.1.0-dev.
|
|
3
|
+
"version": "6.1.0-dev.20",
|
|
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",
|
|
@@ -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.
|
|
34
|
+
"ts-pattern": "5.6.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@prisma/debug": "6.1.0-dev.
|
|
37
|
+
"@prisma/debug": "6.1.0-dev.20"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"README.md",
|