diff --git a/examples/assets-local/package.json b/examples/assets-local/package.json index 2e7655567f3..4842440b54e 100644 --- a/examples/assets-local/package.json +++ b/examples/assets-local/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/assets-s3/package.json b/examples/assets-s3/package.json index 7a40db1fba6..f76ee37235e 100644 --- a/examples/assets-s3/package.json +++ b/examples/assets-s3/package.json @@ -11,11 +11,11 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "dotenv": "^16.0.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/auth/package.json b/examples/auth/package.json index 25d9a02e48f..555f7f88e8d 100644 --- a/examples/auth/package.json +++ b/examples/auth/package.json @@ -12,10 +12,10 @@ "dependencies": { "@keystone-6/auth": "^7.0.0", "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/cloudinary/package.json b/examples/cloudinary/package.json index fa61ce0556d..d39ebdb6f74 100644 --- a/examples/cloudinary/package.json +++ b/examples/cloudinary/package.json @@ -12,11 +12,11 @@ "dependencies": { "@keystone-6/cloudinary": "workspace:^", "@keystone-6/core": "^5.7.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "dotenv": "^16.0.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/custom-admin-ui-logo/package.json b/examples/custom-admin-ui-logo/package.json index a862ef469bb..8617399cb0c 100644 --- a/examples/custom-admin-ui-logo/package.json +++ b/examples/custom-admin-ui-logo/package.json @@ -12,13 +12,13 @@ "dependencies": { "@keystone-6/core": "^5.0.0", "@keystone-ui/core": "^5.0.1", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "next": "^13.3.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/custom-admin-ui-navigation/package.json b/examples/custom-admin-ui-navigation/package.json index 33fe936f7e6..a3e1a939823 100644 --- a/examples/custom-admin-ui-navigation/package.json +++ b/examples/custom-admin-ui-navigation/package.json @@ -11,11 +11,11 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "react": "^18.2.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/custom-admin-ui-pages/package.json b/examples/custom-admin-ui-pages/package.json index ebdb832bd6b..9501483a974 100644 --- a/examples/custom-admin-ui-pages/package.json +++ b/examples/custom-admin-ui-pages/package.json @@ -12,13 +12,13 @@ "dependencies": { "@keystone-6/core": "^5.0.0", "@keystone-ui/core": "^5.0.1", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "next": "^13.3.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/custom-field-view/package.json b/examples/custom-field-view/package.json index cf91a787ea6..c81b44775cf 100644 --- a/examples/custom-field-view/package.json +++ b/examples/custom-field-view/package.json @@ -16,13 +16,13 @@ "@keystone-ui/core": "^5.0.1", "@keystone-ui/fields": "^7.1.1", "@keystone-ui/icons": "^6.0.1", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "next": "^13.3.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/custom-field/package.json b/examples/custom-field/package.json index 2e459b4fb80..ad0f82ecae8 100644 --- a/examples/custom-field/package.json +++ b/examples/custom-field/package.json @@ -12,10 +12,10 @@ "dependencies": { "@keystone-6/core": "^5.0.0", "@keystone-ui/fields": "^7.1.1", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/custom-id/package.json b/examples/custom-id/package.json index 22399359377..56f04689162 100644 --- a/examples/custom-id/package.json +++ b/examples/custom-id/package.json @@ -13,10 +13,10 @@ "dependencies": { "@keystone-6/core": "^5.0.0", "@paralleldrive/cuid2": "^2.2.1", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "tsx": "^3.9.0", "typescript": "~5.0.0" } diff --git a/examples/custom-output-paths/package.json b/examples/custom-output-paths/package.json index 234d041a2a1..9260a49353d 100644 --- a/examples/custom-output-paths/package.json +++ b/examples/custom-output-paths/package.json @@ -11,13 +11,13 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "next": "^13.3.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/custom-prisma-driver-adapter/README.md b/examples/custom-prisma-driver-adapter/README.md new file mode 100644 index 00000000000..342d2691371 --- /dev/null +++ b/examples/custom-prisma-driver-adapter/README.md @@ -0,0 +1,28 @@ +## Example Project - Extend Prisma Schema + +This project implements an example of mutating the Prisma Schema to: + +- Set the Prisma Binary Target; +- Add a multi-column column unique constraint to a list; and +- Add a NOT NULL relationship field + +These show three separate ways of mutating the Prisma Schema see `keystone.ts` and `schema.ts`. + +## Instructions + +To run this project, clone the Keystone repository locally, run `pnpm` at the root of this repository, then navigate to this directory and run: + +```shell +pnpm dev +``` + +This will start the Admin UI at [localhost:3000](http://localhost:3000). +You can use the Admin UI to create items in your database. + +You can also access a GraphQL Playground at [localhost:3000/api/graphql](http://localhost:3000/api/graphql), which allows you to directly run GraphQL queries and mutations. + +Congratulations, you're now up and running with Keystone! 🚀 + +## Try it out in CodeSandbox 🧪 + +You can play with this example online in a web browser using the free [codesandbox.io](https://codesandbox.io/) service. To launch this example, open the URL . You can also fork this sandbox to make your own changes. diff --git a/examples/custom-prisma-driver-adapter/keystone.ts b/examples/custom-prisma-driver-adapter/keystone.ts new file mode 100644 index 00000000000..b0aa46500f1 --- /dev/null +++ b/examples/custom-prisma-driver-adapter/keystone.ts @@ -0,0 +1,36 @@ +import { config } from '@keystone-6/core'; +import { Pool, neonConfig } from '@neondatabase/serverless'; +import { PrismaNeon } from '@prisma/adapter-neon'; +import { WebSocket } from 'undici'; +import { fixPrismaPath } from '../example-utils'; +import { lists } from './schema'; +import { PrismaClient } from '.myprisma/client'; + +export default config({ + db: { + provider: 'sqlite', + url: process.env.DATABASE_URL || 'file:./keystone-example.db', + + prismaClient: config => { + neonConfig.webSocketConstructor = WebSocket; + + const pool = new Pool({ connectionString: process.env.DATABASE_URL }); + const adapter = new PrismaNeon(pool); + return new PrismaClient({ + ...config, + adapter, + }); + }, + + extendPrismaSchema: (schema: any) => { + return schema.replace( + /(generator [^}]+)}/g, + ['$1previewFeatures = ["driverAdapters"]', '}'].join('\n') + ); + }, + + // WARNING: this is only needed for our monorepo examples, dont do this + ...fixPrismaPath, + }, + lists, +}); diff --git a/examples/custom-prisma-driver-adapter/package.json b/examples/custom-prisma-driver-adapter/package.json new file mode 100644 index 00000000000..a147cbffb61 --- /dev/null +++ b/examples/custom-prisma-driver-adapter/package.json @@ -0,0 +1,24 @@ +{ + "name": "@keystone-6/example-custom-prisma-driver-adapter", + "version": "0.0.0", + "private": true, + "license": "MIT", + "scripts": { + "dev": "keystone dev", + "start": "keystone start", + "build": "keystone build", + "postinstall": "keystone postinstall --fix" + }, + "dependencies": { + "@keystone-6/core": "^5.2.0", + "@keystone-6/fields-document": "^8.0.0", + "@neondatabase/serverless": "^0.6.0", + "@prisma/adapter-neon": "^5.4.0", + "@prisma/client": "^5.4.0", + "undici": "^5.25.0" + }, + "devDependencies": { + "prisma": "^5.4.0", + "typescript": "~5.0.0" + } +} diff --git a/examples/custom-prisma-driver-adapter/sandbox.config.json b/examples/custom-prisma-driver-adapter/sandbox.config.json new file mode 100644 index 00000000000..ecd53f91829 --- /dev/null +++ b/examples/custom-prisma-driver-adapter/sandbox.config.json @@ -0,0 +1,7 @@ +{ + "template": "node", + "container": { + "startScript": "keystone dev", + "node": "18" + } +} diff --git a/examples/custom-prisma-driver-adapter/schema.graphql b/examples/custom-prisma-driver-adapter/schema.graphql new file mode 100644 index 00000000000..1cb96a88099 --- /dev/null +++ b/examples/custom-prisma-driver-adapter/schema.graphql @@ -0,0 +1,360 @@ +# This file is automatically generated by Keystone, do not modify it manually. +# Modify your Keystone config when you want to change this. + +type Author { + id: ID! + firstName: String + lastName: String +} + +input AuthorWhereUniqueInput { + id: ID +} + +input AuthorWhereInput { + AND: [AuthorWhereInput!] + OR: [AuthorWhereInput!] + NOT: [AuthorWhereInput!] + id: IDFilter + firstName: StringFilter + lastName: StringFilter +} + +input IDFilter { + equals: ID + in: [ID!] + notIn: [ID!] + lt: ID + lte: ID + gt: ID + gte: ID + not: IDFilter +} + +input StringFilter { + equals: String + in: [String!] + notIn: [String!] + lt: String + lte: String + gt: String + gte: String + contains: String + startsWith: String + endsWith: String + not: NestedStringFilter +} + +input NestedStringFilter { + equals: String + in: [String!] + notIn: [String!] + lt: String + lte: String + gt: String + gte: String + contains: String + startsWith: String + endsWith: String + not: NestedStringFilter +} + +input AuthorOrderByInput { + id: OrderDirection + firstName: OrderDirection + lastName: OrderDirection +} + +enum OrderDirection { + asc + desc +} + +input AuthorUpdateInput { + firstName: String + lastName: String +} + +input AuthorUpdateArgs { + where: AuthorWhereUniqueInput! + data: AuthorUpdateInput! +} + +input AuthorCreateInput { + firstName: String + lastName: String +} + +type Post { + id: ID! + title: String + content: String + author: Author + tags: Tag +} + +input PostWhereUniqueInput { + id: ID +} + +input PostWhereInput { + AND: [PostWhereInput!] + OR: [PostWhereInput!] + NOT: [PostWhereInput!] + id: IDFilter + title: StringFilter + content: StringFilter + author: AuthorWhereInput + tags: TagWhereInput +} + +input PostOrderByInput { + id: OrderDirection + title: OrderDirection + content: OrderDirection +} + +input PostUpdateInput { + title: String + content: String + author: AuthorRelateToOneForUpdateInput + tags: TagRelateToOneForUpdateInput +} + +input AuthorRelateToOneForUpdateInput { + create: AuthorCreateInput + connect: AuthorWhereUniqueInput + disconnect: Boolean +} + +input TagRelateToOneForUpdateInput { + create: TagCreateInput + connect: TagWhereUniqueInput + disconnect: Boolean +} + +input PostUpdateArgs { + where: PostWhereUniqueInput! + data: PostUpdateInput! +} + +input PostCreateInput { + title: String + content: String + author: AuthorRelateToOneForCreateInput + tags: TagRelateToOneForCreateInput +} + +input AuthorRelateToOneForCreateInput { + create: AuthorCreateInput + connect: AuthorWhereUniqueInput +} + +input TagRelateToOneForCreateInput { + create: TagCreateInput + connect: TagWhereUniqueInput +} + +type Tag { + id: ID! + name: String + posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!] + postsCount(where: PostWhereInput! = {}): Int +} + +input TagWhereUniqueInput { + id: ID +} + +input TagWhereInput { + AND: [TagWhereInput!] + OR: [TagWhereInput!] + NOT: [TagWhereInput!] + id: IDFilter + name: StringFilter + posts: PostManyRelationFilter +} + +input PostManyRelationFilter { + every: PostWhereInput + some: PostWhereInput + none: PostWhereInput +} + +input TagOrderByInput { + id: OrderDirection + name: OrderDirection +} + +input TagUpdateInput { + name: String + posts: PostRelateToManyForUpdateInput +} + +input PostRelateToManyForUpdateInput { + disconnect: [PostWhereUniqueInput!] + set: [PostWhereUniqueInput!] + create: [PostCreateInput!] + connect: [PostWhereUniqueInput!] +} + +input TagUpdateArgs { + where: TagWhereUniqueInput! + data: TagUpdateInput! +} + +input TagCreateInput { + name: String + posts: PostRelateToManyForCreateInput +} + +input PostRelateToManyForCreateInput { + create: [PostCreateInput!] + connect: [PostWhereUniqueInput!] +} + +""" +The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). +""" +scalar JSON @specifiedBy(url: "http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf") + +type Mutation { + createAuthor(data: AuthorCreateInput!): Author + createAuthors(data: [AuthorCreateInput!]!): [Author] + updateAuthor(where: AuthorWhereUniqueInput!, data: AuthorUpdateInput!): Author + updateAuthors(data: [AuthorUpdateArgs!]!): [Author] + deleteAuthor(where: AuthorWhereUniqueInput!): Author + deleteAuthors(where: [AuthorWhereUniqueInput!]!): [Author] + createPost(data: PostCreateInput!): Post + createPosts(data: [PostCreateInput!]!): [Post] + updatePost(where: PostWhereUniqueInput!, data: PostUpdateInput!): Post + updatePosts(data: [PostUpdateArgs!]!): [Post] + deletePost(where: PostWhereUniqueInput!): Post + deletePosts(where: [PostWhereUniqueInput!]!): [Post] + createTag(data: TagCreateInput!): Tag + createTags(data: [TagCreateInput!]!): [Tag] + updateTag(where: TagWhereUniqueInput!, data: TagUpdateInput!): Tag + updateTags(data: [TagUpdateArgs!]!): [Tag] + deleteTag(where: TagWhereUniqueInput!): Tag + deleteTags(where: [TagWhereUniqueInput!]!): [Tag] +} + +type Query { + authors(where: AuthorWhereInput! = {}, orderBy: [AuthorOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: AuthorWhereUniqueInput): [Author!] + author(where: AuthorWhereUniqueInput!): Author + authorsCount(where: AuthorWhereInput! = {}): Int + posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!] + post(where: PostWhereUniqueInput!): Post + postsCount(where: PostWhereInput! = {}): Int + tags(where: TagWhereInput! = {}, orderBy: [TagOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TagWhereUniqueInput): [Tag!] + tag(where: TagWhereUniqueInput!): Tag + tagsCount(where: TagWhereInput! = {}): Int + keystone: KeystoneMeta! +} + +type KeystoneMeta { + adminMeta: KeystoneAdminMeta! +} + +type KeystoneAdminMeta { + lists: [KeystoneAdminUIListMeta!]! + list(key: String!): KeystoneAdminUIListMeta +} + +type KeystoneAdminUIListMeta { + key: String! + itemQueryName: String! + listQueryName: String! + hideCreate: Boolean! + hideDelete: Boolean! + path: String! + label: String! + singular: String! + plural: String! + description: String + initialColumns: [String!]! + pageSize: Int! + labelField: String! + fields: [KeystoneAdminUIFieldMeta!]! + groups: [KeystoneAdminUIFieldGroupMeta!]! + initialSort: KeystoneAdminUISort + isHidden: Boolean! + isSingleton: Boolean! +} + +type KeystoneAdminUIFieldMeta { + path: String! + label: String! + description: String + isOrderable: Boolean! + isFilterable: Boolean! + isNonNull: [KeystoneAdminUIFieldMetaIsNonNull!] + fieldMeta: JSON + viewsIndex: Int! + customViewsIndex: Int + createView: KeystoneAdminUIFieldMetaCreateView! + listView: KeystoneAdminUIFieldMetaListView! + itemView(id: ID): KeystoneAdminUIFieldMetaItemView + search: QueryMode +} + +enum KeystoneAdminUIFieldMetaIsNonNull { + read + create + update +} + +type KeystoneAdminUIFieldMetaCreateView { + fieldMode: KeystoneAdminUIFieldMetaCreateViewFieldMode! +} + +enum KeystoneAdminUIFieldMetaCreateViewFieldMode { + edit + hidden +} + +type KeystoneAdminUIFieldMetaListView { + fieldMode: KeystoneAdminUIFieldMetaListViewFieldMode! +} + +enum KeystoneAdminUIFieldMetaListViewFieldMode { + read + hidden +} + +type KeystoneAdminUIFieldMetaItemView { + fieldMode: KeystoneAdminUIFieldMetaItemViewFieldMode + fieldPosition: KeystoneAdminUIFieldMetaItemViewFieldPosition +} + +enum KeystoneAdminUIFieldMetaItemViewFieldMode { + edit + read + hidden +} + +enum KeystoneAdminUIFieldMetaItemViewFieldPosition { + form + sidebar +} + +enum QueryMode { + default + insensitive +} + +type KeystoneAdminUIFieldGroupMeta { + label: String! + description: String + fields: [KeystoneAdminUIFieldMeta!]! +} + +type KeystoneAdminUISort { + field: String! + direction: KeystoneAdminUISortDirection! +} + +enum KeystoneAdminUISortDirection { + ASC + DESC +} diff --git a/examples/custom-prisma-driver-adapter/schema.prisma b/examples/custom-prisma-driver-adapter/schema.prisma new file mode 100644 index 00000000000..766dae5cbd5 --- /dev/null +++ b/examples/custom-prisma-driver-adapter/schema.prisma @@ -0,0 +1,40 @@ +// This file is automatically generated by Keystone, do not modify it manually. +// Modify your Keystone config when you want to change this. + +datasource sqlite { + url = env("DATABASE_URL") + shadowDatabaseUrl = env("SHADOW_DATABASE_URL") + provider = "sqlite" +} + +generator client { + provider = "prisma-client-js" + output = "node_modules/.myprisma/client" + previewFeatures = ["driverAdapters"] +} + +model Author { + id String @id @default(cuid()) + firstName String @default("") + lastName String @default("") + from_Post_author Post[] @relation("Post_author") +} + +model Post { + id String @id @default(cuid()) + title String @default("") + content String @default("") + author Author? @relation("Post_author", fields: [authorId], references: [id]) + authorId String? @map("author") + tags Tag? @relation("Post_tags", fields: [tagsId], references: [id]) + tagsId String? @map("tags") + + @@index([authorId]) + @@index([tagsId]) +} + +model Tag { + id String @id @default(cuid()) + name String @default("") + posts Post[] @relation("Post_tags") +} diff --git a/examples/custom-prisma-driver-adapter/schema.ts b/examples/custom-prisma-driver-adapter/schema.ts new file mode 100644 index 00000000000..81e0ffb7df2 --- /dev/null +++ b/examples/custom-prisma-driver-adapter/schema.ts @@ -0,0 +1,35 @@ +import { list } from '@keystone-6/core'; +import { text, relationship } from '@keystone-6/core/fields'; +import { allowAll } from '@keystone-6/core/access'; +import { Lists } from '.keystone/types'; + +export const lists: Lists = { + Author: list({ + access: allowAll, + fields: { + firstName: text(), + lastName: text(), + }, + }), + Post: list({ + access: allowAll, + fields: { + title: text(), + content: text(), + author: relationship({ ref: 'Author' }), + tags: relationship({ + ref: 'Tag.posts', + }), + }, + }), + Tag: list({ + access: allowAll, + fields: { + name: text(), + posts: relationship({ + ref: 'Post.tags', + many: true, + }), + }, + }), +}; diff --git a/examples/custom-session-invalidation/package.json b/examples/custom-session-invalidation/package.json index 1d60c22455d..f0a165cbfca 100644 --- a/examples/custom-session-invalidation/package.json +++ b/examples/custom-session-invalidation/package.json @@ -12,10 +12,10 @@ "dependencies": { "@keystone-6/auth": "^7.0.0", "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/custom-session-jwt/package.json b/examples/custom-session-jwt/package.json index 894d968f9b8..47d0db1d7a3 100644 --- a/examples/custom-session-jwt/package.json +++ b/examples/custom-session-jwt/package.json @@ -12,12 +12,12 @@ "dependencies": { "@keystone-6/auth": "^7.0.0", "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "jsonwebtoken": "^9.0.0" }, "devDependencies": { "@types/jsonwebtoken": "^9.0.2", - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/custom-session-redis/package.json b/examples/custom-session-redis/package.json index 27df0d75dc9..77234c73ea7 100644 --- a/examples/custom-session-redis/package.json +++ b/examples/custom-session-redis/package.json @@ -12,11 +12,11 @@ "dependencies": { "@keystone-6/auth": "^7.0.0", "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "@redis/client": "^1.3.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/custom-session/package.json b/examples/custom-session/package.json index fc8d42e4e59..78b09de4dd2 100644 --- a/examples/custom-session/package.json +++ b/examples/custom-session/package.json @@ -12,10 +12,10 @@ "dependencies": { "@keystone-6/auth": "^7.0.0", "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/default-values/package.json b/examples/default-values/package.json index 855ed9009c1..dce5fbe4553 100644 --- a/examples/default-values/package.json +++ b/examples/default-values/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/document-field-customisation/keystone-server/package.json b/examples/document-field-customisation/keystone-server/package.json index 988a3081506..ae58d748474 100644 --- a/examples/document-field-customisation/keystone-server/package.json +++ b/examples/document-field-customisation/keystone-server/package.json @@ -18,11 +18,11 @@ "@keystone-ui/fields": "^7.2.0", "@keystone-ui/icons": "^6.0.1", "@keystone-ui/tooltip": "^6.0.1", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "react": "^18.2.0", "typescript": "~5.0.0" }, "devDependencies": { - "prisma": "^4.16.2" + "prisma": "^5.4.0" } } diff --git a/examples/document-field/package.json b/examples/document-field/package.json index 833598ad506..727c1a8d8ae 100644 --- a/examples/document-field/package.json +++ b/examples/document-field/package.json @@ -15,13 +15,13 @@ "@keystone-6/document-renderer": "^1.1.1", "@keystone-6/fields-document": "^8.0.0", "@preconstruct/next": "^4.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "next": "^13.3.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/extend-express-app/package.json b/examples/extend-express-app/package.json index 53d666cff72..25c6a943b0f 100644 --- a/examples/extend-express-app/package.json +++ b/examples/extend-express-app/package.json @@ -12,12 +12,12 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "@types/express": "^4.17.14", "express": "^4.17.1" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "tsx": "^3.9.0", "typescript": "~5.0.0" } diff --git a/examples/extend-graphql-schema-graphql-tools/package.json b/examples/extend-graphql-schema-graphql-tools/package.json index fe1fab7da3e..6783005e876 100644 --- a/examples/extend-graphql-schema-graphql-tools/package.json +++ b/examples/extend-graphql-schema-graphql-tools/package.json @@ -12,11 +12,11 @@ "dependencies": { "@graphql-tools/schema": "^9.0.0", "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "graphql": "^16.8.1" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/extend-graphql-schema-graphql-ts/package.json b/examples/extend-graphql-schema-graphql-ts/package.json index 0399621d8f9..5337a70842b 100644 --- a/examples/extend-graphql-schema-graphql-ts/package.json +++ b/examples/extend-graphql-schema-graphql-ts/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/extend-graphql-schema-nexus/package.json b/examples/extend-graphql-schema-nexus/package.json index 4871a639c64..547bb95931d 100644 --- a/examples/extend-graphql-schema-nexus/package.json +++ b/examples/extend-graphql-schema-nexus/package.json @@ -12,11 +12,11 @@ "dependencies": { "@graphql-tools/schema": "^9.0.0", "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "graphql": "^16.8.1", "nexus": "^1.3.0" }, "devDependencies": { - "prisma": "^4.16.2" + "prisma": "^5.4.0" } } diff --git a/examples/extend-graphql-subscriptions/package.json b/examples/extend-graphql-subscriptions/package.json index 251ee821d67..d08f906fab6 100644 --- a/examples/extend-graphql-subscriptions/package.json +++ b/examples/extend-graphql-subscriptions/package.json @@ -17,7 +17,7 @@ "@keystone-ui/button": "^7.0.1", "@keystone-ui/core": "^5.0.1", "@keystone-ui/fields": "^7.1.1", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "graphql": "^16.8.1", "graphql-subscriptions": "^2.0.0", "graphql-ws": "^5.9.1", @@ -26,7 +26,7 @@ }, "devDependencies": { "@types/ws": "^8.5.3", - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/extend-prisma-schema/package.json b/examples/extend-prisma-schema/package.json index 08d1891e172..70a61c4ab59 100644 --- a/examples/extend-prisma-schema/package.json +++ b/examples/extend-prisma-schema/package.json @@ -12,10 +12,10 @@ "dependencies": { "@keystone-6/core": "^5.2.0", "@keystone-6/fields-document": "^8.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/field-groups/package.json b/examples/field-groups/package.json index 6038916bde2..6548da5924a 100644 --- a/examples/field-groups/package.json +++ b/examples/field-groups/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/framework-astro/package.json b/examples/framework-astro/package.json index 5bc82065ace..59d685b86e8 100644 --- a/examples/framework-astro/package.json +++ b/examples/framework-astro/package.json @@ -13,14 +13,14 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "astro": "^2.2.1" }, "devDependencies": { "@types/node": "^18.11.14", "@types/react": "^18.0.9", "@types/react-dom": "^18.0.4", - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/framework-nextjs-app-directory/package.json b/examples/framework-nextjs-app-directory/package.json index 081a3cab3f4..08852286343 100644 --- a/examples/framework-nextjs-app-directory/package.json +++ b/examples/framework-nextjs-app-directory/package.json @@ -19,7 +19,7 @@ "@keystone-6/document-renderer": "^1.0.0", "@keystone-6/fields-document": "^8.0.0", "@preconstruct/next": "^4.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "graphql": "^16.8.1", "graphql-request": "^5.0.0", "graphql-yoga": "^3.1.0", @@ -31,7 +31,7 @@ "@types/node": "^18.11.14", "@types/react": "^18.0.9", "@types/react-dom": "^18.0.4", - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/framework-nextjs-pages-directory/package.json b/examples/framework-nextjs-pages-directory/package.json index d983a29153c..fd225c0bc9b 100644 --- a/examples/framework-nextjs-pages-directory/package.json +++ b/examples/framework-nextjs-pages-directory/package.json @@ -18,7 +18,7 @@ "@keystone-6/core": "^5.2.0", "@keystone-6/fields-document": "^8.0.0", "@preconstruct/next": "^4.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "graphql": "^16.8.1", "graphql-request": "^5.0.0", "graphql-yoga": "^3.1.0", @@ -30,7 +30,7 @@ "@types/node": "^18.11.14", "@types/react": "^18.0.9", "@types/react-dom": "^18.0.4", - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/framework-nextjs-two-servers/keystone-server/package.json b/examples/framework-nextjs-two-servers/keystone-server/package.json index 875ffd391cb..159ae1dd2dc 100644 --- a/examples/framework-nextjs-two-servers/keystone-server/package.json +++ b/examples/framework-nextjs-two-servers/keystone-server/package.json @@ -13,10 +13,10 @@ "@keystone-6/auth": "^7.0.0", "@keystone-6/core": "^5.2.0", "@keystone-6/fields-document": "^8.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/framework-remix/package.json b/examples/framework-remix/package.json index 443f2a538e4..2708fef98a0 100644 --- a/examples/framework-remix/package.json +++ b/examples/framework-remix/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@keystone-6/core": "^5.1.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "@remix-run/node": "^1.15.0", "@remix-run/react": "^1.15.0", "@remix-run/serve": "^1.15.0", @@ -22,7 +22,7 @@ "@remix-run/dev": "^1.15.0", "@types/react": "^18.0.25", "@types/react-dom": "^18.0.8", - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/graphql-ts-gql/package.json b/examples/graphql-ts-gql/package.json index 4a4184d8523..38eafdb2504 100644 --- a/examples/graphql-ts-gql/package.json +++ b/examples/graphql-ts-gql/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "@ts-gql/compiler": "^0.15.3", "@ts-gql/eslint-plugin": "^0.9.0", "@ts-gql/tag": "^0.7.0", @@ -21,7 +21,7 @@ "graphql": "^16.8.1" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" }, "ts-gql": { diff --git a/examples/hooks/package.json b/examples/hooks/package.json index 7886eaa656c..70da9b6755a 100644 --- a/examples/hooks/package.json +++ b/examples/hooks/package.json @@ -10,10 +10,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/limits/package.json b/examples/limits/package.json index 42dd9cb8083..9819bba469d 100644 --- a/examples/limits/package.json +++ b/examples/limits/package.json @@ -12,10 +12,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "tsx": "^3.9.0", "typescript": "~5.0.0" } diff --git a/examples/omit/package.json b/examples/omit/package.json index fa1997f5d68..758fe963295 100644 --- a/examples/omit/package.json +++ b/examples/omit/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/reuse/package.json b/examples/reuse/package.json index e59f848bc48..e7ed8090df2 100644 --- a/examples/reuse/package.json +++ b/examples/reuse/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/script/package.json b/examples/script/package.json index 77126472b59..6ccfae0a06f 100644 --- a/examples/script/package.json +++ b/examples/script/package.json @@ -12,10 +12,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "tsx": "^3.9.0", "typescript": "~5.0.0" } diff --git a/examples/singleton/package.json b/examples/singleton/package.json index 5b865f573e8..722b5afe275 100644 --- a/examples/singleton/package.json +++ b/examples/singleton/package.json @@ -12,10 +12,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "tsx": "^3.9.0", "typescript": "~5.0.0" } diff --git a/examples/testing/package.json b/examples/testing/package.json index a468416edbf..1a94c69d866 100644 --- a/examples/testing/package.json +++ b/examples/testing/package.json @@ -13,12 +13,12 @@ "dependencies": { "@keystone-6/auth": "^7.0.0", "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { "@types/node": "^18.11.14", "tsx": "^3.9.0", - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/usecase-blog-moderated/package.json b/examples/usecase-blog-moderated/package.json index 4718db3b393..e822bf905b6 100644 --- a/examples/usecase-blog-moderated/package.json +++ b/examples/usecase-blog-moderated/package.json @@ -11,10 +11,10 @@ "dependencies": { "@keystone-6/auth": "^7.0.0", "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/usecase-blog/package.json b/examples/usecase-blog/package.json index e541400ae42..c091677d9be 100644 --- a/examples/usecase-blog/package.json +++ b/examples/usecase-blog/package.json @@ -13,10 +13,10 @@ "dependencies": { "@keystone-6/core": "^5.2.0", "@keystone-6/fields-document": "^8.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "tsx": "^3.9.0", "typescript": "~5.0.0" } diff --git a/examples/usecase-relationship-union/package.json b/examples/usecase-relationship-union/package.json index 0c060eadb8a..a69664e5eec 100644 --- a/examples/usecase-relationship-union/package.json +++ b/examples/usecase-relationship-union/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/usecase-roles/package.json b/examples/usecase-roles/package.json index 3dfd6494b64..92a930020da 100644 --- a/examples/usecase-roles/package.json +++ b/examples/usecase-roles/package.json @@ -12,10 +12,10 @@ "dependencies": { "@keystone-6/auth": "^7.0.0", "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/examples/usecase-todo/package.json b/examples/usecase-todo/package.json index b667eb9fcf5..5fbba5e762f 100644 --- a/examples/usecase-todo/package.json +++ b/examples/usecase-todo/package.json @@ -12,10 +12,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "tsx": "^3.9.0", "typescript": "~5.0.0" } diff --git a/examples/usecase-versioning/package.json b/examples/usecase-versioning/package.json index 53a198f8f7b..6726ab419e6 100644 --- a/examples/usecase-versioning/package.json +++ b/examples/usecase-versioning/package.json @@ -12,10 +12,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "tsx": "^3.9.0", "typescript": "~5.0.0" } diff --git a/examples/virtual-field/package.json b/examples/virtual-field/package.json index 0d2a83c3189..401180be9d0 100644 --- a/examples/virtual-field/package.json +++ b/examples/virtual-field/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/packages/core/package.json b/packages/core/package.json index 88d74672452..5dcced8a414 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -208,9 +208,9 @@ "@keystone-ui/toast": "^6.0.2", "@keystone-ui/tooltip": "^6.0.2", "@nodelib/fs.walk": "^2.0.0", - "@prisma/client": "4.16.2", - "@prisma/internals": "4.16.2", - "@prisma/migrate": "4.16.2", + "@prisma/client": "5.4.0", + "@prisma/internals": "5.4.0", + "@prisma/migrate": "5.4.0", "apollo-upload-client": "^17.0.0", "bcryptjs": "^2.4.3", "body-parser": "^1.20.1", @@ -240,7 +240,7 @@ "node-fetch": "^2.6.7", "p-limit": "^2.3.0", "pluralize": "^8.0.0", - "prisma": "4.16.2", + "prisma": "5.4.0", "prompts": "^2.4.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/core/src/artifacts.ts b/packages/core/src/artifacts.ts index 36c22fb2a17..d1b9ff8ca68 100644 --- a/packages/core/src/artifacts.ts +++ b/packages/core/src/artifacts.ts @@ -193,7 +193,7 @@ export async function generateTypescriptTypesAndPrisma( const paths = getSystemPaths(cwd, config); const dataProxy = config.db.url.startsWith('prisma:'); if (dataProxy === true) { - console.log('✨ Generating Prisma Client (data proxy)'); + console.log('✨ Generating Prisma Client (without engine)'); } await Promise.all([ generatePrismaClient(paths.schema.prisma, dataProxy), @@ -201,10 +201,10 @@ export async function generateTypescriptTypesAndPrisma( ]); } -async function generatePrismaClient(prismaSchemaPath: string, dataProxy: boolean) { +async function generatePrismaClient(prismaSchemaPath: string, noEngine: boolean) { const generators = await getGenerators({ + noEngine, schemaPath: prismaSchemaPath, - dataProxy, }); await Promise.all( diff --git a/packages/core/src/context.ts b/packages/core/src/context.ts index 93d6d031ebb..504c8b84273 100644 --- a/packages/core/src/context.ts +++ b/packages/core/src/context.ts @@ -3,10 +3,9 @@ import { initConfig } from './lib/config'; import { createSystem } from './lib/createSystem'; export function getContext( - config: KeystoneConfig, - PrismaModule: unknown + config: KeystoneConfig ): KeystoneContext { const system = createSystem(initConfig(config)); - const { context } = system.getKeystone(PrismaModule as any); + const { context } = system.getKeystone(); return context; } diff --git a/packages/core/src/lib/createSystem.ts b/packages/core/src/lib/createSystem.ts index f61226c74e2..07294c76ca6 100644 --- a/packages/core/src/lib/createSystem.ts +++ b/packages/core/src/lib/createSystem.ts @@ -1,14 +1,15 @@ import { randomBytes } from 'node:crypto'; +import process from 'node:process'; import pLimit from 'p-limit'; -import type { FieldData, KeystoneConfig } from '../types'; +import type { FieldData, KeystoneConfig, PrismaClientConfig } from '../types'; -import type { PrismaModule } from '../artifacts'; import { allowAll } from '../access'; import { createAdminMeta } from './create-admin-meta'; import { createGraphQLSchema } from './createGraphQLSchema'; import { createContext } from './context/createContext'; import { initialiseLists, InitialisedList } from './core/initialise-lists'; import { setPrismaNamespace, setWriteLimit } from './core/utils'; +import { getSystemPaths } from '../artifacts'; function getSudoGraphQLSchema(config: KeystoneConfig) { // This function creates a GraphQLSchema based on a modified version of the provided config. @@ -106,8 +107,8 @@ export function createSystem(config: KeystoneConfig) { return { graphQLSchema, adminMeta, - getKeystone: (prismaModule: PrismaModule) => { - const prePrismaClient = new prismaModule.PrismaClient({ + getKeystone: () => { + const prismaClientConfig: PrismaClientConfig = { datasources: { [config.db.provider]: { url: config.db.url } }, log: config.db.enableLogging === true @@ -115,11 +116,22 @@ export function createSystem(config: KeystoneConfig) { : config.db.enableLogging === false ? undefined : config.db.enableLogging, - }); + }; + + const paths = getSystemPaths(process.cwd(), config); + + const prismaClientModule = config.db?.prismaClientModule + ? config.db.prismaClientModule() + : require(paths.prisma); - const prismaClient = injectNewDefaults(prePrismaClient, lists); + const prismaClient = injectNewDefaults( + config.db?.prismaClientModule + ? prismaClientModule.PrismaClient + : new prismaClientModule.PrismaClient(prismaClientConfig), + lists + ); setWriteLimit(prismaClient, pLimit(config.db.provider === 'sqlite' ? 1 : Infinity)); - setPrismaNamespace(prismaClient, prismaModule.Prisma); + setPrismaNamespace(prismaClient, prismaClientModule.Prisma); const context = createContext({ graphQLSchema, diff --git a/packages/core/src/scripts/dev.ts b/packages/core/src/scripts/dev.ts index f0362cc66f9..1bd689ba3f9 100644 --- a/packages/core/src/scripts/dev.ts +++ b/packages/core/src/scripts/dev.ts @@ -167,7 +167,7 @@ export async function dev( const initialisedLists = initialiseLists(config); const originalPrismaSchema = printPrismaSchema( initialisedLists, - config.db.prismaClientPath, + paths.prisma, config.db.provider, config.db.prismaPreviewFeatures, config.db.additionalPrismaDatasourceProperties, @@ -196,7 +196,7 @@ export async function dev( if (prisma) { const newPrismaSchema = printPrismaSchema( initialiseLists(newConfig), - config.db.prismaClientPath, + paths.prisma, newConfig.db.provider, newConfig.db.prismaPreviewFeatures, newConfig.db.additionalPrismaDatasourceProperties, @@ -237,12 +237,7 @@ export async function dev( await generateAdminUI(newConfig, graphQLSchema, adminMeta, paths.admin, true); if (prismaClientModule) { if (server && lastApolloServer) { - const keystone = getKeystone({ - PrismaClient: function fakePrismaClientClass() { - return prismaClient; - } as unknown as new (args: unknown) => any, - Prisma: prismaClientModule.Prisma, - }); + const keystone = getKeystone(); const servers = await createExpressServer(newConfig, graphQLSchema, keystone.context); if (nextApp) { servers.expressServer.use( @@ -392,7 +387,7 @@ async function setupInitialKeystone( await prismaClientGenerationPromise; const prismaClientModule = require(paths.prisma); - const keystone = getKeystone(prismaClientModule); + const keystone = getKeystone(); console.log('✨ Connecting to the database'); await keystone.connect(); // TODO: remove, replace with server.onStart diff --git a/packages/core/src/scripts/start.ts b/packages/core/src/scripts/start.ts index f55a16d1b7b..dbd018af023 100644 --- a/packages/core/src/scripts/start.ts +++ b/packages/core/src/scripts/start.ts @@ -31,8 +31,7 @@ export const start = async ( const config = getBuiltKeystoneConfiguration(cwd); const paths = getSystemPaths(cwd, config); const { getKeystone, graphQLSchema } = createSystem(config); - const prismaClient = require(paths.prisma); - const keystone = getKeystone(prismaClient); + const keystone = getKeystone(); if (withMigrations) { console.log('✨ Applying database migrations'); diff --git a/packages/core/src/types/config/index.ts b/packages/core/src/types/config/index.ts index c2b06dfe12e..cfdaa0b6c6b 100644 --- a/packages/core/src/types/config/index.ts +++ b/packages/core/src/types/config/index.ts @@ -139,18 +139,35 @@ type PrismaLogDefinition = { emit: 'stdout' | 'event'; }; +type PrismaDatasource = { + url?: string; +}; + +type PrismaDatasources = { + sqlite?: PrismaDatasource; +}; + +export type PrismaClientConfig = { + datasources?: PrismaDatasources; + log?: (PrismaLogLevel | PrismaLogDefinition)[]; +}; + export type DatabaseConfig = { provider: DatabaseProvider; url: string; shadowDatabaseUrl?: string; onConnect?: (args: KeystoneContext) => Promise; - enableLogging?: boolean | PrismaLogLevel | Array; + enableLogging?: boolean | Array; idField?: IdFieldConfig; prismaClientPath?: string; prismaSchemaPath?: string; extendPrismaSchema?: (schema: string) => string; + prismaClientModule?: () => { + PrismaClient: any; + Prisma: any; + }; /** @deprecated */ useMigrations?: boolean; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 827e49afec4..1acd576b706 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -636,12 +636,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -652,15 +652,15 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) dotenv: specifier: ^16.0.0 version: 16.0.0 devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -674,12 +674,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -693,15 +693,15 @@ importers: specifier: ^5.7.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) dotenv: specifier: ^16.0.0 version: 16.3.1 devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -715,8 +715,8 @@ importers: specifier: ^5.0.1 version: link:../../design-system/packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) next: specifier: ^13.3.0 version: 13.3.0(@babel/core@7.21.0)(react-dom@18.2.0)(react@18.2.0) @@ -728,8 +728,8 @@ importers: version: 18.2.0(react@18.2.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -740,15 +740,15 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) react: specifier: ^18.2.0 version: 18.2.0 devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -762,8 +762,8 @@ importers: specifier: ^5.0.1 version: link:../../design-system/packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) next: specifier: ^13.3.0 version: 13.3.0(@babel/core@7.21.0)(react-dom@18.2.0)(react@18.2.0) @@ -775,8 +775,8 @@ importers: version: 18.2.0(react@18.2.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -790,12 +790,12 @@ importers: specifier: ^7.1.1 version: link:../../design-system/packages/fields '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -821,8 +821,8 @@ importers: specifier: ^6.0.1 version: link:../../design-system/packages/icons '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) next: specifier: ^13.3.0 version: 13.3.0(@babel/core@7.21.0)(react-dom@18.2.0)(react@18.2.0) @@ -834,8 +834,8 @@ importers: version: 18.2.0(react@18.2.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -849,12 +849,12 @@ importers: specifier: ^2.2.1 version: 2.2.1 '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 tsx: specifier: ^3.9.0 version: 3.9.0 @@ -868,8 +868,8 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) next: specifier: ^13.3.0 version: 13.3.0(@babel/core@7.21.0)(react-dom@18.2.0)(react@18.2.0) @@ -881,8 +881,36 @@ importers: version: 18.2.0(react@18.2.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 + typescript: + specifier: ~5.0.0 + version: 5.0.2 + + examples/custom-prisma-driver-adapter: + dependencies: + '@keystone-6/core': + specifier: ^5.2.0 + version: link:../../packages/core + '@keystone-6/fields-document': + specifier: ^8.0.0 + version: link:../../packages/fields-document + '@neondatabase/serverless': + specifier: ^0.6.0 + version: 0.6.0 + '@prisma/adapter-neon': + specifier: ^5.4.0 + version: 5.4.0(@neondatabase/serverless@0.6.0) + '@prisma/client': + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) + undici: + specifier: ^5.25.0 + version: 5.25.4 + devDependencies: + prisma: + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -896,12 +924,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -915,12 +943,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -934,8 +962,8 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) jsonwebtoken: specifier: ^9.0.0 version: 9.0.0 @@ -944,8 +972,8 @@ importers: specifier: ^9.0.2 version: 9.0.2 prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -978,15 +1006,15 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) '@redis/client': specifier: ^1.3.0 version: 1.3.0 devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -997,12 +1025,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1022,8 +1050,8 @@ importers: specifier: ^4.0.0 version: 4.0.0 '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) next: specifier: ^13.3.0 version: 13.3.0(@babel/core@7.21.0)(react-dom@18.2.0)(react@18.2.0) @@ -1035,8 +1063,8 @@ importers: version: 18.2.0(react@18.2.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1074,8 +1102,8 @@ importers: specifier: ^6.0.1 version: link:../../../design-system/packages/tooltip '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) react: specifier: ^18.2.0 version: 18.2.0 @@ -1084,8 +1112,8 @@ importers: version: 5.0.2 devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 examples/document-field-customisation/nextjs-frontend: dependencies: @@ -1127,8 +1155,8 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) '@types/express': specifier: ^4.17.14 version: 4.17.14 @@ -1137,8 +1165,8 @@ importers: version: 4.17.1 devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 tsx: specifier: ^3.9.0 version: 3.9.0 @@ -1155,15 +1183,15 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) graphql: specifier: ^16.8.1 version: 16.8.1 devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1174,12 +1202,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1193,8 +1221,8 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) graphql: specifier: ^16.8.1 version: 16.8.1 @@ -1203,8 +1231,8 @@ importers: version: 1.3.0(graphql@16.8.1) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 examples/extend-graphql-subscriptions: dependencies: @@ -1230,8 +1258,8 @@ importers: specifier: ^7.1.1 version: link:../../design-system/packages/fields '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) graphql: specifier: ^16.8.1 version: 16.8.1 @@ -1252,8 +1280,8 @@ importers: specifier: ^8.5.3 version: 8.5.3 prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1267,12 +1295,12 @@ importers: specifier: ^8.0.0 version: link:../../packages/fields-document '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1283,12 +1311,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1299,8 +1327,8 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) astro: specifier: ^2.2.1 version: 2.2.1(@types/node@18.11.14) @@ -1315,8 +1343,8 @@ importers: specifier: ^18.0.4 version: 18.0.8 prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1339,8 +1367,8 @@ importers: specifier: ^4.0.0 version: 4.0.0 '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) graphql: specifier: ^16.8.1 version: 16.8.1 @@ -1370,8 +1398,8 @@ importers: specifier: ^18.0.4 version: 18.0.8 prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1391,8 +1419,8 @@ importers: specifier: ^4.0.0 version: 4.0.0 '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) graphql: specifier: ^16.8.1 version: 16.8.1 @@ -1422,8 +1450,8 @@ importers: specifier: ^18.0.4 version: 18.0.8 prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1446,12 +1474,12 @@ importers: specifier: ^8.0.0 version: link:../../../packages/fields-document '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1496,8 +1524,8 @@ importers: specifier: ^5.1.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) '@remix-run/node': specifier: ^1.15.0 version: 1.15.0 @@ -1527,8 +1555,8 @@ importers: specifier: ^18.0.8 version: 18.0.8 prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1539,8 +1567,8 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) '@ts-gql/compiler': specifier: ^0.15.3 version: 0.15.3(graphql@16.8.1) @@ -1558,8 +1586,8 @@ importers: version: 16.8.1 devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1570,12 +1598,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1586,12 +1614,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 tsx: specifier: ^3.9.0 version: 3.9.0 @@ -1605,12 +1633,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1621,12 +1649,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1637,12 +1665,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 tsx: specifier: ^3.9.0 version: 3.9.0 @@ -1656,12 +1684,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 tsx: specifier: ^3.9.0 version: 3.9.0 @@ -1678,15 +1706,15 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: '@types/node': specifier: ^18.11.14 version: 18.11.14 prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 tsx: specifier: ^3.9.0 version: 3.9.0 @@ -1703,12 +1731,12 @@ importers: specifier: ^8.0.0 version: link:../../packages/fields-document '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 tsx: specifier: ^3.9.0 version: 3.9.0 @@ -1725,12 +1753,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1741,12 +1769,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1760,12 +1788,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1776,12 +1804,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 tsx: specifier: ^3.9.0 version: 3.9.0 @@ -1795,12 +1823,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 tsx: specifier: ^3.9.0 version: 3.9.0 @@ -1814,12 +1842,12 @@ importers: specifier: ^5.0.0 version: link:../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -1985,14 +2013,14 @@ importers: specifier: ^2.0.0 version: 2.0.0 '@prisma/client': - specifier: 4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: 5.4.0 + version: 5.4.0(prisma@5.4.0) '@prisma/internals': - specifier: 4.16.2 - version: 4.16.2 + specifier: 5.4.0 + version: 5.4.0 '@prisma/migrate': - specifier: 4.16.2 - version: 4.16.2(@prisma/generator-helper@4.16.2)(@prisma/internals@4.16.2) + specifier: 5.4.0 + version: 5.4.0(@prisma/generator-helper@5.4.0)(@prisma/internals@5.4.0) apollo-upload-client: specifier: ^17.0.0 version: 17.0.0(@apollo/client@3.7.0)(graphql@16.8.1) @@ -2081,8 +2109,8 @@ importers: specifier: ^8.0.0 version: 8.0.0 prisma: - specifier: 4.16.2 - version: 4.16.2 + specifier: 5.4.0 + version: 5.4.0 prompts: specifier: ^2.4.2 version: 2.4.2 @@ -2203,10 +2231,10 @@ importers: version: 16.8.1 io-ts: specifier: ^2.2.16 - version: 2.2.16(fp-ts@2.16.0) + version: 2.2.16(fp-ts@2.16.1) io-ts-excess: specifier: ^1.0.1 - version: 1.0.1(fp-ts@2.16.0) + version: 1.0.1(fp-ts@2.16.1) is-hotkey: specifier: ^0.2.0 version: 0.2.0 @@ -2269,11 +2297,11 @@ importers: prisma-utils: dependencies: '@prisma/generator-helper': - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 '@prisma/internals': - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 fs-extra: specifier: ^11.0.0 version: 11.0.0 @@ -2374,11 +2402,11 @@ importers: specifier: '*' version: link:../../packages/fields-document '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) '@prisma/internals': - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 '@types/express': specifier: ^4.17.14 version: 4.17.14 @@ -2404,8 +2432,8 @@ importers: specifier: ^2.6.7 version: 2.6.7 prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 supertest: specifier: ^6.1.6 version: 6.1.6 @@ -2453,11 +2481,11 @@ importers: specifier: '*' version: link:../../packages/fields-document '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) '@prisma/internals': - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 chalk: specifier: ^4.1.2 version: 4.1.2 @@ -2477,8 +2505,8 @@ importers: specifier: ^2.6.7 version: 2.6.7 prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 tests/examples-smoke-tests: dependencies: @@ -2531,15 +2559,15 @@ importers: specifier: ^6.0.1 version: link:../../design-system/packages/tooltip '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) react: specifier: ^18.2.0 version: 18.2.0 devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -2550,12 +2578,12 @@ importers: specifier: ^5.0.0 version: link:../../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -2566,12 +2594,12 @@ importers: specifier: ^5.0.0 version: link:../../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -2582,12 +2610,12 @@ importers: specifier: ^5.0.0 version: link:../../../packages/core '@prisma/client': - specifier: ^4.16.2 - version: 4.16.2(prisma@4.16.2) + specifier: ^5.4.0 + version: 5.4.0(prisma@5.4.0) devDependencies: prisma: - specifier: ^4.16.2 - version: 4.16.2 + specifier: ^5.4.0 + version: 5.4.0 typescript: specifier: ~5.0.0 version: 5.0.2 @@ -2605,8 +2633,8 @@ packages: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.19 - /@antfu/ni@0.21.4: - resolution: {integrity: sha512-O0Uv9LbLDSoEg26fnMDdDRiPwFJnQSoD4WnrflDwKCJm8Cx/0mV4cGxwBLXan5mGIrpK4Dd7vizf4rQm0QCEAA==} + /@antfu/ni@0.21.8: + resolution: {integrity: sha512-90X8pU2szlvw0AJo9EZMbYc2eQKkmO7mAdC4tD4r5co2Mm56MT37MIG8EyB7p4WRheuzGxuLDxJ63mF6+Zajiw==} hasBin: true /@apollo/cache-control-types@1.0.2(graphql@16.8.1): @@ -2962,7 +2990,7 @@ packages: dset: 3.1.2 is-docker: 3.0.0 is-wsl: 2.2.0 - undici: 5.23.0 + undici: 5.25.4 which-pm-runs: 1.1.0 transitivePeerDependencies: - supports-color @@ -2971,7 +2999,7 @@ packages: /@astrojs/webapi@2.2.0: resolution: {integrity: sha512-mHAOApWyjqSe5AQMOUD9rsZJqbMQqe3Wosb1a40JV6Okvyxj1G6GTlthwYadWCymq/lbgwh0PLiY8Fr4eFxtuQ==} dependencies: - undici: 5.23.0 + undici: 5.25.4 dev: false /@aws-crypto/crc32@2.0.0: @@ -2982,16 +3010,6 @@ packages: tslib: 1.14.1 dev: false - /@aws-crypto/crc32@3.0.0: - resolution: {integrity: sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==} - requiresBuild: true - dependencies: - '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.398.0 - tslib: 1.14.1 - dev: false - optional: true - /@aws-crypto/crc32c@2.0.0: resolution: {integrity: sha512-vF0eMdMHx3O3MoOXUfBZry8Y4ZDtcuskjjKgJz8YfIDjLStxTZrYXk+kZqtl6A0uCmmiN/Eb/JbC/CndTV1MHg==} dependencies: @@ -3006,14 +3024,6 @@ packages: tslib: 1.14.1 dev: false - /@aws-crypto/ie11-detection@3.0.0: - resolution: {integrity: sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q==} - requiresBuild: true - dependencies: - tslib: 1.14.1 - dev: false - optional: true - /@aws-crypto/sha1-browser@2.0.0: resolution: {integrity: sha512-3fIVRjPFY8EG5HWXR+ZJZMdWNRpwbxGzJ9IH9q93FpbgCH8u8GHRi46mZXp3cYD7gealmyqpm3ThZwLKJjWJhA==} dependencies: @@ -3038,21 +3048,6 @@ packages: tslib: 1.14.1 dev: false - /@aws-crypto/sha256-browser@3.0.0: - resolution: {integrity: sha512-8VLmW2B+gjFbU5uMeqtQM6Nj0/F1bro80xQXCW6CQBWgosFWXTx77aeOF5CAIAmbOK64SdMBJdNr6J41yP5mvQ==} - requiresBuild: true - dependencies: - '@aws-crypto/ie11-detection': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-crypto/supports-web-crypto': 3.0.0 - '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.398.0 - '@aws-sdk/util-locate-window': 3.310.0 - '@aws-sdk/util-utf8-browser': 3.259.0 - tslib: 1.14.1 - dev: false - optional: true - /@aws-crypto/sha256-js@2.0.0: resolution: {integrity: sha512-VZY+mCY4Nmrs5WGfitmNqXzaE873fcIZDu54cbaDaaamsaTOP1DBImV9F4pICc3EHjQXujyE8jig+PFCaew9ig==} dependencies: @@ -3061,30 +3056,12 @@ packages: tslib: 1.14.1 dev: false - /@aws-crypto/sha256-js@3.0.0: - resolution: {integrity: sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==} - requiresBuild: true - dependencies: - '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.398.0 - tslib: 1.14.1 - dev: false - optional: true - /@aws-crypto/supports-web-crypto@2.0.2: resolution: {integrity: sha512-6mbSsLHwZ99CTOOswvCRP3C+VCWnzBf+1SnbWxzzJ9lR0mA0JnY2JEAhp8rqmTE0GPFy88rrM27ffgp62oErMQ==} dependencies: tslib: 1.14.1 dev: false - /@aws-crypto/supports-web-crypto@3.0.0: - resolution: {integrity: sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg==} - requiresBuild: true - dependencies: - tslib: 1.14.1 - dev: false - optional: true - /@aws-crypto/util@2.0.2: resolution: {integrity: sha512-Lgu5v/0e/BcrZ5m/IWqzPUf3UYFTy/PpeED+uc9SWUR1iZQL8XXbGQg10UfllwwBryO3hFF5dizK+78aoXC1eA==} dependencies: @@ -3093,16 +3070,6 @@ packages: tslib: 1.14.1 dev: false - /@aws-crypto/util@3.0.0: - resolution: {integrity: sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@aws-sdk/util-utf8-browser': 3.259.0 - tslib: 1.14.1 - dev: false - optional: true - /@aws-sdk/abort-controller@3.374.0: resolution: {integrity: sha512-pO1pqFBdIF28ZvnJmg58Erj35RLzXsTrjvHghdc/xgtSvodFFCNrUsPg6AP3On8eiw9elpHoS4P8jMx1pHDXEw==} engines: {node: '>=14.0.0'} @@ -3133,52 +3100,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/client-cognito-identity@3.398.0: - resolution: {integrity: sha512-Pr/S1f8R2FsJ8DwBC6g0CSdtZNNV5dMHhlIi+t8YAmCJvP4KT+UhzFjbvQRINlBRLFuGUuP7p5vRcGVELD3+wA==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.398.0 - '@aws-sdk/credential-provider-node': 3.398.0 - '@aws-sdk/middleware-host-header': 3.398.0 - '@aws-sdk/middleware-logger': 3.398.0 - '@aws-sdk/middleware-recursion-detection': 3.398.0 - '@aws-sdk/middleware-signing': 3.398.0 - '@aws-sdk/middleware-user-agent': 3.398.0 - '@aws-sdk/types': 3.398.0 - '@aws-sdk/util-endpoints': 3.398.0 - '@aws-sdk/util-user-agent-browser': 3.398.0 - '@aws-sdk/util-user-agent-node': 3.398.0 - '@smithy/config-resolver': 2.0.5 - '@smithy/fetch-http-handler': 2.0.5 - '@smithy/hash-node': 2.0.5 - '@smithy/invalid-dependency': 2.0.5 - '@smithy/middleware-content-length': 2.0.5 - '@smithy/middleware-endpoint': 2.0.5 - '@smithy/middleware-retry': 2.0.5 - '@smithy/middleware-serde': 2.0.5 - '@smithy/middleware-stack': 2.0.0 - '@smithy/node-config-provider': 2.0.5 - '@smithy/node-http-handler': 2.0.5 - '@smithy/protocol-http': 2.0.5 - '@smithy/smithy-client': 2.0.5 - '@smithy/types': 2.2.2 - '@smithy/url-parser': 2.0.5 - '@smithy/util-base64': 2.0.0 - '@smithy/util-body-length-browser': 2.0.0 - '@smithy/util-body-length-node': 2.1.0 - '@smithy/util-defaults-mode-browser': 2.0.5 - '@smithy/util-defaults-mode-node': 2.0.5 - '@smithy/util-retry': 2.0.0 - '@smithy/util-utf8': 2.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - optional: true - /@aws-sdk/client-s3@3.83.0: resolution: {integrity: sha512-fYW/0Sv2H4b8C46tz8cgU/8+u1Wu2NoTS00650WhbGVMPKstk2bNkOFvJfS+QiSKK2cD/tb3M3AcjayP2v5Nsg==} engines: {node: '>=12.0.0'} @@ -3240,49 +3161,6 @@ packages: - '@aws-sdk/signature-v4-crt' dev: false - /@aws-sdk/client-sso@3.398.0: - resolution: {integrity: sha512-CygL0jhfibw4kmWXG/3sfZMFNjcXo66XUuPC4BqZBk8Rj5vFoxp1vZeMkDLzTIk97Nvo5J5Bh+QnXKhub6AckQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/middleware-host-header': 3.398.0 - '@aws-sdk/middleware-logger': 3.398.0 - '@aws-sdk/middleware-recursion-detection': 3.398.0 - '@aws-sdk/middleware-user-agent': 3.398.0 - '@aws-sdk/types': 3.398.0 - '@aws-sdk/util-endpoints': 3.398.0 - '@aws-sdk/util-user-agent-browser': 3.398.0 - '@aws-sdk/util-user-agent-node': 3.398.0 - '@smithy/config-resolver': 2.0.5 - '@smithy/fetch-http-handler': 2.0.5 - '@smithy/hash-node': 2.0.5 - '@smithy/invalid-dependency': 2.0.5 - '@smithy/middleware-content-length': 2.0.5 - '@smithy/middleware-endpoint': 2.0.5 - '@smithy/middleware-retry': 2.0.5 - '@smithy/middleware-serde': 2.0.5 - '@smithy/middleware-stack': 2.0.0 - '@smithy/node-config-provider': 2.0.5 - '@smithy/node-http-handler': 2.0.5 - '@smithy/protocol-http': 2.0.5 - '@smithy/smithy-client': 2.0.5 - '@smithy/types': 2.2.2 - '@smithy/url-parser': 2.0.5 - '@smithy/util-base64': 2.0.0 - '@smithy/util-body-length-browser': 2.0.0 - '@smithy/util-body-length-node': 2.1.0 - '@smithy/util-defaults-mode-browser': 2.0.5 - '@smithy/util-defaults-mode-node': 2.0.5 - '@smithy/util-retry': 2.0.0 - '@smithy/util-utf8': 2.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - optional: true - /@aws-sdk/client-sso@3.82.0: resolution: {integrity: sha512-zfscjrufPLh1RwdVMDx+5xxZbrY64UD4aSHlmWcPxE8ySj2MVfoE18EBQcCgY82U5QgssT7yxtUirxyI2b92tw==} engines: {node: '>=12.0.0'} @@ -3319,53 +3197,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/client-sts@3.398.0: - resolution: {integrity: sha512-/3Pa9wLMvBZipKraq3AtbmTfXW6q9kyvhwOno64f1Fz7kFb8ijQFMGoATS70B2pGEZTlxkUqJFWDiisT6Q6dFg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/credential-provider-node': 3.398.0 - '@aws-sdk/middleware-host-header': 3.398.0 - '@aws-sdk/middleware-logger': 3.398.0 - '@aws-sdk/middleware-recursion-detection': 3.398.0 - '@aws-sdk/middleware-sdk-sts': 3.398.0 - '@aws-sdk/middleware-signing': 3.398.0 - '@aws-sdk/middleware-user-agent': 3.398.0 - '@aws-sdk/types': 3.398.0 - '@aws-sdk/util-endpoints': 3.398.0 - '@aws-sdk/util-user-agent-browser': 3.398.0 - '@aws-sdk/util-user-agent-node': 3.398.0 - '@smithy/config-resolver': 2.0.5 - '@smithy/fetch-http-handler': 2.0.5 - '@smithy/hash-node': 2.0.5 - '@smithy/invalid-dependency': 2.0.5 - '@smithy/middleware-content-length': 2.0.5 - '@smithy/middleware-endpoint': 2.0.5 - '@smithy/middleware-retry': 2.0.5 - '@smithy/middleware-serde': 2.0.5 - '@smithy/middleware-stack': 2.0.0 - '@smithy/node-config-provider': 2.0.5 - '@smithy/node-http-handler': 2.0.5 - '@smithy/protocol-http': 2.0.5 - '@smithy/smithy-client': 2.0.5 - '@smithy/types': 2.2.2 - '@smithy/url-parser': 2.0.5 - '@smithy/util-base64': 2.0.0 - '@smithy/util-body-length-browser': 2.0.0 - '@smithy/util-body-length-node': 2.1.0 - '@smithy/util-defaults-mode-browser': 2.0.5 - '@smithy/util-defaults-mode-node': 2.0.5 - '@smithy/util-retry': 2.0.0 - '@smithy/util-utf8': 2.0.0 - fast-xml-parser: 4.2.5 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - optional: true - /@aws-sdk/client-sts@3.82.0: resolution: {integrity: sha512-gR1dz/a6lMD2U+AUpLUocXDruDDQFCUoknrpzMZPCAVsamrF17dwKKCgKVlz6zseHP6uPMPluuppvYQ16wsYyQ==} engines: {node: '>=12.0.0'} @@ -3418,33 +3249,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-cognito-identity@3.398.0: - resolution: {integrity: sha512-MFUhy1YayHg5ypRTk4OTfDumQRP+OJBagaGv14kA8DzhKH1sNrU4HV7A7y2J4SvkN5hG/KnLJqxpakCtB2/O2g==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/client-cognito-identity': 3.398.0 - '@aws-sdk/types': 3.398.0 - '@smithy/property-provider': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - optional: true - - /@aws-sdk/credential-provider-env@3.398.0: - resolution: {integrity: sha512-Z8Yj5z7FroAsR6UVML+XUdlpoqEe9Dnle8c2h8/xWwIC2feTfIBhjLhRVxfbpbM1pLgBSNEcZ7U8fwq5l7ESVQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@smithy/property-provider': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/credential-provider-env@3.78.0: resolution: {integrity: sha512-K41VTIzVHm2RyIwtBER8Hte3huUBXdV1WKO+i7olYVgLFmaqcZUNrlyoGDRqZcQ/u4AbxTzBU9jeMIbIfzMOWg==} engines: {node: '>= 12.0.0'} @@ -3465,26 +3269,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-ini@3.398.0: - resolution: {integrity: sha512-AsK1lStK3nB9Cn6S6ODb1ktGh7SRejsNVQVKX3t5d3tgOaX+aX1Iwy8FzM/ZEN8uCloeRifUGIY9uQFygg5mSw==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/credential-provider-env': 3.398.0 - '@aws-sdk/credential-provider-process': 3.398.0 - '@aws-sdk/credential-provider-sso': 3.398.0 - '@aws-sdk/credential-provider-web-identity': 3.398.0 - '@aws-sdk/types': 3.398.0 - '@smithy/credential-provider-imds': 2.0.5 - '@smithy/property-provider': 2.0.5 - '@smithy/shared-ini-file-loader': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - optional: true - /@aws-sdk/credential-provider-ini@3.82.0: resolution: {integrity: sha512-2HrH5Ok/ZpN/81JbIY+HiKjNtGoXP50jyX8a5Dpez41hLuXek7j2ENWRcNOMkPtot+Ri088h661Y7sdzOv1etg==} engines: {node: '>= 12.0.0'} @@ -3499,27 +3283,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-node@3.398.0: - resolution: {integrity: sha512-odmI/DSKfuWUYeDnGTCEHBbC8/MwnF6yEq874zl6+owoVv0ZsYP8qBHfiJkYqrwg7wQ7Pi40sSAPC1rhesGwzg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/credential-provider-env': 3.398.0 - '@aws-sdk/credential-provider-ini': 3.398.0 - '@aws-sdk/credential-provider-process': 3.398.0 - '@aws-sdk/credential-provider-sso': 3.398.0 - '@aws-sdk/credential-provider-web-identity': 3.398.0 - '@aws-sdk/types': 3.398.0 - '@smithy/credential-provider-imds': 2.0.5 - '@smithy/property-provider': 2.0.5 - '@smithy/shared-ini-file-loader': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - optional: true - /@aws-sdk/credential-provider-node@3.82.0: resolution: {integrity: sha512-jjZj5h+tKaFBl/RnZ4Atpdtot6ZK4F2EBC8t+sNnFhPqcnhO42+7tLZ/aXhdY1oCvD54RG3exHFRsY6qDe8MhQ==} engines: {node: '>=12.0.0'} @@ -3536,19 +3299,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-process@3.398.0: - resolution: {integrity: sha512-WrkBL1W7TXN508PA9wRXPFtzmGpVSW98gDaHEaa8GolAPHMPa5t2QcC/z/cFpglzrcVv8SA277zu9Z8tELdZhg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@smithy/property-provider': 2.0.5 - '@smithy/shared-ini-file-loader': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/credential-provider-process@3.80.0: resolution: {integrity: sha512-3Ro+kMMyLUJHefOhGc5pOO/ibGcJi8bkj0z/Jtqd5I2Sm1qi7avoztST67/k48KMW1OqPnD/FUqxz5T8B2d+FQ==} engines: {node: '>= 12.0.0'} @@ -3559,23 +3309,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-sso@3.398.0: - resolution: {integrity: sha512-2Dl35587xbnzR/GGZqA2MnFs8+kS4wbHQO9BioU0okA+8NRueohNMdrdQmQDdSNK4BfIpFspiZmFkXFNyEAfgw==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/client-sso': 3.398.0 - '@aws-sdk/token-providers': 3.398.0 - '@aws-sdk/types': 3.398.0 - '@smithy/property-provider': 2.0.5 - '@smithy/shared-ini-file-loader': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - optional: true - /@aws-sdk/credential-provider-sso@3.82.0: resolution: {integrity: sha512-cOIFD6dohrp/cz3bkT0rxbfHgNA4wXRtOciitbBpNnfxOdu51M9bp+XZFb3tdTfhE9fIr4Y+BGqF6AXWZkikLg==} engines: {node: '>= 12.0.0'} @@ -3587,18 +3320,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-web-identity@3.398.0: - resolution: {integrity: sha512-iG3905Alv9pINbQ8/MIsshgqYMbWx+NDQWpxbIW3W0MkSH3iAqdVpSCteYidYX9G/jv2Um1nW3y360ib20bvNg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@smithy/property-provider': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/credential-provider-web-identity@3.78.0: resolution: {integrity: sha512-9/IvqHdJaVqMEABA8xZE3t5YF1S2PepfckVu0Ws9YUglj6oO+2QyVX6aRgMF1xph6781+Yc31TDh8/3eaDja7w==} engines: {node: '>= 12.0.0'} @@ -3608,31 +3329,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-providers@3.398.0: - resolution: {integrity: sha512-355vXmImn2e85mIWSYDVb101AF2lIVHKNCaH6sV1U/8i0ZOXh2cJYNdkRYrxNt1ezDB0k97lSKvuDx7RDvJyRg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/client-cognito-identity': 3.398.0 - '@aws-sdk/client-sso': 3.398.0 - '@aws-sdk/client-sts': 3.398.0 - '@aws-sdk/credential-provider-cognito-identity': 3.398.0 - '@aws-sdk/credential-provider-env': 3.398.0 - '@aws-sdk/credential-provider-ini': 3.398.0 - '@aws-sdk/credential-provider-node': 3.398.0 - '@aws-sdk/credential-provider-process': 3.398.0 - '@aws-sdk/credential-provider-sso': 3.398.0 - '@aws-sdk/credential-provider-web-identity': 3.398.0 - '@aws-sdk/types': 3.398.0 - '@smithy/credential-provider-imds': 2.0.5 - '@smithy/property-provider': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - optional: true - /@aws-sdk/eventstream-marshaller@3.78.0: resolution: {integrity: sha512-BMbRvLe6wNWQ+NO1pdPw3kGXXEdYV94BxEr3rTkKwr5yHpl8sUb/Va9sJJufUjzggpgE4vYu5nVsrT8ByMYXuA==} dependencies: @@ -3804,18 +3500,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-host-header@3.398.0: - resolution: {integrity: sha512-m+5laWdBaxIZK2ko0OwcCHJZJ5V1MgEIt8QVQ3k4/kOkN9ICjevOYmba751pHoTnbOYB7zQd6D2OT3EYEEsUcA==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@smithy/protocol-http': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/middleware-host-header@3.78.0: resolution: {integrity: sha512-1zL8uaDWGmH50c8B8jjz75e0ePj6/3QeZEhjJgTgL6DTdiqvRt32p3t+XWHW+yDI14fZZUYeTklAaLVxqFrHqQ==} engines: {node: '>= 12.0.0'} @@ -3833,17 +3517,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-logger@3.398.0: - resolution: {integrity: sha512-CiJjW+FL12elS6Pn7/UVjVK8HWHhXMfvHZvOwx/Qkpy340sIhkuzOO6fZEruECDTZhl2Wqn81XdJ1ZQ4pRKpCg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/middleware-logger@3.78.0: resolution: {integrity: sha512-GBhwxNjhCJUIeQQDaGasX/C23Jay77al2vRyGwmxf8no0DdFsa4J1Ik6/2hhIqkqko+WM4SpCnpZrY4MtnxNvA==} engines: {node: '>= 12.0.0'} @@ -3852,18 +3525,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-recursion-detection@3.398.0: - resolution: {integrity: sha512-7QpOqPQAZNXDXv6vsRex4R8dLniL0E/80OPK4PPFsrCh9btEyhN9Begh4i1T+5lL28hmYkztLOkTQ2N5J3hgRQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@smithy/protocol-http': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/middleware-retry@3.80.0: resolution: {integrity: sha512-CTk+tA4+WMUNOcUfR6UQrkhwvPYFpnMsQ1vuHlpLFOGG3nCqywA2hueLMRQmVcDXzP0sGeygce6dzRI9dJB/GA==} engines: {node: '>= 12.0.0'} @@ -3886,18 +3547,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-sdk-sts@3.398.0: - resolution: {integrity: sha512-+JH76XHEgfVihkY+GurohOQ5Z83zVN1nYcQzwCFnCDTh4dG4KwhnZKG+WPw6XJECocY0R+H0ivofeALHvVWJtQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/middleware-signing': 3.398.0 - '@aws-sdk/types': 3.398.0 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/middleware-sdk-sts@3.78.0: resolution: {integrity: sha512-Lu/kN0J0/Kt0ON1hvwNel+y8yvf35licfIgtedHbBCa/ju8qQ9j+uL9Lla6Y5Tqu29yVaye1JxhiIDhscSwrLA==} engines: {node: '>= 12.0.0'} @@ -3918,21 +3567,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-signing@3.398.0: - resolution: {integrity: sha512-O0KqXAix1TcvZBFt1qoFkHMUNJOSgjJTYS7lFTRKSwgsD27bdW2TM2r9R8DAccWFt5Amjkdt+eOwQMIXPGTm8w==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@smithy/property-provider': 2.0.5 - '@smithy/protocol-http': 2.0.5 - '@smithy/signature-v4': 2.0.5 - '@smithy/types': 2.2.2 - '@smithy/util-middleware': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/middleware-signing@3.78.0: resolution: {integrity: sha512-OEjJJCNhHHSOprLZ9CzjHIXEKFtPHWP/bG9pMhkV3/6Bmscsgcf8gWHcOnmIrjqX+hT1VALDNpl/RIh0J6/eQw==} engines: {node: '>= 12.0.0'} @@ -3959,19 +3593,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-user-agent@3.398.0: - resolution: {integrity: sha512-nF1jg0L+18b5HvTcYzwyFgfZQQMELJINFqI0mi4yRKaX7T5a3aGp5RVLGGju/6tAGTuFbfBoEhkhU3kkxexPYQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@aws-sdk/util-endpoints': 3.398.0 - '@smithy/protocol-http': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/middleware-user-agent@3.78.0: resolution: {integrity: sha512-wdN5uoq8RxxhLhj0EPeuDSRFuXfUwKeEqRzCKMsYAOC0cAm+PryaP2leo0oTGJ9LUK8REK7zyfFcmtC4oOzlkA==} engines: {node: '>= 12.0.0'} @@ -4100,51 +3721,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/token-providers@3.398.0: - resolution: {integrity: sha512-nrYgjzavGCKJL/48Vt0EL+OlIc5UZLfNGpgyUW9cv3XZwl+kXV0QB+HH0rHZZLfpbBgZ2RBIJR9uD5ieu/6hpQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/middleware-host-header': 3.398.0 - '@aws-sdk/middleware-logger': 3.398.0 - '@aws-sdk/middleware-recursion-detection': 3.398.0 - '@aws-sdk/middleware-user-agent': 3.398.0 - '@aws-sdk/types': 3.398.0 - '@aws-sdk/util-endpoints': 3.398.0 - '@aws-sdk/util-user-agent-browser': 3.398.0 - '@aws-sdk/util-user-agent-node': 3.398.0 - '@smithy/config-resolver': 2.0.5 - '@smithy/fetch-http-handler': 2.0.5 - '@smithy/hash-node': 2.0.5 - '@smithy/invalid-dependency': 2.0.5 - '@smithy/middleware-content-length': 2.0.5 - '@smithy/middleware-endpoint': 2.0.5 - '@smithy/middleware-retry': 2.0.5 - '@smithy/middleware-serde': 2.0.5 - '@smithy/middleware-stack': 2.0.0 - '@smithy/node-config-provider': 2.0.5 - '@smithy/node-http-handler': 2.0.5 - '@smithy/property-provider': 2.0.5 - '@smithy/protocol-http': 2.0.5 - '@smithy/shared-ini-file-loader': 2.0.5 - '@smithy/smithy-client': 2.0.5 - '@smithy/types': 2.2.2 - '@smithy/url-parser': 2.0.5 - '@smithy/util-base64': 2.0.0 - '@smithy/util-body-length-browser': 2.0.0 - '@smithy/util-body-length-node': 2.1.0 - '@smithy/util-defaults-mode-browser': 2.0.5 - '@smithy/util-defaults-mode-node': 2.0.5 - '@smithy/util-retry': 2.0.0 - '@smithy/util-utf8': 2.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - optional: true - /@aws-sdk/types@3.398.0: resolution: {integrity: sha512-r44fkS+vsEgKCuEuTV+TIk0t0m5ZlXHNjSDYEUvzLStbbfUFiNus/YG4UCa0wOk9R7VuQI67badsvvPeVPCGDQ==} engines: {node: '>=14.0.0'} @@ -4247,16 +3823,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/util-endpoints@3.398.0: - resolution: {integrity: sha512-Fy0gLYAei/Rd6BrXG4baspCnWTUSd0NdokU1pZh4KlfEAEN1i8SPPgfiO5hLk7+2inqtCmqxVJlfqbMVe9k4bw==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/util-format-url@3.78.0: resolution: {integrity: sha512-wdjt8ZAMyBrH/02QrQtB+S9cwtsBJ6bXRJ3XwL6z7L75nwTflKkzOQUS5Ie7HBf3j3JH0KhlqlEbf2nnM9jsPQ==} engines: {node: '>= 12.0.0'} @@ -4309,17 +3875,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/util-user-agent-browser@3.398.0: - resolution: {integrity: sha512-A3Tzx1tkDHlBT+IgxmsMCHbV8LM7SwwCozq2ZjJRx0nqw3MCrrcxQFXldHeX/gdUMO+0Oocb7HGSnVODTq+0EA==} - requiresBuild: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@smithy/types': 2.2.2 - bowser: 2.11.0 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/util-user-agent-browser@3.78.0: resolution: {integrity: sha512-diGO/Bf4ggBOEnfD7lrrXaaXOwOXGz0bAJ0HhpizwEMlBld5zfDlWXjNpslh+8+u3EHRjPJQ16KGT6mp/Dm+aw==} dependencies: @@ -4328,23 +3883,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/util-user-agent-node@3.398.0: - resolution: {integrity: sha512-RTVQofdj961ej4//fEkppFf4KXqKGMTCqJYghx3G0C/MYXbg7MGl7LjfNGtJcboRE8pfHHQ/TUWBDA7RIAPPlQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - peerDependencies: - aws-crt: '>=1.0.0' - peerDependenciesMeta: - aws-crt: - optional: true - dependencies: - '@aws-sdk/types': 3.398.0 - '@smithy/node-config-provider': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/util-user-agent-node@3.80.0: resolution: {integrity: sha512-QV26qIXws1m6sZXg65NS+XrQ5NhAzbDVQLtEVE4nC39UN8fuieP6Uet/gZm9mlLI9hllwvcV7EfgBM3GSC7pZg==} engines: {node: '>= 12.0.0'} @@ -4354,14 +3892,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/util-utf8-browser@3.259.0: - resolution: {integrity: sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw==} - requiresBuild: true - dependencies: - tslib: 2.6.2 - dev: false - optional: true - /@aws-sdk/util-utf8-browser@3.55.0: resolution: {integrity: sha512-ljzqJcyjfJpEVSIAxwtIS8xMRUly84BdjlBXyp6cu4G8TUufgjNS31LWdhyGhgmW5vYBNr+LTz0Kwf6J+ou7Ug==} dependencies: @@ -8355,6 +7885,11 @@ packages: transitivePeerDependencies: - supports-color + /@fastify/busboy@2.0.0: + resolution: {integrity: sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==} + engines: {node: '>=14'} + dev: false + /@gar/promisify@1.1.3: resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} dev: true @@ -9080,6 +8615,20 @@ packages: '@types/markdown-it': 12.2.3 dev: false + /@mongodb-js/saslprep@1.1.0: + resolution: {integrity: sha512-Xfijy7HvfzzqiOAhAepF4SGN5e9leLkMvg/OPOF97XemjfVCYN/oWa75wnkc6mltMSTwY+XlbhWgUOJmkFspSw==} + requiresBuild: true + dependencies: + sparse-bitfield: 3.0.3 + dev: false + optional: true + + /@neondatabase/serverless@0.6.0: + resolution: {integrity: sha512-qXxBRYN0m2v8kVQBfMxbzNGn2xFAhTXFibzQlE++NfJ56Shz3m7+MyBBtXDlEH+3Wfa6lToDXf1MElocY4sJ3w==} + dependencies: + '@types/pg': 8.6.6 + dev: false + /@next/env@13.3.0: resolution: {integrity: sha512-AjppRV4uG3No7L1plinoTQETH+j2F10TEnrMfzbTUYwze5sBUPveeeBAPZPm8OkJZ1epq9OyYKhZrvbD6/9HCQ==} @@ -9306,8 +8855,8 @@ packages: json-parse-even-better-errors: 2.3.1 dev: true - /@opentelemetry/api@1.4.1: - resolution: {integrity: sha512-O2yRJce1GOc6PAy3QxFM4NzFiWzvScDC1/5ihYBL6BUEVdq0XMWN01sppE+H6bBXbaFYipjwFLEWLg5PaSOThA==} + /@opentelemetry/api@1.6.0: + resolution: {integrity: sha512-OWlrQAnWn9577PhVgqjUvMr1pg57Bc4jv0iL4w0PRuOSRvq67rvHW9Ie/dZVMvCzhSCB+UxhcY/PmCmFj33Q+g==} engines: {node: '>=8.0.0'} /@panva/hkdf@1.1.1: @@ -9423,6 +8972,17 @@ packages: resolution: {integrity: sha512-vSrc8wFQgBErU7dKTKSQtr/DLWPHcN9jMoiWOAQodB1+B4Kpqqry6QhGYoRm0DQU5gNL+Rcp+Xb350O1E/gjsg==} dev: false + /@prisma/adapter-neon@5.4.0(@neondatabase/serverless@0.6.0): + resolution: {integrity: sha512-Jj0oIycCfEVErn+Kr03AwUhRZJGoWerB5jotN8Iszae+fZHRtc940KyPaIQwFapv3j8hjChXmrDZ+m6jwRm1iA==} + peerDependencies: + '@neondatabase/serverless': ^0.6.0 + dependencies: + '@neondatabase/serverless': 0.6.0 + '@prisma/driver-adapter-utils': 5.4.0 + transitivePeerDependencies: + - supports-color + dev: false + /@prisma/client@4.16.2(prisma@4.16.2): resolution: {integrity: sha512-qCoEyxv1ZrQ4bKy39GnylE8Zq31IRmm8bNhNbZx7bF2cU5aiCCnSa93J2imF88MBjn7J9eUQneNxUQVJdl/rPQ==} engines: {node: '>=14.17'} @@ -9435,36 +8995,66 @@ packages: dependencies: '@prisma/engines-version': 4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81 prisma: 4.16.2 + dev: false + + /@prisma/client@5.4.0(prisma@5.4.0): + resolution: {integrity: sha512-JEo7J24OgEyNJg6hWRecIj6NJcB0chBCXFhWoO5exDVReMxiaY801lLLd6KStVFJHCWVEWoMLPUqhOvQA5MUuw==} + engines: {node: '>=16.13'} + requiresBuild: true + peerDependencies: + prisma: '*' + peerDependenciesMeta: + prisma: + optional: true + dependencies: + '@prisma/engines-version': 5.4.0-47.a5596b96668f0f4b397761ce0956db54e17e48c4 + prisma: 5.4.0 - /@prisma/debug@4.16.2: - resolution: {integrity: sha512-7L7WbG0qNNZYgLpsVB8rCHCXEyHFyIycRlRDNwkVfjQmACC2OW6AWCYCbfdjQhkF/t7+S3njj8wAWAocSs+Brw==} + /@prisma/debug@5.4.0: + resolution: {integrity: sha512-GNiFNa51BzQ0oABiwcQ89adSVdEzR+mQ3VEb4ItX6CAvK8o6DZqMrNQV3tVaUaGcWwVsBHhLlkFQe/7V5gy2ig==} dependencies: - '@types/debug': 4.1.8 + '@types/debug': 4.1.9 debug: 4.3.4 strip-ansi: 6.0.1 transitivePeerDependencies: - supports-color + /@prisma/driver-adapter-utils@5.4.0: + resolution: {integrity: sha512-lOdrHuCdOVbUy/jDfG5fqIEwtULRkY0HBS0RoXuV8Sy9D75ZphZOOg/HTBpWk6EiLcXK60o38goEQazNdN4xUA==} + dependencies: + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: false + /@prisma/engines-version@4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81: resolution: {integrity: sha512-q617EUWfRIDTriWADZ4YiWRZXCa/WuhNgLTVd+HqWLffjMSPzyM5uOWoauX91wvQClSKZU4pzI4JJLQ9Kl62Qg==} + dev: false + + /@prisma/engines-version@5.4.0-47.a5596b96668f0f4b397761ce0956db54e17e48c4: + resolution: {integrity: sha512-liWWFhIL5hMhVt4f9HWqMSnBgVicVFGKsEzO5gBfLr9aG1JgjjMDYNmqqLji0Hp0VpD8ffTQTOVZDJRUVBD4dw==} /@prisma/engines@4.16.2: resolution: {integrity: sha512-vx1nxVvN4QeT/cepQce68deh/Turxy5Mr+4L4zClFuK1GlxN3+ivxfuv+ej/gvidWn1cE1uAhW7ALLNlYbRUAw==} requiresBuild: true - /@prisma/fetch-engine@4.16.2: - resolution: {integrity: sha512-lnCnHcOaNn0kw8qTJbVcNhyfIf5Lus2GFXbj3qpkdKEIB9xLgqkkuTP+35q1xFaqwQ0vy4HFpdRUpFP7njE15g==} + /@prisma/engines@5.4.0: + resolution: {integrity: sha512-tnPa5Z1D70iPahvy9xG0bH5GD6Pb25Q+rH76+N1JKwQFe6vA3LyKyVzQrG4CQCI6N5PCJHJxlahJeCgcTJfLsg==} + requiresBuild: true + + /@prisma/fetch-engine@5.4.0: + resolution: {integrity: sha512-Nb19ZgabyFQ6qSV9L2ckRk4+AjbDQHc7iOFLkK9xjUSSNdOPg9PL+LQUCR4bnKbvE0aM2M6BNg4RxuphMOpWXw==} dependencies: - '@prisma/debug': 4.16.2 - '@prisma/get-platform': 4.16.2 + '@prisma/debug': 5.4.0 + '@prisma/get-platform': 5.4.0 execa: 5.1.1 find-cache-dir: 3.3.2 fs-extra: 11.1.1 hasha: 5.2.2 http-proxy-agent: 7.0.0 - https-proxy-agent: 7.0.0 + https-proxy-agent: 7.0.2 kleur: 4.1.5 - node-fetch: 2.6.11 + node-fetch: 2.7.0 p-filter: 2.1.0 p-map: 4.0.0 p-retry: 4.6.2 @@ -9476,20 +9066,20 @@ packages: - encoding - supports-color - /@prisma/generator-helper@4.16.2: - resolution: {integrity: sha512-bMOH7y73Ui7gpQrioFeavMQA+Tf8ksaVf8Nhs9rQNzuSg8SSV6E9baczob0L5KGZTSgYoqnrRxuo03kVJYrnIg==} + /@prisma/generator-helper@5.4.0: + resolution: {integrity: sha512-hjIibjhK32Iil8JMol7DKULZXSqb/j0bAbT0VMwd+aK47c5boEBtXL7KFQ8VRUmF0pf54M7T//km6jx/a/UdyA==} dependencies: - '@prisma/debug': 4.16.2 - '@types/cross-spawn': 6.0.2 + '@prisma/debug': 5.4.0 + '@types/cross-spawn': 6.0.3 cross-spawn: 7.0.3 kleur: 4.1.5 transitivePeerDependencies: - supports-color - /@prisma/get-platform@4.16.2: - resolution: {integrity: sha512-fnDey1/iSefHJRMB+w243BhWENf+paRouPMdCqIVqu8dYkR1NqhldblsSUC4Zr2sKS7Ta2sK4OLdt9IH+PZTfw==} + /@prisma/get-platform@5.4.0: + resolution: {integrity: sha512-kh19TAMJT0damaIMhPNIlXqei2rliYHvucZBjVUmHPkwI1l6yQMBmO5xbMHbTW2AI2/2aAg5fRz16GxxkPhXFA==} dependencies: - '@prisma/debug': 4.16.2 + '@prisma/debug': 5.4.0 escape-string-regexp: 4.0.0 execa: 5.1.1 fs-jetpack: 5.1.0 @@ -9502,26 +9092,26 @@ packages: transitivePeerDependencies: - supports-color - /@prisma/internals@4.16.2: - resolution: {integrity: sha512-/3OiSADA3RRgsaeEE+MDsBgL6oAMwddSheXn6wtYGUnjERAV/BmF5bMMLnTykesQqwZ1s8HrISrJ0Vf6cjOxMg==} - dependencies: - '@antfu/ni': 0.21.4 - '@opentelemetry/api': 1.4.1 - '@prisma/debug': 4.16.2 - '@prisma/engines': 4.16.2 - '@prisma/fetch-engine': 4.16.2 - '@prisma/generator-helper': 4.16.2 - '@prisma/get-platform': 4.16.2 - '@prisma/prisma-fmt-wasm': 4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81 - archiver: 5.3.1 + /@prisma/internals@5.4.0: + resolution: {integrity: sha512-0wrAeQVOsQnie3QpYbbH228ZoRu1oDsNTWLh6THty87h2CxMhIUPcfv9xO5a/yMO3457rSWUexEPHhQt7xyTLg==} + dependencies: + '@antfu/ni': 0.21.8 + '@opentelemetry/api': 1.6.0 + '@prisma/debug': 5.4.0 + '@prisma/engines': 5.4.0 + '@prisma/fetch-engine': 5.4.0 + '@prisma/generator-helper': 5.4.0 + '@prisma/get-platform': 5.4.0 + '@prisma/prisma-schema-wasm': 5.4.0-47.a5596b96668f0f4b397761ce0956db54e17e48c4 + archiver: 5.3.2 arg: 5.0.2 - checkpoint-client: 1.1.24 + checkpoint-client: 1.1.27 cli-truncate: 2.1.0 dotenv: 16.0.3 escape-string-regexp: 4.0.0 execa: 5.1.1 find-up: 5.0.0 - fp-ts: 2.16.0 + fp-ts: 2.16.1 fs-extra: 11.1.1 fs-jetpack: 5.1.0 global-dirs: 3.0.1 @@ -9531,19 +9121,18 @@ packages: is-wsl: 2.2.0 kleur: 4.1.5 new-github-issue-url: 0.2.1 - node-fetch: 2.6.11 + node-fetch: 2.7.0 npm-packlist: 5.1.3 open: 7.4.2 p-map: 4.0.0 prompts: 2.4.2 read-pkg-up: 7.0.1 replace-string: 3.1.0 - resolve: 1.22.2 + resolve: 1.22.4 string-width: 4.2.3 strip-ansi: 6.0.1 strip-indent: 3.0.0 temp-dir: 2.0.0 - temp-write: 4.0.0 tempy: 1.0.1 terminal-link: 2.1.1 tmp: 0.2.1 @@ -9552,43 +9141,47 @@ packages: - encoding - supports-color - /@prisma/migrate@4.16.2(@prisma/generator-helper@4.16.2)(@prisma/internals@4.16.2): - resolution: {integrity: sha512-Icnmg+qTE7K3SU37s3ik39fheEsRyrO2tBX+iI+SpoJ57ZVPFfkpl0oCda4CdLMPnskxKrD51u4Z2gQVsDC2wQ==} + /@prisma/migrate@5.4.0(@prisma/generator-helper@5.4.0)(@prisma/internals@5.4.0): + resolution: {integrity: sha512-dV6Snqg9wk3awAyTH+wBntx9lYlricCyLawO6+0I8rqBm/aLh5CH0dlb/ce5+tklKvGYoHu1tuKHJ/fHYOsFtQ==} peerDependencies: '@prisma/generator-helper': '*' '@prisma/internals': '*' dependencies: - '@prisma/debug': 4.16.2 - '@prisma/generator-helper': 4.16.2 - '@prisma/get-platform': 4.16.2 - '@prisma/internals': 4.16.2 + '@prisma/debug': 5.4.0 + '@prisma/generator-helper': 5.4.0 + '@prisma/get-platform': 5.4.0 + '@prisma/internals': 5.4.0 '@sindresorhus/slugify': 1.1.2 arg: 5.0.2 execa: 5.1.1 - fp-ts: 2.16.0 + fp-ts: 2.16.1 get-stdin: 8.0.0 has-yarn: 2.1.0 indent-string: 4.0.0 kleur: 4.1.5 log-update: 4.0.0 - mariadb: 3.1.2 - mongoose: 6.11.2 - mssql: 9.1.1 + mariadb: 3.2.0 + mongoose: 7.5.1 + mssql: 10.0.1 ora: 5.4.1 - pg: 8.10.0 + pg: 8.11.3 pkg-up: 3.1.0 prompts: 2.4.2 strip-ansi: 6.0.1 strip-indent: 3.0.0 ts-pattern: 4.3.0 transitivePeerDependencies: - - aws-crt + - '@aws-sdk/credential-providers' + - '@mongodb-js/zstd' + - kerberos + - mongodb-client-encryption - pg-native + - snappy - supports-color dev: false - /@prisma/prisma-fmt-wasm@4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81: - resolution: {integrity: sha512-g090+dEH7wrdCw359+8J9+TGH84qK28V/dxwINjhhNCtju9lej99z9w/AVsJP9UhhcCPS4psYz4iu8d53uxVpA==} + /@prisma/prisma-schema-wasm@5.4.0-47.a5596b96668f0f4b397761ce0956db54e17e48c4: + resolution: {integrity: sha512-oQN4MEZjSQLQBaJ7vHr/zStxeDSb8/legzO7cDkex0HeZF3KpRbruNmgbhGwvhdRQgOzmbubmD/1zJJGD+KFFQ==} /@protobufjs/aspromise@1.1.2: resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} @@ -9899,529 +9492,127 @@ packages: builtin-modules: 3.3.0 deepmerge: 4.3.1 is-module: 1.0.0 - resolve: 1.22.4 - rollup: 2.79.1 - dev: true - - /@rollup/plugin-replace@2.4.2(rollup@2.79.1): - resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} - peerDependencies: - rollup: ^1.20.0 || ^2.0.0 - dependencies: - '@rollup/pluginutils': 3.1.0(rollup@2.79.1) - magic-string: 0.25.9 - rollup: 2.79.1 - dev: true - - /@rollup/pluginutils@3.1.0(rollup@2.79.1): - resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} - engines: {node: '>= 8.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0 - dependencies: - '@types/estree': 0.0.39 - estree-walker: 1.0.1 - picomatch: 2.3.1 - rollup: 2.79.1 - dev: true - - /@rollup/pluginutils@4.2.1: - resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} - engines: {node: '>= 8.0.0'} - dependencies: - estree-walker: 2.0.2 - picomatch: 2.3.1 - dev: true - - /@shuding/opentype.js@1.4.0-beta.0: - resolution: {integrity: sha512-3NgmNyH3l/Hv6EvsWJbsvpcpUba6R8IREQ83nH83cyakCw7uM1arZKNfHwv1Wz6jgqrF/j4x5ELvR6PnK9nTcA==} - engines: {node: '>= 8.0.0'} - hasBin: true - dependencies: - fflate: 0.7.4 - string.prototype.codepointat: 0.2.1 - dev: false - - /@sideway/address@4.1.4: - resolution: {integrity: sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==} - dependencies: - '@hapi/hoek': 9.3.0 - dev: true - - /@sideway/formula@3.0.1: - resolution: {integrity: sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==} - dev: true - - /@sideway/pinpoint@2.0.0: - resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} - dev: true - - /@sinclair/typebox@0.27.8: - resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - dev: true - - /@sindresorhus/is@0.14.0: - resolution: {integrity: sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==} - engines: {node: '>=6'} - dev: true - - /@sindresorhus/is@4.6.0: - resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} - engines: {node: '>=10'} - dev: true - - /@sindresorhus/slugify@1.1.2: - resolution: {integrity: sha512-V9nR/W0Xd9TSGXpZ4iFUcFGhuOJtZX82Fzxj1YISlbSgKvIiNa7eLEZrT0vAraPOt++KHauIVNYgGRgjc13dXA==} - engines: {node: '>=10'} - dependencies: - '@sindresorhus/transliterate': 0.1.2 - escape-string-regexp: 4.0.0 - dev: false - - /@sindresorhus/transliterate@0.1.2: - resolution: {integrity: sha512-5/kmIOY9FF32nicXH+5yLNTX4NJ4atl7jRgqAJuIn/iyDFXBktOKDxCvyGE/EzmF4ngSUvjXxQUQlQiZ5lfw+w==} - engines: {node: '>=10'} - dependencies: - escape-string-regexp: 2.0.0 - lodash.deburr: 4.1.0 - dev: false - - /@sinonjs/commons@3.0.0: - resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} - dependencies: - type-detect: 4.0.8 - dev: true - - /@sinonjs/fake-timers@10.3.0: - resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} - dependencies: - '@sinonjs/commons': 3.0.0 - dev: true - - /@smithy/abort-controller@1.1.0: - resolution: {integrity: sha512-5imgGUlZL4dW4YWdMYAKLmal9ny/tlenM81QZY7xYyb76z9Z/QOg7oM5Ak9HQl8QfFTlGVWwcMXl+54jroRgEQ==} - engines: {node: '>=14.0.0'} - dependencies: - '@smithy/types': 1.2.0 - tslib: 2.6.2 - dev: false - - /@smithy/abort-controller@2.0.5: - resolution: {integrity: sha512-byVZ2KWLMPYAZGKjRpniAzLcygJO4ruClZKdJTuB0eCB76ONFTdptBHlviHpAZXknRz7skYWPfcgO9v30A1SyA==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/config-resolver@2.0.5: - resolution: {integrity: sha512-n0c2AXz+kjALY2FQr7Zy9zhYigXzboIh1AuUUVCqFBKFtdEvTwnwPXrTDoEehLiRTUHNL+4yzZ3s+D0kKYSLSg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.2.2 - '@smithy/util-config-provider': 2.0.0 - '@smithy/util-middleware': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/credential-provider-imds@2.0.5: - resolution: {integrity: sha512-KFcf/e0meFkQNyteJ65f1G19sgUEY1e5zL7hyAEUPz2SEfBmC9B37WyRq87G3MEEsvmAWwCRu7nFFYUKtR3svQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/node-config-provider': 2.0.5 - '@smithy/property-provider': 2.0.5 - '@smithy/types': 2.2.2 - '@smithy/url-parser': 2.0.5 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/eventstream-codec@2.0.5: - resolution: {integrity: sha512-iqR6OuOV3zbQK8uVs9o+9AxhVk8kW9NAxA71nugwUB+kTY9C35pUd0A5/m4PRT0Y0oIW7W4kgnSR3fdYXQjECw==} - requiresBuild: true - dependencies: - '@aws-crypto/crc32': 3.0.0 - '@smithy/types': 2.2.2 - '@smithy/util-hex-encoding': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/fetch-http-handler@2.0.5: - resolution: {integrity: sha512-EzFoMowdBNy1VqtvkiXgPFEdosIAt4/4bgZ8uiDiUyfhmNXq/3bV+CagPFFBsgFOR/X2XK4zFZHRsoa7PNHVVg==} - requiresBuild: true - dependencies: - '@smithy/protocol-http': 2.0.5 - '@smithy/querystring-builder': 2.0.5 - '@smithy/types': 2.2.2 - '@smithy/util-base64': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/hash-node@2.0.5: - resolution: {integrity: sha512-mk551hIywBITT+kXruRNXk7f8Fy7DTzBjZJSr/V6nolYKmUHIG3w5QU6nO9qPYEQGKc/yEPtkpdS28ndeG93lA==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.2.2 - '@smithy/util-buffer-from': 2.0.0 - '@smithy/util-utf8': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/invalid-dependency@2.0.5: - resolution: {integrity: sha512-0wEi+JT0hM+UUwrJVYbqjuGFhy5agY/zXyiN7BNAJ1XoCDjU5uaNSj8ekPWsXd/d4yM6NSe8UbPd8cOc1+3oBQ==} - requiresBuild: true - dependencies: - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/is-array-buffer@2.0.0: - resolution: {integrity: sha512-z3PjFjMyZNI98JFRJi/U0nGoLWMSJlDjAW4QUX2WNZLas5C0CmVV6LJ01JI0k90l7FvpmixjWxPFmENSClQ7ug==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/middleware-content-length@2.0.5: - resolution: {integrity: sha512-E7VwV5H02fgZIUGRli4GevBCAPvkyEI/fgl9SU47nPPi3DAAX3nEtUb8xfGbXjOcJ5BdSUoWWZn42tEd/blOqA==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/protocol-http': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/middleware-endpoint@2.0.5: - resolution: {integrity: sha512-tyzDuoNTbsMQCq5Xkc4QOt6e2GACUllQIV8SQ5fc59FtOIV9/vbf58/GxVjZm2o8+MMbdDBANjTDZe/ijZKfyA==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/middleware-serde': 2.0.5 - '@smithy/types': 2.2.2 - '@smithy/url-parser': 2.0.5 - '@smithy/util-middleware': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/middleware-retry@2.0.5: - resolution: {integrity: sha512-ulIfbFyzQTVnJbLjUl1CTSi0etg6tej/ekwaLp0Gn8ybUkDkKYa+uB6CF/m2J5B6meRwyJlsryR+DjaOVyiicg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/protocol-http': 2.0.5 - '@smithy/service-error-classification': 2.0.0 - '@smithy/types': 2.2.2 - '@smithy/util-middleware': 2.0.0 - '@smithy/util-retry': 2.0.0 - tslib: 2.6.2 - uuid: 8.3.2 - dev: false - optional: true - - /@smithy/middleware-serde@2.0.5: - resolution: {integrity: sha512-in0AA5sous74dOfTGU9rMJBXJ0bDVNxwdXtEt5lh3FVd2sEyjhI+rqpLLRF1E4ixbw3RSEf80hfRpcPdjg4vvQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/middleware-stack@2.0.0: - resolution: {integrity: sha512-31XC1xNF65nlbc16yuh3wwTudmqs6qy4EseQUGF8A/p2m/5wdd/cnXJqpniy/XvXVwkHPz/GwV36HqzHtIKATQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/node-config-provider@2.0.5: - resolution: {integrity: sha512-LRtjV9WkhONe2lVy+ipB/l1GX60ybzBmFyeRUoLUXWKdnZ3o81jsnbKzMK8hKq8eFSWPk+Lmyx6ZzCQabGeLxg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/property-provider': 2.0.5 - '@smithy/shared-ini-file-loader': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/node-http-handler@2.0.5: - resolution: {integrity: sha512-lZm5DZf4b3V0saUw9WTC4/du887P6cy2fUyQgQQKRRV6OseButyD5yTzeMmXE53CaXJBMBsUvvIQ0hRVxIq56w==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/abort-controller': 2.0.5 - '@smithy/protocol-http': 2.0.5 - '@smithy/querystring-builder': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/property-provider@2.0.5: - resolution: {integrity: sha512-cAFSUhX6aiHcmpWfrCLKvwBtgN1F6A0N8qY/8yeSi0LRLmhGqsY1/YTxFE185MCVzYbqBGXVr9TBv4RUcIV4rA==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/protocol-http@2.0.5: - resolution: {integrity: sha512-d2hhHj34mA2V86doiDfrsy2fNTnUOowGaf9hKb0hIPHqvcnShU4/OSc4Uf1FwHkAdYF3cFXTrj5VGUYbEuvMdw==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/querystring-builder@2.0.5: - resolution: {integrity: sha512-4DCX9krxLzATj+HdFPC3i8pb7XTAWzzKqSw8aTZMjXjtQY+vhe4azMAqIvbb6g7JKwIkmkRAjK6EXO3YWSnJVQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.2.2 - '@smithy/util-uri-escape': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/querystring-parser@2.0.5: - resolution: {integrity: sha512-C2stCULH0r54KBksv3AWcN8CLS3u9+WsEW8nBrvctrJ5rQTNa1waHkffpVaiKvcW2nP0aIMBPCobD/kYf/q9mA==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/service-error-classification@2.0.0: - resolution: {integrity: sha512-2z5Nafy1O0cTf69wKyNjGW/sNVMiqDnb4jgwfMG8ye8KnFJ5qmJpDccwIbJNhXIfbsxTg9SEec2oe1cexhMJvw==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dev: false - optional: true - - /@smithy/shared-ini-file-loader@2.0.5: - resolution: {integrity: sha512-Mvtk6FwMtfbKRC4YuSsIqRYp9WTxsSUJVVo2djgyhcacKGMqicHDWSAmgy3sDrKv+G/G6xTZCPwm6pJARtdxVg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.2.2 - tslib: 2.6.2 - dev: false - optional: true - - /@smithy/signature-v4@2.0.5: - resolution: {integrity: sha512-ABIzXmUDXK4n2c9cXjQLELgH2RdtABpYKT+U131e2I6RbCypFZmxIHmIBufJzU2kdMCQ3+thBGDWorAITFW04A==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/eventstream-codec': 2.0.5 - '@smithy/is-array-buffer': 2.0.0 - '@smithy/types': 2.2.2 - '@smithy/util-hex-encoding': 2.0.0 - '@smithy/util-middleware': 2.0.0 - '@smithy/util-uri-escape': 2.0.0 - '@smithy/util-utf8': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true + resolve: 1.22.4 + rollup: 2.79.1 + dev: true - /@smithy/smithy-client@2.0.5: - resolution: {integrity: sha512-kCTFr8wfOAWKDzGvfBElc6shHigWtHNhMQ1IbosjC4jOlayFyZMSs2PysKB+Ox/dhQ41KqOzgVjgiQ+PyWqHMQ==} - engines: {node: '>=14.0.0'} - requiresBuild: true + /@rollup/plugin-replace@2.4.2(rollup@2.79.1): + resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} + peerDependencies: + rollup: ^1.20.0 || ^2.0.0 dependencies: - '@smithy/middleware-stack': 2.0.0 - '@smithy/types': 2.2.2 - '@smithy/util-stream': 2.0.5 - tslib: 2.6.2 - dev: false - optional: true + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + magic-string: 0.25.9 + rollup: 2.79.1 + dev: true - /@smithy/types@1.2.0: - resolution: {integrity: sha512-z1r00TvBqF3dh4aHhya7nz1HhvCg4TRmw51fjMrh5do3h+ngSstt/yKlNbHeb9QxJmFbmN8KEVSWgb1bRvfEoA==} - engines: {node: '>=14.0.0'} + /@rollup/pluginutils@3.1.0(rollup@2.79.1): + resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} + engines: {node: '>= 8.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0 dependencies: - tslib: 2.6.2 - dev: false + '@types/estree': 0.0.39 + estree-walker: 1.0.1 + picomatch: 2.3.1 + rollup: 2.79.1 + dev: true - /@smithy/types@2.2.2: - resolution: {integrity: sha512-4PS0y1VxDnELGHGgBWlDksB2LJK8TG8lcvlWxIsgR+8vROI7Ms8h1P4FQUx+ftAX2QZv5g1CJCdhdRmQKyonyw==} - engines: {node: '>=14.0.0'} - requiresBuild: true + /@rollup/pluginutils@4.2.1: + resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} + engines: {node: '>= 8.0.0'} dependencies: - tslib: 2.6.2 - dev: false + estree-walker: 2.0.2 + picomatch: 2.3.1 + dev: true - /@smithy/url-parser@2.0.5: - resolution: {integrity: sha512-OdMBvZhpckQSkugCXNJQCvqJ71wE7Ftxce92UOQLQ9pwF6hoS5PLL7wEfpnuEXtStzBqJYkzu1C1ZfjuFGOXAA==} - requiresBuild: true + /@shuding/opentype.js@1.4.0-beta.0: + resolution: {integrity: sha512-3NgmNyH3l/Hv6EvsWJbsvpcpUba6R8IREQ83nH83cyakCw7uM1arZKNfHwv1Wz6jgqrF/j4x5ELvR6PnK9nTcA==} + engines: {node: '>= 8.0.0'} + hasBin: true dependencies: - '@smithy/querystring-parser': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 + fflate: 0.7.4 + string.prototype.codepointat: 0.2.1 dev: false - optional: true - /@smithy/util-base64@2.0.0: - resolution: {integrity: sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==} - engines: {node: '>=14.0.0'} - requiresBuild: true + /@sideway/address@4.1.4: + resolution: {integrity: sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==} dependencies: - '@smithy/util-buffer-from': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true + '@hapi/hoek': 9.3.0 + dev: true - /@smithy/util-body-length-browser@2.0.0: - resolution: {integrity: sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==} - requiresBuild: true - dependencies: - tslib: 2.6.2 - dev: false - optional: true + /@sideway/formula@3.0.1: + resolution: {integrity: sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==} + dev: true - /@smithy/util-body-length-node@2.1.0: - resolution: {integrity: sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - tslib: 2.6.2 - dev: false - optional: true + /@sideway/pinpoint@2.0.0: + resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} + dev: true - /@smithy/util-buffer-from@2.0.0: - resolution: {integrity: sha512-/YNnLoHsR+4W4Vf2wL5lGv0ksg8Bmk3GEGxn2vEQt52AQaPSCuaO5PM5VM7lP1K9qHRKHwrPGktqVoAHKWHxzw==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/is-array-buffer': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true + /@sinclair/typebox@0.27.8: + resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + dev: true - /@smithy/util-config-provider@2.0.0: - resolution: {integrity: sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - tslib: 2.6.2 - dev: false - optional: true + /@sindresorhus/is@0.14.0: + resolution: {integrity: sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==} + engines: {node: '>=6'} + dev: true - /@smithy/util-defaults-mode-browser@2.0.5: - resolution: {integrity: sha512-yciP6TPttLsj731aHTvekgyuCGXQrEAJibEwEWAh3kzaDsfGAVCuZSBlyvC2Dl3TZmHKCOQwHV8mIE7KQCTPuQ==} - engines: {node: '>= 10.0.0'} - requiresBuild: true - dependencies: - '@smithy/property-provider': 2.0.5 - '@smithy/types': 2.2.2 - bowser: 2.11.0 - tslib: 2.6.2 - dev: false - optional: true + /@sindresorhus/is@4.6.0: + resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} + engines: {node: '>=10'} + dev: true - /@smithy/util-defaults-mode-node@2.0.5: - resolution: {integrity: sha512-M07t99rWasXt+IaDZDyP3BkcoEm/mgIE1RIMASrE49LKSNxaVN7PVcgGc77+4uu2kzBAyqJKy79pgtezuknyjQ==} - engines: {node: '>= 10.0.0'} - requiresBuild: true + /@sindresorhus/slugify@1.1.2: + resolution: {integrity: sha512-V9nR/W0Xd9TSGXpZ4iFUcFGhuOJtZX82Fzxj1YISlbSgKvIiNa7eLEZrT0vAraPOt++KHauIVNYgGRgjc13dXA==} + engines: {node: '>=10'} dependencies: - '@smithy/config-resolver': 2.0.5 - '@smithy/credential-provider-imds': 2.0.5 - '@smithy/node-config-provider': 2.0.5 - '@smithy/property-provider': 2.0.5 - '@smithy/types': 2.2.2 - tslib: 2.6.2 + '@sindresorhus/transliterate': 0.1.2 + escape-string-regexp: 4.0.0 dev: false - optional: true - /@smithy/util-hex-encoding@2.0.0: - resolution: {integrity: sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==} - engines: {node: '>=14.0.0'} - requiresBuild: true + /@sindresorhus/transliterate@0.1.2: + resolution: {integrity: sha512-5/kmIOY9FF32nicXH+5yLNTX4NJ4atl7jRgqAJuIn/iyDFXBktOKDxCvyGE/EzmF4ngSUvjXxQUQlQiZ5lfw+w==} + engines: {node: '>=10'} dependencies: - tslib: 2.6.2 + escape-string-regexp: 2.0.0 + lodash.deburr: 4.1.0 dev: false - optional: true - /@smithy/util-middleware@2.0.0: - resolution: {integrity: sha512-eCWX4ECuDHn1wuyyDdGdUWnT4OGyIzV0LN1xRttBFMPI9Ff/4heSHVxneyiMtOB//zpXWCha1/SWHJOZstG7kA==} - engines: {node: '>=14.0.0'} - requiresBuild: true + /@sinonjs/commons@3.0.0: + resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} dependencies: - tslib: 2.6.2 - dev: false - optional: true + type-detect: 4.0.8 + dev: true - /@smithy/util-retry@2.0.0: - resolution: {integrity: sha512-/dvJ8afrElasuiiIttRJeoS2sy8YXpksQwiM/TcepqdRVp7u4ejd9C4IQURHNjlfPUT7Y6lCDSa2zQJbdHhVTg==} - engines: {node: '>= 14.0.0'} - requiresBuild: true + /@sinonjs/fake-timers@10.3.0: + resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} dependencies: - '@smithy/service-error-classification': 2.0.0 - tslib: 2.6.2 - dev: false - optional: true + '@sinonjs/commons': 3.0.0 + dev: true - /@smithy/util-stream@2.0.5: - resolution: {integrity: sha512-ylx27GwI05xLpYQ4hDIfS15vm+wYjNN0Sc2P0FxuzgRe8v0BOLHppGIQ+Bezcynk8C9nUzsUue3TmtRhjut43g==} + /@smithy/abort-controller@1.1.0: + resolution: {integrity: sha512-5imgGUlZL4dW4YWdMYAKLmal9ny/tlenM81QZY7xYyb76z9Z/QOg7oM5Ak9HQl8QfFTlGVWwcMXl+54jroRgEQ==} engines: {node: '>=14.0.0'} - requiresBuild: true dependencies: - '@smithy/fetch-http-handler': 2.0.5 - '@smithy/node-http-handler': 2.0.5 - '@smithy/types': 2.2.2 - '@smithy/util-base64': 2.0.0 - '@smithy/util-buffer-from': 2.0.0 - '@smithy/util-hex-encoding': 2.0.0 - '@smithy/util-utf8': 2.0.0 + '@smithy/types': 1.2.0 tslib: 2.6.2 dev: false - optional: true - /@smithy/util-uri-escape@2.0.0: - resolution: {integrity: sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==} + /@smithy/types@1.2.0: + resolution: {integrity: sha512-z1r00TvBqF3dh4aHhya7nz1HhvCg4TRmw51fjMrh5do3h+ngSstt/yKlNbHeb9QxJmFbmN8KEVSWgb1bRvfEoA==} engines: {node: '>=14.0.0'} - requiresBuild: true dependencies: tslib: 2.6.2 dev: false - optional: true - /@smithy/util-utf8@2.0.0: - resolution: {integrity: sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==} + /@smithy/types@2.2.2: + resolution: {integrity: sha512-4PS0y1VxDnELGHGgBWlDksB2LJK8TG8lcvlWxIsgR+8vROI7Ms8h1P4FQUx+ftAX2QZv5g1CJCdhdRmQKyonyw==} engines: {node: '>=14.0.0'} requiresBuild: true dependencies: - '@smithy/util-buffer-from': 2.0.0 tslib: 2.6.2 dev: false - optional: true /@svgr/babel-plugin-add-jsx-attribute@8.0.0(@babel/core@7.22.11): resolution: {integrity: sha512-b9MIk7yhdS1pMCZM8VeNfUlSKVRhsHZNMl5O9SfaX0l0t5wjdgu4IDzGB8bpnGBBOjGST3rRFVsaaEtI4W6f7g==} @@ -10596,8 +9787,8 @@ packages: defer-to-connect: 2.0.1 dev: true - /@tediousjs/connection-string@0.4.4: - resolution: {integrity: sha512-Qssn7gmOILmqD0zkfA09YyFd52UajWYkLTTSi4Dx/XZaUuVcx4W4guv2rAVc5mm8wYRdonmG/HfFH3PS6izXAg==} + /@tediousjs/connection-string@0.5.0: + resolution: {integrity: sha512-7qSgZbincDDDFyRweCIEvZULFAw5iz/DeunhvuxpL31nfntX3P4Yd4HkHBRg9H8CdqY1e5WFN1PZIz/REL9MVQ==} dev: false /@testing-library/dom@9.3.1: @@ -10826,8 +10017,8 @@ packages: '@types/node': 18.17.11 dev: true - /@types/cross-spawn@6.0.2: - resolution: {integrity: sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==} + /@types/cross-spawn@6.0.3: + resolution: {integrity: sha512-BDAkU7WHHRHnvBf5z89lcvACsvkz/n7Tv+HyD/uW76O29HoH1Tk/W6iQrepaZVbisvlEek4ygwT8IW7ow9XLAA==} dependencies: '@types/node': 18.17.11 @@ -10836,6 +10027,11 @@ packages: dependencies: '@types/ms': 0.7.31 + /@types/debug@4.1.9: + resolution: {integrity: sha512-8Hz50m2eoS56ldRlepxSBa6PWEVCtzUo/92HgLc2qTMnotJNIm7xP+UZhyWoYsyOdd5dxZ+NZLb24rsKyFs2ow==} + dependencies: + '@types/ms': 0.7.31 + /@types/estree-jsx@0.0.1: resolution: {integrity: sha512-gcLAYiMfQklDCPjQegGn0TBAn9it05ISEsEhlKQUddIk7o2XDokOcTN7HBO8tznM0D9dGezvHEfRZBfZf6me0A==} dependencies: @@ -11095,6 +10291,14 @@ packages: resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} dev: false + /@types/pg@8.6.6: + resolution: {integrity: sha512-O2xNmXebtwVekJDD+02udOncjVcMZQuTEQEMpKJ0ZRf5E7/9JJX3izhKUcUifBkyKpljyUM6BTgy2trmviKlpw==} + dependencies: + '@types/node': 18.17.11 + pg-protocol: 1.6.0 + pg-types: 2.2.0 + dev: false + /@types/pluralize@0.0.31: resolution: {integrity: sha512-MQh69PPwFlYAL2qz/Mw5Zc34VTdt7pTck0Xbb6pbPSzdt5oaLB87iyJJxEMS5Dco/s7lXHunEezAvQurZZdrsQ==} dev: true @@ -11593,7 +10797,7 @@ packages: form-data-encoder: 1.9.0 formdata-node: 4.4.1 node-fetch: 2.7.0 - undici: 5.23.0 + undici: 5.25.4 web-streams-polyfill: 3.2.1 transitivePeerDependencies: - encoding @@ -11839,8 +11043,8 @@ packages: normalize-path: 3.0.0 readable-stream: 2.3.8 - /archiver@5.3.1: - resolution: {integrity: sha512-8KyabkmbYrH+9ibcTScQ1xCJC/CGcugdVIwB+53f5sZziXgwUh3iXlAlANMxcZyDEfTHMe6+Z5FofV8nopXP7w==} + /archiver@5.3.2: + resolution: {integrity: sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw==} engines: {node: '>= 10'} dependencies: archiver-utils: 2.1.0 @@ -12457,6 +11661,14 @@ packages: readable-stream: 3.6.2 dev: false + /bl@6.0.7: + resolution: {integrity: sha512-9FNh0IvlWSU5C9BCDhw0IovmhuqevzBX1AME7BdFHNDMfOju4NmwRWoBrfz5Srs+JNBhxfjrPLxZSnDotgSs9A==} + dependencies: + buffer: 6.0.3 + inherits: 2.0.4 + readable-stream: 4.4.2 + dev: false + /bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} dev: true @@ -12601,11 +11813,9 @@ packages: dependencies: node-int64: 0.4.0 - /bson@4.7.2: - resolution: {integrity: sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ==} - engines: {node: '>=6.9.0'} - dependencies: - buffer: 5.7.1 + /bson@5.5.0: + resolution: {integrity: sha512-B+QB4YmDx9RStKv8LLSl/aVIEV3nYJc3cJNNTK2Cd1TL+7P+cNpw9mAPeCgc5K+j01Dv6sxUzcITXDx7ZU3F0w==} + engines: {node: '>=14.20.1'} dev: false /buffer-crc32@0.2.13: @@ -12945,15 +12155,14 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /checkpoint-client@1.1.24: - resolution: {integrity: sha512-nIOlLhDS7MKs4tUzS3LCm+sE1NgTCVnVrXlD0RRxaoEkkLu8LIWSUNiNWai6a+LK5unLzTyZeTCYX1Smqy0YoA==} + /checkpoint-client@1.1.27: + resolution: {integrity: sha512-xstymfUalJOv6ZvTtmkwP4ORJN36ikT4PvrIoLe3wstbYf87XIXCcZrSmbFQOjyB0v1qbBnCsAscDpfdZlCkFA==} dependencies: ci-info: 3.8.0 env-paths: 2.2.1 - fast-write-atomic: 0.2.1 - make-dir: 3.1.0 + make-dir: 4.0.0 ms: 2.1.3 - node-fetch: 2.6.11 + node-fetch: 2.6.12 uuid: 9.0.0 transitivePeerDependencies: - encoding @@ -13161,6 +12370,11 @@ packages: /comma-separated-tokens@2.0.3: resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} + /commander@11.0.0: + resolution: {integrity: sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==} + engines: {node: '>=16'} + dev: false + /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} dev: true @@ -13174,11 +12388,6 @@ packages: resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} engines: {node: '>= 12'} - /commander@9.5.0: - resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==} - engines: {node: ^12.20.0 || >=14} - dev: false - /common-ancestor-path@1.0.1: resolution: {integrity: sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==} dev: false @@ -15248,23 +14457,11 @@ packages: resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} dev: true - /fast-write-atomic@0.2.1: - resolution: {integrity: sha512-WvJe06IfNYlr+6cO3uQkdKdy3Cb1LlCJSF8zRs2eT8yuhdbSlR9nIt+TgQ92RUxiRrQm+/S7RARnMfCs5iuAjw==} - /fast-xml-parser@3.19.0: resolution: {integrity: sha512-4pXwmBplsCPv8FOY1WRakF970TjNGnGnfbOnLqjlYvMiF1SR3yOHyxMR/YCXpPTOspNF5gwudqktIP4VsWkvBg==} hasBin: true dev: false - /fast-xml-parser@4.2.5: - resolution: {integrity: sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==} - hasBin: true - requiresBuild: true - dependencies: - strnum: 1.0.5 - dev: false - optional: true - /fastq@1.15.0: resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} dependencies: @@ -15529,8 +14726,8 @@ packages: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} engines: {node: '>= 0.6'} - /fp-ts@2.16.0: - resolution: {integrity: sha512-bLq+KgbiXdTEoT1zcARrWEpa5z6A/8b7PcDW7Gef3NSisQ+VS7ll2Xbf1E+xsgik0rWub/8u0qP/iTTjj+PhxQ==} + /fp-ts@2.16.1: + resolution: {integrity: sha512-by7U5W8dkIzcvDofUcO42yl9JbnHTEDBrzu3pt5fKT+Z4Oy85I21K80EYJYdjQGC2qum4Vo55Ag57iiIK4FYuA==} /fragment-cache@0.2.1: resolution: {integrity: sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==} @@ -16366,8 +15563,8 @@ packages: transitivePeerDependencies: - supports-color - /https-proxy-agent@7.0.0: - resolution: {integrity: sha512-0euwPCRyAPSgGdzD1IVN9nJYHtBhJwb6XPfbpQcYbPCwrBidX6GzxmchnaF4sfF/jPb74Ojx5g4yTg3sixlyPw==} + /https-proxy-agent@7.0.2: + resolution: {integrity: sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==} engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 @@ -16558,21 +15755,21 @@ packages: loose-envify: 1.4.0 dev: false - /io-ts-excess@1.0.1(fp-ts@2.16.0): + /io-ts-excess@1.0.1(fp-ts@2.16.1): resolution: {integrity: sha512-yJQ+pGztBMIQmfsKfSAeQ1w7UJywvj37NIFriMAZ2tMLTpp1IngUvtxqI+QlW+RlXDn7cthMxrpJ0CnOx6Dn+w==} peerDependencies: fp-ts: ^2.0.0 dependencies: - fp-ts: 2.16.0 - io-ts: 2.2.16(fp-ts@2.16.0) + fp-ts: 2.16.1 + io-ts: 2.2.16(fp-ts@2.16.1) dev: false - /io-ts@2.2.16(fp-ts@2.16.0): + /io-ts@2.2.16(fp-ts@2.16.1): resolution: {integrity: sha512-y5TTSa6VP6le0hhmIyN0dqEXkrZeJLeC5KApJq6VLci3UEKF80lZ+KuoUs02RhBxNWlrqSNxzfI7otLX1Euv8Q==} peerDependencies: fp-ts: ^2.5.0 dependencies: - fp-ts: 2.16.0 + fp-ts: 2.16.1 dev: false /ip@1.1.8: @@ -18225,7 +17422,6 @@ packages: engines: {node: '>=10'} dependencies: semver: 7.5.4 - dev: true /makeerror@1.0.12: resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} @@ -18256,8 +17452,8 @@ packages: object-visit: 1.0.1 dev: true - /mariadb@3.1.2: - resolution: {integrity: sha512-ILlC54fkXkvizTJZC1uP7f/REBxuu1k+OWzpiIITIEdS+dGIjFe/Ob3EW9KrdtBa38l3z+odz6elva0RG/y5og==} + /mariadb@3.2.0: + resolution: {integrity: sha512-IH2nidQat1IBMxP5gjuNxG6dADtz1PESEC6rKrcATen5v3ngFyZITjehyYiwNfz3zUNQupfYmVntz93M+Pz8pQ==} engines: {node: '>= 12'} dependencies: '@types/geojson': 7946.0.10 @@ -19179,33 +18375,51 @@ packages: whatwg-url: 11.0.0 dev: false - /mongodb@4.16.0: - resolution: {integrity: sha512-0EB113Fsucaq1wsY0dOhi1fmZOwFtLOtteQkiqOXGklvWMnSH3g2QS53f0KTP+/6qOkuoXE2JksubSZNmxeI+g==} - engines: {node: '>=12.9.0'} + /mongodb@5.8.1: + resolution: {integrity: sha512-wKyh4kZvm6NrCPH8AxyzXm3JBoEf4Xulo0aUWh3hCgwgYJxyQ1KLST86ZZaSWdj6/kxYUA3+YZuyADCE61CMSg==} + engines: {node: '>=14.20.1'} + peerDependencies: + '@aws-sdk/credential-providers': ^3.188.0 + '@mongodb-js/zstd': ^1.0.0 + kerberos: ^1.0.0 || ^2.0.0 + mongodb-client-encryption: '>=2.3.0 <3' + snappy: ^7.2.2 + peerDependenciesMeta: + '@aws-sdk/credential-providers': + optional: true + '@mongodb-js/zstd': + optional: true + kerberos: + optional: true + mongodb-client-encryption: + optional: true + snappy: + optional: true dependencies: - bson: 4.7.2 + bson: 5.5.0 mongodb-connection-string-url: 2.6.0 socks: 2.7.1 optionalDependencies: - '@aws-sdk/credential-providers': 3.398.0 - saslprep: 1.0.3 - transitivePeerDependencies: - - aws-crt + '@mongodb-js/saslprep': 1.1.0 dev: false - /mongoose@6.11.2: - resolution: {integrity: sha512-BJHQerozE+qIVdH8Hn9niMVMUzRNcjmwU7hFEzER1+aYtGmVJgGsXBd9wJ9GnrHrbCsYmKlRy8aTuxEdlEtfow==} - engines: {node: '>=12.0.0'} + /mongoose@7.5.1: + resolution: {integrity: sha512-gJCkUtW3KgAu7Uf8HTVv+S3wf9+xldR5LFYM6mABJJQHQB0aWUGyC3bWsl2X/6dVHZSoQq3wh5UV7rWC4FrewA==} + engines: {node: '>=14.20.1'} dependencies: - bson: 4.7.2 + bson: 5.5.0 kareem: 2.5.1 - mongodb: 4.16.0 + mongodb: 5.8.1 mpath: 0.9.0 - mquery: 4.0.3 + mquery: 5.0.0 ms: 2.1.3 sift: 16.0.1 transitivePeerDependencies: - - aws-crt + - '@aws-sdk/credential-providers' + - '@mongodb-js/zstd' + - kerberos + - mongodb-client-encryption + - snappy - supports-color dev: false @@ -19226,9 +18440,9 @@ packages: engines: {node: '>=4.0.0'} dev: false - /mquery@4.0.3: - resolution: {integrity: sha512-J5heI+P08I6VJ2Ky3+33IpCdAvlYGTSUjwTPxkAr8i8EoduPMBX2OY/wa3IKZIQl7MU4SbFk8ndgSKyB/cl1zA==} - engines: {node: '>=12.0.0'} + /mquery@5.0.0: + resolution: {integrity: sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==} + engines: {node: '>=14.0.0'} dependencies: debug: 4.3.4 transitivePeerDependencies: @@ -19255,17 +18469,17 @@ packages: /ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - /mssql@9.1.1: - resolution: {integrity: sha512-m0yTx9xzUtTvJpWJHqknUXUDPRnJXZYOOFNygnNIXn1PBkLsC/rkXQdquObd+M0ZPlBhGC00Jg28zG0wCl7VWg==} - engines: {node: '>=10'} + /mssql@10.0.1: + resolution: {integrity: sha512-k0Xkav/3OppZs8Kj+FIo7k7ejbcsVNxp5/ePayxfXzuBZhxD/Y/RhIhrtfHyH6FmlJnBQPj7eDI2IN7B0BiSxQ==} + engines: {node: '>=14'} hasBin: true dependencies: - '@tediousjs/connection-string': 0.4.4 - commander: 9.5.0 + '@tediousjs/connection-string': 0.5.0 + commander: 11.0.0 debug: 4.3.4 rfdc: 1.3.0 tarn: 3.0.2 - tedious: 15.1.3 + tedious: 16.4.1 transitivePeerDependencies: - supports-color dev: false @@ -19492,8 +18706,8 @@ packages: engines: {node: '>=10.5.0'} dev: false - /node-fetch@2.6.11: - resolution: {integrity: sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==} + /node-fetch@2.6.12: + resolution: {integrity: sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==} engines: {node: 4.x || >=6.0.0} peerDependencies: encoding: ^0.1.0 @@ -20212,6 +19426,12 @@ packages: is-reference: 3.0.1 dev: true + /pg-cloudflare@1.1.1: + resolution: {integrity: sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==} + requiresBuild: true + dev: false + optional: true + /pg-connection-string@2.6.2: resolution: {integrity: sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA==} dev: false @@ -20221,12 +19441,12 @@ packages: engines: {node: '>=4.0.0'} dev: false - /pg-pool@3.6.1(pg@8.10.0): + /pg-pool@3.6.1(pg@8.11.3): resolution: {integrity: sha512-jizsIzhkIitxCGfPRzJn1ZdcosIt3pz9Sh3V01fm1vZnbnCMgmGl5wvGGdNN2EL9Rmb0EcFoCkixH4Pu+sP9Og==} peerDependencies: pg: '>=8.0' dependencies: - pg: 8.10.0 + pg: 8.11.3 dev: false /pg-protocol@1.6.0: @@ -20244,8 +19464,8 @@ packages: postgres-interval: 1.2.0 dev: false - /pg@8.10.0: - resolution: {integrity: sha512-ke7o7qSTMb47iwzOSaZMfeR7xToFdkE71ifIipOAAaLIM0DYzfOAXlgFFmYUIE2BcJtvnVlGCID84ZzCegE8CQ==} + /pg@8.11.3: + resolution: {integrity: sha512-+9iuvG8QfaaUrrph+kpF24cXkH1YOOUeArRNYIxq1viYHZagBxrTno7cecY1Fa44tJeZvaoG+Djpkc3JwehN5g==} engines: {node: '>= 8.0.0'} peerDependencies: pg-native: '>=3.0.1' @@ -20256,10 +19476,12 @@ packages: buffer-writer: 2.0.0 packet-reader: 1.0.0 pg-connection-string: 2.6.2 - pg-pool: 3.6.1(pg@8.10.0) + pg-pool: 3.6.1(pg@8.11.3) pg-protocol: 1.6.0 pg-types: 2.2.0 pgpass: 1.0.5 + optionalDependencies: + pg-cloudflare: 1.1.1 dev: false /pgpass@1.0.5: @@ -20613,6 +19835,14 @@ packages: dependencies: '@prisma/engines': 4.16.2 + /prisma@5.4.0: + resolution: {integrity: sha512-69rlao0RJ4JcLnJ6VwUS89qhRAdMawby7u10OOkpxZC9RZkDdLIpMj+7zafH2NqEk9roplbmfiAR5FseR7H8fg==} + engines: {node: '>=16.13'} + hasBin: true + requiresBuild: true + dependencies: + '@prisma/engines': 5.4.0 + /prismjs@1.29.0: resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} engines: {node: '>=6'} @@ -20626,6 +19856,11 @@ packages: /process-nextick-args@2.0.1: resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} + /process@0.11.10: + resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} + engines: {node: '>= 0.6.0'} + dev: false + /progress@2.0.3: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} engines: {node: '>=0.4.0'} @@ -21108,6 +20343,17 @@ packages: string_decoder: 1.3.0 util-deprecate: 1.0.2 + /readable-stream@4.4.2: + resolution: {integrity: sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + abort-controller: 3.0.0 + buffer: 6.0.3 + events: 3.3.0 + process: 0.11.10 + string_decoder: 1.3.0 + dev: false + /readable-web-to-node-stream@3.0.2: resolution: {integrity: sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==} engines: {node: '>=8'} @@ -21420,14 +20666,6 @@ packages: path-parse: 1.0.7 dev: false - /resolve@1.22.2: - resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} - hasBin: true - dependencies: - is-core-module: 2.13.0 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - /resolve@1.22.4: resolution: {integrity: sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==} hasBin: true @@ -21669,15 +20907,6 @@ packages: - supports-color dev: true - /saslprep@1.0.3: - resolution: {integrity: sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==} - engines: {node: '>=6'} - requiresBuild: true - dependencies: - sparse-bitfield: 3.0.3 - dev: false - optional: true - /sass-formatter@0.7.7: resolution: {integrity: sha512-axtQ7c7Cf4UgHsD8e4okhIkkc90+tdgBIfUMx69+qJuMNq9EOo2k+RH/mDKj0XeA5z3nC1Ca5TCntuxRhI+1MA==} dependencies: @@ -22466,12 +21695,6 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - /strnum@1.0.5: - resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==} - requiresBuild: true - dev: false - optional: true - /strtok3@7.0.0: resolution: {integrity: sha512-pQ+V+nYQdC5H3Q7qBZAz/MO6lwGhoC2gOAjuouGf/VO0m7vQRh8QNMl2Uf6SwAtzZ9bOw3UIeBukEGNJl5dtXQ==} engines: {node: '>=14.16'} @@ -22662,14 +21885,14 @@ packages: engines: {node: '>=8.0.0'} dev: false - /tedious@15.1.3: - resolution: {integrity: sha512-166EpRm5qknwhEisjZqz/mF7k14fXKJYHRg6XiAXVovd/YkyHJ3SG4Ppy89caPaNFfRr7PVYe+s4dAvKaCMFvw==} - engines: {node: '>=14'} + /tedious@16.4.1: + resolution: {integrity: sha512-WwRkGs7N5jFiHhD7uyLHnZ9rCmOfYytEHZhE/vyU56mxzFB3+xHd4WV+DssLwuc1piJqDI54vHDi6SRACOGu8g==} + engines: {node: '>=16'} dependencies: '@azure/identity': 2.1.0 '@azure/keyvault-keys': 4.7.2 '@js-joda/core': 5.5.3 - bl: 5.1.0 + bl: 6.0.7 es-aggregate-error: 1.0.10 iconv-lite: 0.6.3 js-md4: 0.3.2 @@ -22682,24 +21905,10 @@ packages: - supports-color dev: false - /temp-dir@1.0.0: - resolution: {integrity: sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==} - engines: {node: '>=4'} - /temp-dir@2.0.0: resolution: {integrity: sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==} engines: {node: '>=8'} - /temp-write@4.0.0: - resolution: {integrity: sha512-HIeWmj77uOOHb0QX7siN3OtwV3CTntquin6TNVg6SHOqCP3hYKmox90eeFOGaY1MqJ9WYDDjkyZrW6qS5AWpbw==} - engines: {node: '>=8'} - dependencies: - graceful-fs: 4.2.11 - is-stream: 2.0.1 - make-dir: 3.1.0 - temp-dir: 1.0.0 - uuid: 3.4.0 - /tempy@1.0.1: resolution: {integrity: sha512-biM9brNqxSc04Ee71hzFbryD11nX7VPhQQY32AdDmjFvodsRFz/3ufeoTZ6uYkRFfGo188tENcASNs3vTdsM0w==} engines: {node: '>=10'} @@ -23168,11 +22377,11 @@ packages: engines: {node: '>=0.10.0'} dev: false - /undici@5.23.0: - resolution: {integrity: sha512-1D7w+fvRsqlQ9GscLBwcAJinqcZGHUKjbOmXdlE/v8BvEGXjeWAax+341q44EuTcHXXnfyKNbKRq4Lg7OzhMmg==} + /undici@5.25.4: + resolution: {integrity: sha512-450yJxT29qKMf3aoudzFpIciqpx6Pji3hEWaXqXmanbXF58LTAGCKxcJjxMXWu3iG+Mudgo3ZUfDB6YDFd/dAw==} engines: {node: '>=14.0'} dependencies: - busboy: 1.6.0 + '@fastify/busboy': 2.0.0 dev: false /unherit@3.0.1: @@ -23464,11 +22673,6 @@ packages: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} - /uuid@3.4.0: - resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==} - deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. - hasBin: true - /uuid@8.3.2: resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} hasBin: true diff --git a/prisma-utils/package.json b/prisma-utils/package.json index e681dda508a..ce5810b4bbe 100644 --- a/prisma-utils/package.json +++ b/prisma-utils/package.json @@ -3,8 +3,8 @@ "version": "0.0.2", "private": true, "dependencies": { - "@prisma/generator-helper": "^4.16.2", - "@prisma/internals": "^4.16.2", + "@prisma/generator-helper": "^5.4.0", + "@prisma/internals": "^5.4.0", "fs-extra": "^11.0.0", "tsx": "^3.9.0", "prettier": "^2.5.0" diff --git a/tests/api-tests/package.json b/tests/api-tests/package.json index 3c99bef70ce..98c0fe8a586 100644 --- a/tests/api-tests/package.json +++ b/tests/api-tests/package.json @@ -14,8 +14,8 @@ "@keystone-6/auth": "*", "@keystone-6/core": "*", "@keystone-6/fields-document": "*", - "@prisma/client": "^4.16.2", - "@prisma/internals": "^4.16.2", + "@prisma/client": "^5.4.0", + "@prisma/internals": "^5.4.0", "@types/express": "^4.17.14", "cookie-signature": "^1.1.0", "fs-extra": "^11.0.0", @@ -24,7 +24,7 @@ "graphql-upload": "^15.0.2", "mime": "^3.0.0", "node-fetch": "^2.6.7", - "prisma": "^4.16.2", + "prisma": "^5.4.0", "supertest": "^6.1.6", "testcheck": "^1.0.0-rc.2", "uuid": "^9.0.0" diff --git a/tests/api-tests/test-runner.ts b/tests/api-tests/test-runner.ts index 92d98b11f40..a244a986339 100644 --- a/tests/api-tests/test-runner.ts +++ b/tests/api-tests/test-runner.ts @@ -81,7 +81,7 @@ async function getTestPrismaModule(schema: string): Promise { relativeEnvPaths: {}, datasourceNames: config.datasources.map(d => d.name), activeProvider, - dataProxy: false, + noEngine: false, }; const prismaModule: PrismaModule = { PrismaClient: getPrismaClient(options) as any, diff --git a/tests/cli-tests/package.json b/tests/cli-tests/package.json index 304b7382a87..27c402f9b72 100644 --- a/tests/cli-tests/package.json +++ b/tests/cli-tests/package.json @@ -13,15 +13,15 @@ "@keystone-6/auth": "*", "@keystone-6/core": "*", "@keystone-6/fields-document": "*", - "@prisma/client": "^4.16.2", - "@prisma/internals": "^4.16.2", + "@prisma/client": "^5.4.0", + "@prisma/internals": "^5.4.0", "chalk": "^4.1.2", "execa": "^5.1.1", "fast-glob": "^3.2.12", "fs-extra": "^11.0.0", "mime": "^3.0.0", "node-fetch": "^2.6.7", - "prisma": "^4.16.2" + "prisma": "^5.4.0" }, "dependencies": { "@types/fs-extra": "^11.0.0", diff --git a/tests/sandbox/package.json b/tests/sandbox/package.json index 1190f32b8c4..f0123ab1cde 100644 --- a/tests/sandbox/package.json +++ b/tests/sandbox/package.json @@ -17,12 +17,12 @@ "@keystone-ui/fields": "^7.2.0", "@keystone-ui/icons": "^6.0.1", "@keystone-ui/tooltip": "^6.0.1", - "@prisma/client": "^4.16.2", + "@prisma/client": "^5.4.0", "react": "^18.2.0" }, "repository": "https://github.com/keystonejs/keystone/tree/main/tests/sandbox", "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" } } diff --git a/tests/test-projects/basic/package.json b/tests/test-projects/basic/package.json index bf00cf4ed0f..1beab7e469f 100644 --- a/tests/test-projects/basic/package.json +++ b/tests/test-projects/basic/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" }, "repository": "https://github.com/keystonejs/keystone/tree/main/tests/test-projects/basic" diff --git a/tests/test-projects/crud-notifications/package.json b/tests/test-projects/crud-notifications/package.json index 41eedb95047..bc07703a3ac 100644 --- a/tests/test-projects/crud-notifications/package.json +++ b/tests/test-projects/crud-notifications/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" }, "repository": "https://github.com/keystonejs/keystone/tree/main/tests/test-projects/crud-notifications" diff --git a/tests/test-projects/live-reloading/package.json b/tests/test-projects/live-reloading/package.json index e0228035181..9419465102a 100644 --- a/tests/test-projects/live-reloading/package.json +++ b/tests/test-projects/live-reloading/package.json @@ -11,10 +11,10 @@ }, "dependencies": { "@keystone-6/core": "^5.0.0", - "@prisma/client": "^4.16.2" + "@prisma/client": "^5.4.0" }, "devDependencies": { - "prisma": "^4.16.2", + "prisma": "^5.4.0", "typescript": "~5.0.0" }, "repository": "https://github.com/keystonejs/keystone/tree/main/tests/test-projects/live-reloading"