prisma 6.16.0-dev.27 → 6.16.0-dev.29
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/build/index.js +98 -98
- package/package.json +14 -14
- package/prisma-client/generator-build/index.js +8 -7
- package/prisma-client/package.json +1 -1
- package/prisma-client/runtime/binary.js +3 -3
- package/prisma-client/runtime/binary.js.map +2 -2
- package/prisma-client/runtime/binary.mjs +3 -3
- package/prisma-client/runtime/binary.mjs.map +2 -2
- package/prisma-client/runtime/client.js +3 -3
- package/prisma-client/runtime/client.js.map +2 -2
- package/prisma-client/runtime/client.mjs +3 -3
- package/prisma-client/runtime/client.mjs.map +2 -2
- package/prisma-client/runtime/edge-esm.js +3 -3
- package/prisma-client/runtime/edge-esm.js.map +4 -4
- package/prisma-client/runtime/edge.js +3 -3
- package/prisma-client/runtime/edge.js.map +4 -4
- package/prisma-client/runtime/library.js +3 -3
- package/prisma-client/runtime/library.js.map +2 -2
- package/prisma-client/runtime/library.mjs +3 -3
- package/prisma-client/runtime/library.mjs.map +2 -2
- package/prisma-client/runtime/react-native.js +3 -3
- package/prisma-client/runtime/react-native.js.map +4 -4
- package/prisma-client/scripts/default-index.js +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "6.16.0-dev.
|
|
2
|
+
"version": "6.16.0-dev.29",
|
|
3
3
|
"name": "prisma",
|
|
4
4
|
"description": "Prisma is an open-source database toolkit. It includes a JavaScript/TypeScript ORM for Node.js, migrations and a modern GUI to view and edit the data in your database. You can use Prisma in new projects or add it to an existing one.",
|
|
5
5
|
"keywords": [
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"node": ">=18.18"
|
|
43
43
|
},
|
|
44
44
|
"prisma": {
|
|
45
|
-
"prismaCommit": "
|
|
45
|
+
"prismaCommit": "9938768fde8d5d8d012852d2df63ca900049b243"
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
48
|
"README.md",
|
|
@@ -149,20 +149,20 @@
|
|
|
149
149
|
"xdg-app-paths": "8.3.0",
|
|
150
150
|
"zod": "3.24.2",
|
|
151
151
|
"zx": "8.4.1",
|
|
152
|
-
"@prisma/
|
|
153
|
-
"@prisma/
|
|
154
|
-
"@prisma/
|
|
155
|
-
"@prisma/
|
|
156
|
-
"@prisma/
|
|
157
|
-
"@prisma/fetch-engine": "6.16.0-dev.
|
|
158
|
-
"@prisma/
|
|
159
|
-
"@prisma/
|
|
160
|
-
"@prisma/
|
|
161
|
-
"@prisma/
|
|
152
|
+
"@prisma/adapter-libsql": "6.16.0-dev.29",
|
|
153
|
+
"@prisma/debug": "6.16.0-dev.29",
|
|
154
|
+
"@prisma/client-generator-registry": "6.16.0-dev.29",
|
|
155
|
+
"@prisma/client": "6.16.0-dev.29",
|
|
156
|
+
"@prisma/dmmf": "6.16.0-dev.29",
|
|
157
|
+
"@prisma/fetch-engine": "6.16.0-dev.29",
|
|
158
|
+
"@prisma/get-platform": "6.16.0-dev.29",
|
|
159
|
+
"@prisma/migrate": "6.16.0-dev.29",
|
|
160
|
+
"@prisma/internals": "6.16.0-dev.29",
|
|
161
|
+
"@prisma/generator": "6.16.0-dev.29"
|
|
162
162
|
},
|
|
163
163
|
"dependencies": {
|
|
164
|
-
"@prisma/
|
|
165
|
-
"@prisma/
|
|
164
|
+
"@prisma/config": "6.16.0-dev.29",
|
|
165
|
+
"@prisma/engines": "6.16.0-dev.29"
|
|
166
166
|
},
|
|
167
167
|
"peerDependencies": {
|
|
168
168
|
"typescript": ">=5.1.0"
|
|
@@ -7394,7 +7394,7 @@ var import_path6 = __toESM(require("path"));
|
|
|
7394
7394
|
// package.json
|
|
7395
7395
|
var package_default = {
|
|
7396
7396
|
name: "@prisma/client",
|
|
7397
|
-
version: "6.16.0-dev.
|
|
7397
|
+
version: "6.16.0-dev.29",
|
|
7398
7398
|
description: "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
|
|
7399
7399
|
keywords: [
|
|
7400
7400
|
"ORM",
|
|
@@ -11018,8 +11018,8 @@ defineDmmfProperty(exports.Prisma, config.runtimeDataModel)`;
|
|
|
11018
11018
|
}
|
|
11019
11019
|
|
|
11020
11020
|
// ../client-generator-js/src/utils/buildGetQueryCompilerWasmModule.ts
|
|
11021
|
-
function buildQueryCompilerWasmModule(
|
|
11022
|
-
if (
|
|
11021
|
+
function buildQueryCompilerWasmModule(forceEdgeWasmLoader, runtimeNameJs) {
|
|
11022
|
+
if (runtimeNameJs === "client" && !forceEdgeWasmLoader) {
|
|
11023
11023
|
return `config.compilerWasm = {
|
|
11024
11024
|
getRuntime: async () => require('./query_compiler_bg.js'),
|
|
11025
11025
|
getQueryCompilerWasmModule: async () => {
|
|
@@ -11030,7 +11030,7 @@ function buildQueryCompilerWasmModule(wasm, copyCompiler, runtimeNameJs) {
|
|
|
11030
11030
|
}
|
|
11031
11031
|
}`;
|
|
11032
11032
|
}
|
|
11033
|
-
if (
|
|
11033
|
+
if (runtimeNameJs === "client" && forceEdgeWasmLoader || runtimeNameJs === "wasm-compiler-edge") {
|
|
11034
11034
|
return `config.compilerWasm = {
|
|
11035
11035
|
getRuntime: async () => require('./query_compiler_bg.js'),
|
|
11036
11036
|
getQueryCompilerWasmModule: async () => {
|
|
@@ -12437,7 +12437,7 @@ const config = ${JSON.stringify(config, null, 2)}
|
|
|
12437
12437
|
${buildDirname(edge, relativeOutdir)}
|
|
12438
12438
|
${buildRuntimeDataModel(this.dmmf.datamodel, runtimeNameJs)}
|
|
12439
12439
|
${buildQueryEngineWasmModule(wasm, copyEngine, runtimeNameJs)}
|
|
12440
|
-
${buildQueryCompilerWasmModule(wasm,
|
|
12440
|
+
${buildQueryCompilerWasmModule(wasm, runtimeNameJs)}
|
|
12441
12441
|
${buildInjectableEdgeEnv(edge, datasources)}
|
|
12442
12442
|
${buildWarnEnvConflicts(edge, runtimeBase, runtimeNameJs)}
|
|
12443
12443
|
${buildDebugInitialization(edge)}
|
|
@@ -13259,7 +13259,8 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
|
|
|
13259
13259
|
}
|
|
13260
13260
|
const schemaTargetPath = import_path6.default.join(outputDir, "schema.prisma");
|
|
13261
13261
|
await import_promises2.default.writeFile(schemaTargetPath, datamodel, { encoding: "utf-8" });
|
|
13262
|
-
|
|
13262
|
+
const runtimeNeedsWasmEngine = clientEngineType === "client" /* Client */ || generator.previewFeatures.includes("driverAdapters") && copyEngine;
|
|
13263
|
+
if (runtimeNeedsWasmEngine && isWasmEngineSupported(provider) && !testMode) {
|
|
13263
13264
|
const suffix = provider === "postgres" ? "postgresql" : provider;
|
|
13264
13265
|
const filename = clientEngineType === "client" /* Client */ ? "query_compiler_bg" : "query_engine_bg";
|
|
13265
13266
|
const wasmJsBundlePath = import_path6.default.join(runtimeSourcePath, `${filename}.${suffix}.wasm-base64.js`);
|
|
@@ -13512,7 +13513,7 @@ var import_node_path4 = __toESM(require("node:path"));
|
|
|
13512
13513
|
var import_engines_version = __toESM(require_engines_version());
|
|
13513
13514
|
|
|
13514
13515
|
// ../client-generator-js/package.json
|
|
13515
|
-
var version = "6.16.0-dev.
|
|
13516
|
+
var version = "6.16.0-dev.29";
|
|
13516
13517
|
|
|
13517
13518
|
// ../client-generator-js/src/resolvePrismaClient.ts
|
|
13518
13519
|
var import_promises5 = __toESM(require("node:fs/promises"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client",
|
|
3
|
-
"version": "6.16.0-dev.
|
|
3
|
+
"version": "6.16.0-dev.29",
|
|
4
4
|
"description": "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ORM",
|