From c4e7010be461cc5fa6402f78554094d48ff1f7eb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:03:43 +0000 Subject: [PATCH] fix(db): update all non-major dependencies to v5.1.0 (#692) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@prisma/client](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`5.0.0` -> `5.1.0`](https://renovatebot.com/diffs/npm/@prisma%2fclient/5.0.0/5.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@prisma%2fclient/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@prisma%2fclient/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@prisma%2fclient/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@prisma%2fclient/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@prisma/instrumentation](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`5.0.0` -> `5.1.0`](https://renovatebot.com/diffs/npm/@prisma%2finstrumentation/5.0.0/5.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@prisma%2finstrumentation/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@prisma%2finstrumentation/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@prisma%2finstrumentation/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@prisma%2finstrumentation/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | @​prisma/nextjs-monorepo-workaround-plugin | [`5.0.0` -> `5.1.0`](https://renovatebot.com/diffs/npm/@prisma%2fnextjs-monorepo-workaround-plugin/5.0.0/5.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@prisma%2fnextjs-monorepo-workaround-plugin/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@prisma%2fnextjs-monorepo-workaround-plugin/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@prisma%2fnextjs-monorepo-workaround-plugin/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@prisma%2fnextjs-monorepo-workaround-plugin/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [prisma](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`5.0.0` -> `5.1.0`](https://renovatebot.com/diffs/npm/prisma/5.0.0/5.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prisma/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prisma/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prisma/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prisma/5.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
prisma/prisma (@​prisma/client) ### [`v5.1.0`](https://togithub.com/prisma/prisma/releases/tag/5.1.0) Today, we are excited to share the `5.1.0` stable release 🎉 🌟 **Help us spread the word about Prisma by starring the repo ☝️ or [tweeting](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@​prisma%20release%20v5.1.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.1.0) about the release.** ##### Highlights After two big releases where we released Client extensions for production usage ([`4.16.0`](https://togithub.com/prisma/prisma/releases/tag/4.16.0)) and made Prisma faster by default ([`5.0.0`](https://togithub.com/prisma/prisma/releases/tag/5.0.0)), we have focused on some smaller issues to make the experience with these new features even better. ##### Community contributions Our community has been on the roll! We appreciate everyone who helps us by opening a GitHub issue or proposing a fix via Pull Requests. In this release, we're excited to highlight multiple community contributions: - Fix IPv6 not working for relational databases: [https://github.com/prisma/prisma-engines/pull/4051](https://togithub.com/prisma/prisma-engines/pull/4051) by [@​alula](https://togithub.com/alula) - Middlewares: Add to `PrismaAction` type, missing `findUniqueOrThrow` and `findFirstOrThrow` [https://github.com/prisma/prisma/pull/17471](https://togithub.com/prisma/prisma/pull/17471) by [@​mejiaej](https://togithub.com/mejiaej) and missing `groupBy` [https://github.com/prisma/prisma/pull/19985](https://togithub.com/prisma/prisma/pull/19985) by [@​iurylippo](https://togithub.com/iurylippo) - Better error message in currently non-supported runtimes like Browser or Vercel Edge Runtime [https://github.com/prisma/prisma/pull/20163](https://togithub.com/prisma/prisma/pull/20163) by [@​andyjy](https://togithub.com/andyjy) - Remove error messages for valid NixOS setups [https://github.com/prisma/prisma/pull/20138](https://togithub.com/prisma/prisma/pull/20138) by [@​Gerschtli](https://togithub.com/Gerschtli) ##### Better performance: Fewer SQL queries on PostgreSQL & CockroachDB In our continued and ongoing work to make Prisma faster, we identified some Prisma Client queries that led to multiple SQL statements being executed — although in specific databases, that was not necessary. Hence we optimized our internal SQL generation for PostgreSQL and CockroachDB to generate more efficient SQL queries: ##### Simple `create` query In a simple `create` query, `RETURNING` makes the second query and the transaction statements obsolete: ##### Prisma Client query ```ts prisma.user.create({ data: { name: "Original name" } }) ``` ##### Before v5.1.0 ```sql BEGIN INSERT INTO "User" ("name") VALUES ($1) RETURNING "User"."id" SELECT "User"."id", "User"."name" FROM "User" WHERE "User"."id" = $1; COMMIT ``` ##### 5.1.0 and later ```sql -- Sends 1 statement (instead of 2) and omits the transaction INSERT INTO "User" ("name") VALUES ($1) RETURNING "User"."id", "User"."name" ``` ##### Simple `update` query For a simple `update` query, `RETURNING` makes both additional queries and the transaction statements obsolete: ##### Prisma Client query ```ts prisma.user.update({ where: { id: 1 }, data: { name: "updated" } }) ``` ##### Before v5.1.0 ```sql BEGIN SELECT id FROM "User" WHERE "User".id = 1; UPDATE "User" SET name = 'updated' WHERE "User".id = 1; SELECT id, name FROM "User" WHERE "User".id = 1; COMMIT ``` ##### 5.1.0 and later ```sql -- Sends 1 statement (instead of 3) and omits the transaction UPDATE "User" SET name = 'updated' WHERE "User".id = 1 RETURNING "User".id, "User".name; ``` ##### Simple `update` query, return with relation value One `SELECT` query could easily be dropped in a simple `update` query that should return a relation value as well: ##### Prisma Client query ```ts prisma.user.update({ where: { id: 1 }, data: { name: "updated" }, includes: { posts: true } }) ``` ##### Before v5.1.0 ```sql BEGIN SELECT id FROM "User" WHERE "User".id = 1; UPDATE "User" SET name = 'updated' WHERE "User".id = 1; SELECT id, name FROM "User" WHERE "User".id = 1; SELECT id, title FROM "Post" WHERE "Post"."userId" = 1; COMMIT ``` ##### 5.1.0 and later ```sql -- Sends 3 statements (instead of 4) BEGIN UPDATE "User" SET name = 'updated' WHERE "User".id = 1 RETURNING "User".id; SELECT id, name FROM "User" WHERE "User".id = 1; SELECT id, title FROM "Post" WHERE "Post"."userId" = 1; COMMIT ``` ##### Empty `update` query An empty `update` query can be optimized to skip the transaction and the second identical query by creating specific handling for this edge case in our code: ##### Prisma Client query ```ts prisma.user.update({ where: { id: 1 }, data: {}, }) ``` ##### Before v5.1.0 ```sql BEGIN SELECT id, name FROM "User" WHERE "User".id = 1; SELECT id, name FROM "User" WHERE "User".id = 1; COMMIT ``` ##### 5.1.0 and later ```sql -- Sends 1 statement (instead of 2) and omits the transaction SELECT id, name FROM "User" WHERE "User".id = 1; ``` ##### Simple + relation `update` query (but do not return relation value) An update of both the model and its relation, we could drop 2 `SELECT` queries that we did before without ever using their return values: ##### Prisma Client query ```ts prisma.user.update({ where: { id: 1 }, data: { name: "updated", posts: { update: { where: { id: 1 }, data: { title: "updated" } } } } }) ``` ##### Before v5.1.0 ```sql BEGIN SELECT id, name FROM "User" WHERE "User".id = 1; UPDATE "User" SET name = 'updated' WHERE "User".id = 1 RETURNING "User".id; SELECT "id", "postId" FROM "Post" WHERE "Post".id = 1; UPDATE "Post" SET title = 'updated' WHERE "Post"."userId" = 1 AND "Post".id = 1; SELECT id, name FROM "User" WHERE "User".id = 1; COMMIT ``` ##### 5.1.0 and later ```sql -- Sends 3 statements (instead of 5) BEGIN UPDATE "User" SET name = 'updated' WHERE "User".id = 1 RETURNING "User".id, "User".name; SELECT "id", "postId" FROM "Post" WHERE "Post".id = 1; UPDATE "Post" SET title = 'updated' WHERE "Post"."userId" = 1 AND "Post".id = 1; COMMIT ``` In the next releases, we will continue optimizing Prisma Client queries to only run the minimal amount of SQL queries necessary. If you notice any Prisma Client queries that are affected right now, please check the issues under [our `performance/queries` label](https://togithub.com/prisma/prisma/labels/topic%3A%20performance%2Fqueries). If you didn’t find one for what you’re seeing, please [create a new issue](https://togithub.com/prisma/prisma/issues). This will be super useful for us to understand all (edge) cases. Thank you! ##### Prisma Studio now supports `directUrl` Our CLI command `prisma studio` that opens Prisma Studio now also can use the [`directUrl`](https://www.prisma.io/docs/guides/performance-and-optimization/connection-management#external-connection-poolers) property of the `datasource` block so you can make it talk to a different database than defined in `url`. This makes it easier to use Studio alongside the Prisma Data Proxy and [Accelerate](https://www.prisma.io/accelerate). ##### Prisma Client: No more type clashes We fixed (almost) all cases where using a specific term as a model name in your Prisma Schema would lead to a *type clash* due to Prisma’s generated typings. As a result of a type clash, it was not possible to use that model in your code (this was e.g. the case if you named a model `Model` or `ModelUpdate`). We also deprecated the `Args` type as part of that fix. Going forward, `DefaultArgs` should be used instead. ##### Fixes and improvements ##### Prisma Client - [Reduce the number of generated SQL statements for Updates/Inserts](https://togithub.com/prisma/prisma/issues/5043) - [\[v2.17.0\] Missing client TS types Aggregate\*Args](https://togithub.com/prisma/prisma/issues/5749) - [Reduce transactions for writes](https://togithub.com/prisma/prisma/issues/5919) - [Incorrect Include typings when having models called `X` and `XUpdate`](https://togithub.com/prisma/prisma/issues/7518) - [Model named "Check" is incorrectly typed](https://togithub.com/prisma/prisma/issues/7655) - [Models named Query cause an internal GraphQL Parse Error](https://togithub.com/prisma/prisma/issues/8153) - [Naming an entity "Query" leads to an error](https://togithub.com/prisma/prisma/issues/9307) - [Type name clash when `Model` and `ModelUpdate` is defined in the schema ](https://togithub.com/prisma/prisma/issues/9568) - [Duplicate identifier 'CheckSelect'](https://togithub.com/prisma/prisma/issues/9669) - [`@prisma/internals` (previously @​prisma/sdk) uses deprecated dependencies `uuid@3.4.0` via `temp-write 4.0.0`](https://togithub.com/prisma/prisma/issues/11960) - [naming a model `Datasource` breaks generated return types](https://togithub.com/prisma/prisma/issues/12332) - [Certain `model` names cause clashes in generated types](https://togithub.com/prisma/prisma/issues/12469) - [Type error on query with select field (although query runs successfully)](https://togithub.com/prisma/prisma/issues/15615) - [`$extends` TS error: "Inferred type of this node exceeds the maximum length the compiler will serialize" with `"declaration": true` in `tsconfig`](https://togithub.com/prisma/prisma/issues/16536) - [Update operation includes multiple where statements for the same fields](https://togithub.com/prisma/prisma/issues/16864) - [Type conflict when naming a table {something} and a second table {something}Result ](https://togithub.com/prisma/prisma/issues/16940) - [`Type '"findUniqueOrThrow"' is not assignable to type 'PrismaAction'`](https://togithub.com/prisma/prisma/issues/17470) - [Naming a model `Promise` breaks types for `PrismaPromise`](https://togithub.com/prisma/prisma/issues/17542) - [Prisma can't connect with an IPv6 host (on e.g. Fly.io)](https://togithub.com/prisma/prisma/issues/18079) - [`include` not working on models ending with `...Update` with unique compound index](https://togithub.com/prisma/prisma/issues/18902) - [Prisma Client: fixing type name clashes from generated client](https://togithub.com/prisma/prisma/issues/19811) - [Prisma Client: wrong type when using spread operator to set default values on query args](https://togithub.com/prisma/prisma/issues/19962) - [The generated updateArgs have no update attribute](https://togithub.com/prisma/prisma/issues/19967) - [4.16.1 breaks type check](https://togithub.com/prisma/prisma/issues/19999) - [`LogLevel` enum conflicts with built-in Prisma type](https://togithub.com/prisma/prisma/issues/20031) - [Using `Prisma.XyzFindManyArgs` breaks `findMany` typing in v4.16.0+](https://togithub.com/prisma/prisma/issues/20093) - [`this.$on("beforeExit")` doesn't work anymore on 5.0.0](https://togithub.com/prisma/prisma/issues/20171) - [Wrong nullable types with fluent API in Prisma 5.0](https://togithub.com/prisma/prisma/issues/20183) - [`Error: Unknown value type` on nested create](https://togithub.com/prisma/prisma/issues/20192) - [Prisma 5.0 Migration `findUnique` on `@unique` columns that are enums](https://togithub.com/prisma/prisma/issues/20227) - [`UpsertArgs` select field does not match type for `db..upsert(item)`](https://togithub.com/prisma/prisma/issues/20243) - [TypeScript Error TS2322 when assigning JavaScript Date object to Prisma DateTime field](https://togithub.com/prisma/prisma/issues/20253) - [npm install of Prisma CLI fails on preinstall with no logs when Node.js version is lower than minimum](https://togithub.com/prisma/prisma/issues/20260) - [Types wrongly accept non-array parameter `by` in `groupBy` in 5.0.0](https://togithub.com/prisma/prisma/issues/20261) - [CLI errors with `TypeError [ERR_INVALID_URL]: Invalid URL` when `HTTP(S)_PROXY` en var has is set to a URL without a protocol](https://togithub.com/prisma/prisma/issues/20302) - [`tsc --watch` fails with `JavaScript heap out of memory` error](https://togithub.com/prisma/prisma/issues/20308) - [Hovering over types (intellisense) shows confusing `GetResult`](https://togithub.com/prisma/prisma/issues/20320) - [Internal query batching fails when the table name is 'stores'](https://togithub.com/prisma/prisma/issues/20324) - [Client extensions: result extensions should be applied after query extensions](https://togithub.com/prisma/prisma/issues/20437) ##### Prisma Studio - [Use `directUrl` in `prisma studio`](https://togithub.com/prisma/prisma/issues/17358) ##### Language tools (e.g. VS Code) - [The extension for VS Code ignores the modern telemetry flag](https://togithub.com/prisma/language-tools/issues/1463) - [Prisma VS Code extension with mongodb provider crashes when a relation field/type is not defined ](https://togithub.com/prisma/language-tools/issues/1466) - [Editing schema.prisma results in wasm panics](https://togithub.com/prisma/language-tools/issues/1473) ##### Credits Huge thanks to [@​skyzh](https://togithub.com/skyzh), [@​alula](https://togithub.com/alula), [@​michaelpoellath](https://togithub.com/michaelpoellath), [@​RobertCraigie](https://togithub.com/RobertCraigie), [@​Gerschtli](https://togithub.com/Gerschtli), [@​andyjy](https://togithub.com/andyjy), [@​mejiaej](https://togithub.com/mejiaej), [@​iurylippo](https://togithub.com/iurylippo), [@​mrazauskas](https://togithub.com/mrazauskas) for helping!
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/weareinreach/InReach). PR-URL: https://github.com/weareinreach/InReach/pull/692 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- apps/app/package.json | 4 +- packages/api/package.json | 2 +- packages/aws-user-migrate/package.json | 4 +- packages/db/package.json | 6 +- pnpm-lock.yaml | 132 +++++++------------------ 5 files changed, 44 insertions(+), 104 deletions(-) diff --git a/apps/app/package.json b/apps/app/package.json index 737d78631c..cad54103ce 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -54,7 +54,7 @@ "@opentelemetry/sdk-trace-base": "1.15.1", "@opentelemetry/sdk-trace-node": "1.15.1", "@opentelemetry/semantic-conventions": "1.15.1", - "@prisma/instrumentation": "5.0.0", + "@prisma/instrumentation": "5.1.0", "@sentry/nextjs": "7.61.0", "@tanstack/react-query": "4.32.1", "@tanstack/react-table": "8.9.3", @@ -107,7 +107,7 @@ }, "devDependencies": { "@playwright/test": "1.36.2", - "@prisma/nextjs-monorepo-workaround-plugin": "5.0.0", + "@prisma/nextjs-monorepo-workaround-plugin": "5.1.0", "@tanstack/react-query-devtools": "4.32.1", "@tanstack/react-table-devtools": "8.7.6", "@total-typescript/ts-reset": "0.4.2", diff --git a/packages/api/package.json b/packages/api/package.json index ac74491d6c..bae38c5e21 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -65,7 +65,7 @@ "next": "13.4.12", "p-queue": "7.3.4", "prettier": "2.8.8", - "prisma": "5.0.0", + "prisma": "5.1.0", "trpc-client-devtools-link": "0.2.1-next", "trpc-panel": "1.3.4", "type-fest": "4.1.0", diff --git a/packages/aws-user-migrate/package.json b/packages/aws-user-migrate/package.json index 7426025b2d..f23f650ae0 100644 --- a/packages/aws-user-migrate/package.json +++ b/packages/aws-user-migrate/package.json @@ -22,7 +22,7 @@ }, "dependencies": { "@aws-lambda-powertools/logger": "1.12.1", - "@prisma/client": "5.0.0", + "@prisma/client": "5.1.0", "@weareinreach/db": "workspace:*" }, "devDependencies": { @@ -36,7 +36,7 @@ "aws-lambda": "1.0.7", "eslint": "8.46.0", "prettier": "2.8.8", - "prisma": "5.0.0", + "prisma": "5.1.0", "typescript": "5.1.6" } } diff --git a/packages/db/package.json b/packages/db/package.json index b511312425..49f23d7587 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -49,8 +49,8 @@ "@opentelemetry/sdk-trace-base": "1.15.1", "@opentelemetry/sdk-trace-node": "1.15.1", "@opentelemetry/semantic-conventions": "1.15.1", - "@prisma/client": "5.0.0", - "@prisma/instrumentation": "5.0.0", + "@prisma/client": "5.1.0", + "@prisma/instrumentation": "5.1.0", "@vercel/kv": "0.2.2", "@vercel/postgres-kysely": "0.4.1", "@weareinreach/env": "workspace:*", @@ -121,7 +121,7 @@ "papaparse": "5.4.1", "prettier": "2.8.8", "pretty-bytes": "6.1.1", - "prisma": "5.0.0", + "prisma": "5.1.0", "prisma-dbml-generator": "0.10.0", "prisma-query-inspector": "1.4.4", "prisma-query-log": "3.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ffbca76c9c..47fb138af4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -207,8 +207,8 @@ importers: specifier: 1.15.1 version: 1.15.1 '@prisma/instrumentation': - specifier: 5.0.0 - version: 5.0.0 + specifier: 5.1.0 + version: 5.1.0 '@sentry/nextjs': specifier: 7.61.0 version: 7.61.0(next@13.4.12)(react@18.2.0) @@ -361,8 +361,8 @@ importers: specifier: 1.36.2 version: 1.36.2 '@prisma/nextjs-monorepo-workaround-plugin': - specifier: 5.0.0 - version: 5.0.0 + specifier: 5.1.0 + version: 5.1.0 '@tanstack/react-query-devtools': specifier: 4.32.1 version: 4.32.1(@tanstack/react-query@4.32.1)(react-dom@18.2.0)(react@18.2.0) @@ -708,8 +708,8 @@ importers: specifier: 2.8.8 version: 2.8.8 prisma: - specifier: 5.0.0 - version: 5.0.0 + specifier: 5.1.0 + version: 5.1.0 trpc-client-devtools-link: specifier: 0.2.1-next version: 0.2.1-next(@trpc/client@10.36.0)(@trpc/server@10.36.0) @@ -730,7 +730,7 @@ importers: version: 3.379.1 '@next-auth/prisma-adapter': specifier: 1.0.7 - version: 1.0.7(@prisma/client@5.0.0)(next-auth@4.22.3) + version: 1.0.7(@prisma/client@5.1.0)(next-auth@4.22.3) '@weareinreach/db': specifier: workspace:* version: link:../db @@ -891,8 +891,8 @@ importers: specifier: 1.12.1 version: 1.12.1 '@prisma/client': - specifier: 5.0.0 - version: 5.0.0(prisma@5.0.0) + specifier: 5.1.0 + version: 5.1.0(prisma@5.1.0) '@weareinreach/db': specifier: workspace:* version: link:../db @@ -928,8 +928,8 @@ importers: specifier: 2.8.8 version: 2.8.8 prisma: - specifier: 5.0.0 - version: 5.0.0 + specifier: 5.1.0 + version: 5.1.0 typescript: specifier: 5.1.6 version: 5.1.6 @@ -976,11 +976,11 @@ importers: specifier: 1.15.1 version: 1.15.1 '@prisma/client': - specifier: 5.0.0 - version: 5.0.0(prisma@5.0.0) + specifier: 5.1.0 + version: 5.1.0(prisma@5.1.0) '@prisma/instrumentation': - specifier: 5.0.0 - version: 5.0.0 + specifier: 5.1.0 + version: 5.1.0 '@vercel/kv': specifier: 0.2.2 version: 0.2.2 @@ -1187,8 +1187,8 @@ importers: specifier: 6.1.1 version: 6.1.1 prisma: - specifier: 5.0.0 - version: 5.0.0 + specifier: 5.1.0 + version: 5.1.0 prisma-dbml-generator: specifier: 0.10.0 version: 0.10.0 @@ -6562,13 +6562,13 @@ packages: '@types/pg': 8.6.6 dev: false - /@next-auth/prisma-adapter@1.0.7(@prisma/client@5.0.0)(next-auth@4.22.3): + /@next-auth/prisma-adapter@1.0.7(@prisma/client@5.1.0)(next-auth@4.22.3): resolution: {integrity: sha512-Cdko4KfcmKjsyHFrWwZ//lfLUbcLqlyFqjd/nYE2m3aZ7tjMNUjpks47iw7NTCnXf+5UWz5Ypyt1dSs1EP5QJw==} peerDependencies: '@prisma/client': '>=2.26.0 || >=3' next-auth: ^4 dependencies: - '@prisma/client': 5.0.0(prisma@5.0.0) + '@prisma/client': 5.1.0(prisma@5.1.0) next-auth: 4.22.3(next@13.4.12)(react-dom@18.2.0)(react@18.2.0) dev: false @@ -6868,16 +6868,6 @@ packages: '@opentelemetry/api': 1.4.1 dev: false - /@opentelemetry/core@1.14.0(@opentelemetry/api@1.4.1): - resolution: {integrity: sha512-MnMZ+sxsnlzloeuXL2nm5QcNczt/iO82UOeQQDHhV83F2fP3sgntW2evvtoxJki0MBLxEsh5ADD7PR/Hn5uzjw==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.4.1 - '@opentelemetry/semantic-conventions': 1.14.0 - dev: false - /@opentelemetry/core@1.15.1(@opentelemetry/api@1.4.1): resolution: {integrity: sha512-V6GoRTY6aANMDDOQ9CiHOiLWEK2b2b3OGZK+zk05Li5merb9jadFeV5ooTSGtjxfxVNMpQUaQERO1cdbdbeEGg==} engines: {node: '>=14'} @@ -6987,22 +6977,6 @@ packages: - supports-color dev: false - /@opentelemetry/instrumentation@0.40.0(@opentelemetry/api@1.4.1): - resolution: {integrity: sha512-23TzBKPflUS1uEq5SXymnQKQDSda35KvHjnvxdcDQGE+wg6hwDHgScUCWiBmZW4sxAaPcANfs+Wc9B7yDuyT6Q==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': ^1.3.0 - dependencies: - '@opentelemetry/api': 1.4.1 - '@types/shimmer': 1.0.2 - import-in-the-middle: 1.3.5 - require-in-the-middle: 7.2.0 - semver: 7.5.4 - shimmer: 1.2.1 - transitivePeerDependencies: - - supports-color - dev: false - /@opentelemetry/instrumentation@0.41.1(@opentelemetry/api@1.4.1): resolution: {integrity: sha512-IsOidIIgI7Sg2NhWGYRZRifiv9kLyrxT89hBK1YVPDetuBEBUgFzD5VXdwqwfOKL3kgT4KiERMmLJ8gqig0o1A==} engines: {node: '>=14'} @@ -7089,17 +7063,6 @@ packages: '@opentelemetry/core': 1.15.1(@opentelemetry/api@1.4.1) dev: false - /@opentelemetry/resources@1.14.0(@opentelemetry/api@1.4.1): - resolution: {integrity: sha512-qRfWIgBxxl3z47E036Aey0Lj2ZjlFb27Q7Xnj1y1z/P293RXJZGLtcfn/w8JF7v1Q2hs3SDGxz7Wb9Dko1YUQA==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.4.1 - '@opentelemetry/core': 1.14.0(@opentelemetry/api@1.4.1) - '@opentelemetry/semantic-conventions': 1.14.0 - dev: false - /@opentelemetry/resources@1.15.1(@opentelemetry/api@1.4.1): resolution: {integrity: sha512-15JcpyKZHhFYQ1uiC08vR02sRY/2seSnqSJ0tIUhcdYDzOhd0FrqPYpLj3WkLhVdQP6vgJ+pelAmSaOrCxCpKA==} engines: {node: '>=14'} @@ -7160,18 +7123,6 @@ packages: - supports-color dev: false - /@opentelemetry/sdk-trace-base@1.14.0(@opentelemetry/api@1.4.1): - resolution: {integrity: sha512-NzRGt3PS+HPKfQYMb6Iy8YYc5OKA73qDwci/6ujOIvyW9vcqBJSWbjZ8FeLEAmuatUB5WrRhEKu9b0sIiIYTrQ==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.4.1 - '@opentelemetry/core': 1.14.0(@opentelemetry/api@1.4.1) - '@opentelemetry/resources': 1.14.0(@opentelemetry/api@1.4.1) - '@opentelemetry/semantic-conventions': 1.14.0 - dev: false - /@opentelemetry/sdk-trace-base@1.15.1(@opentelemetry/api@1.4.1): resolution: {integrity: sha512-5hccBe2yXzzXyExJNkTsIzDe1AM7HK0al+y/D2yEpslJqS1HUzsUSuCMY7Z4+Sfz5Gf0kTa6KYEt1QUQppnoBA==} engines: {node: '>=14'} @@ -7210,11 +7161,6 @@ packages: '@opentelemetry/semantic-conventions': 1.15.1 dev: false - /@opentelemetry/semantic-conventions@1.14.0: - resolution: {integrity: sha512-rJfCY8rCWz3cb4KI6pEofnytvMPuj3YLQwoscCCYZ5DkdiPjo15IQ0US7+mjcWy9H3fcZIzf2pbJZ7ck/h4tug==} - engines: {node: '>=14'} - dev: false - /@opentelemetry/semantic-conventions@1.15.1: resolution: {integrity: sha512-n8Kur1/CZlYG32YCEj30CoUqA8R7UyDVZzoEU6SDP+13+kXDT2kFVu6MpcnEUTyGP3i058ID6Qjp5h6IJxdPPQ==} engines: {node: '>=14'} @@ -7319,8 +7265,8 @@ packages: /@popperjs/core@2.11.7: resolution: {integrity: sha512-Cr4OjIkipTtcXKjAsm8agyleBuDHvxzeBoa1v543lbv1YaIwQjESsVcmjiWiPEbC1FIeHOG/Op9kdCmAmiS3Kw==} - /@prisma/client@5.0.0(prisma@5.0.0): - resolution: {integrity: sha512-XlO5ELNAQ7rV4cXIDJUNBEgdLwX3pjtt9Q/RHqDpGf43szpNJx2hJnggfFs7TKNx0cOFsl6KJCSfqr5duEU/bQ==} + /@prisma/client@5.1.0(prisma@5.1.0): + resolution: {integrity: sha512-aIxuXlH3p3Vy91buodQhYgAD9m0yuxJzpXMhc1ejQ/WN3pNNWzBA0iDcBObLq8DMdszcXmoLAk3hiRq/ZwBsOw==} engines: {node: '>=16.13'} requiresBuild: true peerDependencies: @@ -7329,8 +7275,8 @@ packages: prisma: optional: true dependencies: - '@prisma/engines-version': 4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584 - prisma: 5.0.0 + '@prisma/engines-version': 5.1.0-28.a9b7003df90aa623086e4d6f4e43c72468e6339b + prisma: 5.1.0 dev: false /@prisma/debug@4.13.0: @@ -7406,8 +7352,8 @@ packages: - supports-color dev: true - /@prisma/engines-version@4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584: - resolution: {integrity: sha512-HHiUF6NixsldsP3JROq07TYBLEjXFKr6PdH8H4gK/XAoTmIplOJBCgrIUMrsRAnEuGyRoRLXKXWUb943+PFoKQ==} + /@prisma/engines-version@5.1.0-28.a9b7003df90aa623086e4d6f4e43c72468e6339b: + resolution: {integrity: sha512-jTwE2oy1yjICmTfnCR0ASIpuMZXZ18sUzQXB7V0RMbrM9OlcmbUwXPuYhnxXuWN8XwRmujeIhsXs/Zeh+fjPOQ==} dev: false /@prisma/engines@4.13.0: @@ -7420,8 +7366,8 @@ packages: requiresBuild: true dev: true - /@prisma/engines@5.0.0: - resolution: {integrity: sha512-kyT/8fd0OpWmhAU5YnY7eP31brW1q1YrTGoblWrhQJDiN/1K+Z8S1kylcmtjqx5wsUGcP1HBWutayA/jtyt+sg==} + /@prisma/engines@5.1.0: + resolution: {integrity: sha512-HqaFsnPmZOdMWkPq6tT2eTVTQyaAXEDdKszcZ4yc7DGMBIYRP6j/zAJTtZUG9SsMV8FaucdL5vRyxY/p5Ni28g==} requiresBuild: true /@prisma/fetch-engine@4.13.0: @@ -7532,12 +7478,12 @@ packages: - supports-color dev: true - /@prisma/instrumentation@5.0.0: - resolution: {integrity: sha512-GUt9ztQXriBmxPIDBd20eBHOX+LaF3zj4ot6mpMB/2YkceU4MvicdEoaX2VkF3r/xM7TatCF9IR2d35wOIv2GA==} + /@prisma/instrumentation@5.1.0: + resolution: {integrity: sha512-gK5DTL1T0wynjHt6RRy7+WgAKvDyettCxbCcwuiZJTsX6Mv/VKApKYtdlvziAz0EQLnlxM+xsgfPBIuZw48tuw==} dependencies: '@opentelemetry/api': 1.4.1 - '@opentelemetry/instrumentation': 0.40.0(@opentelemetry/api@1.4.1) - '@opentelemetry/sdk-trace-base': 1.14.0(@opentelemetry/api@1.4.1) + '@opentelemetry/instrumentation': 0.41.1(@opentelemetry/api@1.4.1) + '@opentelemetry/sdk-trace-base': 1.15.1(@opentelemetry/api@1.4.1) transitivePeerDependencies: - supports-color dev: false @@ -7646,8 +7592,8 @@ packages: - supports-color dev: true - /@prisma/nextjs-monorepo-workaround-plugin@5.0.0: - resolution: {integrity: sha512-9iPBVd2Mz29QzJccyLJforZb/oWCLAS/5Ky6ZVtV5iST/kcDdCL+R+fllzNBltwywPrNwGorUx4C8Ps6WFZaiA==} + /@prisma/nextjs-monorepo-workaround-plugin@5.1.0: + resolution: {integrity: sha512-mtPlf/Sv2D+JAYsMkXINHeYgajr6BN+IILuWv+O54C8Tg+BQ5MUEoqXbgL9GLczo/tKh6DTjD07U8sxWtTFk0Q==} dev: true /@prisma/ni@4.13.0: @@ -16902,12 +16848,6 @@ packages: parent-module: 1.0.1 resolve-from: 4.0.0 - /import-in-the-middle@1.3.5: - resolution: {integrity: sha512-yzHlBqi1EBFrkieAnSt8eTgO5oLSl+YJ7qaOpUH/PMqQOMZoQ/RmDlwnTLQrwYto+gHYjRG+i/IbsB1eDx32NQ==} - dependencies: - module-details-from-path: 1.0.3 - dev: false - /import-in-the-middle@1.4.1: resolution: {integrity: sha512-hGG0PcCsykVo8MBVH8l0uEWLWW6DXMgJA9jvC0yps6M3uIJ8L/tagTCbyF8Ud5TtqJ8/jmZL1YkyySyeVkVQrA==} dependencies: @@ -21471,13 +21411,13 @@ packages: '@sqltools/formatter': 1.2.5 dev: true - /prisma@5.0.0: - resolution: {integrity: sha512-KYWk83Fhi1FH59jSpavAYTt2eoMVW9YKgu8ci0kuUnt6Dup5Qy47pcB4/TLmiPAbhGrxxSz7gsSnJcCmkyPANA==} + /prisma@5.1.0: + resolution: {integrity: sha512-wkXvh+6wxk03G8qwpZMOed4Y3j+EQ+bMTlvbDZHeal6k1E8QuGKzRO7DRXlE1NV0WNgOAas8kwZqcLETQ2+BiQ==} engines: {node: '>=16.13'} hasBin: true requiresBuild: true dependencies: - '@prisma/engines': 5.0.0 + '@prisma/engines': 5.1.0 /probe-image-size@7.2.3: resolution: {integrity: sha512-HubhG4Rb2UH8YtV4ba0Vp5bQ7L78RTONYu/ujmCu5nBI8wGv24s4E9xSKBi0N1MowRpxk76pFCpJtW0KPzOK0w==}