@prisma/get-platform 6.1.0-dev.13 → 6.1.0-dev.14
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
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_6HYT7JRV_exports = {};
|
|
30
|
+
__export(chunk_6HYT7JRV_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_6HYT7JRV_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"));
|
|
@@ -377,7 +377,7 @@ function sanitiseSSLVersion(version) {
|
|
|
377
377
|
function computeLibSSLSpecificPaths(args) {
|
|
378
378
|
return $(args).with({ familyDistro: "musl" }, () => {
|
|
379
379
|
debug('Trying platform-specific paths for "alpine"');
|
|
380
|
-
return ["/lib"];
|
|
380
|
+
return ["/lib", "/usr/lib"];
|
|
381
381
|
}).with({ familyDistro: "debian" }, ({ archFromUname }) => {
|
|
382
382
|
debug('Trying platform-specific paths for "debian" (and "ubuntu")');
|
|
383
383
|
return [`/usr/lib/${archFromUname}-linux-gnu`, `/lib/${archFromUname}-linux-gnu`];
|
|
@@ -415,7 +415,7 @@ async function getSSLVersion(libsslSpecificPaths) {
|
|
|
415
415
|
`ldconfig -p | sed "s/.*=>s*//" | sed "s|.*/||" | grep libssl | sort | ${excludeLibssl0x}`
|
|
416
416
|
);
|
|
417
417
|
if (!libsslFilename) {
|
|
418
|
-
libsslFilename = await findLibSSLInLocations(["/lib64", "/usr/lib64", "/lib"]);
|
|
418
|
+
libsslFilename = await findLibSSLInLocations(["/lib64", "/usr/lib64", "/lib", "/usr/lib"]);
|
|
419
419
|
}
|
|
420
420
|
if (libsslFilename) {
|
|
421
421
|
debug(`Found libssl.so file using "ldconfig" or other generic paths: ${libsslFilename}`);
|
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_6HYT7JRV.computeLibSSLSpecificPaths,
|
|
22
|
+
getArchFromUname: () => import_chunk_6HYT7JRV.getArchFromUname,
|
|
23
|
+
getBinaryTargetForCurrentPlatform: () => import_chunk_6HYT7JRV.getBinaryTargetForCurrentPlatform,
|
|
24
|
+
getBinaryTargetForCurrentPlatformInternal: () => import_chunk_6HYT7JRV.getBinaryTargetForCurrentPlatformInternal,
|
|
25
|
+
getPlatformInfo: () => import_chunk_6HYT7JRV.getPlatformInfo,
|
|
26
|
+
getPlatformInfoMemoized: () => import_chunk_6HYT7JRV.getPlatformInfoMemoized,
|
|
27
|
+
getSSLVersion: () => import_chunk_6HYT7JRV.getSSLVersion,
|
|
28
|
+
getos: () => import_chunk_6HYT7JRV.getos,
|
|
29
|
+
parseDistro: () => import_chunk_6HYT7JRV.parseDistro,
|
|
30
|
+
parseLibSSLVersion: () => import_chunk_6HYT7JRV.parseLibSSLVersion,
|
|
31
|
+
parseOpenSSLVersion: () => import_chunk_6HYT7JRV.parseOpenSSLVersion,
|
|
32
|
+
resolveDistro: () => import_chunk_6HYT7JRV.resolveDistro
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(getPlatform_exports);
|
|
35
|
-
var
|
|
35
|
+
var import_chunk_6HYT7JRV = require("./chunk-6HYT7JRV.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_6HYT7JRV.getBinaryTargetForCurrentPlatform,
|
|
24
24
|
getNodeAPIName: () => import_chunk_2U36ISZO.getNodeAPIName,
|
|
25
|
-
getPlatformInfo: () =>
|
|
26
|
-
getos: () =>
|
|
25
|
+
getPlatformInfo: () => import_chunk_6HYT7JRV.getPlatformInfo,
|
|
26
|
+
getos: () => import_chunk_6HYT7JRV.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_6HYT7JRV = require("./chunk-6HYT7JRV.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.14",
|
|
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",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"ts-pattern": "5.2.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@prisma/debug": "6.1.0-dev.
|
|
37
|
+
"@prisma/debug": "6.1.0-dev.14"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"README.md",
|