@prisma/client-generator-js 6.15.0-dev.15 → 6.15.0-dev.17
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/index.js +4 -5
- package/dist/index.mjs +4 -5
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -8900,10 +8900,9 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
|
|
|
8900
8900
|
if (generator.previewFeatures.includes("driverAdapters") && isWasmEngineSupported(provider) && copyEngine && !testMode) {
|
|
8901
8901
|
const suffix = provider === "postgres" ? "postgresql" : provider;
|
|
8902
8902
|
const filename = clientEngineType === import_internals10.ClientEngineType.Client ? "query_compiler_bg" : "query_engine_bg";
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
);
|
|
8903
|
+
const wasmJsBundlePath = import_path3.default.join(runtimeSourcePath, `${filename}.${suffix}.wasm-base64.js`);
|
|
8904
|
+
const wasmBase64 = require(wasmJsBundlePath).wasm;
|
|
8905
|
+
await import_promises.default.writeFile(import_path3.default.join(outputDir, `${filename}.wasm`), Buffer.from(wasmBase64, "base64"));
|
|
8907
8906
|
await import_promises.default.copyFile(import_path3.default.join(runtimeSourcePath, `${filename}.${suffix}.js`), import_path3.default.join(outputDir, `${filename}.js`));
|
|
8908
8907
|
}
|
|
8909
8908
|
try {
|
|
@@ -9154,7 +9153,7 @@ var import_internals12 = require("@prisma/internals");
|
|
|
9154
9153
|
var import_ts_pattern = require("ts-pattern");
|
|
9155
9154
|
|
|
9156
9155
|
// package.json
|
|
9157
|
-
var version = "6.15.0-dev.
|
|
9156
|
+
var version = "6.15.0-dev.17";
|
|
9158
9157
|
|
|
9159
9158
|
// src/resolvePrismaClient.ts
|
|
9160
9159
|
var import_promises2 = __toESM(require("node:fs/promises"));
|
package/dist/index.mjs
CHANGED
|
@@ -8898,10 +8898,9 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
|
|
|
8898
8898
|
if (generator.previewFeatures.includes("driverAdapters") && isWasmEngineSupported(provider) && copyEngine && !testMode) {
|
|
8899
8899
|
const suffix = provider === "postgres" ? "postgresql" : provider;
|
|
8900
8900
|
const filename = clientEngineType === ClientEngineType3.Client ? "query_compiler_bg" : "query_engine_bg";
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
);
|
|
8901
|
+
const wasmJsBundlePath = path3.join(runtimeSourcePath, `${filename}.${suffix}.wasm-base64.js`);
|
|
8902
|
+
const wasmBase64 = __require(wasmJsBundlePath).wasm;
|
|
8903
|
+
await fs.writeFile(path3.join(outputDir, `${filename}.wasm`), Buffer.from(wasmBase64, "base64"));
|
|
8905
8904
|
await fs.copyFile(path3.join(runtimeSourcePath, `${filename}.${suffix}.js`), path3.join(outputDir, `${filename}.js`));
|
|
8906
8905
|
}
|
|
8907
8906
|
try {
|
|
@@ -9152,7 +9151,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
|
|
|
9152
9151
|
import { match } from "ts-pattern";
|
|
9153
9152
|
|
|
9154
9153
|
// package.json
|
|
9155
|
-
var version = "6.15.0-dev.
|
|
9154
|
+
var version = "6.15.0-dev.17";
|
|
9156
9155
|
|
|
9157
9156
|
// src/resolvePrismaClient.ts
|
|
9158
9157
|
var import_execa = __toESM(require_execa());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-js",
|
|
3
|
-
"version": "6.15.0-dev.
|
|
3
|
+
"version": "6.15.0-dev.17",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"pkg-up": "3.1.0",
|
|
34
34
|
"pluralize": "8.0.0",
|
|
35
35
|
"ts-pattern": "5.6.2",
|
|
36
|
-
"@prisma/
|
|
37
|
-
"@prisma/dmmf": "6.15.0-dev.
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/get-platform": "6.15.0-dev.
|
|
42
|
-
"@prisma/internals": "6.15.0-dev.
|
|
43
|
-
"@prisma/ts-builders": "6.15.0-dev.
|
|
36
|
+
"@prisma/client-common": "6.15.0-dev.17",
|
|
37
|
+
"@prisma/dmmf": "6.15.0-dev.17",
|
|
38
|
+
"@prisma/fetch-engine": "6.15.0-dev.17",
|
|
39
|
+
"@prisma/generator": "6.15.0-dev.17",
|
|
40
|
+
"@prisma/debug": "6.15.0-dev.17",
|
|
41
|
+
"@prisma/get-platform": "6.15.0-dev.17",
|
|
42
|
+
"@prisma/internals": "6.15.0-dev.17",
|
|
43
|
+
"@prisma/ts-builders": "6.15.0-dev.17"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/pluralize": "0.0.33",
|