@prisma/client-generator-js 7.4.1 → 7.4.2
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 +6 -4
- package/dist/index.mjs +6 -4
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -2482,7 +2482,7 @@ var package_default = {
|
|
|
2482
2482
|
"@prisma/dmmf": "workspace:*",
|
|
2483
2483
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
2484
2484
|
"@prisma/engines": "workspace:*",
|
|
2485
|
-
"@prisma/engines-version": "7.5.0-
|
|
2485
|
+
"@prisma/engines-version": "7.5.0-10.94a226be1cf2967af2541cca5529f0f7ba866919",
|
|
2486
2486
|
"@prisma/fetch-engine": "workspace:*",
|
|
2487
2487
|
"@prisma/generator": "workspace:*",
|
|
2488
2488
|
"@prisma/generator-helper": "workspace:*",
|
|
@@ -2494,7 +2494,7 @@ var package_default = {
|
|
|
2494
2494
|
"@prisma/migrate": "workspace:*",
|
|
2495
2495
|
"@prisma/param-graph": "workspace:*",
|
|
2496
2496
|
"@prisma/param-graph-builder": "workspace:*",
|
|
2497
|
-
"@prisma/query-compiler-wasm": "7.5.0-
|
|
2497
|
+
"@prisma/query-compiler-wasm": "7.5.0-10.94a226be1cf2967af2541cca5529f0f7ba866919",
|
|
2498
2498
|
"@prisma/query-plan-executor": "workspace:*",
|
|
2499
2499
|
"@prisma/sqlcommenter": "workspace:*",
|
|
2500
2500
|
"@prisma/sqlcommenter-trace-context": "workspace:*",
|
|
@@ -5563,7 +5563,9 @@ var PrismaClientClass = class {
|
|
|
5563
5563
|
* Type-safe database client for TypeScript & Node.js
|
|
5564
5564
|
* @example
|
|
5565
5565
|
* \`\`\`
|
|
5566
|
-
* const prisma = new PrismaClient(
|
|
5566
|
+
* const prisma = new PrismaClient({
|
|
5567
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
5568
|
+
* })
|
|
5567
5569
|
* // Fetch zero or more ${(0, import_client_common15.capitalize)(example.plural)}
|
|
5568
5570
|
* const ${(0, import_client_common15.uncapitalize)(example.plural)} = await prisma.${(0, import_client_common15.uncapitalize)(example.model)}.findMany()
|
|
5569
5571
|
* \`\`\`
|
|
@@ -6825,7 +6827,7 @@ var import_engines_version = require("@prisma/engines-version");
|
|
|
6825
6827
|
var import_internals9 = require("@prisma/internals");
|
|
6826
6828
|
|
|
6827
6829
|
// package.json
|
|
6828
|
-
var version = "7.4.
|
|
6830
|
+
var version = "7.4.2";
|
|
6829
6831
|
|
|
6830
6832
|
// src/resolvePrismaClient.ts
|
|
6831
6833
|
var import_promises2 = __toESM(require("node:fs/promises"));
|
package/dist/index.mjs
CHANGED
|
@@ -2471,7 +2471,7 @@ var package_default = {
|
|
|
2471
2471
|
"@prisma/dmmf": "workspace:*",
|
|
2472
2472
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
2473
2473
|
"@prisma/engines": "workspace:*",
|
|
2474
|
-
"@prisma/engines-version": "7.5.0-
|
|
2474
|
+
"@prisma/engines-version": "7.5.0-10.94a226be1cf2967af2541cca5529f0f7ba866919",
|
|
2475
2475
|
"@prisma/fetch-engine": "workspace:*",
|
|
2476
2476
|
"@prisma/generator": "workspace:*",
|
|
2477
2477
|
"@prisma/generator-helper": "workspace:*",
|
|
@@ -2483,7 +2483,7 @@ var package_default = {
|
|
|
2483
2483
|
"@prisma/migrate": "workspace:*",
|
|
2484
2484
|
"@prisma/param-graph": "workspace:*",
|
|
2485
2485
|
"@prisma/param-graph-builder": "workspace:*",
|
|
2486
|
-
"@prisma/query-compiler-wasm": "7.5.0-
|
|
2486
|
+
"@prisma/query-compiler-wasm": "7.5.0-10.94a226be1cf2967af2541cca5529f0f7ba866919",
|
|
2487
2487
|
"@prisma/query-plan-executor": "workspace:*",
|
|
2488
2488
|
"@prisma/sqlcommenter": "workspace:*",
|
|
2489
2489
|
"@prisma/sqlcommenter-trace-context": "workspace:*",
|
|
@@ -5555,7 +5555,9 @@ var PrismaClientClass = class {
|
|
|
5555
5555
|
* Type-safe database client for TypeScript & Node.js
|
|
5556
5556
|
* @example
|
|
5557
5557
|
* \`\`\`
|
|
5558
|
-
* const prisma = new PrismaClient(
|
|
5558
|
+
* const prisma = new PrismaClient({
|
|
5559
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
5560
|
+
* })
|
|
5559
5561
|
* // Fetch zero or more ${capitalize7(example.plural)}
|
|
5560
5562
|
* const ${uncapitalize7(example.plural)} = await prisma.${uncapitalize7(example.model)}.findMany()
|
|
5561
5563
|
* \`\`\`
|
|
@@ -6817,7 +6819,7 @@ import { enginesVersion } from "@prisma/engines-version";
|
|
|
6817
6819
|
import { parseEnvValue } from "@prisma/internals";
|
|
6818
6820
|
|
|
6819
6821
|
// package.json
|
|
6820
|
-
var version = "7.4.
|
|
6822
|
+
var version = "7.4.2";
|
|
6821
6823
|
|
|
6822
6824
|
// src/resolvePrismaClient.ts
|
|
6823
6825
|
import fs2 from "node:fs/promises";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-js",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.2",
|
|
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,22 +25,22 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@antfu/ni": "0.21.12",
|
|
28
|
-
"@prisma/engines-version": "7.5.0-
|
|
28
|
+
"@prisma/engines-version": "7.5.0-10.94a226be1cf2967af2541cca5529f0f7ba866919",
|
|
29
29
|
"env-paths": "2.2.1",
|
|
30
30
|
"indent-string": "4.0.0",
|
|
31
31
|
"klona": "2.0.6",
|
|
32
32
|
"package-up": "5.0.0",
|
|
33
33
|
"pluralize": "8.0.0",
|
|
34
34
|
"ts-pattern": "5.6.2",
|
|
35
|
-
"@prisma/client-common": "7.4.
|
|
36
|
-
"@prisma/
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/ts-builders": "7.4.
|
|
35
|
+
"@prisma/client-common": "7.4.2",
|
|
36
|
+
"@prisma/dmmf": "7.4.2",
|
|
37
|
+
"@prisma/debug": "7.4.2",
|
|
38
|
+
"@prisma/generator": "7.4.2",
|
|
39
|
+
"@prisma/get-platform": "7.4.2",
|
|
40
|
+
"@prisma/fetch-engine": "7.4.2",
|
|
41
|
+
"@prisma/internals": "7.4.2",
|
|
42
|
+
"@prisma/param-graph-builder": "7.4.2",
|
|
43
|
+
"@prisma/ts-builders": "7.4.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/pluralize": "0.0.33",
|