diff --git a/.changeset/smart-socks-end.md b/.changeset/smart-socks-end.md new file mode 100644 index 00000000000..bc0db1a421c --- /dev/null +++ b/.changeset/smart-socks-end.md @@ -0,0 +1,7 @@ +--- +'@keystone-next/keystone': patch +'@keystone-next/prisma-utils': patch +'@keystone-next/api-tests-legacy': patch +--- + +Upgraded Prisma monorepo packages to 3.2.0. See the release notes here https://github.com/prisma/prisma/releases/tag/3.2.0 diff --git a/packages/keystone/package.json b/packages/keystone/package.json index 52202e2e56b..507a5b6ef09 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -49,9 +49,9 @@ "@keystone-ui/toast": "^4.0.3", "@keystone-ui/tooltip": "^4.0.2", "@preconstruct/next": "^3.0.0", - "@prisma/client": "3.1.1", - "@prisma/migrate": "3.1.1", - "@prisma/sdk": "3.1.1", + "@prisma/client": "3.2.0", + "@prisma/migrate": "3.2.0", + "@prisma/sdk": "3.2.0", "@sindresorhus/slugify": "^1.1.2", "@types/apollo-upload-client": "14.1.0", "@types/babel__core": "^7.1.16", @@ -111,7 +111,7 @@ "pirates": "^4.0.1", "pluralize": "^8.0.0", "prettier": "^2.4.1", - "prisma": "3.1.1", + "prisma": "3.2.0", "prompts": "^2.4.1", "react": "^17.0.2", "react-dom": "^17.0.2", diff --git a/packages/keystone/src/scripts/tests/migrations.test.ts b/packages/keystone/src/scripts/tests/migrations.test.ts index 38aa765336a..8a74ad97d33 100644 --- a/packages/keystone/src/scripts/tests/migrations.test.ts +++ b/packages/keystone/src/scripts/tests/migrations.test.ts @@ -112,15 +112,15 @@ describe('useMigrations: false', () => { await setupAndStopDevServerForMigrations(tmp); expect(recording()).toMatchInlineSnapshot(` -"✨ Starting Keystone -⭐️ Dev Server Starting on http://localhost:3000 -⭐️ GraphQL API Starting on http://localhost:3000/api/graphql -✨ Generating GraphQL and Prisma schemas -✨ The database is already in sync with the Prisma schema. -✨ Connecting to the database -✨ Creating server -✅ GraphQL API ready" -`); + "✨ Starting Keystone + ⭐️ Dev Server Starting on http://localhost:3000 + ⭐️ GraphQL API Starting on http://localhost:3000/api/graphql + ✨ Generating GraphQL and Prisma schemas + ✨ The database is already in sync with the Prisma schema. + ✨ Connecting to the database + ✨ Creating server + ✅ GraphQL API ready" + `); }); test('warns when dropping field that has data in it', async () => { const prevCwd = await setupInitialProjectWithoutMigrations(); @@ -153,20 +153,20 @@ describe('useMigrations: false', () => { " `); expect(recording()).toMatchInlineSnapshot(` -"✨ Starting Keystone -⭐️ Dev Server Starting on http://localhost:3000 -⭐️ GraphQL API Starting on http://localhost:3000/api/graphql -✨ Generating GraphQL and Prisma schemas + "✨ Starting Keystone + ⭐️ Dev Server Starting on http://localhost:3000 + ⭐️ GraphQL API Starting on http://localhost:3000/api/graphql + ✨ Generating GraphQL and Prisma schemas -⚠️ Warnings: + ⚠️ Warnings: - • You are about to drop the column \`title\` on the \`Todo\` table, which still contains 1 non-null values. -Prompt: Do you want to continue? Some data will be lost. true -✨ Your database is now in sync with your schema. Done in 0ms -✨ Connecting to the database -✨ Creating server -✅ GraphQL API ready" -`); + • You are about to drop the column \`title\` on the \`Todo\` table, which still contains 1 non-null values. + Prompt: Do you want to continue? Some data will be lost. true + ✨ Your database is now in sync with your schema. Done in 0ms + ✨ Connecting to the database + ✨ Creating server + ✅ GraphQL API ready" + `); }); test('exits when refusing data loss prompt', async () => { const prevCwd = await setupInitialProjectWithoutMigrations(); @@ -264,7 +264,6 @@ model Todo { `); const { migration, migrationName } = await getGeneratedMigration(tmp, 1, 'init'); - expect(migration).toEqual(`-- CreateTable CREATE TABLE "Todo" ( "id" TEXT NOT NULL PRIMARY KEY, @@ -272,7 +271,8 @@ CREATE TABLE "Todo" ( ); `); - expect(recording().replace(migrationName, 'migration_name')).toEqual(`✨ Starting Keystone + expect(recording().replace(new RegExp(migrationName, 'g'), 'migration_name')) + .toEqual(`✨ Starting Keystone ⭐️ Dev Server Starting on http://localhost:3000 ⭐️ GraphQL API Starting on http://localhost:3000/api/graphql ✨ Generating GraphQL and Prisma schemas @@ -282,6 +282,7 @@ CREATE TABLE "Todo" ( Prompt: Name of migration init ✨ A migration has been created at migrations/migration_name Prompt: Would you like to apply this migration? true +Applying migration \`migration_name\` ✅ The migration has been applied ✨ Connecting to the database ✨ Creating server @@ -349,7 +350,8 @@ describe('useMigrations: true', () => { " `); - expect(recording().replace(migrationName, 'migration_name')).toMatchInlineSnapshot(` + expect(recording().replace(new RegExp(migrationName, 'g'), 'migration_name')) + .toMatchInlineSnapshot(` "✨ Starting Keystone ⭐️ Dev Server Starting on http://localhost:3000 ⭐️ GraphQL API Starting on http://localhost:3000/api/graphql @@ -359,6 +361,7 @@ describe('useMigrations: true', () => { Prompt: Name of migration add-is-complete ✨ A migration has been created at migrations/migration_name Prompt: Would you like to apply this migration? true + Applying migration \`migration_name\` ✅ The migration has been applied ✨ Connecting to the database ✨ Creating server @@ -423,7 +426,8 @@ describe('useMigrations: true', () => { " `); - expect(recording().replace(migrationName, 'migration_name')).toMatchInlineSnapshot(` + expect(recording().replace(new RegExp(migrationName, 'g'), 'migration_name')) + .toMatchInlineSnapshot(` "✨ Starting Keystone ⭐️ Dev Server Starting on http://localhost:3000 ⭐️ GraphQL API Starting on http://localhost:3000/api/graphql @@ -437,6 +441,7 @@ describe('useMigrations: true', () => { Prompt: Name of migration remove all fields except id ✨ A migration has been created at migrations/migration_name Prompt: Would you like to apply this migration? true + Applying migration \`migration_name\` ✅ The migration has been applied ✨ Connecting to the database ✨ Creating server @@ -484,7 +489,7 @@ describe('useMigrations: true', () => { expect( recording() - .replace(migrationName, 'migration_name') + .replace(new RegExp(migrationName, 'g'), 'migration_name') .replace(oldMigrationName, 'old_migration_name') ).toMatchInlineSnapshot(` "✨ Starting Keystone @@ -511,6 +516,7 @@ describe('useMigrations: true', () => { Prompt: Name of migration init ✨ A migration has been created at migrations/migration_name Prompt: Would you like to apply this migration? true + Applying migration \`migration_name\` ✅ The migration has been applied ✨ Connecting to the database ✨ Creating server @@ -652,12 +658,14 @@ describe('useMigrations: true', () => { const { migrationName } = await getGeneratedMigration(tmp, 1, 'init'); - expect(recording().replace(migrationName, 'migration_name')).toMatchInlineSnapshot(` + expect(recording().replace(new RegExp(migrationName, 'g'), 'migration_name')) + .toMatchInlineSnapshot(` "✨ Starting Keystone ⭐️ Dev Server Starting on http://localhost:3000 ⭐️ GraphQL API Starting on http://localhost:3000/api/graphql ✨ Generating GraphQL and Prisma schemas ✨ sqlite database \\"app.db\\" created at file:./app.db + Applying migration \`migration_name\` ✨ The following migration(s) have been applied: migrations/ @@ -686,12 +694,14 @@ describe('useMigrations: true', () => { const { migrationName } = await getGeneratedMigration(tmp, 1, 'init'); - expect(recording().replace(migrationName, 'migration_name')).toMatchInlineSnapshot(` + expect(recording().replace(new RegExp(migrationName, 'g'), 'migration_name')) + .toMatchInlineSnapshot(` "✨ Starting Keystone ⭐️ Dev Server Starting on http://localhost:3000 ⭐️ GraphQL API Starting on http://localhost:3000/api/graphql ✨ Generating GraphQL and Prisma schemas ✨ Your database has been reset + Applying migration \`migration_name\` ✨ The following migration(s) have been applied: migrations/ diff --git a/prisma-utils/package.json b/prisma-utils/package.json index 1c8ad86d4c8..e1ffcc7423d 100644 --- a/prisma-utils/package.json +++ b/prisma-utils/package.json @@ -4,8 +4,8 @@ "private": true, "main": "dist/prisma-utils.cjs.js", "dependencies": { - "@prisma/generator-helper": "3.1.1", - "@prisma/sdk": "3.1.1", + "@prisma/generator-helper": "3.2.0", + "@prisma/sdk": "3.2.0", "fs-extra": "^10.0.0", "prettier": "^2.4.1" }, diff --git a/tests/api-tests/utils.ts b/tests/api-tests/utils.ts index 6b448704dfd..fb701eaa5cc 100644 --- a/tests/api-tests/utils.ts +++ b/tests/api-tests/utils.ts @@ -135,7 +135,7 @@ export const expectPrismaError = ( args.map(({ path, message, code, target }) => ({ extensions: { code: 'INTERNAL_SERVER_ERROR', - prisma: { clientVersion: '3.1.1', code, meta: { target } }, + prisma: { clientVersion: '3.2.0', code, meta: { target } }, }, path, message, diff --git a/yarn.lock b/yarn.lock index 95bc86b4e96..edf0f03774b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2040,40 +2040,40 @@ resolved "https://registry.yarnpkg.com/@preconstruct/next/-/next-3.0.0.tgz#71781cbaecd011f43e456a149817094a43e4755f" integrity sha512-G90cyJX9w4Zr3Bt/j2fURgDhsJb5+agqf4YUgrvDe3Dyvbbssy9a6d0tzLH0ehfa2Osxw/EEhQb+W4X+v/x06A== -"@prisma/client@3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@prisma/client/-/client-3.1.1.tgz#f4012631528049c22d12b212846dcf503db33cfe" - integrity sha512-8ud8vVFMIg37yrkZ4wPpjKoMxFbCL0Pesq5eyLnag/s0LTKsVEN7ZBIQq9JzWW+AUqOzGKXr2Jt4Sl8xdGI99w== +"@prisma/client@3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@prisma/client/-/client-3.2.0.tgz#6aa79b2945ca7553d5a4c14bbe0067d9f975e061" + integrity sha512-YCS/N3DZWoaKXhyS8dHwgUvT/NKXvlLbB5fsy0FvYC305JgNtMLjNbxsx0HjIcNw82MEhP7zWEXNvOLpOgGCUg== dependencies: - "@prisma/engines-version" "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" + "@prisma/engines-version" "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" -"@prisma/debug@3.0.2": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-3.0.2.tgz#a99ae8dfa075f4e58a25666d609deb900820c5be" - integrity sha512-D2/LghEqphW6h9ycT8nfdEw2rzT0LXmikBy2101aYcY28vS01rHTVIUOiz/DDaltlqY1qBat3F5vgM+6GwIqbw== +"@prisma/debug@3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-3.1.1.tgz#1e9739715465d25c09d21d5c3ed9516694eb7602" + integrity sha512-KCpckIAxYnf3wJ6wa2HkdwK7JZdgwr00T5QulC6dHbhn0a8QCSb/yTo74m2zuiyi/5NYo5LslZVPFeQJvKU7cQ== dependencies: "@types/debug" "4.1.7" debug "4.3.2" ms "2.1.3" -"@prisma/debug@3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-3.1.1.tgz#1e9739715465d25c09d21d5c3ed9516694eb7602" - integrity sha512-KCpckIAxYnf3wJ6wa2HkdwK7JZdgwr00T5QulC6dHbhn0a8QCSb/yTo74m2zuiyi/5NYo5LslZVPFeQJvKU7cQ== +"@prisma/debug@3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-3.2.0.tgz#aa7d8f2f588ac089d5e7b0f2b612056ddefc5251" + integrity sha512-QcGbt0f4qCeWYVWWk41F+bFnt6gqw8Wqr3vWZ/vAVjUI1MCFpIuzHUV4veIlriopA0kvFe0aQj5P+Ihg507Ijg== dependencies: "@types/debug" "4.1.7" debug "4.3.2" ms "2.1.3" -"@prisma/engine-core@3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@prisma/engine-core/-/engine-core-3.1.1.tgz#1e32b4089f47d4fd31e8591408fa93dfb299d451" - integrity sha512-zq34wWm797ILXCkYdpJjZqSBXizUffgX5WIsY1Su8RBArap9r9IoO2XMt412vADbBe9+LH86vJPBg92YEaf96g== +"@prisma/engine-core@3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@prisma/engine-core/-/engine-core-3.2.0.tgz#fb56094d68b7e8ac5462c785467009f4447d1ccb" + integrity sha512-9hycOUENZViktveYdxPVTPXpBspvzRLYBM1Llmk4aig1tWnZC57ZGxlUMk6uKX9iDwtNDNjYkssX5AqhYUi4kg== dependencies: - "@prisma/debug" "3.1.1" - "@prisma/engines" "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" - "@prisma/generator-helper" "3.1.1" - "@prisma/get-platform" "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" + "@prisma/debug" "3.2.0" + "@prisma/engines" "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" + "@prisma/generator-helper" "3.2.0" + "@prisma/get-platform" "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" chalk "4.1.2" execa "5.1.1" get-stream "6.0.1" @@ -2083,28 +2083,28 @@ terminal-link "2.1.1" undici "3.3.6" -"@prisma/engines-version@3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f": - version "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" - resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f.tgz#f9908eb7808f2a546634398063942eaecb2474ef" - integrity sha512-EuEMKLuwIcBO7uInZQHeG1yaywcfl32Tq8TDf5tgLvblk+ka70sej7S67lh3BV5gXMLTc3GdthSHPfDqZEK5uA== +"@prisma/engines-version@3.2.0-34.afdab2f10860244038c4e32458134112852d4dad": + version "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" + resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-3.2.0-34.afdab2f10860244038c4e32458134112852d4dad.tgz#bd63ad4bbc32935ec43e93cb59220495893c844d" + integrity sha512-zYzFOmFvk5YzShqm6DuK7ULtjbJQpebAeD3gcpPfPjx6Uf9pug3bxeswp8/3sk2KKVUeKPUQg5p3TZLskyBNjA== -"@prisma/engines@3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f": - version "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" - resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f.tgz#7b45708e6a42523dc9bc2214e5c62781f608dc3a" - integrity sha512-6NEp0VlLho3hVtIvj2P4h0e19AYqQSXtFGts8gSIXDnV+l5pRFZaDMfGo2RiLMR0Kfrs8c3ZYxYX0sWmVL0tWw== +"@prisma/engines@3.2.0-34.afdab2f10860244038c4e32458134112852d4dad": + version "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" + resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-3.2.0-34.afdab2f10860244038c4e32458134112852d4dad.tgz#d8e6ceaddae105f0c882ac9113873f8f1e89d64a" + integrity sha512-MiZORXXsGORXTF9RqqKIlN/2ohkaxAWTsS7qxDJTy5ThTYLrXSmzxTSohM4qN/AI616B+o5WV7XTBhjlPKSufg== -"@prisma/fetch-engine@3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f": - version "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" - resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f.tgz#957143646d9a046361c45dc34ac3f3932b328192" - integrity sha512-ufywCOjqel/eNzR+yA4U7/RlbcztxFs0UfwbLRgqqNAaWR8hOk9TiTWyzgoxg+gh3nTEaBvh+GYt+n1YU98Wwg== +"@prisma/fetch-engine@3.2.0-34.afdab2f10860244038c4e32458134112852d4dad": + version "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" + resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-3.2.0-34.afdab2f10860244038c4e32458134112852d4dad.tgz#39bac395e8f9e48d8a639b309939a85182d22c06" + integrity sha512-D2gMiXNNAmzCVkV7TRKCHZajuO8O0GrzIUgly9W/u7I7E55pJXN42m3qi/aqC8/3oNKWypvTmLkDppApJ/IOkA== dependencies: - "@prisma/debug" "3.0.2" - "@prisma/get-platform" "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" + "@prisma/debug" "3.1.1" + "@prisma/get-platform" "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" chalk "^4.0.0" execa "^5.0.0" find-cache-dir "^3.3.1" hasha "^5.2.0" - http-proxy-agent "^4.0.1" + http-proxy-agent "^5.0.0" https-proxy-agent "^5.0.0" make-dir "^3.0.2" node-fetch "^2.6.0" @@ -2116,30 +2116,30 @@ temp-dir "^2.0.0" tempy "^1.0.0" -"@prisma/generator-helper@3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@prisma/generator-helper/-/generator-helper-3.1.1.tgz#d81c2945894d365b5d4dcd890487b8ca9a556a52" - integrity sha512-Jke+zZrUE0v1gqaQ4fyMDzDk9yj7W8qMtyyPJjFWyprQNf4zMTffLmYsIrYVCULYt6C47u2AwXbQGyESlSFgJw== +"@prisma/generator-helper@3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@prisma/generator-helper/-/generator-helper-3.2.0.tgz#f2899f69db5932153d48ae2979b3227d06ed3db8" + integrity sha512-jjHmG8+AE4715QVLvkr41ZIfGS8vKBqcn8lu6qaIJvD/V+AEgq4R3FZB2w/q7Vz9tp0CsdUI81UE1EcC5QpSbw== dependencies: - "@prisma/debug" "3.1.1" + "@prisma/debug" "3.2.0" "@types/cross-spawn" "6.0.2" chalk "4.1.2" cross-spawn "7.0.3" -"@prisma/get-platform@3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f": - version "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" - resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f.tgz#d9499dc9af9032c92f773bb510aefbc7534e76d0" - integrity sha512-m5hsHxC7UmGbqDCEe6EFYDdSjZbxcY/r2Rp53sCy5U2Km6vMBzT/p5SYAH59An0p07WUbhB1R7x7Km11lkUA0w== +"@prisma/get-platform@3.2.0-34.afdab2f10860244038c4e32458134112852d4dad": + version "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" + resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-3.2.0-34.afdab2f10860244038c4e32458134112852d4dad.tgz#8a03634c4bb3129db7ef2c62f48e651a8a61b399" + integrity sha512-Vnr6BBi6DO5gll3mbqMohyqc6KtoHmlup07jExDjPqwoIIdJ5M56+UXHsoI7WjV6q+pgOiCrhM+Zz7ieutC9Dg== dependencies: - "@prisma/debug" "3.0.2" + "@prisma/debug" "3.1.1" -"@prisma/migrate@3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@prisma/migrate/-/migrate-3.1.1.tgz#464930ce048cc449c7da733dd074d2b1a08ea3c9" - integrity sha512-eZfWfyEn3/NZjN0YKu2IHaOtXdVj5rF94WpSfJuawHwS7aNQ9kZM8XBi+9r8DfhguwXyIAJcOT9fKMOt/HP+ew== +"@prisma/migrate@3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@prisma/migrate/-/migrate-3.2.0.tgz#ce1ba2d8507afd930ec63b25ae66ce905bc5b426" + integrity sha512-xkYLu3aPfwJPAQ1S6jTVG2+FJZsB6ud+dZiR/Iz/g1iBlkq8ycsTq59nuxew5mJTnXFlG5mda/mGyclSSFIfXg== dependencies: - "@prisma/debug" "3.1.1" - "@prisma/get-platform" "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" + "@prisma/debug" "3.2.0" + "@prisma/get-platform" "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" "@sindresorhus/slugify" "1.1.2" execa "5.1.1" global-dirs "3.0.0" @@ -2151,20 +2151,20 @@ pkg-up "3.1.0" prompts "2.4.1" resolve-pkg "2.0.0" - strip-ansi "6.0.0" + strip-ansi "6.0.1" strip-indent "3.0.0" -"@prisma/sdk@3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@prisma/sdk/-/sdk-3.1.1.tgz#4795e1c44ce40e589a47558813fca5a81c05b0e6" - integrity sha512-rzQ4Gsvre6chTm3dV32lKdmvt7XQ3pitIXWvimZx66KhAzy3YSasjx+CmjsLhqIDT8ftT7mpOICJbCcY4HIrGA== - dependencies: - "@prisma/debug" "3.1.1" - "@prisma/engine-core" "3.1.1" - "@prisma/engines" "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" - "@prisma/fetch-engine" "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" - "@prisma/generator-helper" "3.1.1" - "@prisma/get-platform" "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" +"@prisma/sdk@3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@prisma/sdk/-/sdk-3.2.0.tgz#0237b0b4df3b8164fe983feb4a5c69f5c443bf28" + integrity sha512-FOsOiQKo0UhByu+WTGIcJfy3RYbxyRDxt1lV+I8rvzaZQsKMuD+ZBlZkONhQ7sgZAJKmT9BLYpHFF0S0EU4tBg== + dependencies: + "@prisma/debug" "3.2.0" + "@prisma/engine-core" "3.2.0" + "@prisma/engines" "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" + "@prisma/fetch-engine" "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" + "@prisma/generator-helper" "3.2.0" + "@prisma/get-platform" "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" "@timsuchanek/copy" "1.4.5" archiver "4.0.2" arg "5.0.1" @@ -2179,14 +2179,14 @@ has-yarn "2.1.0" is-ci "3.0.0" make-dir "3.1.0" - node-fetch "2.6.2" + node-fetch "2.6.5" p-map "4.0.0" read-pkg-up "7.0.1" resolve "1.20.0" rimraf "3.0.2" shell-quote "1.7.2" - string-width "4.2.2" - strip-ansi "6.0.0" + string-width "4.2.3" + strip-ansi "6.0.1" strip-indent "3.0.0" tar "6.1.11" temp-dir "2.0.0" @@ -2545,6 +2545,11 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== +"@tootallnate/once@2": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" + integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== + "@types/accepts@*", "@types/accepts@^1.3.5": version "1.3.5" resolved "https://registry.yarnpkg.com/@types/accepts/-/accepts-1.3.5.tgz#c34bec115cfc746e04fe5a059df4ce7e7b391575" @@ -7281,6 +7286,15 @@ http-proxy-agent@^4.0.1: agent-base "6" debug "4" +http-proxy-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" + integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== + dependencies: + "@tootallnate/once" "2" + agent-base "6" + debug "4" + http-signature@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" @@ -9793,12 +9807,7 @@ node-fetch@2.6.1: resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== -node-fetch@2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.2.tgz#986996818b73785e47b1965cc34eb093a1d464d0" - integrity sha512-aLoxToI6RfZ+0NOjmWAgn9+LEd30YCkJKFSyWacNZdEKTit/ZMcKjGkTRo8uWEsnIb/hfKecNPEbln02PdWbcA== - -node-fetch@^2.5.0, node-fetch@^2.6.0, node-fetch@^2.6.1, node-fetch@^2.6.5: +node-fetch@2.6.5, node-fetch@^2.5.0, node-fetch@^2.6.0, node-fetch@^2.6.1, node-fetch@^2.6.5: version "2.6.5" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.5.tgz#42735537d7f080a7e5f78b6c549b7146be1742fd" integrity sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ== @@ -10649,12 +10658,12 @@ prism-react-renderer@^1.2.1: resolved "https://registry.yarnpkg.com/prism-react-renderer/-/prism-react-renderer-1.2.1.tgz#392460acf63540960e5e3caa699d851264e99b89" integrity sha512-w23ch4f75V1Tnz8DajsYKvY5lF7H1+WvzvLUcF0paFxkTHSp42RS0H5CttdN2Q8RR3DRGZ9v5xD/h3n8C8kGmg== -prisma@3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/prisma/-/prisma-3.1.1.tgz#4c13c35dd3a58af9134008c8ed0fdc21a632802c" - integrity sha512-+eZtWIL6hnOKUOvqq9WLBzSw2d/EbTmOx1Td1LI8/0XE40ctXMLG2N1p6NK5/+yivGaoNJ9PDpPsPL9lO4nJrQ== +prisma@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/prisma/-/prisma-3.2.0.tgz#d4247114f1e4e4c67b9c70381c9aea4434882a38" + integrity sha512-o8+DH0RD5DbP8QTZej2dsY64yvjOwOG3TWOlJyoCHQ+8DH9m4tzxo38j6IF/PqpN4PmAGPpHuNi/nssG1cvYlQ== dependencies: - "@prisma/engines" "3.1.0-24.c22652b7e418506fab23052d569b85d3aec4883f" + "@prisma/engines" "3.2.0-34.afdab2f10860244038c4e32458134112852d4dad" process-nextick-args@~2.0.0: version "2.0.1" @@ -12170,14 +12179,14 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -string-width@4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.2.tgz#dafd4f9559a7585cfba529c6a0a4f73488ebd4c5" - integrity sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA== +string-width@4.2.3, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== dependencies: emoji-regex "^8.0.0" is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.0" + strip-ansi "^6.0.1" string-width@^1.0.1: version "1.0.2" @@ -12196,15 +12205,6 @@ string-width@^2.0.0, string-width@^2.1.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - string.prototype.matchall@^4.0.5: version "4.0.5" resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.5.tgz#59370644e1db7e4c0c045277690cf7b01203c4da" @@ -12280,6 +12280,13 @@ strip-ansi@6.0.0: dependencies: ansi-regex "^5.0.0" +strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -12294,13 +12301,6 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"