@prisma/get-platform 6.19.0-integration-next.6 → 6.19.0-integration-next.7
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.
|
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var assertNodeAPISupported_exports = {};
|
|
20
20
|
__export(assertNodeAPISupported_exports, {
|
|
21
|
-
assertNodeAPISupported: () =>
|
|
21
|
+
assertNodeAPISupported: () => import_chunk_4AMY4VV4.assertNodeAPISupported
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(assertNodeAPISupported_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_4AMY4VV4 = require("./chunk-4AMY4VV4.js");
|
|
25
25
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
@@ -26,18 +26,16 @@ 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_4AMY4VV4_exports = {};
|
|
30
|
+
__export(chunk_4AMY4VV4_exports, {
|
|
31
31
|
assertNodeAPISupported: () => assertNodeAPISupported
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_4AMY4VV4_exports);
|
|
34
34
|
var import_fs = __toESM(require("fs"));
|
|
35
35
|
function assertNodeAPISupported() {
|
|
36
36
|
const customLibraryPath = process.env.PRISMA_QUERY_ENGINE_LIBRARY;
|
|
37
37
|
const customLibraryExists = customLibraryPath && import_fs.default.existsSync(customLibraryPath);
|
|
38
38
|
if (!customLibraryExists && process.arch === "ia32") {
|
|
39
|
-
throw new Error(
|
|
40
|
-
`The default query engine type (Node-API, "library") is currently not supported for 32bit Node. Please set \`engineType = "binary"\` in the "generator" block of your "schema.prisma" file (or use the environment variables "PRISMA_CLIENT_ENGINE_TYPE=binary" and/or "PRISMA_CLI_QUERY_ENGINE_TYPE=binary".)`
|
|
41
|
-
);
|
|
39
|
+
throw new Error(`The default query engine type (Node-API, "library") is currently not supported for 32bit Node.)`);
|
|
42
40
|
}
|
|
43
41
|
}
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var index_exports = {};
|
|
20
20
|
__export(index_exports, {
|
|
21
|
-
assertNodeAPISupported: () =>
|
|
21
|
+
assertNodeAPISupported: () => import_chunk_4AMY4VV4.assertNodeAPISupported,
|
|
22
22
|
binaryTargets: () => import_chunk_7MLUNQIZ.binaryTargets,
|
|
23
23
|
getBinaryTargetForCurrentPlatform: () => import_chunk_7PMGXL6S.getBinaryTargetForCurrentPlatform,
|
|
24
24
|
getNodeAPIName: () => import_chunk_2U36ISZO.getNodeAPIName,
|
|
@@ -34,7 +34,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
34
34
|
var import_chunk_6HZWON4S = require("./chunk-6HZWON4S.js");
|
|
35
35
|
var import_chunk_5EPDNTW3 = require("./chunk-5EPDNTW3.js");
|
|
36
36
|
var import_chunk_3UEKS5W6 = require("./chunk-3UEKS5W6.js");
|
|
37
|
-
var
|
|
37
|
+
var import_chunk_4AMY4VV4 = require("./chunk-4AMY4VV4.js");
|
|
38
38
|
var import_chunk_2U36ISZO = require("./chunk-2U36ISZO.js");
|
|
39
39
|
var import_chunk_7PMGXL6S = require("./chunk-7PMGXL6S.js");
|
|
40
40
|
var import_chunk_M5T7GI2R = require("./chunk-M5T7GI2R.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/get-platform",
|
|
3
|
-
"version": "6.19.0-integration-next.
|
|
3
|
+
"version": "6.19.0-integration-next.7",
|
|
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",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"vitest": "3.2.4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@prisma/debug": "6.19.0-integration-next.
|
|
36
|
+
"@prisma/debug": "6.19.0-integration-next.7"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
|
39
39
|
"README.md",
|