@prisma/get-platform 7.10.0-dev.4 → 7.10.0-dev.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,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 chunk_7PMGXL6S_exports = {};
30
- __export(chunk_7PMGXL6S_exports, {
29
+ var chunk_ZURTL34W_exports = {};
30
+ __export(chunk_ZURTL34W_exports, {
31
31
  computeLibSSLSpecificPaths: () => computeLibSSLSpecificPaths,
32
32
  getArchFromUname: () => getArchFromUname,
33
33
  getBinaryTargetForCurrentPlatform: () => getBinaryTargetForCurrentPlatform,
@@ -41,7 +41,7 @@ __export(chunk_7PMGXL6S_exports, {
41
41
  parseOpenSSLVersion: () => parseOpenSSLVersion,
42
42
  resolveDistro: () => resolveDistro
43
43
  });
44
- module.exports = __toCommonJS(chunk_7PMGXL6S_exports);
44
+ module.exports = __toCommonJS(chunk_ZURTL34W_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,126 +53,128 @@ 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 s = (n2, o2, c2) => {
56
+ var o = (n2, s2, c2) => {
57
57
  if (i(n2)) {
58
- const e2 = n2[t](), { matched: r2, selections: i2 } = e2.match(o2);
58
+ const e2 = n2[t](), { matched: r2, selections: i2 } = e2.match(s2);
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(o2)) return false;
62
+ if (!r(s2)) return false;
63
63
  if (Array.isArray(n2)) {
64
- if (!Array.isArray(o2)) return false;
65
- let t2 = [], r2 = [], a = [];
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);
64
+ if (!Array.isArray(s2)) return false;
65
+ let t2 = [], r2 = [], u = [];
66
+ for (const o2 of n2.keys()) {
67
+ const s3 = n2[o2];
68
+ i(s3) && s3[e] ? u.push(s3) : u.length ? r2.push(s3) : t2.push(s3);
69
69
  }
70
- if (a.length) {
71
- if (a.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
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));
70
+ if (u.length) {
71
+ if (u.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
72
+ if (s2.length < t2.length + r2.length) return false;
73
+ const e2 = s2.slice(0, t2.length), n3 = 0 === r2.length ? [] : s2.slice(-r2.length), i2 = s2.slice(t2.length, 0 === r2.length ? Infinity : -r2.length);
74
+ return t2.every((t3, n4) => o(t3, e2[n4], c2)) && r2.every((t3, e3) => o(t3, n3[e3], c2)) && (0 === u.length || o(u[0], i2, c2));
75
75
  }
76
- return n2.length === o2.length && n2.every((t3, e2) => s(t3, o2[e2], c2));
76
+ return n2.length === s2.length && n2.every((t3, e2) => o(t3, s2[e2], c2));
77
77
  }
78
78
  return Reflect.ownKeys(n2).every((e2) => {
79
79
  const r2 = n2[e2];
80
- return (e2 in o2 || i(a = r2) && "optional" === a[t]().matcherType) && s(r2, o2[e2], c2);
81
- var a;
80
+ return (e2 in s2 || i(u = r2) && "optional" === u[t]().matcherType) && o(r2, s2[e2], c2);
81
+ var u;
82
82
  });
83
83
  }
84
- return Object.is(o2, n2);
84
+ return Object.is(s2, n2);
85
85
  };
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) : [];
86
+ var s = (e2) => {
87
+ var n2, o2, u;
88
+ return r(e2) ? i(e2) ? null != (n2 = null == (o2 = (u = e2[t]()).getSelectionKeys) ? void 0 : o2.call(u)) ? n2 : [] : Array.isArray(e2) ? c(e2, s) : c(Object.values(e2), s) : [];
89
89
  };
90
90
  var c = (t2, e2) => t2.reduce((t3, n2) => t3.concat(e2(n2)), []);
91
- function u(t2) {
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) });
91
+ function a(t2) {
92
+ return Object.assign(t2, { optional: () => h(t2), and: (e2) => d(t2, e2), or: (e2) => y(t2, e2), select: (e2) => void 0 === e2 ? v(t2) : v(e2, t2) });
93
93
  }
94
94
  function h(e2) {
95
- return u({ [t]: () => ({ match: (t2) => {
95
+ return a({ [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 ? (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" }) });
100
+ return void 0 === t2 ? (s(e2).forEach((t3) => r2(t3, void 0)), { matched: true, selections: n2 }) : { matched: o(e2, t2, r2), selections: n2 };
101
+ }, getSelectionKeys: () => s(e2), matcherType: "optional" }) });
102
102
  }
103
- function m(...e2) {
104
- return u({ [t]: () => ({ match: (t2) => {
103
+ function d(...e2) {
104
+ return a({ [t]: () => ({ match: (t2) => {
105
105
  let n2 = {};
106
106
  const r2 = (t3, e3) => {
107
107
  n2[t3] = e3;
108
108
  };
109
- return { matched: e2.every((e3) => s(e3, t2, r2)), selections: n2 };
110
- }, getSelectionKeys: () => c(e2, o), matcherType: "and" }) });
109
+ return { matched: e2.every((e3) => o(e3, t2, r2)), selections: n2 };
110
+ }, getSelectionKeys: () => c(e2, s), matcherType: "and" }) });
111
111
  }
112
- function d(...e2) {
113
- return u({ [t]: () => ({ match: (t2) => {
112
+ function y(...e2) {
113
+ return a({ [t]: () => ({ match: (t2) => {
114
114
  let n2 = {};
115
115
  const r2 = (t3, e3) => {
116
116
  n2[t3] = e3;
117
117
  };
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" }) });
118
+ return c(e2, s).forEach((t3) => r2(t3, void 0)), { matched: e2.some((e3) => o(e3, t2, r2)), selections: n2 };
119
+ }, getSelectionKeys: () => c(e2, s), matcherType: "or" }) });
120
120
  }
121
121
  function p(e2) {
122
122
  return { [t]: () => ({ match: (t2) => ({ matched: Boolean(e2(t2)) }) }) };
123
123
  }
124
- function y(...e2) {
124
+ function v(...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
- return u({ [t]: () => ({ match: (t2) => {
126
+ return a({ [t]: () => ({ match: (t2) => {
127
127
  let e3 = { [null != r2 ? r2 : n]: t2 };
128
- return { matched: void 0 === i2 || s(i2, t2, (t3, n2) => {
128
+ return { matched: void 0 === i2 || o(i2, t2, (t3, n2) => {
129
129
  e3[t3] = n2;
130
130
  }), selections: e3 };
131
- }, getSelectionKeys: () => [null != r2 ? r2 : n].concat(void 0 === i2 ? [] : o(i2)) }) });
131
+ }, getSelectionKeys: () => [null != r2 ? r2 : n].concat(void 0 === i2 ? [] : s(i2)) }) });
132
132
  }
133
- function v(t2) {
133
+ function b(t2) {
134
+ return true;
135
+ }
136
+ function w(t2) {
134
137
  return "number" == typeof t2;
135
138
  }
136
- function b(t2) {
139
+ function S(t2) {
137
140
  return "string" == typeof t2;
138
141
  }
139
- function w(t2) {
142
+ function j(t2) {
140
143
  return "bigint" == typeof t2;
141
144
  }
142
- var S = u(p(function(t2) {
143
- return true;
144
- }));
145
- var j = (t2) => Object.assign(u(t2), { startsWith: (e2) => {
146
- return j(m(t2, (n2 = e2, p((t3) => b(t3) && t3.startsWith(n2)))));
145
+ var K = a(p(b));
146
+ var O = a(p(b));
147
+ var x = (t2) => Object.assign(a(t2), { startsWith: (e2) => {
148
+ return x(d(t2, (n2 = e2, p((t3) => S(t3) && t3.startsWith(n2)))));
147
149
  var n2;
148
150
  }, endsWith: (e2) => {
149
- return j(m(t2, (n2 = e2, p((t3) => b(t3) && t3.endsWith(n2)))));
151
+ return x(d(t2, (n2 = e2, p((t3) => S(t3) && t3.endsWith(n2)))));
150
152
  var n2;
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
+ }, minLength: (e2) => x(d(t2, ((t3) => p((e3) => S(e3) && e3.length >= t3))(e2))), length: (e2) => x(d(t2, ((t3) => p((e3) => S(e3) && e3.length === t3))(e2))), maxLength: (e2) => x(d(t2, ((t3) => p((e3) => S(e3) && e3.length <= t3))(e2))), includes: (e2) => {
154
+ return x(d(t2, (n2 = e2, p((t3) => S(t3) && t3.includes(n2)))));
153
155
  var n2;
154
156
  }, regex: (e2) => {
155
- return j(m(t2, (n2 = e2, p((t3) => b(t3) && Boolean(t3.match(n2))))));
157
+ return x(d(t2, (n2 = e2, p((t3) => S(t3) && Boolean(t3.match(n2))))));
156
158
  var n2;
157
159
  } });
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) {
160
+ var A = x(p(S));
161
+ var N = (t2) => Object.assign(a(t2), { between: (e2, n2) => N(d(t2, ((t3, e3) => p((n3) => w(n3) && t3 <= n3 && e3 >= n3))(e2, n2))), lt: (e2) => N(d(t2, ((t3) => p((e3) => w(e3) && e3 < t3))(e2))), gt: (e2) => N(d(t2, ((t3) => p((e3) => w(e3) && e3 > t3))(e2))), lte: (e2) => N(d(t2, ((t3) => p((e3) => w(e3) && e3 <= t3))(e2))), gte: (e2) => N(d(t2, ((t3) => p((e3) => w(e3) && e3 >= t3))(e2))), int: () => N(d(t2, p((t3) => w(t3) && Number.isInteger(t3)))), finite: () => N(d(t2, p((t3) => w(t3) && Number.isFinite(t3)))), positive: () => N(d(t2, p((t3) => w(t3) && t3 > 0))), negative: () => N(d(t2, p((t3) => w(t3) && t3 < 0))) });
162
+ var P = N(p(w));
163
+ var k = (t2) => Object.assign(a(t2), { between: (e2, n2) => k(d(t2, ((t3, e3) => p((n3) => j(n3) && t3 <= n3 && e3 >= n3))(e2, n2))), lt: (e2) => k(d(t2, ((t3) => p((e3) => j(e3) && e3 < t3))(e2))), gt: (e2) => k(d(t2, ((t3) => p((e3) => j(e3) && e3 > t3))(e2))), lte: (e2) => k(d(t2, ((t3) => p((e3) => j(e3) && e3 <= t3))(e2))), gte: (e2) => k(d(t2, ((t3) => p((e3) => j(e3) && e3 >= t3))(e2))), positive: () => k(d(t2, p((t3) => j(t3) && t3 > 0))), negative: () => k(d(t2, p((t3) => j(t3) && t3 < 0))) });
164
+ var T = k(p(j));
165
+ var B = a(p(function(t2) {
164
166
  return "boolean" == typeof t2;
165
167
  }));
166
- var B = u(p(function(t2) {
168
+ var _ = a(p(function(t2) {
167
169
  return "symbol" == typeof t2;
168
170
  }));
169
- var _ = u(p(function(t2) {
171
+ var W = a(p(function(t2) {
170
172
  return null == t2;
171
173
  }));
172
- var k = u(p(function(t2) {
174
+ var $ = a(p(function(t2) {
173
175
  return null != t2;
174
176
  }));
175
- var W = class extends Error {
177
+ var I = class extends Error {
176
178
  constructor(t2) {
177
179
  let e2;
178
180
  try {
@@ -183,11 +185,11 @@ var W = class extends Error {
183
185
  super(`Pattern matching error: no pattern matches value ${e2}`), this.input = void 0, this.input = t2;
184
186
  }
185
187
  };
186
- var $ = { matched: false, value: void 0 };
187
- function z(t2) {
188
- return new I(t2, $);
188
+ var L = { matched: false, value: void 0 };
189
+ function M(t2) {
190
+ return new R(t2, L);
189
191
  }
190
- var I = class _I {
192
+ var R = class _R {
191
193
  constructor(t2, e2) {
192
194
  this.input = void 0, this.state = void 0, this.input = t2, this.state = e2;
193
195
  }
@@ -196,23 +198,22 @@ var I = class _I {
196
198
  const e2 = t2[t2.length - 1], r2 = [t2[0]];
197
199
  let i2;
198
200
  3 === t2.length && "function" == typeof t2[1] ? i2 = t2[1] : t2.length > 2 && r2.push(...t2.slice(1, t2.length - 1));
199
- let o2 = false, c2 = {};
200
- const a = (t3, e3) => {
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);
201
+ let s2 = false, c2 = {};
202
+ const u = (t3, e3) => {
203
+ s2 = true, c2[t3] = e3;
204
+ }, a2 = !r2.some((t3) => o(t3, this.input, u)) || i2 && !Boolean(i2(this.input)) ? L : { matched: true, value: e2(s2 ? n in c2 ? c2[n] : c2 : this.input, this.input) };
205
+ return new _R(this.input, a2);
204
206
  }
205
207
  when(t2, e2) {
206
208
  if (this.state.matched) return this;
207
209
  const n2 = Boolean(t2(this.input));
208
- return new _I(this.input, n2 ? { matched: true, value: e2(this.input, this.input) } : $);
210
+ return new _R(this.input, n2 ? { matched: true, value: e2(this.input, this.input) } : L);
209
211
  }
210
212
  otherwise(t2) {
211
213
  return this.state.matched ? this.state.value : t2(this.input);
212
214
  }
213
- exhaustive() {
214
- if (this.state.matched) return this.state.value;
215
- throw new W(this.input);
215
+ exhaustive(t2 = F) {
216
+ return this.state.matched ? this.state.value : t2(this.input);
216
217
  }
217
218
  run() {
218
219
  return this.exhaustive();
@@ -220,7 +221,13 @@ var I = class _I {
220
221
  returnType() {
221
222
  return this;
222
223
  }
224
+ narrow() {
225
+ return this;
226
+ }
223
227
  };
228
+ function F(t2) {
229
+ throw new I(t2);
230
+ }
224
231
  var exec = (0, import_util.promisify)(import_child_process.default.exec);
225
232
  var debug = (0, import_debug.default)("prisma:get-platform");
226
233
  var supportedLibSSLVersions = ["1.0.x", "1.1.x", "3.0.x"];
@@ -266,7 +273,7 @@ function parseDistro(osReleaseInput) {
266
273
  const id = idMatch && idMatch[1] && idMatch[1].toLowerCase() || "";
267
274
  const idLikeMatch = idLikeRegex.exec(osReleaseInput);
268
275
  const idLike = idLikeMatch && idLikeMatch[1] && idLikeMatch[1].toLowerCase() || "";
269
- const distroInfo = z({ id, idLike }).with(
276
+ const distroInfo = M({ id, idLike }).with(
270
277
  { id: "alpine" },
271
278
  ({ id: originalDistro }) => ({
272
279
  targetDistro: "musl",
@@ -380,7 +387,7 @@ function sanitiseSSLVersion(version) {
380
387
  return void 0;
381
388
  }
382
389
  function computeLibSSLSpecificPaths(args) {
383
- return z(args).with({ familyDistro: "musl" }, () => {
390
+ return M(args).with({ familyDistro: "musl" }, () => {
384
391
  debug('Trying platform-specific paths for "alpine"');
385
392
  return ["/lib", "/usr/lib"];
386
393
  }).with({ familyDistro: "debian" }, ({ archFromUname }) => {
@@ -492,7 +499,7 @@ function getBinaryTargetForCurrentPlatformInternal(args) {
492
499
  }
493
500
  const defaultLibssl = "1.1.x";
494
501
  if (platform === "linux" && libssl === void 0) {
495
- const additionalMessage = z({ familyDistro }).with({ familyDistro: "debian" }, () => {
502
+ const additionalMessage = M({ familyDistro }).with({ familyDistro: "debian" }, () => {
496
503
  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.";
497
504
  }).otherwise(() => {
498
505
  return "Please manually install OpenSSL and try installing Prisma again.";
@@ -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: () => import_chunk_7PMGXL6S.computeLibSSLSpecificPaths,
22
- getArchFromUname: () => import_chunk_7PMGXL6S.getArchFromUname,
23
- getBinaryTargetForCurrentPlatform: () => import_chunk_7PMGXL6S.getBinaryTargetForCurrentPlatform,
24
- getBinaryTargetForCurrentPlatformInternal: () => import_chunk_7PMGXL6S.getBinaryTargetForCurrentPlatformInternal,
25
- getPlatformInfo: () => import_chunk_7PMGXL6S.getPlatformInfo,
26
- getPlatformInfoMemoized: () => import_chunk_7PMGXL6S.getPlatformInfoMemoized,
27
- getSSLVersion: () => import_chunk_7PMGXL6S.getSSLVersion,
28
- getos: () => import_chunk_7PMGXL6S.getos,
29
- parseDistro: () => import_chunk_7PMGXL6S.parseDistro,
30
- parseLibSSLVersion: () => import_chunk_7PMGXL6S.parseLibSSLVersion,
31
- parseOpenSSLVersion: () => import_chunk_7PMGXL6S.parseOpenSSLVersion,
32
- resolveDistro: () => import_chunk_7PMGXL6S.resolveDistro
21
+ computeLibSSLSpecificPaths: () => import_chunk_ZURTL34W.computeLibSSLSpecificPaths,
22
+ getArchFromUname: () => import_chunk_ZURTL34W.getArchFromUname,
23
+ getBinaryTargetForCurrentPlatform: () => import_chunk_ZURTL34W.getBinaryTargetForCurrentPlatform,
24
+ getBinaryTargetForCurrentPlatformInternal: () => import_chunk_ZURTL34W.getBinaryTargetForCurrentPlatformInternal,
25
+ getPlatformInfo: () => import_chunk_ZURTL34W.getPlatformInfo,
26
+ getPlatformInfoMemoized: () => import_chunk_ZURTL34W.getPlatformInfoMemoized,
27
+ getSSLVersion: () => import_chunk_ZURTL34W.getSSLVersion,
28
+ getos: () => import_chunk_ZURTL34W.getos,
29
+ parseDistro: () => import_chunk_ZURTL34W.parseDistro,
30
+ parseLibSSLVersion: () => import_chunk_ZURTL34W.parseLibSSLVersion,
31
+ parseOpenSSLVersion: () => import_chunk_ZURTL34W.parseOpenSSLVersion,
32
+ resolveDistro: () => import_chunk_ZURTL34W.resolveDistro
33
33
  });
34
34
  module.exports = __toCommonJS(getPlatform_exports);
35
- var import_chunk_7PMGXL6S = require("./chunk-7PMGXL6S.js");
35
+ var import_chunk_ZURTL34W = require("./chunk-ZURTL34W.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
@@ -19,9 +19,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
19
19
  var index_exports = {};
20
20
  __export(index_exports, {
21
21
  binaryTargets: () => import_chunk_7MLUNQIZ.binaryTargets,
22
- getBinaryTargetForCurrentPlatform: () => import_chunk_7PMGXL6S.getBinaryTargetForCurrentPlatform,
23
- getPlatformInfo: () => import_chunk_7PMGXL6S.getPlatformInfo,
24
- getos: () => import_chunk_7PMGXL6S.getos,
22
+ getBinaryTargetForCurrentPlatform: () => import_chunk_ZURTL34W.getBinaryTargetForCurrentPlatform,
23
+ getPlatformInfo: () => import_chunk_ZURTL34W.getPlatformInfo,
24
+ getos: () => import_chunk_ZURTL34W.getos,
25
25
  jestConsoleContext: () => import_chunk_WFCM4MDC.jestConsoleContext,
26
26
  jestContext: () => import_chunk_WFCM4MDC.jestContext,
27
27
  jestStdoutContext: () => import_chunk_WFCM4MDC.jestStdoutContext,
@@ -29,7 +29,7 @@ __export(index_exports, {
29
29
  processExitContext: () => import_chunk_WFCM4MDC.processExitContext
30
30
  });
31
31
  module.exports = __toCommonJS(index_exports);
32
- var import_chunk_7PMGXL6S = require("./chunk-7PMGXL6S.js");
32
+ var import_chunk_ZURTL34W = require("./chunk-ZURTL34W.js");
33
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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/get-platform",
3
- "version": "7.10.0-dev.4",
3
+ "version": "7.10.0-dev.41",
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",
@@ -23,11 +23,11 @@
23
23
  "kleur": "4.1.5",
24
24
  "tempy": "1.0.1",
25
25
  "terminal-link": "4.0.0",
26
- "ts-pattern": "5.6.2",
26
+ "ts-pattern": "5.9.0",
27
27
  "typescript": "5.4.5"
28
28
  },
29
29
  "dependencies": {
30
- "@prisma/debug": "7.10.0-dev.4"
30
+ "@prisma/debug": "7.10.0-dev.41"
31
31
  },
32
32
  "files": [
33
33
  "README.md",