prisma 6.9.0-dev.9 → 6.9.0-integration-push-xtvzqtsrpwpk.3
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 +545 -543
- package/build/prisma_schema_build_bg.wasm +0 -0
- package/build/schema_engine_bg.wasm +0 -0
- package/package.json +14 -14
- package/prisma-client/generator-build/index.js +31 -24
- package/prisma-client/package.json +16 -10
- package/prisma-client/runtime/binary.js +17 -17
- package/prisma-client/runtime/binary.mjs +23 -23
- package/prisma-client/runtime/client.d.mts +23 -17
- package/prisma-client/runtime/client.d.ts +23 -17
- package/prisma-client/runtime/client.js +38 -38
- package/prisma-client/runtime/client.mjs +38 -38
- package/prisma-client/runtime/edge-esm.js +14 -14
- package/prisma-client/runtime/edge.d.ts +23 -17
- package/prisma-client/runtime/edge.js +14 -14
- package/prisma-client/runtime/library.d.mts +23 -17
- package/prisma-client/runtime/library.d.ts +23 -17
- package/prisma-client/runtime/library.js +21 -21
- package/prisma-client/runtime/library.mjs +28 -28
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.mysql.mjs +1 -1
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.mjs +1 -1
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.mjs +1 -1
- package/prisma-client/runtime/react-native.d.ts +23 -17
- package/prisma-client/runtime/react-native.js +17 -17
- package/prisma-client/scripts/default-index.js +3 -3
Binary file
|
Binary file
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "6.9.0-
|
2
|
+
"version": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
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": [
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"node": ">=18.18"
|
42
42
|
},
|
43
43
|
"prisma": {
|
44
|
-
"prismaCommit": "
|
44
|
+
"prismaCommit": "e27db6ba4085f98b5a17179f778315749dc54c18"
|
45
45
|
},
|
46
46
|
"files": [
|
47
47
|
"README.md",
|
@@ -153,20 +153,20 @@
|
|
153
153
|
"xdg-app-paths": "8.3.0",
|
154
154
|
"zod": "3.24.2",
|
155
155
|
"zx": "8.4.1",
|
156
|
-
"@prisma/client": "6.9.0-
|
157
|
-
"@prisma/adapter-libsql": "6.9.0-
|
158
|
-
"@prisma/client-generator-registry": "6.9.0-
|
159
|
-
"@prisma/debug": "6.9.0-
|
160
|
-
"@prisma/
|
161
|
-
"@prisma/
|
162
|
-
"@prisma/generator": "6.9.0-
|
163
|
-
"@prisma/
|
164
|
-
"@prisma/
|
165
|
-
"@prisma/
|
156
|
+
"@prisma/client": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
157
|
+
"@prisma/adapter-libsql": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
158
|
+
"@prisma/client-generator-registry": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
159
|
+
"@prisma/debug": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
160
|
+
"@prisma/fetch-engine": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
161
|
+
"@prisma/dmmf": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
162
|
+
"@prisma/generator": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
163
|
+
"@prisma/get-platform": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
164
|
+
"@prisma/internals": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
165
|
+
"@prisma/migrate": "6.9.0-integration-push-xtvzqtsrpwpk.3"
|
166
166
|
},
|
167
167
|
"dependencies": {
|
168
|
-
"@prisma/config": "6.9.0-
|
169
|
-
"@prisma/engines": "6.9.0-
|
168
|
+
"@prisma/config": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
169
|
+
"@prisma/engines": "6.9.0-integration-push-xtvzqtsrpwpk.3"
|
170
170
|
},
|
171
171
|
"peerDependencies": {
|
172
172
|
"typescript": ">=5.1.0"
|
@@ -4515,18 +4515,18 @@ var require_common_path_prefix = __commonJS({
|
|
4515
4515
|
}
|
4516
4516
|
});
|
4517
4517
|
|
4518
|
-
// ../../node_modules/.pnpm/@prisma+engines-version@6.
|
4518
|
+
// ../../node_modules/.pnpm/@prisma+engines-version@6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686/node_modules/@prisma/engines-version/package.json
|
4519
4519
|
var require_package = __commonJS({
|
4520
|
-
"../../node_modules/.pnpm/@prisma+engines-version@6.
|
4520
|
+
"../../node_modules/.pnpm/@prisma+engines-version@6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686/node_modules/@prisma/engines-version/package.json"(exports2, module2) {
|
4521
4521
|
module2.exports = {
|
4522
4522
|
name: "@prisma/engines-version",
|
4523
|
-
version: "6.
|
4523
|
+
version: "6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686",
|
4524
4524
|
main: "index.js",
|
4525
4525
|
types: "index.d.ts",
|
4526
4526
|
license: "Apache-2.0",
|
4527
4527
|
author: "Tim Suchanek <suchanek@prisma.io>",
|
4528
4528
|
prisma: {
|
4529
|
-
enginesVersion: "
|
4529
|
+
enginesVersion: "7964919760fdc6e0123bfc099b6d157b42d2e686"
|
4530
4530
|
},
|
4531
4531
|
repository: {
|
4532
4532
|
type: "git",
|
@@ -4548,9 +4548,9 @@ var require_package = __commonJS({
|
|
4548
4548
|
}
|
4549
4549
|
});
|
4550
4550
|
|
4551
|
-
// ../../node_modules/.pnpm/@prisma+engines-version@6.
|
4551
|
+
// ../../node_modules/.pnpm/@prisma+engines-version@6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686/node_modules/@prisma/engines-version/index.js
|
4552
4552
|
var require_engines_version = __commonJS({
|
4553
|
-
"../../node_modules/.pnpm/@prisma+engines-version@6.
|
4553
|
+
"../../node_modules/.pnpm/@prisma+engines-version@6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686/node_modules/@prisma/engines-version/index.js"(exports2) {
|
4554
4554
|
"use strict";
|
4555
4555
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
4556
4556
|
exports2.enginesVersion = void 0;
|
@@ -7542,7 +7542,7 @@ var import_pkg_up = __toESM(require_pkg_up());
|
|
7542
7542
|
// package.json
|
7543
7543
|
var package_default = {
|
7544
7544
|
name: "@prisma/client",
|
7545
|
-
version: "6.9.0-
|
7545
|
+
version: "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
7546
7546
|
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.",
|
7547
7547
|
keywords: [
|
7548
7548
|
"ORM",
|
@@ -7650,11 +7650,17 @@ var package_default = {
|
|
7650
7650
|
import: "./runtime/binary.mjs",
|
7651
7651
|
default: "./runtime/binary.mjs"
|
7652
7652
|
},
|
7653
|
-
"./runtime/wasm": {
|
7654
|
-
types: "./runtime/wasm.d.ts",
|
7655
|
-
require: "./runtime/wasm.js",
|
7656
|
-
import: "./runtime/wasm.mjs",
|
7657
|
-
default: "./runtime/wasm.mjs"
|
7653
|
+
"./runtime/wasm-engine-edge": {
|
7654
|
+
types: "./runtime/wasm-engine-edge.d.ts",
|
7655
|
+
require: "./runtime/wasm-engine-edge.js",
|
7656
|
+
import: "./runtime/wasm-engine-edge.mjs",
|
7657
|
+
default: "./runtime/wasm-engine-edge.mjs"
|
7658
|
+
},
|
7659
|
+
"./runtime/wasm-compiler-edge": {
|
7660
|
+
types: "./runtime/wasm-compiler-edge.d.ts",
|
7661
|
+
require: "./runtime/wasm-compiler-edge.js",
|
7662
|
+
import: "./runtime/wasm-compiler-edge.mjs",
|
7663
|
+
default: "./runtime/wasm-compiler-edge.mjs"
|
7658
7664
|
},
|
7659
7665
|
"./runtime/edge": {
|
7660
7666
|
types: "./runtime/edge.d.ts",
|
@@ -7706,7 +7712,7 @@ var package_default = {
|
|
7706
7712
|
test: "dotenv -e ../../.db.env -- jest --silent",
|
7707
7713
|
"test:e2e": "dotenv -e ../../.db.env -- tsx tests/e2e/_utils/run.ts",
|
7708
7714
|
"test:functional": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts",
|
7709
|
-
"test:functional:client": "pnpm run test:functional --
|
7715
|
+
"test:functional:client": "pnpm run test:functional --client-runtime client --preview-features driverAdapters,queryCompiler --engine-type client --runInBand --json --outputFile tests/functional/results.json",
|
7710
7716
|
"test:memory": "dotenv -e ../../.db.env -- tsx helpers/memory-tests.ts",
|
7711
7717
|
"test:functional:code": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --no-types",
|
7712
7718
|
"test:functional:types": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --types-only",
|
@@ -7775,7 +7781,7 @@ var package_default = {
|
|
7775
7781
|
"@prisma/dmmf": "workspace:*",
|
7776
7782
|
"@prisma/driver-adapter-utils": "workspace:*",
|
7777
7783
|
"@prisma/engines": "workspace:*",
|
7778
|
-
"@prisma/engines-version": "6.
|
7784
|
+
"@prisma/engines-version": "6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686",
|
7779
7785
|
"@prisma/fetch-engine": "workspace:*",
|
7780
7786
|
"@prisma/generator": "workspace:*",
|
7781
7787
|
"@prisma/generator-helper": "workspace:*",
|
@@ -7785,8 +7791,8 @@ var package_default = {
|
|
7785
7791
|
"@prisma/migrate": "workspace:*",
|
7786
7792
|
"@prisma/mini-proxy": "0.9.5",
|
7787
7793
|
"@prisma/pg-worker": "workspace:*",
|
7788
|
-
"@prisma/query-compiler-wasm": "6.
|
7789
|
-
"@prisma/query-engine-wasm": "6.
|
7794
|
+
"@prisma/query-compiler-wasm": "6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686",
|
7795
|
+
"@prisma/query-engine-wasm": "6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686",
|
7790
7796
|
"@prisma/ts-builders": "workspace:*",
|
7791
7797
|
"@snaplet/copycat": "6.0.0",
|
7792
7798
|
"@swc-node/register": "1.10.9",
|
@@ -10998,7 +11004,7 @@ function buildDirnameDefault() {
|
|
10998
11004
|
function buildRuntimeDataModel(datamodel, runtimeNameJs) {
|
10999
11005
|
const runtimeDataModel = dmmfToRuntimeDataModel(datamodel);
|
11000
11006
|
let prunedDataModel;
|
11001
|
-
if (runtimeNameJs === "wasm" || runtimeNameJs === "client") {
|
11007
|
+
if (runtimeNameJs === "wasm-engine-edge" || runtimeNameJs === "wasm-compiler-edge" || runtimeNameJs === "client") {
|
11002
11008
|
prunedDataModel = pruneRuntimeDataModel(runtimeDataModel);
|
11003
11009
|
} else {
|
11004
11010
|
prunedDataModel = runtimeDataModel;
|
@@ -11022,7 +11028,7 @@ function buildQueryCompilerWasmModule(wasm, copyCompiler, runtimeNameJs) {
|
|
11022
11028
|
}
|
11023
11029
|
}`;
|
11024
11030
|
}
|
11025
|
-
if (copyCompiler && runtimeNameJs === "client" && wasm === true) {
|
11031
|
+
if (copyCompiler && (runtimeNameJs === "client" && wasm === true || runtimeNameJs === "wasm-compiler-edge")) {
|
11026
11032
|
return `config.compilerWasm = {
|
11027
11033
|
getRuntime: async () => require('./query_compiler_bg.js'),
|
11028
11034
|
getQueryCompilerWasmModule: async () => {
|
@@ -11048,7 +11054,7 @@ function buildQueryEngineWasmModule(wasm, copyEngine, runtimeNameJs) {
|
|
11048
11054
|
}
|
11049
11055
|
}`;
|
11050
11056
|
}
|
11051
|
-
if (copyEngine && wasm === true) {
|
11057
|
+
if (copyEngine && wasm === true && runtimeNameJs === "wasm-engine-edge") {
|
11052
11058
|
return `config.engineWasm = {
|
11053
11059
|
getRuntime: async () => require('./query_engine_bg.js'),
|
11054
11060
|
getQueryEngineWasmModule: async () => {
|
@@ -13058,8 +13064,8 @@ async function buildClient({
|
|
13058
13064
|
fileMap["react-native.d.ts"] = TS(rnTsClient);
|
13059
13065
|
}
|
13060
13066
|
const usesWasmRuntime = generator.previewFeatures.includes("driverAdapters");
|
13067
|
+
const usesClientEngine = clientEngineType === "client" /* Client */;
|
13061
13068
|
if (usesWasmRuntime) {
|
13062
|
-
const usesClientEngine = clientEngineType === "client" /* Client */;
|
13063
13069
|
fileMap["default.js"] = JS(trampolineTsClient);
|
13064
13070
|
fileMap["default.d.ts"] = TS(trampolineTsClient);
|
13065
13071
|
if (usesClientEngine) {
|
@@ -13097,7 +13103,7 @@ async function buildClient({
|
|
13097
13103
|
};
|
13098
13104
|
const wasmClient = new TSClient({
|
13099
13105
|
...baseClientOptions,
|
13100
|
-
runtimeNameJs: "wasm",
|
13106
|
+
runtimeNameJs: usesClientEngine ? "wasm-compiler-edge" : "wasm-engine-edge",
|
13101
13107
|
runtimeNameTs: "library.js",
|
13102
13108
|
reusedTs: "default",
|
13103
13109
|
edge: true,
|
@@ -13110,7 +13116,7 @@ async function buildClient({
|
|
13110
13116
|
fileMap["wasm.d.ts"] = fileMap["default.d.ts"];
|
13111
13117
|
}
|
13112
13118
|
if (typedSql && typedSql.length > 0) {
|
13113
|
-
const edgeRuntimeName = usesWasmRuntime ? "wasm" : "edge";
|
13119
|
+
const edgeRuntimeName = usesWasmRuntime ? usesClientEngine ? "wasm-compiler-edge" : "wasm-engine-edge" : "edge";
|
13114
13120
|
const cjsEdgeIndex = `./sql/index.${edgeRuntimeName}.js`;
|
13115
13121
|
const esmEdgeIndex = `./sql/index.${edgeRuntimeName}.mjs`;
|
13116
13122
|
pkgJson.exports["./sql"] = {
|
@@ -13471,7 +13477,8 @@ async function copyRuntimeFiles({ from, to, runtimeName, sourceMaps }) {
|
|
13471
13477
|
"edge.js",
|
13472
13478
|
"edge-esm.js",
|
13473
13479
|
"react-native.js",
|
13474
|
-
"wasm.js"
|
13480
|
+
"wasm-engine-edge.js",
|
13481
|
+
"wasm-compiler-edge.js"
|
13475
13482
|
];
|
13476
13483
|
files.push(`${runtimeName}.js`);
|
13477
13484
|
if (runtimeName !== "library") {
|
@@ -13517,7 +13524,7 @@ var import_node_path3 = __toESM(require("node:path"));
|
|
13517
13524
|
var import_engines_version = __toESM(require_engines_version());
|
13518
13525
|
|
13519
13526
|
// ../client-generator-js/package.json
|
13520
|
-
var version = "6.9.0-
|
13527
|
+
var version = "6.9.0-integration-push-xtvzqtsrpwpk.3";
|
13521
13528
|
|
13522
13529
|
// ../client-generator-js/src/resolvePrismaClient.ts
|
13523
13530
|
var import_promises4 = __toESM(require("node:fs/promises"));
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prisma/client",
|
3
|
-
"version": "6.9.0-
|
3
|
+
"version": "6.9.0-integration-push-xtvzqtsrpwpk.3",
|
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",
|
@@ -108,11 +108,17 @@
|
|
108
108
|
"import": "./runtime/binary.mjs",
|
109
109
|
"default": "./runtime/binary.mjs"
|
110
110
|
},
|
111
|
-
"./runtime/wasm": {
|
112
|
-
"types": "./runtime/wasm.d.ts",
|
113
|
-
"require": "./runtime/wasm.js",
|
114
|
-
"import": "./runtime/wasm.mjs",
|
115
|
-
"default": "./runtime/wasm.mjs"
|
111
|
+
"./runtime/wasm-engine-edge": {
|
112
|
+
"types": "./runtime/wasm-engine-edge.d.ts",
|
113
|
+
"require": "./runtime/wasm-engine-edge.js",
|
114
|
+
"import": "./runtime/wasm-engine-edge.mjs",
|
115
|
+
"default": "./runtime/wasm-engine-edge.mjs"
|
116
|
+
},
|
117
|
+
"./runtime/wasm-compiler-edge": {
|
118
|
+
"types": "./runtime/wasm-compiler-edge.d.ts",
|
119
|
+
"require": "./runtime/wasm-compiler-edge.js",
|
120
|
+
"import": "./runtime/wasm-compiler-edge.mjs",
|
121
|
+
"default": "./runtime/wasm-compiler-edge.mjs"
|
116
122
|
},
|
117
123
|
"./runtime/edge": {
|
118
124
|
"types": "./runtime/edge.d.ts",
|
@@ -164,7 +170,7 @@
|
|
164
170
|
"test": "dotenv -e ../../.db.env -- jest --silent",
|
165
171
|
"test:e2e": "dotenv -e ../../.db.env -- tsx tests/e2e/_utils/run.ts",
|
166
172
|
"test:functional": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts",
|
167
|
-
"test:functional:client": "pnpm run test:functional --
|
173
|
+
"test:functional:client": "pnpm run test:functional --client-runtime client --preview-features driverAdapters,queryCompiler --engine-type client --runInBand --json --outputFile tests/functional/results.json",
|
168
174
|
"test:memory": "dotenv -e ../../.db.env -- tsx helpers/memory-tests.ts",
|
169
175
|
"test:functional:code": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --no-types",
|
170
176
|
"test:functional:types": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --types-only",
|
@@ -233,7 +239,7 @@
|
|
233
239
|
"@prisma/dmmf": "workspace:*",
|
234
240
|
"@prisma/driver-adapter-utils": "workspace:*",
|
235
241
|
"@prisma/engines": "workspace:*",
|
236
|
-
"@prisma/engines-version": "6.
|
242
|
+
"@prisma/engines-version": "6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686",
|
237
243
|
"@prisma/fetch-engine": "workspace:*",
|
238
244
|
"@prisma/generator": "workspace:*",
|
239
245
|
"@prisma/generator-helper": "workspace:*",
|
@@ -243,8 +249,8 @@
|
|
243
249
|
"@prisma/migrate": "workspace:*",
|
244
250
|
"@prisma/mini-proxy": "0.9.5",
|
245
251
|
"@prisma/pg-worker": "workspace:*",
|
246
|
-
"@prisma/query-compiler-wasm": "6.
|
247
|
-
"@prisma/query-engine-wasm": "6.
|
252
|
+
"@prisma/query-compiler-wasm": "6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686",
|
253
|
+
"@prisma/query-engine-wasm": "6.9.0-9.7964919760fdc6e0123bfc099b6d157b42d2e686",
|
248
254
|
"@prisma/ts-builders": "workspace:*",
|
249
255
|
"@snaplet/copycat": "6.0.0",
|
250
256
|
"@swc-node/register": "1.10.9",
|