@prisma/client-generator-js 6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3 → 6.15.0-integration-feat-prisma-client-default-runtime.1
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 +8 -9
- package/dist/index.mjs +8 -9
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -4492,7 +4492,7 @@ var package_default = {
|
|
|
4492
4492
|
"@prisma/dmmf": "workspace:*",
|
|
4493
4493
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
4494
4494
|
"@prisma/engines": "workspace:*",
|
|
4495
|
-
"@prisma/engines-version": "6.15.0-
|
|
4495
|
+
"@prisma/engines-version": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
|
|
4496
4496
|
"@prisma/fetch-engine": "workspace:*",
|
|
4497
4497
|
"@prisma/generator": "workspace:*",
|
|
4498
4498
|
"@prisma/generator-helper": "workspace:*",
|
|
@@ -4501,8 +4501,8 @@ var package_default = {
|
|
|
4501
4501
|
"@prisma/internals": "workspace:*",
|
|
4502
4502
|
"@prisma/migrate": "workspace:*",
|
|
4503
4503
|
"@prisma/mini-proxy": "0.9.5",
|
|
4504
|
-
"@prisma/query-compiler-wasm": "6.15.0-
|
|
4505
|
-
"@prisma/query-engine-wasm": "6.15.0-
|
|
4504
|
+
"@prisma/query-compiler-wasm": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
|
|
4505
|
+
"@prisma/query-engine-wasm": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
|
|
4506
4506
|
"@prisma/ts-builders": "workspace:*",
|
|
4507
4507
|
"@snaplet/copycat": "6.0.0",
|
|
4508
4508
|
"@swc-node/register": "1.10.9",
|
|
@@ -6449,7 +6449,7 @@ var DMMFHelper = class {
|
|
|
6449
6449
|
}
|
|
6450
6450
|
buildInputTypesMap() {
|
|
6451
6451
|
const result = /* @__PURE__ */ new Map();
|
|
6452
|
-
for (const type of this.inputObjectTypes.prisma) {
|
|
6452
|
+
for (const type of this.inputObjectTypes.prisma ?? []) {
|
|
6453
6453
|
result.set(fullyQualifiedName(type.name, "prisma"), type);
|
|
6454
6454
|
}
|
|
6455
6455
|
if (!this.inputObjectTypes.model) {
|
|
@@ -8900,10 +8900,9 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
|
|
|
8900
8900
|
if (generator.previewFeatures.includes("driverAdapters") && isWasmEngineSupported(provider) && copyEngine && !testMode) {
|
|
8901
8901
|
const suffix = provider === "postgres" ? "postgresql" : provider;
|
|
8902
8902
|
const filename = clientEngineType === import_internals10.ClientEngineType.Client ? "query_compiler_bg" : "query_engine_bg";
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
);
|
|
8903
|
+
const wasmJsBundlePath = import_path3.default.join(runtimeSourcePath, `${filename}.${suffix}.wasm-base64.js`);
|
|
8904
|
+
const wasmBase64 = require(wasmJsBundlePath).wasm;
|
|
8905
|
+
await import_promises.default.writeFile(import_path3.default.join(outputDir, `${filename}.wasm`), Buffer.from(wasmBase64, "base64"));
|
|
8907
8906
|
await import_promises.default.copyFile(import_path3.default.join(runtimeSourcePath, `${filename}.${suffix}.js`), import_path3.default.join(outputDir, `${filename}.js`));
|
|
8908
8907
|
}
|
|
8909
8908
|
try {
|
|
@@ -9154,7 +9153,7 @@ var import_internals12 = require("@prisma/internals");
|
|
|
9154
9153
|
var import_ts_pattern = require("ts-pattern");
|
|
9155
9154
|
|
|
9156
9155
|
// package.json
|
|
9157
|
-
var version = "6.15.0-integration-
|
|
9156
|
+
var version = "6.15.0-integration-feat-prisma-client-default-runtime.1";
|
|
9158
9157
|
|
|
9159
9158
|
// src/resolvePrismaClient.ts
|
|
9160
9159
|
var import_promises2 = __toESM(require("node:fs/promises"));
|
package/dist/index.mjs
CHANGED
|
@@ -4487,7 +4487,7 @@ var package_default = {
|
|
|
4487
4487
|
"@prisma/dmmf": "workspace:*",
|
|
4488
4488
|
"@prisma/driver-adapter-utils": "workspace:*",
|
|
4489
4489
|
"@prisma/engines": "workspace:*",
|
|
4490
|
-
"@prisma/engines-version": "6.15.0-
|
|
4490
|
+
"@prisma/engines-version": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
|
|
4491
4491
|
"@prisma/fetch-engine": "workspace:*",
|
|
4492
4492
|
"@prisma/generator": "workspace:*",
|
|
4493
4493
|
"@prisma/generator-helper": "workspace:*",
|
|
@@ -4496,8 +4496,8 @@ var package_default = {
|
|
|
4496
4496
|
"@prisma/internals": "workspace:*",
|
|
4497
4497
|
"@prisma/migrate": "workspace:*",
|
|
4498
4498
|
"@prisma/mini-proxy": "0.9.5",
|
|
4499
|
-
"@prisma/query-compiler-wasm": "6.15.0-
|
|
4500
|
-
"@prisma/query-engine-wasm": "6.15.0-
|
|
4499
|
+
"@prisma/query-compiler-wasm": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
|
|
4500
|
+
"@prisma/query-engine-wasm": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
|
|
4501
4501
|
"@prisma/ts-builders": "workspace:*",
|
|
4502
4502
|
"@snaplet/copycat": "6.0.0",
|
|
4503
4503
|
"@swc-node/register": "1.10.9",
|
|
@@ -6444,7 +6444,7 @@ var DMMFHelper = class {
|
|
|
6444
6444
|
}
|
|
6445
6445
|
buildInputTypesMap() {
|
|
6446
6446
|
const result = /* @__PURE__ */ new Map();
|
|
6447
|
-
for (const type of this.inputObjectTypes.prisma) {
|
|
6447
|
+
for (const type of this.inputObjectTypes.prisma ?? []) {
|
|
6448
6448
|
result.set(fullyQualifiedName(type.name, "prisma"), type);
|
|
6449
6449
|
}
|
|
6450
6450
|
if (!this.inputObjectTypes.model) {
|
|
@@ -8898,10 +8898,9 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
|
|
|
8898
8898
|
if (generator.previewFeatures.includes("driverAdapters") && isWasmEngineSupported(provider) && copyEngine && !testMode) {
|
|
8899
8899
|
const suffix = provider === "postgres" ? "postgresql" : provider;
|
|
8900
8900
|
const filename = clientEngineType === ClientEngineType3.Client ? "query_compiler_bg" : "query_engine_bg";
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
);
|
|
8901
|
+
const wasmJsBundlePath = path3.join(runtimeSourcePath, `${filename}.${suffix}.wasm-base64.js`);
|
|
8902
|
+
const wasmBase64 = __require(wasmJsBundlePath).wasm;
|
|
8903
|
+
await fs.writeFile(path3.join(outputDir, `${filename}.wasm`), Buffer.from(wasmBase64, "base64"));
|
|
8905
8904
|
await fs.copyFile(path3.join(runtimeSourcePath, `${filename}.${suffix}.js`), path3.join(outputDir, `${filename}.js`));
|
|
8906
8905
|
}
|
|
8907
8906
|
try {
|
|
@@ -9152,7 +9151,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
|
|
|
9152
9151
|
import { match } from "ts-pattern";
|
|
9153
9152
|
|
|
9154
9153
|
// package.json
|
|
9155
|
-
var version = "6.15.0-integration-
|
|
9154
|
+
var version = "6.15.0-integration-feat-prisma-client-default-runtime.1";
|
|
9156
9155
|
|
|
9157
9156
|
// src/resolvePrismaClient.ts
|
|
9158
9157
|
var import_execa = __toESM(require_execa());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-js",
|
|
3
|
-
"version": "6.15.0-integration-
|
|
3
|
+
"version": "6.15.0-integration-feat-prisma-client-default-runtime.1",
|
|
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,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@antfu/ni": "0.21.12",
|
|
28
|
-
"@prisma/engines-version": "6.15.0-
|
|
28
|
+
"@prisma/engines-version": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
|
|
29
29
|
"ci-info": "4.2.0",
|
|
30
30
|
"env-paths": "2.2.1",
|
|
31
31
|
"indent-string": "4.0.0",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"pkg-up": "3.1.0",
|
|
34
34
|
"pluralize": "8.0.0",
|
|
35
35
|
"ts-pattern": "5.6.2",
|
|
36
|
-
"@prisma/
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/generator": "6.15.0-integration-
|
|
41
|
-
"@prisma/get-platform": "6.15.0-integration-
|
|
42
|
-
"@prisma/internals": "6.15.0-integration-
|
|
43
|
-
"@prisma/ts-builders": "6.15.0-integration-
|
|
36
|
+
"@prisma/client-common": "6.15.0-integration-feat-prisma-client-default-runtime.1",
|
|
37
|
+
"@prisma/fetch-engine": "6.15.0-integration-feat-prisma-client-default-runtime.1",
|
|
38
|
+
"@prisma/debug": "6.15.0-integration-feat-prisma-client-default-runtime.1",
|
|
39
|
+
"@prisma/dmmf": "6.15.0-integration-feat-prisma-client-default-runtime.1",
|
|
40
|
+
"@prisma/generator": "6.15.0-integration-feat-prisma-client-default-runtime.1",
|
|
41
|
+
"@prisma/get-platform": "6.15.0-integration-feat-prisma-client-default-runtime.1",
|
|
42
|
+
"@prisma/internals": "6.15.0-integration-feat-prisma-client-default-runtime.1",
|
|
43
|
+
"@prisma/ts-builders": "6.15.0-integration-feat-prisma-client-default-runtime.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/pluralize": "0.0.33",
|