prisma 6.4.0-dev.4 → 6.4.0-dev.41
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 +821 -758
- package/build/prisma_schema_build_bg.wasm +0 -0
- package/package.json +13 -10
- package/prisma-client/generator-build/index.js +28 -18
- package/prisma-client/package.json +21 -11
- package/prisma-client/runtime/binary.js +83 -85
- package/prisma-client/runtime/client.d.ts +19 -11
- package/prisma-client/runtime/client.js +33 -33
- package/prisma-client/runtime/edge-esm.js +18 -18
- package/prisma-client/runtime/edge.js +18 -18
- package/prisma-client/runtime/index-browser.d.ts +2 -0
- package/prisma-client/runtime/index-browser.js +3 -3
- package/prisma-client/runtime/library.d.ts +19 -11
- package/prisma-client/runtime/library.js +49 -49
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/react-native.d.ts +19 -11
- package/prisma-client/runtime/react-native.js +23 -23
- package/prisma-client/scripts/default-index.js +3 -3
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "6.4.0-dev.
|
|
2
|
+
"version": "6.4.0-dev.41",
|
|
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": "02090bb22a32c96dc69f9efb21f70c61191b6478"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"README.md",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"chokidar": "3.6.0",
|
|
87
87
|
"debug": "4.3.7",
|
|
88
88
|
"dotenv": "16.4.7",
|
|
89
|
+
"env-paths": "2.2.1",
|
|
89
90
|
"esbuild": "0.24.2",
|
|
90
91
|
"execa": "5.1.1",
|
|
91
92
|
"fast-glob": "3.3.3",
|
|
@@ -101,6 +102,7 @@
|
|
|
101
102
|
"node-fetch": "3.3.2",
|
|
102
103
|
"npm-packlist": "5.1.3",
|
|
103
104
|
"open": "7.4.2",
|
|
105
|
+
"ora": "5.4.1",
|
|
104
106
|
"pkg-up": "3.1.0",
|
|
105
107
|
"resolve-pkg": "2.0.0",
|
|
106
108
|
"rimraf": "3.0.2",
|
|
@@ -109,16 +111,17 @@
|
|
|
109
111
|
"typescript": "5.4.5",
|
|
110
112
|
"xdg-app-paths": "8.3.0",
|
|
111
113
|
"zx": "7.2.3",
|
|
112
|
-
"@prisma/
|
|
113
|
-
"@prisma/fetch-engine": "6.4.0-dev.
|
|
114
|
-
"@prisma/
|
|
115
|
-
"@prisma/
|
|
116
|
-
"@prisma/
|
|
117
|
-
"@prisma/
|
|
118
|
-
"@prisma/
|
|
114
|
+
"@prisma/client": "6.4.0-dev.41",
|
|
115
|
+
"@prisma/fetch-engine": "6.4.0-dev.41",
|
|
116
|
+
"@prisma/config": "6.4.0-dev.41",
|
|
117
|
+
"@prisma/debug": "6.4.0-dev.41",
|
|
118
|
+
"@prisma/generator-helper": "6.4.0-dev.41",
|
|
119
|
+
"@prisma/get-platform": "6.4.0-dev.41",
|
|
120
|
+
"@prisma/migrate": "6.4.0-dev.41",
|
|
121
|
+
"@prisma/internals": "6.4.0-dev.41"
|
|
119
122
|
},
|
|
120
123
|
"dependencies": {
|
|
121
|
-
"@prisma/engines": "6.4.0-dev.
|
|
124
|
+
"@prisma/engines": "6.4.0-dev.41"
|
|
122
125
|
},
|
|
123
126
|
"optionalDependencies": {
|
|
124
127
|
"fsevents": "2.3.3"
|
|
@@ -33,18 +33,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/@prisma+engines-version@6.4.0-
|
|
36
|
+
// ../../node_modules/.pnpm/@prisma+engines-version@6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e/node_modules/@prisma/engines-version/package.json
|
|
37
37
|
var require_package = __commonJS({
|
|
38
|
-
"../../node_modules/.pnpm/@prisma+engines-version@6.4.0-
|
|
38
|
+
"../../node_modules/.pnpm/@prisma+engines-version@6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e/node_modules/@prisma/engines-version/package.json"(exports2, module2) {
|
|
39
39
|
module2.exports = {
|
|
40
40
|
name: "@prisma/engines-version",
|
|
41
|
-
version: "6.4.0-
|
|
41
|
+
version: "6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e",
|
|
42
42
|
main: "index.js",
|
|
43
43
|
types: "index.d.ts",
|
|
44
44
|
license: "Apache-2.0",
|
|
45
45
|
author: "Tim Suchanek <suchanek@prisma.io>",
|
|
46
46
|
prisma: {
|
|
47
|
-
enginesVersion: "
|
|
47
|
+
enginesVersion: "6b762f68259116818698cc00c29790aebfc0e55e"
|
|
48
48
|
},
|
|
49
49
|
repository: {
|
|
50
50
|
type: "git",
|
|
@@ -66,9 +66,9 @@ var require_package = __commonJS({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
// ../../node_modules/.pnpm/@prisma+engines-version@6.4.0-
|
|
69
|
+
// ../../node_modules/.pnpm/@prisma+engines-version@6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e/node_modules/@prisma/engines-version/index.js
|
|
70
70
|
var require_engines_version = __commonJS({
|
|
71
|
-
"../../node_modules/.pnpm/@prisma+engines-version@6.4.0-
|
|
71
|
+
"../../node_modules/.pnpm/@prisma+engines-version@6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e/node_modules/@prisma/engines-version/index.js"(exports2) {
|
|
72
72
|
"use strict";
|
|
73
73
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
74
74
|
exports2.enginesVersion = void 0;
|
|
@@ -3946,7 +3946,7 @@ var require_package2 = __commonJS({
|
|
|
3946
3946
|
"package.json"(exports2, module2) {
|
|
3947
3947
|
module2.exports = {
|
|
3948
3948
|
name: "@prisma/client",
|
|
3949
|
-
version: "6.4.0-dev.
|
|
3949
|
+
version: "6.4.0-dev.41",
|
|
3950
3950
|
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.",
|
|
3951
3951
|
keywords: [
|
|
3952
3952
|
"ORM",
|
|
@@ -4036,6 +4036,12 @@ var require_package2 = __commonJS({
|
|
|
4036
4036
|
import: "./wasm.js",
|
|
4037
4037
|
default: "./wasm.js"
|
|
4038
4038
|
},
|
|
4039
|
+
"./runtime/client": {
|
|
4040
|
+
types: "./runtime/client.d.ts",
|
|
4041
|
+
require: "./runtime/client.js",
|
|
4042
|
+
import: "./runtime/client.js",
|
|
4043
|
+
default: "./runtime/client.js"
|
|
4044
|
+
},
|
|
4039
4045
|
"./runtime/library": {
|
|
4040
4046
|
types: "./runtime/library.d.ts",
|
|
4041
4047
|
require: "./runtime/library.js",
|
|
@@ -4086,9 +4092,12 @@ var require_package2 = __commonJS({
|
|
|
4086
4092
|
test: "dotenv -e ../../.db.env -- jest --silent",
|
|
4087
4093
|
"test:e2e": "dotenv -e ../../.db.env -- tsx tests/e2e/_utils/run.ts",
|
|
4088
4094
|
"test:functional": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts",
|
|
4095
|
+
"test:functional:client": "PRISMA_UNSTABLE_CLIENT_ENGINE_TYPE=1 pnpm run test:functional --adapter js_pg --client-runtime client --preview-features driverAdapters --engine-type client --runInBand --json --outputFile tests/functional/results.json decimal",
|
|
4089
4096
|
"test:memory": "dotenv -e ../../.db.env -- tsx helpers/memory-tests.ts",
|
|
4090
4097
|
"test:functional:code": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --no-types",
|
|
4091
4098
|
"test:functional:types": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --types-only",
|
|
4099
|
+
"test:knownQueryCompilerFailures:check": "tsx helpers/functional-test/check-known-failures.ts",
|
|
4100
|
+
"test:knownQueryCompilerFailures:record": "tsx helpers/functional-test/check-known-failures.ts --record",
|
|
4092
4101
|
"test-notypes": "dotenv -e ../../.db.env -- jest --testPathIgnorePatterns src/__tests__/types/types.test.ts",
|
|
4093
4102
|
generate: "node scripts/postinstall.js",
|
|
4094
4103
|
postinstall: "node scripts/postinstall.js",
|
|
@@ -4130,10 +4139,10 @@ var require_package2 = __commonJS({
|
|
|
4130
4139
|
"@libsql/client": "0.8.0",
|
|
4131
4140
|
"@neondatabase/serverless": "0.10.2",
|
|
4132
4141
|
"@opentelemetry/api": "1.9.0",
|
|
4133
|
-
"@opentelemetry/context-async-hooks": "1.
|
|
4134
|
-
"@opentelemetry/instrumentation": "0.
|
|
4135
|
-
"@opentelemetry/resources": "1.
|
|
4136
|
-
"@opentelemetry/sdk-trace-base": "1.
|
|
4142
|
+
"@opentelemetry/context-async-hooks": "1.30.1",
|
|
4143
|
+
"@opentelemetry/instrumentation": "0.57.1",
|
|
4144
|
+
"@opentelemetry/resources": "1.30.1",
|
|
4145
|
+
"@opentelemetry/sdk-trace-base": "1.30.1",
|
|
4137
4146
|
"@opentelemetry/semantic-conventions": "1.28.0",
|
|
4138
4147
|
"@planetscale/database": "1.18.0",
|
|
4139
4148
|
"@prisma/adapter-d1": "workspace:*",
|
|
@@ -4142,10 +4151,11 @@ var require_package2 = __commonJS({
|
|
|
4142
4151
|
"@prisma/adapter-pg": "workspace:*",
|
|
4143
4152
|
"@prisma/adapter-pg-worker": "workspace:*",
|
|
4144
4153
|
"@prisma/adapter-planetscale": "workspace:*",
|
|
4154
|
+
"@prisma/config": "workspace:*",
|
|
4145
4155
|
"@prisma/debug": "workspace:*",
|
|
4146
4156
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
4147
4157
|
"@prisma/engines": "workspace:*",
|
|
4148
|
-
"@prisma/engines-version": "6.4.0-
|
|
4158
|
+
"@prisma/engines-version": "6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e",
|
|
4149
4159
|
"@prisma/fetch-engine": "workspace:*",
|
|
4150
4160
|
"@prisma/generator-helper": "workspace:*",
|
|
4151
4161
|
"@prisma/get-platform": "workspace:*",
|
|
@@ -4154,8 +4164,8 @@ var require_package2 = __commonJS({
|
|
|
4154
4164
|
"@prisma/migrate": "workspace:*",
|
|
4155
4165
|
"@prisma/mini-proxy": "0.9.5",
|
|
4156
4166
|
"@prisma/pg-worker": "workspace:*",
|
|
4157
|
-
"@prisma/query-compiler-wasm": "6.4.0-
|
|
4158
|
-
"@prisma/query-engine-wasm": "6.4.0-
|
|
4167
|
+
"@prisma/query-compiler-wasm": "6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e",
|
|
4168
|
+
"@prisma/query-engine-wasm": "6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e",
|
|
4159
4169
|
"@snaplet/copycat": "0.17.3",
|
|
4160
4170
|
"@swc-node/register": "1.10.9",
|
|
4161
4171
|
"@swc/core": "1.10.11",
|
|
@@ -4171,7 +4181,7 @@ var require_package2 = __commonJS({
|
|
|
4171
4181
|
arg: "5.0.2",
|
|
4172
4182
|
benchmark: "2.1.4",
|
|
4173
4183
|
"ci-info": "4.0.0",
|
|
4174
|
-
"decimal.js": "10.
|
|
4184
|
+
"decimal.js": "10.5.0",
|
|
4175
4185
|
"detect-runtime": "1.0.4",
|
|
4176
4186
|
"env-paths": "2.2.1",
|
|
4177
4187
|
esbuild: "0.24.2",
|
|
@@ -4191,7 +4201,7 @@ var require_package2 = __commonJS({
|
|
|
4191
4201
|
kleur: "4.1.5",
|
|
4192
4202
|
klona: "2.0.6",
|
|
4193
4203
|
mariadb: "3.3.1",
|
|
4194
|
-
memfs: "4.
|
|
4204
|
+
memfs: "4.17.0",
|
|
4195
4205
|
mssql: "11.0.1",
|
|
4196
4206
|
"new-github-issue-url": "0.2.1",
|
|
4197
4207
|
"node-fetch": "3.3.2",
|
|
@@ -4212,7 +4222,7 @@ var require_package2 = __commonJS({
|
|
|
4212
4222
|
"ts-pattern": "5.6.2",
|
|
4213
4223
|
tsd: "0.31.2",
|
|
4214
4224
|
typescript: "5.4.5",
|
|
4215
|
-
undici: "7.
|
|
4225
|
+
undici: "7.3.0",
|
|
4216
4226
|
wrangler: "3.91.0",
|
|
4217
4227
|
zx: "7.2.3"
|
|
4218
4228
|
},
|
|
@@ -8580,7 +8590,7 @@ function buildMapForRuntime(list) {
|
|
|
8580
8590
|
function buildRuntimeDataModel(datamodel, runtimeNameJs) {
|
|
8581
8591
|
const runtimeDataModel = dmmfToRuntimeDataModel(datamodel);
|
|
8582
8592
|
let prunedDataModel;
|
|
8583
|
-
if (runtimeNameJs === "wasm") {
|
|
8593
|
+
if (runtimeNameJs === "wasm" || runtimeNameJs === "client") {
|
|
8584
8594
|
prunedDataModel = pruneRuntimeDataModel(runtimeDataModel);
|
|
8585
8595
|
} else {
|
|
8586
8596
|
prunedDataModel = runtimeDataModel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.41",
|
|
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",
|
|
@@ -90,6 +90,12 @@
|
|
|
90
90
|
"import": "./wasm.js",
|
|
91
91
|
"default": "./wasm.js"
|
|
92
92
|
},
|
|
93
|
+
"./runtime/client": {
|
|
94
|
+
"types": "./runtime/client.d.ts",
|
|
95
|
+
"require": "./runtime/client.js",
|
|
96
|
+
"import": "./runtime/client.js",
|
|
97
|
+
"default": "./runtime/client.js"
|
|
98
|
+
},
|
|
93
99
|
"./runtime/library": {
|
|
94
100
|
"types": "./runtime/library.d.ts",
|
|
95
101
|
"require": "./runtime/library.js",
|
|
@@ -140,9 +146,12 @@
|
|
|
140
146
|
"test": "dotenv -e ../../.db.env -- jest --silent",
|
|
141
147
|
"test:e2e": "dotenv -e ../../.db.env -- tsx tests/e2e/_utils/run.ts",
|
|
142
148
|
"test:functional": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts",
|
|
149
|
+
"test:functional:client": "PRISMA_UNSTABLE_CLIENT_ENGINE_TYPE=1 pnpm run test:functional --adapter js_pg --client-runtime client --preview-features driverAdapters --engine-type client --runInBand --json --outputFile tests/functional/results.json decimal",
|
|
143
150
|
"test:memory": "dotenv -e ../../.db.env -- tsx helpers/memory-tests.ts",
|
|
144
151
|
"test:functional:code": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --no-types",
|
|
145
152
|
"test:functional:types": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --types-only",
|
|
153
|
+
"test:knownQueryCompilerFailures:check": "tsx helpers/functional-test/check-known-failures.ts",
|
|
154
|
+
"test:knownQueryCompilerFailures:record": "tsx helpers/functional-test/check-known-failures.ts --record",
|
|
146
155
|
"test-notypes": "dotenv -e ../../.db.env -- jest --testPathIgnorePatterns src/__tests__/types/types.test.ts",
|
|
147
156
|
"generate": "node scripts/postinstall.js",
|
|
148
157
|
"postinstall": "node scripts/postinstall.js",
|
|
@@ -184,10 +193,10 @@
|
|
|
184
193
|
"@libsql/client": "0.8.0",
|
|
185
194
|
"@neondatabase/serverless": "0.10.2",
|
|
186
195
|
"@opentelemetry/api": "1.9.0",
|
|
187
|
-
"@opentelemetry/context-async-hooks": "1.
|
|
188
|
-
"@opentelemetry/instrumentation": "0.
|
|
189
|
-
"@opentelemetry/resources": "1.
|
|
190
|
-
"@opentelemetry/sdk-trace-base": "1.
|
|
196
|
+
"@opentelemetry/context-async-hooks": "1.30.1",
|
|
197
|
+
"@opentelemetry/instrumentation": "0.57.1",
|
|
198
|
+
"@opentelemetry/resources": "1.30.1",
|
|
199
|
+
"@opentelemetry/sdk-trace-base": "1.30.1",
|
|
191
200
|
"@opentelemetry/semantic-conventions": "1.28.0",
|
|
192
201
|
"@planetscale/database": "1.18.0",
|
|
193
202
|
"@prisma/adapter-d1": "workspace:*",
|
|
@@ -196,10 +205,11 @@
|
|
|
196
205
|
"@prisma/adapter-pg": "workspace:*",
|
|
197
206
|
"@prisma/adapter-pg-worker": "workspace:*",
|
|
198
207
|
"@prisma/adapter-planetscale": "workspace:*",
|
|
208
|
+
"@prisma/config": "workspace:*",
|
|
199
209
|
"@prisma/debug": "workspace:*",
|
|
200
210
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
201
211
|
"@prisma/engines": "workspace:*",
|
|
202
|
-
"@prisma/engines-version": "6.4.0-
|
|
212
|
+
"@prisma/engines-version": "6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e",
|
|
203
213
|
"@prisma/fetch-engine": "workspace:*",
|
|
204
214
|
"@prisma/generator-helper": "workspace:*",
|
|
205
215
|
"@prisma/get-platform": "workspace:*",
|
|
@@ -208,8 +218,8 @@
|
|
|
208
218
|
"@prisma/migrate": "workspace:*",
|
|
209
219
|
"@prisma/mini-proxy": "0.9.5",
|
|
210
220
|
"@prisma/pg-worker": "workspace:*",
|
|
211
|
-
"@prisma/query-compiler-wasm": "6.4.0-
|
|
212
|
-
"@prisma/query-engine-wasm": "6.4.0-
|
|
221
|
+
"@prisma/query-compiler-wasm": "6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e",
|
|
222
|
+
"@prisma/query-engine-wasm": "6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e",
|
|
213
223
|
"@snaplet/copycat": "0.17.3",
|
|
214
224
|
"@swc-node/register": "1.10.9",
|
|
215
225
|
"@swc/core": "1.10.11",
|
|
@@ -225,7 +235,7 @@
|
|
|
225
235
|
"arg": "5.0.2",
|
|
226
236
|
"benchmark": "2.1.4",
|
|
227
237
|
"ci-info": "4.0.0",
|
|
228
|
-
"decimal.js": "10.
|
|
238
|
+
"decimal.js": "10.5.0",
|
|
229
239
|
"detect-runtime": "1.0.4",
|
|
230
240
|
"env-paths": "2.2.1",
|
|
231
241
|
"esbuild": "0.24.2",
|
|
@@ -245,7 +255,7 @@
|
|
|
245
255
|
"kleur": "4.1.5",
|
|
246
256
|
"klona": "2.0.6",
|
|
247
257
|
"mariadb": "3.3.1",
|
|
248
|
-
"memfs": "4.
|
|
258
|
+
"memfs": "4.17.0",
|
|
249
259
|
"mssql": "11.0.1",
|
|
250
260
|
"new-github-issue-url": "0.2.1",
|
|
251
261
|
"node-fetch": "3.3.2",
|
|
@@ -266,7 +276,7 @@
|
|
|
266
276
|
"ts-pattern": "5.6.2",
|
|
267
277
|
"tsd": "0.31.2",
|
|
268
278
|
"typescript": "5.4.5",
|
|
269
|
-
"undici": "7.
|
|
279
|
+
"undici": "7.3.0",
|
|
270
280
|
"wrangler": "3.91.0",
|
|
271
281
|
"zx": "7.2.3"
|
|
272
282
|
},
|