@prisma/client 6.19.0-integration-next.4 → 6.19.0-integration-next.5
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/generator-build/index.js +3 -39
- package/package.json +29 -44
- package/runtime/binary.js +28 -28
- package/runtime/binary.js.map +2 -2
- package/runtime/binary.mjs +35 -35
- package/runtime/binary.mjs.map +2 -2
- package/runtime/client.d.mts +0 -3
- package/runtime/client.d.ts +0 -3
- package/runtime/client.js +3 -3
- package/runtime/client.js.map +2 -2
- package/runtime/client.mjs +3 -3
- package/runtime/client.mjs.map +2 -2
- package/runtime/library.d.mts +0 -3
- package/runtime/library.d.ts +0 -3
- package/runtime/library.js +16 -16
- package/runtime/library.js.map +2 -2
- package/runtime/library.mjs +20 -20
- package/runtime/library.mjs.map +2 -2
- package/runtime/wasm-compiler-edge.js +4 -4
- package/runtime/wasm-compiler-edge.js.map +3 -3
- package/runtime/wasm-compiler-edge.mjs +4 -4
- package/runtime/wasm-compiler-edge.mjs.map +3 -3
- package/scripts/default-index.js +1 -1
- package/react-native.d.ts +0 -1
- package/react-native.js +0 -3
- package/runtime/react-native.d.ts +0 -3612
- package/runtime/react-native.js +0 -79
- package/runtime/react-native.js.map +0 -7
package/generator-build/index.js
CHANGED
|
@@ -7576,7 +7576,7 @@ var import_path6 = __toESM(require("path"));
|
|
|
7576
7576
|
// package.json
|
|
7577
7577
|
var package_default = {
|
|
7578
7578
|
name: "@prisma/client",
|
|
7579
|
-
version: "6.19.0-integration-next.
|
|
7579
|
+
version: "6.19.0-integration-next.5",
|
|
7580
7580
|
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.",
|
|
7581
7581
|
keywords: [
|
|
7582
7582
|
"ORM",
|
|
@@ -7603,8 +7603,7 @@ var package_default = {
|
|
|
7603
7603
|
"MSSQL",
|
|
7604
7604
|
"SQL Server",
|
|
7605
7605
|
"SQLServer",
|
|
7606
|
-
"MongoDB"
|
|
7607
|
-
"react-native"
|
|
7606
|
+
"MongoDB"
|
|
7608
7607
|
],
|
|
7609
7608
|
main: "default.js",
|
|
7610
7609
|
types: "default.d.ts",
|
|
@@ -7630,12 +7629,6 @@ var package_default = {
|
|
|
7630
7629
|
},
|
|
7631
7630
|
default: "./default.js"
|
|
7632
7631
|
},
|
|
7633
|
-
"./react-native": {
|
|
7634
|
-
types: "./react-native.d.ts",
|
|
7635
|
-
require: "./react-native.js",
|
|
7636
|
-
import: "./react-native.js",
|
|
7637
|
-
default: "./react-native.js"
|
|
7638
|
-
},
|
|
7639
7632
|
"./extension": {
|
|
7640
7633
|
types: "./extension.d.ts",
|
|
7641
7634
|
require: "./extension.js",
|
|
@@ -7688,12 +7681,6 @@ var package_default = {
|
|
|
7688
7681
|
import: "./runtime/wasm-compiler-edge.mjs",
|
|
7689
7682
|
default: "./runtime/wasm-compiler-edge.mjs"
|
|
7690
7683
|
},
|
|
7691
|
-
"./runtime/react-native": {
|
|
7692
|
-
types: "./runtime/react-native.d.ts",
|
|
7693
|
-
require: "./runtime/react-native.js",
|
|
7694
|
-
import: "./runtime/react-native.js",
|
|
7695
|
-
default: "./runtime/react-native.js"
|
|
7696
|
-
},
|
|
7697
7684
|
"./runtime/index-browser": {
|
|
7698
7685
|
types: "./runtime/index-browser.d.ts",
|
|
7699
7686
|
require: "./runtime/index-browser.js",
|
|
@@ -7757,8 +7744,6 @@ var package_default = {
|
|
|
7757
7744
|
"wasm.d.ts",
|
|
7758
7745
|
"index.js",
|
|
7759
7746
|
"index.d.ts",
|
|
7760
|
-
"react-native.js",
|
|
7761
|
-
"react-native.d.ts",
|
|
7762
7747
|
"default.js",
|
|
7763
7748
|
"default.d.ts",
|
|
7764
7749
|
"index-browser.js",
|
|
@@ -12280,15 +12265,6 @@ function runCommandRawDefinition(context) {
|
|
|
12280
12265
|
`);
|
|
12281
12266
|
return stringify(method2, { indentLevel: 1, newLine: "leading" });
|
|
12282
12267
|
}
|
|
12283
|
-
function applyPendingMigrationsDefinition() {
|
|
12284
|
-
if (this.runtimeNameTs !== "react-native") {
|
|
12285
|
-
return null;
|
|
12286
|
-
}
|
|
12287
|
-
const method2 = method("$applyPendingMigrations").setReturnType(promise(voidType)).setDocComment(
|
|
12288
|
-
docComment`Tries to apply pending migrations one by one. If a migration fails to apply, the function will stop and throw an error. You are responsible for informing the user and possibly blocking the app as we cannot guarantee the state of the database.`
|
|
12289
|
-
);
|
|
12290
|
-
return stringify(method2, { indentLevel: 1, newLine: "leading" });
|
|
12291
|
-
}
|
|
12292
12268
|
function eventRegistrationMethodDeclaration(runtimeNameTs) {
|
|
12293
12269
|
if (runtimeNameTs === "binary.js") {
|
|
12294
12270
|
return `$on<V extends (U | 'beforeExit')>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : V extends 'beforeExit' ? () => $Utils.JsPromise<void> : Prisma.LogEvent) => void): PrismaClient;`;
|
|
@@ -12363,7 +12339,6 @@ ${[
|
|
|
12363
12339
|
interactiveTransactionDefinition(this.context),
|
|
12364
12340
|
runCommandRawDefinition(this.context),
|
|
12365
12341
|
metricDefinition(this.context),
|
|
12366
|
-
applyPendingMigrationsDefinition.bind(this)(),
|
|
12367
12342
|
extendsPropertyDefinition()
|
|
12368
12343
|
].filter((d2) => d2 !== null).join("\n").trim()}
|
|
12369
12344
|
|
|
@@ -13170,12 +13145,6 @@ async function buildClient({
|
|
|
13170
13145
|
reusedTs: "index",
|
|
13171
13146
|
reusedJs: "."
|
|
13172
13147
|
});
|
|
13173
|
-
const rnTsClient = new TSClient({
|
|
13174
|
-
...baseClientOptions,
|
|
13175
|
-
runtimeNameJs: "react-native",
|
|
13176
|
-
runtimeNameTs: "react-native",
|
|
13177
|
-
edge: true
|
|
13178
|
-
});
|
|
13179
13148
|
const trampolineTsClient = new TSClient({
|
|
13180
13149
|
...nodeClientOptions,
|
|
13181
13150
|
reusedTs: "index",
|
|
@@ -13222,10 +13191,6 @@ async function buildClient({
|
|
|
13222
13191
|
fileMap["index-browser.js"] = BrowserJS(nodeClient);
|
|
13223
13192
|
fileMap["client.js"] = JS(defaultClient);
|
|
13224
13193
|
fileMap["client.d.ts"] = TS(defaultClient);
|
|
13225
|
-
if (generator.previewFeatures.includes("reactNative")) {
|
|
13226
|
-
fileMap["react-native.js"] = JS(rnTsClient);
|
|
13227
|
-
fileMap["react-native.d.ts"] = TS(rnTsClient);
|
|
13228
|
-
}
|
|
13229
13194
|
fileMap["default.js"] = JS(trampolineTsClient);
|
|
13230
13195
|
fileMap["default.d.ts"] = TS(trampolineTsClient);
|
|
13231
13196
|
fileMap["wasm-worker-loader.mjs"] = `export default import('./query_compiler_bg.wasm')`;
|
|
@@ -13622,7 +13587,6 @@ async function copyRuntimeFiles({ from, to, runtimeName, sourceMaps }) {
|
|
|
13622
13587
|
"library.d.ts",
|
|
13623
13588
|
"index-browser.js",
|
|
13624
13589
|
"index-browser.d.ts",
|
|
13625
|
-
"react-native.js",
|
|
13626
13590
|
"wasm-compiler-edge.js"
|
|
13627
13591
|
];
|
|
13628
13592
|
files.push(`${runtimeName}.js`);
|
|
@@ -13669,7 +13633,7 @@ var import_node_path6 = __toESM(require("node:path"));
|
|
|
13669
13633
|
var import_engines_version = __toESM(require_engines_version());
|
|
13670
13634
|
|
|
13671
13635
|
// ../client-generator-js/package.json
|
|
13672
|
-
var version = "6.19.0-integration-next.
|
|
13636
|
+
var version = "6.19.0-integration-next.5";
|
|
13673
13637
|
|
|
13674
13638
|
// ../client-generator-js/src/resolvePrismaClient.ts
|
|
13675
13639
|
var import_promises6 = __toESM(require("node:fs/promises"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client",
|
|
3
|
-
"version": "6.19.0-integration-next.
|
|
3
|
+
"version": "6.19.0-integration-next.5",
|
|
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",
|
|
@@ -27,8 +27,7 @@
|
|
|
27
27
|
"MSSQL",
|
|
28
28
|
"SQL Server",
|
|
29
29
|
"SQLServer",
|
|
30
|
-
"MongoDB"
|
|
31
|
-
"react-native"
|
|
30
|
+
"MongoDB"
|
|
32
31
|
],
|
|
33
32
|
"main": "default.js",
|
|
34
33
|
"types": "default.d.ts",
|
|
@@ -54,12 +53,6 @@
|
|
|
54
53
|
},
|
|
55
54
|
"default": "./default.js"
|
|
56
55
|
},
|
|
57
|
-
"./react-native": {
|
|
58
|
-
"types": "./react-native.d.ts",
|
|
59
|
-
"require": "./react-native.js",
|
|
60
|
-
"import": "./react-native.js",
|
|
61
|
-
"default": "./react-native.js"
|
|
62
|
-
},
|
|
63
56
|
"./extension": {
|
|
64
57
|
"types": "./extension.d.ts",
|
|
65
58
|
"require": "./extension.js",
|
|
@@ -112,12 +105,6 @@
|
|
|
112
105
|
"import": "./runtime/wasm-compiler-edge.mjs",
|
|
113
106
|
"default": "./runtime/wasm-compiler-edge.mjs"
|
|
114
107
|
},
|
|
115
|
-
"./runtime/react-native": {
|
|
116
|
-
"types": "./runtime/react-native.d.ts",
|
|
117
|
-
"require": "./runtime/react-native.js",
|
|
118
|
-
"import": "./runtime/react-native.js",
|
|
119
|
-
"default": "./runtime/react-native.js"
|
|
120
|
-
},
|
|
121
108
|
"./runtime/index-browser": {
|
|
122
109
|
"types": "./runtime/index-browser.d.ts",
|
|
123
110
|
"require": "./runtime/index-browser.js",
|
|
@@ -165,8 +152,6 @@
|
|
|
165
152
|
"wasm.d.ts",
|
|
166
153
|
"index.js",
|
|
167
154
|
"index.d.ts",
|
|
168
|
-
"react-native.js",
|
|
169
|
-
"react-native.d.ts",
|
|
170
155
|
"default.js",
|
|
171
156
|
"default.d.ts",
|
|
172
157
|
"index-browser.js",
|
|
@@ -246,35 +231,35 @@
|
|
|
246
231
|
"typescript": "5.4.5",
|
|
247
232
|
"undici": "7.4.0",
|
|
248
233
|
"zx": "8.4.1",
|
|
249
|
-
"@prisma/adapter-d1": "6.19.0-integration-next.
|
|
250
|
-
"@prisma/adapter-better-sqlite3": "6.19.0-integration-next.
|
|
251
|
-
"@prisma/adapter-
|
|
252
|
-
"@prisma/adapter-
|
|
253
|
-
"@prisma/adapter-mssql": "6.19.0-integration-next.
|
|
254
|
-
"@prisma/adapter-
|
|
255
|
-
"@prisma/adapter-
|
|
256
|
-
"@prisma/
|
|
257
|
-
"@prisma/client-
|
|
258
|
-
"@prisma/client-
|
|
259
|
-
"@prisma/
|
|
260
|
-
"@prisma/client-
|
|
261
|
-
"@prisma/
|
|
262
|
-
"@prisma/dmmf": "6.19.0-integration-next.
|
|
263
|
-
"@prisma/debug": "6.19.0-integration-next.
|
|
264
|
-
"@prisma/driver-adapter-utils": "6.19.0-integration-next.
|
|
265
|
-
"@prisma/engines": "6.19.0-integration-next.
|
|
266
|
-
"@prisma/
|
|
267
|
-
"@prisma/
|
|
268
|
-
"@prisma/get-platform": "6.19.0-integration-next.
|
|
269
|
-
"@prisma/generator
|
|
270
|
-
"@prisma/
|
|
271
|
-
"@prisma/
|
|
272
|
-
"@prisma/migrate": "6.19.0-integration-next.
|
|
273
|
-
"@prisma/ts-builders": "6.19.0-integration-next.
|
|
274
|
-
"@prisma/query-plan-executor": "6.19.0-integration-next.
|
|
234
|
+
"@prisma/adapter-d1": "6.19.0-integration-next.5",
|
|
235
|
+
"@prisma/adapter-better-sqlite3": "6.19.0-integration-next.5",
|
|
236
|
+
"@prisma/adapter-mariadb": "6.19.0-integration-next.5",
|
|
237
|
+
"@prisma/adapter-libsql": "6.19.0-integration-next.5",
|
|
238
|
+
"@prisma/adapter-mssql": "6.19.0-integration-next.5",
|
|
239
|
+
"@prisma/adapter-neon": "6.19.0-integration-next.5",
|
|
240
|
+
"@prisma/adapter-pg": "6.19.0-integration-next.5",
|
|
241
|
+
"@prisma/adapter-planetscale": "6.19.0-integration-next.5",
|
|
242
|
+
"@prisma/client-generator-js": "6.19.0-integration-next.5",
|
|
243
|
+
"@prisma/client-common": "6.19.0-integration-next.5",
|
|
244
|
+
"@prisma/client-generator-ts": "6.19.0-integration-next.5",
|
|
245
|
+
"@prisma/client-engine-runtime": "6.19.0-integration-next.5",
|
|
246
|
+
"@prisma/config": "6.19.0-integration-next.5",
|
|
247
|
+
"@prisma/dmmf": "6.19.0-integration-next.5",
|
|
248
|
+
"@prisma/debug": "6.19.0-integration-next.5",
|
|
249
|
+
"@prisma/driver-adapter-utils": "6.19.0-integration-next.5",
|
|
250
|
+
"@prisma/engines": "6.19.0-integration-next.5",
|
|
251
|
+
"@prisma/fetch-engine": "6.19.0-integration-next.5",
|
|
252
|
+
"@prisma/generator-helper": "6.19.0-integration-next.5",
|
|
253
|
+
"@prisma/get-platform": "6.19.0-integration-next.5",
|
|
254
|
+
"@prisma/generator": "6.19.0-integration-next.5",
|
|
255
|
+
"@prisma/internals": "6.19.0-integration-next.5",
|
|
256
|
+
"@prisma/instrumentation": "6.19.0-integration-next.5",
|
|
257
|
+
"@prisma/migrate": "6.19.0-integration-next.5",
|
|
258
|
+
"@prisma/ts-builders": "6.19.0-integration-next.5",
|
|
259
|
+
"@prisma/query-plan-executor": "6.19.0-integration-next.5"
|
|
275
260
|
},
|
|
276
261
|
"dependencies": {
|
|
277
|
-
"@prisma/client-runtime-utils": "6.19.0-integration-next.
|
|
262
|
+
"@prisma/client-runtime-utils": "6.19.0-integration-next.5"
|
|
278
263
|
},
|
|
279
264
|
"peerDependencies": {
|
|
280
265
|
"prisma": "*",
|