prisma 6.4.0-dev.50 → 6.4.0-dev.52

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.50",
2
+ "version": "6.4.0-dev.52",
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": "839f215ffc8e70b1eb10a6c7fea4dbfd2a8d7054"
44
+ "prismaCommit": "783fb1e808ac28a0c83181ad8a0d50cf84b9ade4"
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/client": "6.4.0-dev.50",
115
- "@prisma/debug": "6.4.0-dev.50",
116
- "@prisma/config": "6.4.0-dev.50",
117
- "@prisma/fetch-engine": "6.4.0-dev.50",
118
- "@prisma/generator-helper": "6.4.0-dev.50",
119
- "@prisma/get-platform": "6.4.0-dev.50",
120
- "@prisma/internals": "6.4.0-dev.50",
121
- "@prisma/migrate": "6.4.0-dev.50"
114
+ "@prisma/client": "6.4.0-dev.52",
115
+ "@prisma/config": "6.4.0-dev.52",
116
+ "@prisma/debug": "6.4.0-dev.52",
117
+ "@prisma/fetch-engine": "6.4.0-dev.52",
118
+ "@prisma/generator-helper": "6.4.0-dev.52",
119
+ "@prisma/get-platform": "6.4.0-dev.52",
120
+ "@prisma/internals": "6.4.0-dev.52",
121
+ "@prisma/migrate": "6.4.0-dev.52"
122
122
  },
123
123
  "dependencies": {
124
- "@prisma/engines": "6.4.0-dev.50"
124
+ "@prisma/engines": "6.4.0-dev.52"
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.50",
3949
+ version: "6.4.0-dev.52",
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",
@@ -10770,7 +10770,7 @@ function getTypedSqlRuntimeBase(runtimeBase) {
10770
10770
  return `../${runtimeBase}`;
10771
10771
  }
10772
10772
  async function getDefaultOutdir(outputDir) {
10773
- if (outputDir.endsWith("node_modules/@prisma/client")) {
10773
+ if (outputDir.endsWith(import_path5.default.normalize("node_modules/@prisma/client"))) {
10774
10774
  return import_path5.default.join(outputDir, "../../.prisma/client");
10775
10775
  }
10776
10776
  if (process.env.INIT_CWD && process.env.npm_lifecycle_event === "postinstall" && !process.env.PWD?.includes(".pnpm")) {
@@ -10996,8 +10996,9 @@ async function getGenerationDirs({
10996
10996
  testMode
10997
10997
  }) {
10998
10998
  const isCustomOutput = generator.isCustomOutput === true;
10999
+ const normalizedOutputDir = import_path5.default.normalize(outputDir);
10999
11000
  let userRuntimeImport = isCustomOutput ? "./runtime" : "@prisma/client/runtime";
11000
- let userOutputDir = isCustomOutput ? outputDir : await getDefaultOutdir(outputDir);
11001
+ let userOutputDir = isCustomOutput ? normalizedOutputDir : await getDefaultOutdir(normalizedOutputDir);
11001
11002
  if (testMode && runtimeBase) {
11002
11003
  userOutputDir = outputDir;
11003
11004
  userRuntimeImport = pathToPosix(runtimeBase);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client",
3
- "version": "6.4.0-dev.50",
3
+ "version": "6.4.0-dev.52",
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",