@prisma/client 6.4.0-dev.39 → 6.4.0-dev.40

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.
@@ -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.39",
3949
+ version: "6.4.0-dev.40",
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",
@@ -8580,7 +8589,7 @@ function buildMapForRuntime(list) {
8580
8589
  function buildRuntimeDataModel(datamodel, runtimeNameJs) {
8581
8590
  const runtimeDataModel = dmmfToRuntimeDataModel(datamodel);
8582
8591
  let prunedDataModel;
8583
- if (runtimeNameJs === "wasm") {
8592
+ if (runtimeNameJs === "wasm" || runtimeNameJs === "client") {
8584
8593
  prunedDataModel = pruneRuntimeDataModel(runtimeDataModel);
8585
8594
  } else {
8586
8595
  prunedDataModel = runtimeDataModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client",
3
- "version": "6.4.0-dev.39",
3
+ "version": "6.4.0-dev.40",
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",
@@ -238,22 +244,22 @@
238
244
  "undici": "7.3.0",
239
245
  "wrangler": "3.91.0",
240
246
  "zx": "7.2.3",
241
- "@prisma/adapter-d1": "6.4.0-dev.39",
242
- "@prisma/adapter-libsql": "6.4.0-dev.39",
243
- "@prisma/adapter-pg": "6.4.0-dev.39",
244
- "@prisma/adapter-pg-worker": "6.4.0-dev.39",
245
- "@prisma/adapter-neon": "6.4.0-dev.39",
246
- "@prisma/adapter-planetscale": "6.4.0-dev.39",
247
- "@prisma/driver-adapter-utils": "6.4.0-dev.39",
248
- "@prisma/debug": "6.4.0-dev.39",
249
- "@prisma/fetch-engine": "6.4.0-dev.39",
250
- "@prisma/generator-helper": "6.4.0-dev.39",
251
- "@prisma/engines": "6.4.0-dev.39",
252
- "@prisma/instrumentation": "6.4.0-dev.39",
253
- "@prisma/internals": "6.4.0-dev.39",
254
- "@prisma/get-platform": "6.4.0-dev.39",
255
- "@prisma/pg-worker": "6.4.0-dev.39",
256
- "@prisma/migrate": "6.4.0-dev.39"
247
+ "@prisma/adapter-d1": "6.4.0-dev.40",
248
+ "@prisma/adapter-libsql": "6.4.0-dev.40",
249
+ "@prisma/adapter-pg": "6.4.0-dev.40",
250
+ "@prisma/adapter-pg-worker": "6.4.0-dev.40",
251
+ "@prisma/adapter-planetscale": "6.4.0-dev.40",
252
+ "@prisma/adapter-neon": "6.4.0-dev.40",
253
+ "@prisma/debug": "6.4.0-dev.40",
254
+ "@prisma/driver-adapter-utils": "6.4.0-dev.40",
255
+ "@prisma/engines": "6.4.0-dev.40",
256
+ "@prisma/fetch-engine": "6.4.0-dev.40",
257
+ "@prisma/generator-helper": "6.4.0-dev.40",
258
+ "@prisma/get-platform": "6.4.0-dev.40",
259
+ "@prisma/instrumentation": "6.4.0-dev.40",
260
+ "@prisma/migrate": "6.4.0-dev.40",
261
+ "@prisma/pg-worker": "6.4.0-dev.40",
262
+ "@prisma/internals": "6.4.0-dev.40"
257
263
  },
258
264
  "peerDependencies": {
259
265
  "prisma": "*",
@@ -274,9 +280,12 @@
274
280
  "test": "dotenv -e ../../.db.env -- jest --silent",
275
281
  "test:e2e": "dotenv -e ../../.db.env -- tsx tests/e2e/_utils/run.ts",
276
282
  "test:functional": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts",
283
+ "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",
277
284
  "test:memory": "dotenv -e ../../.db.env -- tsx helpers/memory-tests.ts",
278
285
  "test:functional:code": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --no-types",
279
286
  "test:functional:types": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --types-only",
287
+ "test:knownQueryCompilerFailures:check": "tsx helpers/functional-test/check-known-failures.ts",
288
+ "test:knownQueryCompilerFailures:record": "tsx helpers/functional-test/check-known-failures.ts --record",
280
289
  "test-notypes": "dotenv -e ../../.db.env -- jest --testPathIgnorePatterns src/__tests__/types/types.test.ts",
281
290
  "generate": "node scripts/postinstall.js",
282
291
  "postinstall": "node scripts/postinstall.js",