prisma 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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.4.0-dev.39",
2
+ "version": "6.4.0-dev.40",
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": [
@@ -41,7 +41,7 @@
41
41
  "node": ">=18.18"
42
42
  },
43
43
  "prisma": {
44
- "prismaCommit": "1e5ef0aaffbfbb607e3f6a87761f74dfa4c1a916"
44
+ "prismaCommit": "ab65164296914e02484adb5265b6959672f74ae1"
45
45
  },
46
46
  "files": [
47
47
  "README.md",
@@ -111,17 +111,17 @@
111
111
  "typescript": "5.4.5",
112
112
  "xdg-app-paths": "8.3.0",
113
113
  "zx": "7.2.3",
114
- "@prisma/config": "6.4.0-dev.39",
115
- "@prisma/client": "6.4.0-dev.39",
116
- "@prisma/fetch-engine": "6.4.0-dev.39",
117
- "@prisma/debug": "6.4.0-dev.39",
118
- "@prisma/get-platform": "6.4.0-dev.39",
119
- "@prisma/generator-helper": "6.4.0-dev.39",
120
- "@prisma/internals": "6.4.0-dev.39",
121
- "@prisma/migrate": "6.4.0-dev.39"
114
+ "@prisma/client": "6.4.0-dev.40",
115
+ "@prisma/debug": "6.4.0-dev.40",
116
+ "@prisma/config": "6.4.0-dev.40",
117
+ "@prisma/generator-helper": "6.4.0-dev.40",
118
+ "@prisma/fetch-engine": "6.4.0-dev.40",
119
+ "@prisma/internals": "6.4.0-dev.40",
120
+ "@prisma/get-platform": "6.4.0-dev.40",
121
+ "@prisma/migrate": "6.4.0-dev.40"
122
122
  },
123
123
  "dependencies": {
124
- "@prisma/engines": "6.4.0-dev.39"
124
+ "@prisma/engines": "6.4.0-dev.40"
125
125
  },
126
126
  "optionalDependencies": {
127
127
  "fsevents": "2.3.3"
@@ -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;
@@ -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",
@@ -140,9 +146,12 @@
140
146
  "test": "dotenv -e ../../.db.env -- jest --silent",
141
147
  "test:e2e": "dotenv -e ../../.db.env -- tsx tests/e2e/_utils/run.ts",
142
148
  "test:functional": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts",
149
+ "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",
143
150
  "test:memory": "dotenv -e ../../.db.env -- tsx helpers/memory-tests.ts",
144
151
  "test:functional:code": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --no-types",
145
152
  "test:functional:types": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --types-only",
153
+ "test:knownQueryCompilerFailures:check": "tsx helpers/functional-test/check-known-failures.ts",
154
+ "test:knownQueryCompilerFailures:record": "tsx helpers/functional-test/check-known-failures.ts --record",
146
155
  "test-notypes": "dotenv -e ../../.db.env -- jest --testPathIgnorePatterns src/__tests__/types/types.test.ts",
147
156
  "generate": "node scripts/postinstall.js",
148
157
  "postinstall": "node scripts/postinstall.js",