prisma 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.
Files changed (35) hide show
  1. package/build/index.js +677 -665
  2. package/build/query_engine_bg.cockroachdb.wasm +0 -0
  3. package/build/query_engine_bg.mysql.wasm +0 -0
  4. package/build/query_engine_bg.postgresql.wasm +0 -0
  5. package/build/query_engine_bg.sqlite.wasm +0 -0
  6. package/build/query_engine_bg.sqlserver.wasm +0 -0
  7. package/build/schema_engine_bg.wasm +0 -0
  8. package/package.json +14 -14
  9. package/prisma-client/generator-build/index.js +15 -16
  10. package/prisma-client/package.json +4 -4
  11. package/prisma-client/runtime/binary.js +2 -2
  12. package/prisma-client/runtime/binary.js.map +3 -3
  13. package/prisma-client/runtime/binary.mjs +2 -2
  14. package/prisma-client/runtime/binary.mjs.map +3 -3
  15. package/prisma-client/runtime/client.d.mts +1 -1
  16. package/prisma-client/runtime/client.d.ts +1 -1
  17. package/prisma-client/runtime/client.js +3 -3
  18. package/prisma-client/runtime/client.js.map +3 -3
  19. package/prisma-client/runtime/client.mjs +3 -3
  20. package/prisma-client/runtime/client.mjs.map +3 -3
  21. package/prisma-client/runtime/edge-esm.js +3 -3
  22. package/prisma-client/runtime/edge-esm.js.map +4 -4
  23. package/prisma-client/runtime/edge.d.ts +1 -1
  24. package/prisma-client/runtime/edge.js +3 -3
  25. package/prisma-client/runtime/edge.js.map +4 -4
  26. package/prisma-client/runtime/library.d.mts +1 -1
  27. package/prisma-client/runtime/library.d.ts +1 -1
  28. package/prisma-client/runtime/library.js +17 -17
  29. package/prisma-client/runtime/library.js.map +3 -3
  30. package/prisma-client/runtime/library.mjs +17 -17
  31. package/prisma-client/runtime/library.mjs.map +3 -3
  32. package/prisma-client/runtime/react-native.d.ts +1 -1
  33. package/prisma-client/runtime/react-native.js +2 -2
  34. package/prisma-client/runtime/react-native.js.map +4 -4
  35. package/prisma-client/scripts/default-index.js +3 -3
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
2
+ "version": "6.15.0-integration-feat-prisma-client-default-runtime.1",
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": [
@@ -42,7 +42,7 @@
42
42
  "node": ">=18.18"
43
43
  },
44
44
  "prisma": {
45
- "prismaCommit": "d00c22ba52cba084feb5cf42907300f0956a0667"
45
+ "prismaCommit": "cb19db0cb6eb60ecbd2313b4b5313b91ddb8335d"
46
46
  },
47
47
  "files": [
48
48
  "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/adapter-libsql": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
157
- "@prisma/client": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
158
- "@prisma/client-generator-registry": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
159
- "@prisma/debug": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
160
- "@prisma/fetch-engine": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
161
- "@prisma/dmmf": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
162
- "@prisma/generator": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
163
- "@prisma/migrate": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
164
- "@prisma/get-platform": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
165
- "@prisma/internals": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3"
156
+ "@prisma/adapter-libsql": "6.15.0-integration-feat-prisma-client-default-runtime.1",
157
+ "@prisma/client-generator-registry": "6.15.0-integration-feat-prisma-client-default-runtime.1",
158
+ "@prisma/debug": "6.15.0-integration-feat-prisma-client-default-runtime.1",
159
+ "@prisma/client": "6.15.0-integration-feat-prisma-client-default-runtime.1",
160
+ "@prisma/dmmf": "6.15.0-integration-feat-prisma-client-default-runtime.1",
161
+ "@prisma/fetch-engine": "6.15.0-integration-feat-prisma-client-default-runtime.1",
162
+ "@prisma/generator": "6.15.0-integration-feat-prisma-client-default-runtime.1",
163
+ "@prisma/internals": "6.15.0-integration-feat-prisma-client-default-runtime.1",
164
+ "@prisma/get-platform": "6.15.0-integration-feat-prisma-client-default-runtime.1",
165
+ "@prisma/migrate": "6.15.0-integration-feat-prisma-client-default-runtime.1"
166
166
  },
167
167
  "dependencies": {
168
- "@prisma/config": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
169
- "@prisma/engines": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3"
168
+ "@prisma/config": "6.15.0-integration-feat-prisma-client-default-runtime.1",
169
+ "@prisma/engines": "6.15.0-integration-feat-prisma-client-default-runtime.1"
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.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa/node_modules/@prisma/engines-version/package.json
4518
+ // ../../node_modules/.pnpm/@prisma+engines-version@6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb/node_modules/@prisma/engines-version/package.json
4519
4519
  var require_package = __commonJS({
4520
- "../../node_modules/.pnpm/@prisma+engines-version@6.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa/node_modules/@prisma/engines-version/package.json"(exports2, module2) {
4520
+ "../../node_modules/.pnpm/@prisma+engines-version@6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb/node_modules/@prisma/engines-version/package.json"(exports2, module2) {
4521
4521
  module2.exports = {
4522
4522
  name: "@prisma/engines-version",
4523
- version: "6.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa",
4523
+ version: "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
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: "98da675770d9fef84c079a41a258a554dadeb3aa"
4529
+ enginesVersion: "85179d7826409ee107a6ba334b5e305ae3fba9fb"
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.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa/node_modules/@prisma/engines-version/index.js
4551
+ // ../../node_modules/.pnpm/@prisma+engines-version@6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb/node_modules/@prisma/engines-version/index.js
4552
4552
  var require_engines_version = __commonJS({
4553
- "../../node_modules/.pnpm/@prisma+engines-version@6.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa/node_modules/@prisma/engines-version/index.js"(exports2) {
4553
+ "../../node_modules/.pnpm/@prisma+engines-version@6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb/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;
@@ -7543,7 +7543,7 @@ var import_pkg_up = __toESM(require_pkg_up());
7543
7543
  // package.json
7544
7544
  var package_default = {
7545
7545
  name: "@prisma/client",
7546
- version: "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
7546
+ version: "6.15.0-integration-feat-prisma-client-default-runtime.1",
7547
7547
  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.",
7548
7548
  keywords: [
7549
7549
  "ORM",
@@ -7786,7 +7786,7 @@ var package_default = {
7786
7786
  "@prisma/dmmf": "workspace:*",
7787
7787
  "@prisma/driver-adapter-utils": "workspace:*",
7788
7788
  "@prisma/engines": "workspace:*",
7789
- "@prisma/engines-version": "6.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa",
7789
+ "@prisma/engines-version": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
7790
7790
  "@prisma/fetch-engine": "workspace:*",
7791
7791
  "@prisma/generator": "workspace:*",
7792
7792
  "@prisma/generator-helper": "workspace:*",
@@ -7795,8 +7795,8 @@ var package_default = {
7795
7795
  "@prisma/internals": "workspace:*",
7796
7796
  "@prisma/migrate": "workspace:*",
7797
7797
  "@prisma/mini-proxy": "0.9.5",
7798
- "@prisma/query-compiler-wasm": "6.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa",
7799
- "@prisma/query-engine-wasm": "6.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa",
7798
+ "@prisma/query-compiler-wasm": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
7799
+ "@prisma/query-engine-wasm": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
7800
7800
  "@prisma/ts-builders": "workspace:*",
7801
7801
  "@snaplet/copycat": "6.0.0",
7802
7802
  "@swc-node/register": "1.10.9",
@@ -10986,7 +10986,7 @@ var DMMFHelper = class {
10986
10986
  }
10987
10987
  buildInputTypesMap() {
10988
10988
  const result = /* @__PURE__ */ new Map();
10989
- for (const type of this.inputObjectTypes.prisma) {
10989
+ for (const type of this.inputObjectTypes.prisma ?? []) {
10990
10990
  result.set(fullyQualifiedName(type.name, "prisma"), type);
10991
10991
  }
10992
10992
  if (!this.inputObjectTypes.model) {
@@ -13414,10 +13414,9 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
13414
13414
  if (generator.previewFeatures.includes("driverAdapters") && isWasmEngineSupported(provider) && copyEngine && !testMode) {
13415
13415
  const suffix = provider === "postgres" ? "postgresql" : provider;
13416
13416
  const filename = clientEngineType === "client" /* Client */ ? "query_compiler_bg" : "query_engine_bg";
13417
- await import_promises.default.copyFile(
13418
- import_path6.default.join(runtimeSourcePath, `${filename}.${suffix}.wasm`),
13419
- import_path6.default.join(outputDir, `${filename}.wasm`)
13420
- );
13417
+ const wasmJsBundlePath = import_path6.default.join(runtimeSourcePath, `${filename}.${suffix}.wasm-base64.js`);
13418
+ const wasmBase64 = require(wasmJsBundlePath).wasm;
13419
+ await import_promises.default.writeFile(import_path6.default.join(outputDir, `${filename}.wasm`), Buffer.from(wasmBase64, "base64"));
13421
13420
  await import_promises.default.copyFile(import_path6.default.join(runtimeSourcePath, `${filename}.${suffix}.js`), import_path6.default.join(outputDir, `${filename}.js`));
13422
13421
  }
13423
13422
  try {
@@ -13665,7 +13664,7 @@ var import_node_path3 = __toESM(require("node:path"));
13665
13664
  var import_engines_version = __toESM(require_engines_version());
13666
13665
 
13667
13666
  // ../client-generator-js/package.json
13668
- var version = "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3";
13667
+ var version = "6.15.0-integration-feat-prisma-client-default-runtime.1";
13669
13668
 
13670
13669
  // ../client-generator-js/src/resolvePrismaClient.ts
13671
13670
  var import_promises4 = __toESM(require("node:fs/promises"));
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client",
3
- "version": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
3
+ "version": "6.15.0-integration-feat-prisma-client-default-runtime.1",
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",
@@ -243,7 +243,7 @@
243
243
  "@prisma/dmmf": "workspace:*",
244
244
  "@prisma/driver-adapter-utils": "workspace:*",
245
245
  "@prisma/engines": "workspace:*",
246
- "@prisma/engines-version": "6.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa",
246
+ "@prisma/engines-version": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
247
247
  "@prisma/fetch-engine": "workspace:*",
248
248
  "@prisma/generator": "workspace:*",
249
249
  "@prisma/generator-helper": "workspace:*",
@@ -252,8 +252,8 @@
252
252
  "@prisma/internals": "workspace:*",
253
253
  "@prisma/migrate": "workspace:*",
254
254
  "@prisma/mini-proxy": "0.9.5",
255
- "@prisma/query-compiler-wasm": "6.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa",
256
- "@prisma/query-engine-wasm": "6.15.0-4.98da675770d9fef84c079a41a258a554dadeb3aa",
255
+ "@prisma/query-compiler-wasm": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
256
+ "@prisma/query-engine-wasm": "6.15.0-5.85179d7826409ee107a6ba334b5e305ae3fba9fb",
257
257
  "@prisma/ts-builders": "workspace:*",
258
258
  "@snaplet/copycat": "6.0.0",
259
259
  "@swc-node/register": "1.10.9",