diff --git a/package-lock.json b/package-lock.json index bad0da26a..08f1d2ef0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,12 +11,12 @@ "dependencies": { "@chakra-ui/icons": "^1.0.12", "@chakra-ui/react": "^1.6.0", - "@chakra-ui/theme-tools": "^1.1.3", + "@chakra-ui/theme-tools": "^1.1.6", "@emotion/react": "^11.1.5", "@emotion/styled": "^11.3.0", "@hookform/resolvers": "1.3.0", "@lingui/react": "^3.8.3", - "@next/bundle-analyzer": "^10.1.3", + "@next/bundle-analyzer": "^10.2.0", "@prisma/client": "^2.20.1", "@sendou/react-sketch": "^0.5.2", "@trpc/client": "5.0.0", @@ -26,7 +26,7 @@ "focus-visible": "^5.2.0", "framer-motion": "^4.1.11", "next": "^10.2.0", - "next-auth": "^3.14.0", + "next-auth": "^3.19.5", "next-images": "^1.7.0", "next-seo": "^4.24.0", "nprogress": "^0.2.0", @@ -54,7 +54,6 @@ "@babel/core": "^7.13.15", "@lingui/cli": "^3.8.3", "@lingui/macro": "^3.8.3", - "@types/next-auth": "^3.13.0", "@types/node": "^15.0.1", "@types/nprogress": "^0.2.0", "@types/react": "^17.0.3", @@ -1706,10 +1705,50 @@ "react": "^16.8.0 || ^17.0.0" } }, + "node_modules/@next-auth/prisma-legacy-adapter": { + "version": "0.0.1-canary.115", + "resolved": "https://registry.npmjs.org/@next-auth/prisma-legacy-adapter/-/prisma-legacy-adapter-0.0.1-canary.115.tgz", + "integrity": "sha512-rIIisYBvVtxDbY9Lbm+HOLbZyOaaEmtGc9wDN3tJLDUu3sLJOXNN7Pz29ThS+gf2lpMxXnfvk587hxGrnhCghQ==", + "peerDependencies": { + "@prisma/client": "^2.16.1", + "next-auth": "^3.17.2" + } + }, + "node_modules/@next-auth/typeorm-legacy-adapter": { + "version": "0.0.2-canary.117", + "resolved": "https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.117.tgz", + "integrity": "sha512-sYJZPWMsM1ZTJcl749UojYDF4q8+ZiYcrR7rM4SACc0qiA9VBdOYUUMUMpQoazKOiwo1rWDKu4wHPt6CdV0ctQ==", + "dependencies": { + "crypto-js": "^4.0.0", + "require_optional": "^1.0.1", + "typeorm": "^0.2.30" + }, + "peerDependencies": { + "mongodb": "^3.5.9", + "mssql": "^6.2.1", + "mysql": "^2.18.1", + "next-auth": "^3.1.0", + "pg": "^8.2.1" + }, + "peerDependenciesMeta": { + "mongodb": { + "optional": true + }, + "mssql": { + "optional": true + }, + "mysql": { + "optional": true + }, + "pg": { + "optional": true + } + } + }, "node_modules/@next/bundle-analyzer": { - "version": "10.1.3", - "resolved": "https://registry.npmjs.org/@next/bundle-analyzer/-/bundle-analyzer-10.1.3.tgz", - "integrity": "sha512-25/I1+f83jJOryarNNGQ0cAlYdGfz5HFyQXmal4skKXhMKyWEBSKOu88tIZzsWktlhOEB8QC7O9KVgAlXPqTyw==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/@next/bundle-analyzer/-/bundle-analyzer-10.2.0.tgz", + "integrity": "sha512-vJI5zer6fp9vtDal/IxwyT3rigu/+nACdKIJHyzls+fz1joyHAKU15Xxz0rsak3cwvE6MozFjoJTrawDV8eQDQ==", "dependencies": { "webpack-bundle-analyzer": "4.3.0" } @@ -2091,18 +2130,6 @@ "@types/unist": "*" } }, - "node_modules/@types/next-auth": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/@types/next-auth/-/next-auth-3.13.0.tgz", - "integrity": "sha512-zkEVDyoKgRsHm3KUaZoOGSThTS9h0+HbFZctiYbB5MMU6/pUZuF5ozWrVG00jotQJuSEIlPWzdCIXKlaHctJgw==", - "dev": true, - "dependencies": { - "@types/node": "*", - "@types/react": "*", - "jose": "^1.28.0", - "typeorm": "^0.2.31" - } - }, "node_modules/@types/node": { "version": "15.0.1", "resolved": "https://registry.npmjs.org/@types/node/-/node-15.0.1.tgz", @@ -6626,9 +6653,9 @@ } }, "node_modules/next-auth": { - "version": "3.14.0", - "resolved": "https://registry.npmjs.org/next-auth/-/next-auth-3.14.0.tgz", - "integrity": "sha512-MXiDXuurmYf437sPkiO8g133UJQffWshjotAmnmj1a9hhRitCCklH7gROC0GJyTatZdkR6Mf4qtrDOkQ5hS/MQ==", + "version": "3.19.5", + "resolved": "https://registry.npmjs.org/next-auth/-/next-auth-3.19.5.tgz", + "integrity": "sha512-pgRFyAGc+g/fhzJMGafr9ydRrxtgr2XYQdfYvOMzPbeKpmVT9EtRExZxv3d8kaFQgalkZcxIYd0t6uy4xxRmKw==", "funding": [ { "type": "github", @@ -6636,6 +6663,8 @@ } ], "dependencies": { + "@next-auth/prisma-legacy-adapter": "canary", + "@next-auth/typeorm-legacy-adapter": "canary", "crypto-js": "^4.0.0", "futoin-hkdf": "^1.3.2", "jose": "^1.27.2", @@ -6651,7 +6680,7 @@ }, "peerDependencies": { "react": "^16.13.1 || ^17", - "react-dom": "^16.13.1 || ^17" + "react-dom": "16.13.1 || ^17" } }, "node_modules/next-images": { @@ -10921,10 +10950,26 @@ "@lingui/core": "^3.8.3" } }, + "@next-auth/prisma-legacy-adapter": { + "version": "0.0.1-canary.115", + "resolved": "https://registry.npmjs.org/@next-auth/prisma-legacy-adapter/-/prisma-legacy-adapter-0.0.1-canary.115.tgz", + "integrity": "sha512-rIIisYBvVtxDbY9Lbm+HOLbZyOaaEmtGc9wDN3tJLDUu3sLJOXNN7Pz29ThS+gf2lpMxXnfvk587hxGrnhCghQ==", + "requires": {} + }, + "@next-auth/typeorm-legacy-adapter": { + "version": "0.0.2-canary.117", + "resolved": "https://registry.npmjs.org/@next-auth/typeorm-legacy-adapter/-/typeorm-legacy-adapter-0.0.2-canary.117.tgz", + "integrity": "sha512-sYJZPWMsM1ZTJcl749UojYDF4q8+ZiYcrR7rM4SACc0qiA9VBdOYUUMUMpQoazKOiwo1rWDKu4wHPt6CdV0ctQ==", + "requires": { + "crypto-js": "^4.0.0", + "require_optional": "^1.0.1", + "typeorm": "^0.2.30" + } + }, "@next/bundle-analyzer": { - "version": "10.1.3", - "resolved": "https://registry.npmjs.org/@next/bundle-analyzer/-/bundle-analyzer-10.1.3.tgz", - "integrity": "sha512-25/I1+f83jJOryarNNGQ0cAlYdGfz5HFyQXmal4skKXhMKyWEBSKOu88tIZzsWktlhOEB8QC7O9KVgAlXPqTyw==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/@next/bundle-analyzer/-/bundle-analyzer-10.2.0.tgz", + "integrity": "sha512-vJI5zer6fp9vtDal/IxwyT3rigu/+nACdKIJHyzls+fz1joyHAKU15Xxz0rsak3cwvE6MozFjoJTrawDV8eQDQ==", "requires": { "webpack-bundle-analyzer": "4.3.0" } @@ -11255,18 +11300,6 @@ "@types/unist": "*" } }, - "@types/next-auth": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/@types/next-auth/-/next-auth-3.13.0.tgz", - "integrity": "sha512-zkEVDyoKgRsHm3KUaZoOGSThTS9h0+HbFZctiYbB5MMU6/pUZuF5ozWrVG00jotQJuSEIlPWzdCIXKlaHctJgw==", - "dev": true, - "requires": { - "@types/node": "*", - "@types/react": "*", - "jose": "^1.28.0", - "typeorm": "^0.2.31" - } - }, "@types/node": { "version": "15.0.1", "resolved": "https://registry.npmjs.org/@types/node/-/node-15.0.1.tgz", @@ -15077,10 +15110,12 @@ } }, "next-auth": { - "version": "3.14.0", - "resolved": "https://registry.npmjs.org/next-auth/-/next-auth-3.14.0.tgz", - "integrity": "sha512-MXiDXuurmYf437sPkiO8g133UJQffWshjotAmnmj1a9hhRitCCklH7gROC0GJyTatZdkR6Mf4qtrDOkQ5hS/MQ==", + "version": "3.19.5", + "resolved": "https://registry.npmjs.org/next-auth/-/next-auth-3.19.5.tgz", + "integrity": "sha512-pgRFyAGc+g/fhzJMGafr9ydRrxtgr2XYQdfYvOMzPbeKpmVT9EtRExZxv3d8kaFQgalkZcxIYd0t6uy4xxRmKw==", "requires": { + "@next-auth/prisma-legacy-adapter": "canary", + "@next-auth/typeorm-legacy-adapter": "canary", "crypto-js": "^4.0.0", "futoin-hkdf": "^1.3.2", "jose": "^1.27.2", diff --git a/package.json b/package.json index c34f0c09a..d38ec2d6d 100644 --- a/package.json +++ b/package.json @@ -30,12 +30,12 @@ "dependencies": { "@chakra-ui/icons": "^1.0.12", "@chakra-ui/react": "^1.6.0", - "@chakra-ui/theme-tools": "^1.1.3", + "@chakra-ui/theme-tools": "^1.1.6", "@emotion/react": "^11.1.5", "@emotion/styled": "^11.3.0", "@hookform/resolvers": "1.3.0", "@lingui/react": "^3.8.3", - "@next/bundle-analyzer": "^10.1.3", + "@next/bundle-analyzer": "^10.2.0", "@prisma/client": "^2.20.1", "@sendou/react-sketch": "^0.5.2", "@trpc/client": "5.0.0", @@ -45,7 +45,7 @@ "focus-visible": "^5.2.0", "framer-motion": "^4.1.11", "next": "^10.2.0", - "next-auth": "^3.14.0", + "next-auth": "^3.19.5", "next-images": "^1.7.0", "next-seo": "^4.24.0", "nprogress": "^0.2.0", @@ -73,7 +73,6 @@ "@babel/core": "^7.13.15", "@lingui/cli": "^3.8.3", "@lingui/macro": "^3.8.3", - "@types/next-auth": "^3.13.0", "@types/node": "^15.0.1", "@types/nprogress": "^0.2.0", "@types/react": "^17.0.3",