From b735a00e78e053e8dbf4d8b0718121a08ea5ee3e Mon Sep 17 00:00:00 2001 From: Petr Vecera Date: Sat, 14 Dec 2024 22:31:20 +0100 Subject: [PATCH] Try to downgrade --- middleware.ts | 17 ------- package.json | 4 +- yarn.lock | 132 +++++++++++++++++++++++++------------------------- 3 files changed, 68 insertions(+), 85 deletions(-) delete mode 100644 middleware.ts diff --git a/middleware.ts b/middleware.ts deleted file mode 100644 index b7d946a8..00000000 --- a/middleware.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { NextRequest, NextResponse } from "next/server"; - -export function middleware(request: NextRequest) { - // Log the request details to the console - console.log(`[Middleware] Request: ${request.method} ${request.url}`); - - // You can optionally modify the request or response here if needed - return NextResponse.next(); // Continue to the next middleware or the route handler -} - -export const config = { - matcher: [ - "/api/:path*", // Match all API routes - "/explorer/:path*", // Match specific pages - "/:path*", // Match all routes - ], -}; diff --git a/package.json b/package.json index ef06079a..904eef50 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "json-2-csv": "5.5.7", "lodash": "4.17.21", "mantine-datatable": "7.12.4", - "next": "14.2.20", + "next": "14.2.18", "nprogress": "0.2.0", "octokit": "4.0.2", "react": "18.3.1", @@ -78,7 +78,7 @@ "timeago.js": "4.0.2" }, "devDependencies": { - "@netlify/plugin-nextjs": "5.9.0", + "@netlify/plugin-nextjs": "5.8.1", "@next/bundle-analyzer": "14.2.19", "@testing-library/jest-dom": "6.6.3", "@testing-library/react": "16.0.1", diff --git a/yarn.lock b/yarn.lock index 9debc7f8..f2b491c2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2338,10 +2338,10 @@ resolved "https://registry.yarnpkg.com/@netlify/opentelemetry-utils/-/opentelemetry-utils-1.2.1.tgz#03862fd2073ee01de75335666c729d910bff0abe" integrity sha512-A6nQBvUn/avHQopLOOjX8rY2eua//jufbx4NZZODACEHtfXAEmOjCoDe2m+cQPRq+jNa98nvCy/sJh2RwuCQog== -"@netlify/plugin-nextjs@5.9.0": - version "5.9.0" - resolved "https://registry.yarnpkg.com/@netlify/plugin-nextjs/-/plugin-nextjs-5.9.0.tgz#623d3e7cac786c4894acb283776027ac5bc1a0df" - integrity sha512-B60CxcjAmZ+waLk2uQh3p5jnAckCHDXvhu8Fk3AOm7x1gSIf9WAU5oBQkhx6C1lhqZBr8CMf5Q1N/6PVJy2bGA== +"@netlify/plugin-nextjs@5.8.1": + version "5.8.1" + resolved "https://registry.yarnpkg.com/@netlify/plugin-nextjs/-/plugin-nextjs-5.8.1.tgz#9da15bb4a13c5644e9b58b968c7da51939206ee4" + integrity sha512-WB1N0FslhWZ1yAVYTcB6CcFrFOUSQ0O2LfavYZrbAypeNxu2I+oO+cgmhfDgZ8Eoq1g4EMeoIGMkNoZ4ogZTsg== "@netlify/plugins-list@^6.80.0": version "6.80.0" @@ -2410,10 +2410,10 @@ dependencies: webpack-bundle-analyzer "4.10.1" -"@next/env@14.2.20": - version "14.2.20" - resolved "https://registry.yarnpkg.com/@next/env/-/env-14.2.20.tgz#0be2cc955f4eb837516e7d7382284cd5bc1d5a02" - integrity sha512-JfDpuOCB0UBKlEgEy/H6qcBSzHimn/YWjUHzKl1jMeUO+QVRdzmTTl8gFJaNO87c8DXmVKhFCtwxQ9acqB3+Pw== +"@next/env@14.2.18": + version "14.2.18" + resolved "https://registry.yarnpkg.com/@next/env/-/env-14.2.18.tgz#ccbcf906f0123a37cff6edc1effd524d635fd395" + integrity sha512-2vWLOUwIPgoqMJKG6dt35fVXVhgM09tw4tK3/Q34GFXDrfiHlG7iS33VA4ggnjWxjiz9KV5xzfsQzJX6vGAekA== "@next/env@^13.4.3": version "13.5.6" @@ -2427,50 +2427,50 @@ dependencies: glob "10.3.10" -"@next/swc-darwin-arm64@14.2.20": - version "14.2.20" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.20.tgz#3c99d318c08362aedde5d2778eec3a50b8085d99" - integrity sha512-WDfq7bmROa5cIlk6ZNonNdVhKmbCv38XteVFYsxea1vDJt3SnYGgxLGMTXQNfs5OkFvAhmfKKrwe7Y0Hs+rWOg== - -"@next/swc-darwin-x64@14.2.20": - version "14.2.20" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.20.tgz#fd547fad1446a677f29c1160006fdd482bba4052" - integrity sha512-XIQlC+NAmJPfa2hruLvr1H1QJJeqOTDV+v7tl/jIdoFvqhoihvSNykLU/G6NMgoeo+e/H7p/VeWSOvMUHKtTIg== - -"@next/swc-linux-arm64-gnu@14.2.20": - version "14.2.20" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.20.tgz#1d6ba1929d3a11b74c0185cdeca1e38b824222ca" - integrity sha512-pnzBrHTPXIMm5QX3QC8XeMkpVuoAYOmyfsO4VlPn+0NrHraNuWjdhe+3xLq01xR++iCvX+uoeZmJDKcOxI201Q== - -"@next/swc-linux-arm64-musl@14.2.20": - version "14.2.20" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.20.tgz#0fe0c67b5d916f99ca76b39416557af609768f17" - integrity sha512-WhJJAFpi6yqmUx1momewSdcm/iRXFQS0HU2qlUGlGE/+98eu7JWLD5AAaP/tkK1mudS/rH2f9E3WCEF2iYDydQ== - -"@next/swc-linux-x64-gnu@14.2.20": - version "14.2.20" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.20.tgz#6d29fa8cdb6a9f8250c2048aaa24538f0cd0b02d" - integrity sha512-ao5HCbw9+iG1Kxm8XsGa3X174Ahn17mSYBQlY6VGsdsYDAbz/ZP13wSLfvlYoIDn1Ger6uYA+yt/3Y9KTIupRg== - -"@next/swc-linux-x64-musl@14.2.20": - version "14.2.20" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.20.tgz#bfc57482bc033fda8455e8aab1c3cbc44f0c4690" - integrity sha512-CXm/kpnltKTT7945np6Td3w7shj/92TMRPyI/VvveFe8+YE+/YOJ5hyAWK5rpx711XO1jBCgXl211TWaxOtkaA== - -"@next/swc-win32-arm64-msvc@14.2.20": - version "14.2.20" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.20.tgz#6f7783e643310510240a981776532ffe0e02af95" - integrity sha512-upJn2HGQgKNDbXVfIgmqT2BN8f3z/mX8ddoyi1I565FHbfowVK5pnMEwauvLvaJf4iijvuKq3kw/b6E9oIVRWA== - -"@next/swc-win32-ia32-msvc@14.2.20": - version "14.2.20" - resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.20.tgz#58c7720687e80a13795e22c29d5860fa142e44fc" - integrity sha512-igQW/JWciTGJwj3G1ipalD2V20Xfx3ywQy17IV0ciOUBbFhNfyU1DILWsTi32c8KmqgIDviUEulW/yPb2FF90w== - -"@next/swc-win32-x64-msvc@14.2.20": - version "14.2.20" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.20.tgz#689bc7beb8005b73c95d926e7edfb7f73efc78f2" - integrity sha512-AFmqeLW6LtxeFTuoB+MXFeM5fm5052i3MU6xD0WzJDOwku6SkZaxb1bxjBaRC8uNqTRTSPl0yMFtjNowIVI67w== +"@next/swc-darwin-arm64@14.2.18": + version "14.2.18" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.18.tgz#273d490a11a271044d2c060339d24b99886a75c1" + integrity sha512-tOBlDHCjGdyLf0ube/rDUs6VtwNOajaWV+5FV/ajPgrvHeisllEdymY/oDgv2cx561+gJksfMUtqf8crug7sbA== + +"@next/swc-darwin-x64@14.2.18": + version "14.2.18" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.18.tgz#b347cd799584ff79f7b69e5be8833b270fd6c51d" + integrity sha512-uJCEjutt5VeJ30jjrHV1VIHCsbMYnEqytQgvREx+DjURd/fmKy15NaVK4aR/u98S1LGTnjq35lRTnRyygglxoA== + +"@next/swc-linux-arm64-gnu@14.2.18": + version "14.2.18" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.18.tgz#6d59d4d5b4b76e453512e1e2b5ad12a2b75930cd" + integrity sha512-IL6rU8vnBB+BAm6YSWZewc+qvdL1EaA+VhLQ6tlUc0xp+kkdxQrVqAnh8Zek1ccKHlTDFRyAft0e60gteYmQ4A== + +"@next/swc-linux-arm64-musl@14.2.18": + version "14.2.18" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.18.tgz#a45624d5bc5a5abd640d97ac9c3e43562f81e258" + integrity sha512-RCaENbIZqKKqTlL8KNd+AZV/yAdCsovblOpYFp0OJ7ZxgLNbV5w23CUU1G5On+0fgafrsGcW+GdMKdFjaRwyYA== + +"@next/swc-linux-x64-gnu@14.2.18": + version "14.2.18" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.18.tgz#04a98935cb94e301a3477bbe7754e8f86b44c0e3" + integrity sha512-3kmv8DlyhPRCEBM1Vavn8NjyXtMeQ49ID0Olr/Sut7pgzaQTo4h01S7Z8YNE0VtbowyuAL26ibcz0ka6xCTH5g== + +"@next/swc-linux-x64-musl@14.2.18": + version "14.2.18" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.18.tgz#018415234d5f0086bdabdbd92bdc85223c35cffa" + integrity sha512-mliTfa8seVSpTbVEcKEXGjC18+TDII8ykW4a36au97spm9XMPqQTpdGPNBJ9RySSFw9/hLuaCMByluQIAnkzlw== + +"@next/swc-win32-arm64-msvc@14.2.18": + version "14.2.18" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.18.tgz#a2e26c9858147a6438c583b37f8b7374a124fbea" + integrity sha512-J5g0UFPbAjKYmqS3Cy7l2fetFmWMY9Oao32eUsBPYohts26BdrMUyfCJnZFQkX9npYaHNDOWqZ6uV9hSDPw9NA== + +"@next/swc-win32-ia32-msvc@14.2.18": + version "14.2.18" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.18.tgz#1694e7366df9f34925822b8bd3296c1ea94b0eb3" + integrity sha512-Ynxuk4ZgIpdcN7d16ivJdjsDG1+3hTvK24Pp8DiDmIa2+A4CfhJSEHHVndCHok6rnLUzAZD+/UOKESQgTsAZGg== + +"@next/swc-win32-x64-msvc@14.2.18": + version "14.2.18" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.18.tgz#91d56970f0e484c7e4f8a9f11635d82552e0fce1" + integrity sha512-dtRGMhiU9TN5nyhwzce+7c/4CCeykYS+ipY/4mIrGzJ71+7zNo55ZxCB7cAVuNqdwtYniFNR2c9OFQ6UdFIMcg== "@nivo/annotations@0.88.0": version "0.88.0" @@ -11673,12 +11673,12 @@ next-sitemap@4.2.3: fast-glob "^3.2.12" minimist "^1.2.8" -next@14.2.20: - version "14.2.20" - resolved "https://registry.yarnpkg.com/next/-/next-14.2.20.tgz#99b551d87ca6505ce63074904cb31a35e21dac9b" - integrity sha512-yPvIiWsiyVYqJlSQxwmzMIReXn5HxFNq4+tlVQ812N1FbvhmE+fDpIAD7bcS2mGYQwPJ5vAsQouyme2eKsxaug== +next@14.2.18: + version "14.2.18" + resolved "https://registry.yarnpkg.com/next/-/next-14.2.18.tgz#1750bc0c3dda644d48be530d1b0e71ad92025cf8" + integrity sha512-H9qbjDuGivUDEnK6wa+p2XKO+iMzgVgyr9Zp/4Iv29lKa+DYaxJGjOeEA+5VOvJh/M7HLiskehInSa0cWxVXUw== dependencies: - "@next/env" "14.2.20" + "@next/env" "14.2.18" "@swc/helpers" "0.5.5" busboy "1.6.0" caniuse-lite "^1.0.30001579" @@ -11686,15 +11686,15 @@ next@14.2.20: postcss "8.4.31" styled-jsx "5.1.1" optionalDependencies: - "@next/swc-darwin-arm64" "14.2.20" - "@next/swc-darwin-x64" "14.2.20" - "@next/swc-linux-arm64-gnu" "14.2.20" - "@next/swc-linux-arm64-musl" "14.2.20" - "@next/swc-linux-x64-gnu" "14.2.20" - "@next/swc-linux-x64-musl" "14.2.20" - "@next/swc-win32-arm64-msvc" "14.2.20" - "@next/swc-win32-ia32-msvc" "14.2.20" - "@next/swc-win32-x64-msvc" "14.2.20" + "@next/swc-darwin-arm64" "14.2.18" + "@next/swc-darwin-x64" "14.2.18" + "@next/swc-linux-arm64-gnu" "14.2.18" + "@next/swc-linux-arm64-musl" "14.2.18" + "@next/swc-linux-x64-gnu" "14.2.18" + "@next/swc-linux-x64-musl" "14.2.18" + "@next/swc-win32-arm64-msvc" "14.2.18" + "@next/swc-win32-ia32-msvc" "14.2.18" + "@next/swc-win32-x64-msvc" "14.2.18" node-abi@^3.3.0: version "3.71.0"