@prisma/client-generator-js 6.16.0-dev.3 → 6.16.0-dev.30
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 +18 -20
- package/dist/index.mjs +18 -20
- package/dist/utils/buildGetQueryCompilerWasmModule.d.ts +1 -1
- package/package.json +12 -13
package/dist/index.js
CHANGED
|
@@ -4243,8 +4243,8 @@ var bgCyan = init(46, 49);
|
|
|
4243
4243
|
var bgWhite = init(47, 49);
|
|
4244
4244
|
|
|
4245
4245
|
// src/generateClient.ts
|
|
4246
|
+
var import_package_up = require("package-up");
|
|
4246
4247
|
var import_path3 = __toESM(require("path"));
|
|
4247
|
-
var import_pkg_up = __toESM(require("pkg-up"));
|
|
4248
4248
|
|
|
4249
4249
|
// ../client/package.json
|
|
4250
4250
|
var package_default = {
|
|
@@ -4458,7 +4458,7 @@ var package_default = {
|
|
|
4458
4458
|
"sql.mjs"
|
|
4459
4459
|
],
|
|
4460
4460
|
devDependencies: {
|
|
4461
|
-
"@cloudflare/workers-types": "4.
|
|
4461
|
+
"@cloudflare/workers-types": "^4.20250408.0",
|
|
4462
4462
|
"@codspeed/benchmark.js-plugin": "4.0.0",
|
|
4463
4463
|
"@faker-js/faker": "9.6.0",
|
|
4464
4464
|
"@fast-check/jest": "2.0.3",
|
|
@@ -4466,7 +4466,7 @@ var package_default = {
|
|
|
4466
4466
|
"@jest/create-cache-key-function": "29.7.0",
|
|
4467
4467
|
"@jest/globals": "29.7.0",
|
|
4468
4468
|
"@jest/test-sequencer": "29.7.0",
|
|
4469
|
-
"@libsql/client": "0.8.
|
|
4469
|
+
"@libsql/client": "0.8.1",
|
|
4470
4470
|
"@neondatabase/serverless": "0.10.2",
|
|
4471
4471
|
"@opentelemetry/api": "1.9.0",
|
|
4472
4472
|
"@opentelemetry/context-async-hooks": "2.0.0",
|
|
@@ -4492,7 +4492,7 @@ var package_default = {
|
|
|
4492
4492
|
"@prisma/dmmf": "workspace:*",
|
|
4493
4493
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
4494
4494
|
"@prisma/engines": "workspace:*",
|
|
4495
|
-
"@prisma/engines-version": "6.16.0-
|
|
4495
|
+
"@prisma/engines-version": "6.16.0-6.42747065991212ea20d86c4732cf122c34af160b",
|
|
4496
4496
|
"@prisma/fetch-engine": "workspace:*",
|
|
4497
4497
|
"@prisma/generator": "workspace:*",
|
|
4498
4498
|
"@prisma/generator-helper": "workspace:*",
|
|
@@ -4501,8 +4501,8 @@ var package_default = {
|
|
|
4501
4501
|
"@prisma/internals": "workspace:*",
|
|
4502
4502
|
"@prisma/migrate": "workspace:*",
|
|
4503
4503
|
"@prisma/mini-proxy": "0.9.5",
|
|
4504
|
-
"@prisma/query-compiler-wasm": "6.16.0-
|
|
4505
|
-
"@prisma/query-engine-wasm": "6.16.0-
|
|
4504
|
+
"@prisma/query-compiler-wasm": "6.16.0-6.42747065991212ea20d86c4732cf122c34af160b",
|
|
4505
|
+
"@prisma/query-engine-wasm": "6.16.0-6.42747065991212ea20d86c4732cf122c34af160b",
|
|
4506
4506
|
"@prisma/ts-builders": "workspace:*",
|
|
4507
4507
|
"@snaplet/copycat": "6.0.0",
|
|
4508
4508
|
"@swc-node/register": "1.10.9",
|
|
@@ -4520,7 +4520,6 @@ var package_default = {
|
|
|
4520
4520
|
benchmark: "2.1.4",
|
|
4521
4521
|
"cookie-es": "2.0.0",
|
|
4522
4522
|
"decimal.js": "10.5.0",
|
|
4523
|
-
esbuild: "0.25.5",
|
|
4524
4523
|
execa: "5.1.1",
|
|
4525
4524
|
"expect-type": "1.2.2",
|
|
4526
4525
|
"fs-extra": "11.3.0",
|
|
@@ -4535,7 +4534,7 @@ var package_default = {
|
|
|
4535
4534
|
"js-levenshtein": "1.1.6",
|
|
4536
4535
|
kleur: "4.1.5",
|
|
4537
4536
|
klona: "2.0.6",
|
|
4538
|
-
mariadb: "3.4.
|
|
4537
|
+
mariadb: "3.4.5",
|
|
4539
4538
|
memfs: "4.17.2",
|
|
4540
4539
|
mssql: "11.0.1",
|
|
4541
4540
|
"new-github-issue-url": "0.2.1",
|
|
@@ -4548,15 +4547,13 @@ var package_default = {
|
|
|
4548
4547
|
"source-map-support": "0.5.21",
|
|
4549
4548
|
"sql-template-tag": "5.2.1",
|
|
4550
4549
|
"stacktrace-parser": "0.1.11",
|
|
4551
|
-
"strip-ansi": "
|
|
4550
|
+
"strip-ansi": "7.1.0",
|
|
4552
4551
|
"strip-indent": "4.0.0",
|
|
4553
4552
|
tempy: "3.0.0",
|
|
4554
|
-
"ts-node": "10.9.2",
|
|
4555
4553
|
"ts-pattern": "5.6.2",
|
|
4556
4554
|
tsd: "0.31.2",
|
|
4557
4555
|
typescript: "5.4.5",
|
|
4558
4556
|
undici: "7.4.0",
|
|
4559
|
-
wrangler: "3.111.0",
|
|
4560
4557
|
zx: "8.4.1"
|
|
4561
4558
|
},
|
|
4562
4559
|
peerDependencies: {
|
|
@@ -6636,8 +6633,8 @@ defineDmmfProperty(exports.Prisma, config.runtimeDataModel)`;
|
|
|
6636
6633
|
}
|
|
6637
6634
|
|
|
6638
6635
|
// src/utils/buildGetQueryCompilerWasmModule.ts
|
|
6639
|
-
function buildQueryCompilerWasmModule(
|
|
6640
|
-
if (
|
|
6636
|
+
function buildQueryCompilerWasmModule(forceEdgeWasmLoader, runtimeNameJs) {
|
|
6637
|
+
if (runtimeNameJs === "client" && !forceEdgeWasmLoader) {
|
|
6641
6638
|
return `config.compilerWasm = {
|
|
6642
6639
|
getRuntime: async () => require('./query_compiler_bg.js'),
|
|
6643
6640
|
getQueryCompilerWasmModule: async () => {
|
|
@@ -6648,7 +6645,7 @@ function buildQueryCompilerWasmModule(wasm, copyCompiler, runtimeNameJs) {
|
|
|
6648
6645
|
}
|
|
6649
6646
|
}`;
|
|
6650
6647
|
}
|
|
6651
|
-
if (
|
|
6648
|
+
if (runtimeNameJs === "client" && forceEdgeWasmLoader || runtimeNameJs === "wasm-compiler-edge") {
|
|
6652
6649
|
return `config.compilerWasm = {
|
|
6653
6650
|
getRuntime: async () => require('./query_compiler_bg.js'),
|
|
6654
6651
|
getQueryCompilerWasmModule: async () => {
|
|
@@ -8065,7 +8062,7 @@ const config = ${JSON.stringify(config, null, 2)}
|
|
|
8065
8062
|
${buildDirname(edge, relativeOutdir)}
|
|
8066
8063
|
${buildRuntimeDataModel(this.dmmf.datamodel, runtimeNameJs)}
|
|
8067
8064
|
${buildQueryEngineWasmModule(wasm, copyEngine, runtimeNameJs)}
|
|
8068
|
-
${buildQueryCompilerWasmModule(wasm,
|
|
8065
|
+
${buildQueryCompilerWasmModule(wasm, runtimeNameJs)}
|
|
8069
8066
|
${buildInjectableEdgeEnv(edge, datasources)}
|
|
8070
8067
|
${buildWarnEnvConflicts(edge, runtimeBase, runtimeNameJs)}
|
|
8071
8068
|
${buildDebugInitialization(edge)}
|
|
@@ -8541,7 +8538,7 @@ function buildTypedSql({
|
|
|
8541
8538
|
fileMap[`${query.name}.js`] = buildTypedQueryCjs(options);
|
|
8542
8539
|
fileMap[`${query.name}.${edgeRuntimeName}.js`] = buildTypedQueryCjs(edgeOptions);
|
|
8543
8540
|
fileMap[`${query.name}.mjs`] = buildTypedQueryEsm(options);
|
|
8544
|
-
fileMap[`${query.name}.
|
|
8541
|
+
fileMap[`${query.name}.${edgeRuntimeName}.mjs`] = buildTypedQueryEsm(edgeOptions);
|
|
8545
8542
|
}
|
|
8546
8543
|
fileMap["index.d.ts"] = buildIndexTs(queries, enums);
|
|
8547
8544
|
fileMap["index.js"] = buildIndexCjs(queries);
|
|
@@ -8799,7 +8796,7 @@ async function getDefaultOutdir(outputDir) {
|
|
|
8799
8796
|
if ((0, import_fs.existsSync)(import_path3.default.join(process.env.INIT_CWD, "package.json"))) {
|
|
8800
8797
|
return import_path3.default.join(process.env.INIT_CWD, "node_modules/.prisma/client");
|
|
8801
8798
|
}
|
|
8802
|
-
const packagePath = await (0,
|
|
8799
|
+
const packagePath = await (0, import_package_up.packageUp)({ cwd: process.env.INIT_CWD });
|
|
8803
8800
|
if (packagePath) {
|
|
8804
8801
|
return import_path3.default.join(import_path3.default.dirname(packagePath), "node_modules/.prisma/client");
|
|
8805
8802
|
}
|
|
@@ -8897,7 +8894,8 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
|
|
|
8897
8894
|
}
|
|
8898
8895
|
const schemaTargetPath = import_path3.default.join(outputDir, "schema.prisma");
|
|
8899
8896
|
await import_promises.default.writeFile(schemaTargetPath, datamodel, { encoding: "utf-8" });
|
|
8900
|
-
|
|
8897
|
+
const runtimeNeedsWasmEngine = clientEngineType === import_internals10.ClientEngineType.Client || generator.previewFeatures.includes("driverAdapters") && copyEngine;
|
|
8898
|
+
if (runtimeNeedsWasmEngine && isWasmEngineSupported(provider) && !testMode) {
|
|
8901
8899
|
const suffix = provider === "postgres" ? "postgresql" : provider;
|
|
8902
8900
|
const filename = clientEngineType === import_internals10.ClientEngineType.Client ? "query_compiler_bg" : "query_engine_bg";
|
|
8903
8901
|
const wasmJsBundlePath = import_path3.default.join(runtimeSourcePath, `${filename}.${suffix}.wasm-base64.js`);
|
|
@@ -9026,7 +9024,7 @@ async function getGenerationDirs({
|
|
|
9026
9024
|
if (isCustomOutput) {
|
|
9027
9025
|
await verifyOutputDirectory(userOutputDir, datamodel, schemaPath);
|
|
9028
9026
|
}
|
|
9029
|
-
const userPackageRoot = await (0,
|
|
9027
|
+
const userPackageRoot = await (0, import_package_up.packageUp)({ cwd: import_path3.default.dirname(userOutputDir) });
|
|
9030
9028
|
const userProjectRoot = userPackageRoot ? import_path3.default.dirname(userPackageRoot) : process.cwd();
|
|
9031
9029
|
return {
|
|
9032
9030
|
runtimeBase: userRuntimeImport,
|
|
@@ -9153,7 +9151,7 @@ var import_internals12 = require("@prisma/internals");
|
|
|
9153
9151
|
var import_ts_pattern = require("ts-pattern");
|
|
9154
9152
|
|
|
9155
9153
|
// package.json
|
|
9156
|
-
var version = "6.16.0-dev.
|
|
9154
|
+
var version = "6.16.0-dev.30";
|
|
9157
9155
|
|
|
9158
9156
|
// src/resolvePrismaClient.ts
|
|
9159
9157
|
var import_promises2 = __toESM(require("node:fs/promises"));
|
package/dist/index.mjs
CHANGED
|
@@ -4238,8 +4238,8 @@ var bgCyan = init(46, 49);
|
|
|
4238
4238
|
var bgWhite = init(47, 49);
|
|
4239
4239
|
|
|
4240
4240
|
// src/generateClient.ts
|
|
4241
|
+
import { packageUp } from "package-up";
|
|
4241
4242
|
import path3 from "path";
|
|
4242
|
-
import pkgUp from "pkg-up";
|
|
4243
4243
|
|
|
4244
4244
|
// ../client/package.json
|
|
4245
4245
|
var package_default = {
|
|
@@ -4453,7 +4453,7 @@ var package_default = {
|
|
|
4453
4453
|
"sql.mjs"
|
|
4454
4454
|
],
|
|
4455
4455
|
devDependencies: {
|
|
4456
|
-
"@cloudflare/workers-types": "4.
|
|
4456
|
+
"@cloudflare/workers-types": "^4.20250408.0",
|
|
4457
4457
|
"@codspeed/benchmark.js-plugin": "4.0.0",
|
|
4458
4458
|
"@faker-js/faker": "9.6.0",
|
|
4459
4459
|
"@fast-check/jest": "2.0.3",
|
|
@@ -4461,7 +4461,7 @@ var package_default = {
|
|
|
4461
4461
|
"@jest/create-cache-key-function": "29.7.0",
|
|
4462
4462
|
"@jest/globals": "29.7.0",
|
|
4463
4463
|
"@jest/test-sequencer": "29.7.0",
|
|
4464
|
-
"@libsql/client": "0.8.
|
|
4464
|
+
"@libsql/client": "0.8.1",
|
|
4465
4465
|
"@neondatabase/serverless": "0.10.2",
|
|
4466
4466
|
"@opentelemetry/api": "1.9.0",
|
|
4467
4467
|
"@opentelemetry/context-async-hooks": "2.0.0",
|
|
@@ -4487,7 +4487,7 @@ var package_default = {
|
|
|
4487
4487
|
"@prisma/dmmf": "workspace:*",
|
|
4488
4488
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
4489
4489
|
"@prisma/engines": "workspace:*",
|
|
4490
|
-
"@prisma/engines-version": "6.16.0-
|
|
4490
|
+
"@prisma/engines-version": "6.16.0-6.42747065991212ea20d86c4732cf122c34af160b",
|
|
4491
4491
|
"@prisma/fetch-engine": "workspace:*",
|
|
4492
4492
|
"@prisma/generator": "workspace:*",
|
|
4493
4493
|
"@prisma/generator-helper": "workspace:*",
|
|
@@ -4496,8 +4496,8 @@ var package_default = {
|
|
|
4496
4496
|
"@prisma/internals": "workspace:*",
|
|
4497
4497
|
"@prisma/migrate": "workspace:*",
|
|
4498
4498
|
"@prisma/mini-proxy": "0.9.5",
|
|
4499
|
-
"@prisma/query-compiler-wasm": "6.16.0-
|
|
4500
|
-
"@prisma/query-engine-wasm": "6.16.0-
|
|
4499
|
+
"@prisma/query-compiler-wasm": "6.16.0-6.42747065991212ea20d86c4732cf122c34af160b",
|
|
4500
|
+
"@prisma/query-engine-wasm": "6.16.0-6.42747065991212ea20d86c4732cf122c34af160b",
|
|
4501
4501
|
"@prisma/ts-builders": "workspace:*",
|
|
4502
4502
|
"@snaplet/copycat": "6.0.0",
|
|
4503
4503
|
"@swc-node/register": "1.10.9",
|
|
@@ -4515,7 +4515,6 @@ var package_default = {
|
|
|
4515
4515
|
benchmark: "2.1.4",
|
|
4516
4516
|
"cookie-es": "2.0.0",
|
|
4517
4517
|
"decimal.js": "10.5.0",
|
|
4518
|
-
esbuild: "0.25.5",
|
|
4519
4518
|
execa: "5.1.1",
|
|
4520
4519
|
"expect-type": "1.2.2",
|
|
4521
4520
|
"fs-extra": "11.3.0",
|
|
@@ -4530,7 +4529,7 @@ var package_default = {
|
|
|
4530
4529
|
"js-levenshtein": "1.1.6",
|
|
4531
4530
|
kleur: "4.1.5",
|
|
4532
4531
|
klona: "2.0.6",
|
|
4533
|
-
mariadb: "3.4.
|
|
4532
|
+
mariadb: "3.4.5",
|
|
4534
4533
|
memfs: "4.17.2",
|
|
4535
4534
|
mssql: "11.0.1",
|
|
4536
4535
|
"new-github-issue-url": "0.2.1",
|
|
@@ -4543,15 +4542,13 @@ var package_default = {
|
|
|
4543
4542
|
"source-map-support": "0.5.21",
|
|
4544
4543
|
"sql-template-tag": "5.2.1",
|
|
4545
4544
|
"stacktrace-parser": "0.1.11",
|
|
4546
|
-
"strip-ansi": "
|
|
4545
|
+
"strip-ansi": "7.1.0",
|
|
4547
4546
|
"strip-indent": "4.0.0",
|
|
4548
4547
|
tempy: "3.0.0",
|
|
4549
|
-
"ts-node": "10.9.2",
|
|
4550
4548
|
"ts-pattern": "5.6.2",
|
|
4551
4549
|
tsd: "0.31.2",
|
|
4552
4550
|
typescript: "5.4.5",
|
|
4553
4551
|
undici: "7.4.0",
|
|
4554
|
-
wrangler: "3.111.0",
|
|
4555
4552
|
zx: "8.4.1"
|
|
4556
4553
|
},
|
|
4557
4554
|
peerDependencies: {
|
|
@@ -6634,8 +6631,8 @@ defineDmmfProperty(exports.Prisma, config.runtimeDataModel)`;
|
|
|
6634
6631
|
}
|
|
6635
6632
|
|
|
6636
6633
|
// src/utils/buildGetQueryCompilerWasmModule.ts
|
|
6637
|
-
function buildQueryCompilerWasmModule(
|
|
6638
|
-
if (
|
|
6634
|
+
function buildQueryCompilerWasmModule(forceEdgeWasmLoader, runtimeNameJs) {
|
|
6635
|
+
if (runtimeNameJs === "client" && !forceEdgeWasmLoader) {
|
|
6639
6636
|
return `config.compilerWasm = {
|
|
6640
6637
|
getRuntime: async () => require('./query_compiler_bg.js'),
|
|
6641
6638
|
getQueryCompilerWasmModule: async () => {
|
|
@@ -6646,7 +6643,7 @@ function buildQueryCompilerWasmModule(wasm, copyCompiler, runtimeNameJs) {
|
|
|
6646
6643
|
}
|
|
6647
6644
|
}`;
|
|
6648
6645
|
}
|
|
6649
|
-
if (
|
|
6646
|
+
if (runtimeNameJs === "client" && forceEdgeWasmLoader || runtimeNameJs === "wasm-compiler-edge") {
|
|
6650
6647
|
return `config.compilerWasm = {
|
|
6651
6648
|
getRuntime: async () => require('./query_compiler_bg.js'),
|
|
6652
6649
|
getQueryCompilerWasmModule: async () => {
|
|
@@ -8063,7 +8060,7 @@ const config = ${JSON.stringify(config, null, 2)}
|
|
|
8063
8060
|
${buildDirname(edge, relativeOutdir)}
|
|
8064
8061
|
${buildRuntimeDataModel(this.dmmf.datamodel, runtimeNameJs)}
|
|
8065
8062
|
${buildQueryEngineWasmModule(wasm, copyEngine, runtimeNameJs)}
|
|
8066
|
-
${buildQueryCompilerWasmModule(wasm,
|
|
8063
|
+
${buildQueryCompilerWasmModule(wasm, runtimeNameJs)}
|
|
8067
8064
|
${buildInjectableEdgeEnv(edge, datasources)}
|
|
8068
8065
|
${buildWarnEnvConflicts(edge, runtimeBase, runtimeNameJs)}
|
|
8069
8066
|
${buildDebugInitialization(edge)}
|
|
@@ -8539,7 +8536,7 @@ function buildTypedSql({
|
|
|
8539
8536
|
fileMap[`${query.name}.js`] = buildTypedQueryCjs(options);
|
|
8540
8537
|
fileMap[`${query.name}.${edgeRuntimeName}.js`] = buildTypedQueryCjs(edgeOptions);
|
|
8541
8538
|
fileMap[`${query.name}.mjs`] = buildTypedQueryEsm(options);
|
|
8542
|
-
fileMap[`${query.name}.
|
|
8539
|
+
fileMap[`${query.name}.${edgeRuntimeName}.mjs`] = buildTypedQueryEsm(edgeOptions);
|
|
8543
8540
|
}
|
|
8544
8541
|
fileMap["index.d.ts"] = buildIndexTs(queries, enums);
|
|
8545
8542
|
fileMap["index.js"] = buildIndexCjs(queries);
|
|
@@ -8797,7 +8794,7 @@ async function getDefaultOutdir(outputDir) {
|
|
|
8797
8794
|
if (existsSync(path3.join(process.env.INIT_CWD, "package.json"))) {
|
|
8798
8795
|
return path3.join(process.env.INIT_CWD, "node_modules/.prisma/client");
|
|
8799
8796
|
}
|
|
8800
|
-
const packagePath = await
|
|
8797
|
+
const packagePath = await packageUp({ cwd: process.env.INIT_CWD });
|
|
8801
8798
|
if (packagePath) {
|
|
8802
8799
|
return path3.join(path3.dirname(packagePath), "node_modules/.prisma/client");
|
|
8803
8800
|
}
|
|
@@ -8895,7 +8892,8 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
|
|
|
8895
8892
|
}
|
|
8896
8893
|
const schemaTargetPath = path3.join(outputDir, "schema.prisma");
|
|
8897
8894
|
await fs.writeFile(schemaTargetPath, datamodel, { encoding: "utf-8" });
|
|
8898
|
-
|
|
8895
|
+
const runtimeNeedsWasmEngine = clientEngineType === ClientEngineType3.Client || generator.previewFeatures.includes("driverAdapters") && copyEngine;
|
|
8896
|
+
if (runtimeNeedsWasmEngine && isWasmEngineSupported(provider) && !testMode) {
|
|
8899
8897
|
const suffix = provider === "postgres" ? "postgresql" : provider;
|
|
8900
8898
|
const filename = clientEngineType === ClientEngineType3.Client ? "query_compiler_bg" : "query_engine_bg";
|
|
8901
8899
|
const wasmJsBundlePath = path3.join(runtimeSourcePath, `${filename}.${suffix}.wasm-base64.js`);
|
|
@@ -9024,7 +9022,7 @@ async function getGenerationDirs({
|
|
|
9024
9022
|
if (isCustomOutput) {
|
|
9025
9023
|
await verifyOutputDirectory(userOutputDir, datamodel, schemaPath);
|
|
9026
9024
|
}
|
|
9027
|
-
const userPackageRoot = await
|
|
9025
|
+
const userPackageRoot = await packageUp({ cwd: path3.dirname(userOutputDir) });
|
|
9028
9026
|
const userProjectRoot = userPackageRoot ? path3.dirname(userPackageRoot) : process.cwd();
|
|
9029
9027
|
return {
|
|
9030
9028
|
runtimeBase: userRuntimeImport,
|
|
@@ -9151,7 +9149,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
|
|
|
9151
9149
|
import { match } from "ts-pattern";
|
|
9152
9150
|
|
|
9153
9151
|
// package.json
|
|
9154
|
-
var version = "6.16.0-dev.
|
|
9152
|
+
var version = "6.16.0-dev.30";
|
|
9155
9153
|
|
|
9156
9154
|
// src/resolvePrismaClient.ts
|
|
9157
9155
|
var import_execa = __toESM(require_execa());
|
|
@@ -3,4 +3,4 @@ import { TSClientOptions } from '../TSClient/TSClient';
|
|
|
3
3
|
* Builds the necessary glue code to load the query compiler wasm module.
|
|
4
4
|
* @returns
|
|
5
5
|
*/
|
|
6
|
-
export declare function buildQueryCompilerWasmModule(
|
|
6
|
+
export declare function buildQueryCompilerWasmModule(forceEdgeWasmLoader: boolean, runtimeNameJs: TSClientOptions['runtimeNameJs']): "config.compilerWasm = {\n getRuntime: async () => require('./query_compiler_bg.js'),\n getQueryCompilerWasmModule: async () => {\n const queryCompilerWasmFilePath = require('path').join(config.dirname, 'query_compiler_bg.wasm')\n const queryCompilerWasmFileBytes = require('fs').readFileSync(queryCompilerWasmFilePath)\n\n return new WebAssembly.Module(queryCompilerWasmFileBytes)\n }\n }" | "config.compilerWasm = {\n getRuntime: async () => require('./query_compiler_bg.js'),\n getQueryCompilerWasmModule: async () => {\n const loader = (await import('#wasm-compiler-loader')).default\n const compiler = (await loader).default\n return compiler\n }\n}" | "config.compilerWasm = undefined";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-js",
|
|
3
|
-
"version": "6.16.0-dev.
|
|
3
|
+
"version": "6.16.0-dev.30",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -25,27 +25,26 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@antfu/ni": "0.21.12",
|
|
28
|
-
"@prisma/engines-version": "6.16.0-
|
|
28
|
+
"@prisma/engines-version": "6.16.0-6.42747065991212ea20d86c4732cf122c34af160b",
|
|
29
29
|
"ci-info": "4.2.0",
|
|
30
30
|
"env-paths": "2.2.1",
|
|
31
31
|
"indent-string": "4.0.0",
|
|
32
32
|
"klona": "2.0.6",
|
|
33
|
-
"
|
|
33
|
+
"package-up": "5.0.0",
|
|
34
34
|
"pluralize": "8.0.0",
|
|
35
35
|
"ts-pattern": "5.6.2",
|
|
36
|
-
"@prisma/
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/generator": "6.16.0-dev.
|
|
41
|
-
"@prisma/get-platform": "6.16.0-dev.
|
|
42
|
-
"@prisma/internals": "6.16.0-dev.
|
|
43
|
-
"@prisma/ts-builders": "6.16.0-dev.
|
|
36
|
+
"@prisma/client-common": "6.16.0-dev.30",
|
|
37
|
+
"@prisma/debug": "6.16.0-dev.30",
|
|
38
|
+
"@prisma/fetch-engine": "6.16.0-dev.30",
|
|
39
|
+
"@prisma/dmmf": "6.16.0-dev.30",
|
|
40
|
+
"@prisma/generator": "6.16.0-dev.30",
|
|
41
|
+
"@prisma/get-platform": "6.16.0-dev.30",
|
|
42
|
+
"@prisma/internals": "6.16.0-dev.30",
|
|
43
|
+
"@prisma/ts-builders": "6.16.0-dev.30"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/pluralize": "0.0.33",
|
|
47
|
-
"
|
|
48
|
-
"vitest": "3.0.9"
|
|
47
|
+
"vitest": "3.2.4"
|
|
49
48
|
},
|
|
50
49
|
"files": [
|
|
51
50
|
"dist"
|