From dea5d008b7102806e2b02fa6b940fa0e2ce1a726 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Mon, 19 Oct 2020 13:15:50 +0300 Subject: [PATCH] update deps --- cypress/integration/profile.spec.ts | 6 ++- package-lock.json | 66 ++++++++++++++--------------- package.json | 10 ++--- 3 files changed, 43 insertions(+), 39 deletions(-) diff --git a/cypress/integration/profile.spec.ts b/cypress/integration/profile.spec.ts index f06b199a6..8f48e4174 100644 --- a/cypress/integration/profile.spec.ts +++ b/cypress/integration/profile.spec.ts @@ -5,7 +5,11 @@ describe("Profile", () => { cy.visit("/u/455039198672453645"); }); - it("avatar loads", () => { + it("loads avatar", () => { cy.get("[data-cy=profile-page-avatar]").find("img"); }); + + it("renders markdown", () => { + cy.get("strong"); + }); }); diff --git a/package-lock.json b/package-lock.json index f526a2625..ba58d3d66 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@chakra-ui/theme-tools": "^1.0.0-rc.5", "@nexus/schema": "^0.16.0", "@prisma/client": "^2.9.0", - "apollo-server-micro": "^2.17.0", + "apollo-server-micro": "^2.18.2", "graphql": "^15.3.0", "next": "^9.5.5", "next-auth": "^3.1.0", @@ -27,13 +27,13 @@ "react-string-replace": "^0.4.4" }, "devDependencies": { - "@graphql-codegen/cli": "1.17.10", - "@graphql-codegen/typescript": "1.17.10", + "@graphql-codegen/cli": "1.18.0", + "@graphql-codegen/typescript": "1.17.11", "@graphql-codegen/typescript-operations": "1.17.8", "@graphql-codegen/typescript-react-apollo": "2.0.7", - "@prisma/cli": "^2.8.0", + "@prisma/cli": "^2.9.0", "@types/next-auth": "^3.1.13", - "@types/react": "^16.9.49", + "@types/react": "^16.9.53", "cypress": "^5.4.0", "prettier": "^2.1.2", "ts-node": "^9.0.0", @@ -2875,9 +2875,9 @@ "integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==" }, "node_modules/@graphql-codegen/cli": { - "version": "1.17.10", - "resolved": "https://registry.npmjs.org/@graphql-codegen/cli/-/cli-1.17.10.tgz", - "integrity": "sha512-nQYbabB3aS3XArETJc/NrpUtlj/Dzh2KeDgvVRsc3zxopcudZTKj1dcTCOA/QZPSpbzALbZZ/1loBVVrMIe+Iw==", + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/@graphql-codegen/cli/-/cli-1.18.0.tgz", + "integrity": "sha512-dtQYLHb+hJ9CirJ0oNJgMpYHVjHXmr1JZUkqz1FF0ZweBt5syG9EHS5Upk+xoDUNsw63i8PDRgoZLZRvDFyyZw==", "dev": true, "dependencies": { "@graphql-codegen/core": "1.17.8", @@ -2895,7 +2895,7 @@ "ansi-escapes": "^4.3.1", "camel-case": "^4.1.1", "chalk": "^4.1.0", - "chokidar": "^3.4.2", + "chokidar": "^3.4.3", "common-tags": "^1.8.0", "constant-case": "^3.0.3", "cosmiconfig": "^7.0.0", @@ -2990,13 +2990,13 @@ "dev": true }, "node_modules/@graphql-codegen/typescript": { - "version": "1.17.10", - "resolved": "https://registry.npmjs.org/@graphql-codegen/typescript/-/typescript-1.17.10.tgz", - "integrity": "sha512-hujabT4J6ZFBGrt3hbEFhXExggDCXbuUpUfAl7ICrweQ8HFOpzBFzKSeezFHPufcfYZNE2sUWa8SJeVyI6pCRw==", + "version": "1.17.11", + "resolved": "https://registry.npmjs.org/@graphql-codegen/typescript/-/typescript-1.17.11.tgz", + "integrity": "sha512-cZsuOWpPWWHX7IIv2xMbrI/AZOiv+wEzyGpoGFV8zU6vjs54C50gb7Chhj9XPjMbOhUQ+z3Pn01geTRvi1gDeA==", "dev": true, "dependencies": { "@graphql-codegen/plugin-helpers": "^1.17.9", - "@graphql-codegen/visitor-plugin-common": "^1.17.15", + "@graphql-codegen/visitor-plugin-common": "^1.17.16", "auto-bind": "~4.0.0", "tslib": "~2.0.1" }, @@ -3057,9 +3057,9 @@ "dev": true }, "node_modules/@graphql-codegen/visitor-plugin-common": { - "version": "1.17.15", - "resolved": "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-1.17.15.tgz", - "integrity": "sha512-vWwuZulw5nYY9X6Vtc9ftw2BcFZoEGM/Qi3i4kEXh0o6Zgyk6XSq8bQM0joxBAD7tIfET2hXjTdq2oWcxurnsA==", + "version": "1.17.16", + "resolved": "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-1.17.16.tgz", + "integrity": "sha512-q/v13WA4gqD79VR+rrUPrTdLn43qaEuSfij9k52ti4GNKnXglGHP8ljXTrHKN6MypUxOJ2u7tcFRgriH1nxy6w==", "dev": true, "dependencies": { "@graphql-codegen/plugin-helpers": "^1.17.9", @@ -4173,9 +4173,9 @@ "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==" }, "node_modules/@types/react": { - "version": "16.9.52", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.52.tgz", - "integrity": "sha512-EHRjmnxiNivwhGdMh9sz1Yw9AUxTSZFxKqdBWAAzyZx3sufWwx6ogqHYh/WB1m/I4ZpjkoZLExF5QTy2ekVi/Q==", + "version": "16.9.53", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.53.tgz", + "integrity": "sha512-4nW60Sd4L7+WMXH1D6jCdVftuW7j4Za6zdp6tJ33Rqv0nk1ZAmQKML9ZLD4H0dehA3FZxXR/GM8gXplf82oNGw==", "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -18956,9 +18956,9 @@ "integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==" }, "@graphql-codegen/cli": { - "version": "1.17.10", - "resolved": "https://registry.npmjs.org/@graphql-codegen/cli/-/cli-1.17.10.tgz", - "integrity": "sha512-nQYbabB3aS3XArETJc/NrpUtlj/Dzh2KeDgvVRsc3zxopcudZTKj1dcTCOA/QZPSpbzALbZZ/1loBVVrMIe+Iw==", + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/@graphql-codegen/cli/-/cli-1.18.0.tgz", + "integrity": "sha512-dtQYLHb+hJ9CirJ0oNJgMpYHVjHXmr1JZUkqz1FF0ZweBt5syG9EHS5Upk+xoDUNsw63i8PDRgoZLZRvDFyyZw==", "dev": true, "requires": { "@graphql-codegen/core": "1.17.8", @@ -18976,7 +18976,7 @@ "ansi-escapes": "^4.3.1", "camel-case": "^4.1.1", "chalk": "^4.1.0", - "chokidar": "^3.4.2", + "chokidar": "^3.4.3", "common-tags": "^1.8.0", "constant-case": "^3.0.3", "cosmiconfig": "^7.0.0", @@ -19063,13 +19063,13 @@ } }, "@graphql-codegen/typescript": { - "version": "1.17.10", - "resolved": "https://registry.npmjs.org/@graphql-codegen/typescript/-/typescript-1.17.10.tgz", - "integrity": "sha512-hujabT4J6ZFBGrt3hbEFhXExggDCXbuUpUfAl7ICrweQ8HFOpzBFzKSeezFHPufcfYZNE2sUWa8SJeVyI6pCRw==", + "version": "1.17.11", + "resolved": "https://registry.npmjs.org/@graphql-codegen/typescript/-/typescript-1.17.11.tgz", + "integrity": "sha512-cZsuOWpPWWHX7IIv2xMbrI/AZOiv+wEzyGpoGFV8zU6vjs54C50gb7Chhj9XPjMbOhUQ+z3Pn01geTRvi1gDeA==", "dev": true, "requires": { "@graphql-codegen/plugin-helpers": "^1.17.9", - "@graphql-codegen/visitor-plugin-common": "^1.17.15", + "@graphql-codegen/visitor-plugin-common": "^1.17.16", "auto-bind": "~4.0.0", "tslib": "~2.0.1" }, @@ -19126,9 +19126,9 @@ } }, "@graphql-codegen/visitor-plugin-common": { - "version": "1.17.15", - "resolved": "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-1.17.15.tgz", - "integrity": "sha512-vWwuZulw5nYY9X6Vtc9ftw2BcFZoEGM/Qi3i4kEXh0o6Zgyk6XSq8bQM0joxBAD7tIfET2hXjTdq2oWcxurnsA==", + "version": "1.17.16", + "resolved": "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-1.17.16.tgz", + "integrity": "sha512-q/v13WA4gqD79VR+rrUPrTdLn43qaEuSfij9k52ti4GNKnXglGHP8ljXTrHKN6MypUxOJ2u7tcFRgriH1nxy6w==", "dev": true, "requires": { "@graphql-codegen/plugin-helpers": "^1.17.9", @@ -20121,9 +20121,9 @@ "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==" }, "@types/react": { - "version": "16.9.52", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.52.tgz", - "integrity": "sha512-EHRjmnxiNivwhGdMh9sz1Yw9AUxTSZFxKqdBWAAzyZx3sufWwx6ogqHYh/WB1m/I4ZpjkoZLExF5QTy2ekVi/Q==", + "version": "16.9.53", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.53.tgz", + "integrity": "sha512-4nW60Sd4L7+WMXH1D6jCdVftuW7j4Za6zdp6tJ33Rqv0nk1ZAmQKML9ZLD4H0dehA3FZxXR/GM8gXplf82oNGw==", "requires": { "@types/prop-types": "*", "csstype": "^3.0.2" diff --git a/package.json b/package.json index 0adbc5a72..11b1586df 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@chakra-ui/theme-tools": "^1.0.0-rc.5", "@nexus/schema": "^0.16.0", "@prisma/client": "^2.9.0", - "apollo-server-micro": "^2.17.0", + "apollo-server-micro": "^2.18.2", "graphql": "^15.3.0", "next": "^9.5.5", "next-auth": "^3.1.0", @@ -36,13 +36,13 @@ "react-string-replace": "^0.4.4" }, "devDependencies": { - "@graphql-codegen/cli": "1.17.10", - "@graphql-codegen/typescript": "1.17.10", + "@graphql-codegen/cli": "1.18.0", + "@graphql-codegen/typescript": "1.17.11", "@graphql-codegen/typescript-operations": "1.17.8", "@graphql-codegen/typescript-react-apollo": "2.0.7", - "@prisma/cli": "^2.8.0", + "@prisma/cli": "^2.9.0", "@types/next-auth": "^3.1.13", - "@types/react": "^16.9.49", + "@types/react": "^16.9.53", "cypress": "^5.4.0", "prettier": "^2.1.2", "ts-node": "^9.0.0",