diff --git a/frontend/package.json b/frontend/package.json index 5c5dd4470..04849e3f7 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -99,7 +99,7 @@ "markdown-it-sub": "1.0.0", "markdown-it-sup": "1.0.0", "mermaid": "10.5.1", - "next": "13.5.6", + "next": "13.4.19", "picocolors": "1.0.0", "react": "18.2.0", "react-bootstrap": "2.9.1", @@ -126,7 +126,7 @@ "yjs": "13.6.8" }, "devDependencies": { - "@next/bundle-analyzer": "13.5.6", + "@next/bundle-analyzer": "13.4.19", "@testing-library/cypress": "10.0.1", "@testing-library/dom": "9.3.3", "@testing-library/jest-dom": "6.1.4", @@ -156,7 +156,7 @@ "cypress-fill-command": "1.0.2", "dotenv-cli": "7.3.0", "eslint": "8.51.0", - "eslint-config-next": "13.5.6", + "eslint-config-next": "13.4.19", "eslint-config-prettier": "9.0.0", "eslint-plugin-chai-friendly": "0.7.2", "eslint-plugin-cypress": "2.15.1", diff --git a/yarn.lock b/yarn.lock index 88b85fd64..bcd811c22 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2462,7 +2462,7 @@ __metadata: "@hedgedoc/html-to-react": "workspace:html-to-react" "@hedgedoc/markdown-it-plugins": "workspace:markdown-it-plugins" "@mrdrogdrog/optional": "npm:1.2.1" - "@next/bundle-analyzer": "npm:13.5.6" + "@next/bundle-analyzer": "npm:13.4.19" "@react-hook/resize-observer": "npm:1.2.6" "@redux-devtools/core": "npm:3.13.1" "@reduxjs/toolkit": "npm:1.9.7" @@ -2511,7 +2511,7 @@ __metadata: emoji-picker-element: "npm:1.18.4" emoji-picker-element-data: "npm:1.5.0" eslint: "npm:8.51.0" - eslint-config-next: "npm:13.5.6" + eslint-config-next: "npm:13.4.19" eslint-config-prettier: "npm:9.0.0" eslint-plugin-chai-friendly: "npm:0.7.2" eslint-plugin-cypress: "npm:2.15.1" @@ -2549,7 +2549,7 @@ __metadata: markdown-it-sub: "npm:1.0.0" markdown-it-sup: "npm:1.0.0" mermaid: "npm:10.5.1" - next: "npm:13.5.6" + next: "npm:13.4.19" picocolors: "npm:1.0.0" prettier: "npm:3.0.3" react: "npm:18.2.0" @@ -3468,90 +3468,90 @@ __metadata: languageName: node linkType: hard -"@next/bundle-analyzer@npm:13.5.6": - version: 13.5.6 - resolution: "@next/bundle-analyzer@npm:13.5.6" +"@next/bundle-analyzer@npm:13.4.19": + version: 13.4.19 + resolution: "@next/bundle-analyzer@npm:13.4.19" dependencies: webpack-bundle-analyzer: "npm:4.7.0" - checksum: fd60b7c4244a65438dc5773202b86698a45692a76941b76217e7ddfa1b35443c83c214d53dc6c1b714b2de61596988bc46f0c23f70560eadcaf5f246983541d0 + checksum: dff9ed36e5e1fd0ae579ecb498e01c54f0aa0b560bfd0ef9d012dd018ba2726cf4ce33d3e3d74d88a9936924a087b0c424d6a03826a02a45e85e753f9d4cef14 languageName: node linkType: hard -"@next/env@npm:13.5.6": - version: 13.5.6 - resolution: "@next/env@npm:13.5.6" - checksum: b1fefa21b698397a2f922ee53a5ecb91ff858f042b2a198652b9de49c031fc5e00d79da92ba7d84ef205e95368d5afbb0f104abaf00e9dde7985d9eae63bb4fb +"@next/env@npm:13.4.19": + version: 13.4.19 + resolution: "@next/env@npm:13.4.19" + checksum: 0d9cb76fedcde6f8116c5f029d999cccaf929c9eb8c55daf1d38ae223a80113abae28834e537b26b81731d84ed14fd5231301b2126cd7d9097a7e175dd79bf59 languageName: node linkType: hard -"@next/eslint-plugin-next@npm:13.5.6": - version: 13.5.6 - resolution: "@next/eslint-plugin-next@npm:13.5.6" +"@next/eslint-plugin-next@npm:13.4.19": + version: 13.4.19 + resolution: "@next/eslint-plugin-next@npm:13.4.19" dependencies: glob: "npm:7.1.7" - checksum: c357c4b8b7b67c22e552e4979e7d2c71a21423ccf18ed3928402aa5a84a8d683e0bbcde4acc092a493f933033fffbb882a00ae075e190c2488ed3fb774d3a2be + checksum: 2a9c9cf16d47de7089ffbd80b71d4bb015ed01f7288b8e97cb866830a7624c578c9af23da0889c06be678afb4959066e2d1ae497d296763648ac22783dc03396 languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-darwin-arm64@npm:13.5.6" +"@next/swc-darwin-arm64@npm:13.4.19": + version: 13.4.19 + resolution: "@next/swc-darwin-arm64@npm:13.4.19" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-darwin-x64@npm:13.5.6" +"@next/swc-darwin-x64@npm:13.4.19": + version: 13.4.19 + resolution: "@next/swc-darwin-x64@npm:13.4.19" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-arm64-gnu@npm:13.5.6" +"@next/swc-linux-arm64-gnu@npm:13.4.19": + version: 13.4.19 + resolution: "@next/swc-linux-arm64-gnu@npm:13.4.19" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-arm64-musl@npm:13.5.6" +"@next/swc-linux-arm64-musl@npm:13.4.19": + version: 13.4.19 + resolution: "@next/swc-linux-arm64-musl@npm:13.4.19" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-x64-gnu@npm:13.5.6" +"@next/swc-linux-x64-gnu@npm:13.4.19": + version: 13.4.19 + resolution: "@next/swc-linux-x64-gnu@npm:13.4.19" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-linux-x64-musl@npm:13.5.6" +"@next/swc-linux-x64-musl@npm:13.4.19": + version: 13.4.19 + resolution: "@next/swc-linux-x64-musl@npm:13.4.19" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-win32-arm64-msvc@npm:13.5.6" +"@next/swc-win32-arm64-msvc@npm:13.4.19": + version: 13.4.19 + resolution: "@next/swc-win32-arm64-msvc@npm:13.4.19" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-win32-ia32-msvc@npm:13.5.6" +"@next/swc-win32-ia32-msvc@npm:13.4.19": + version: 13.4.19 + resolution: "@next/swc-win32-ia32-msvc@npm:13.4.19" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.5.6": - version: 13.5.6 - resolution: "@next/swc-win32-x64-msvc@npm:13.5.6" +"@next/swc-win32-x64-msvc@npm:13.4.19": + version: 13.4.19 + resolution: "@next/swc-win32-x64-msvc@npm:13.4.19" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -3789,7 +3789,7 @@ __metadata: languageName: node linkType: hard -"@rushstack/eslint-patch@npm:^1.3.3": +"@rushstack/eslint-patch@npm:^1.1.3": version: 1.5.1 resolution: "@rushstack/eslint-patch@npm:1.5.1" checksum: bef32de80a93aebf3db8a2fcb408e2644918f4382bfd0851baf054cd0de3ece86bab3916d06798c236e0c951e3fc88e0921cd7edf89abb21b2418056ff9a3621 @@ -4007,12 +4007,12 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.2": - version: 0.5.2 - resolution: "@swc/helpers@npm:0.5.2" +"@swc/helpers@npm:0.5.1": + version: 0.5.1 + resolution: "@swc/helpers@npm:0.5.1" dependencies: tslib: "npm:^2.4.0" - checksum: b6fa49bcf6c00571d0eb7837b163f8609960d4d77538160585e27ed167361e9776bd6e5eb9646ffac2fb4d43c58df9ca50dab9d96ab097e6591bc82a75fd1164 + checksum: 2e2272c8278351670e1daf27cc634ace793afb378dcc85be2800d30a7b4d3afad37707371ead2a6d96662fa30294da678d66cdc4dc7f3e698bd8e111235c60fc languageName: node linkType: hard @@ -5908,7 +5908,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.6": +"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7": version: 3.1.7 resolution: "array-includes@npm:3.1.7" dependencies: @@ -5935,7 +5935,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.findlastindex@npm:^1.2.2": +"array.prototype.findlastindex@npm:^1.2.2, array.prototype.findlastindex@npm:^1.2.3": version: 1.2.3 resolution: "array.prototype.findlastindex@npm:1.2.3" dependencies: @@ -5948,7 +5948,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.flat@npm:^1.3.1": +"array.prototype.flat@npm:^1.3.1, array.prototype.flat@npm:^1.3.2": version: 1.3.2 resolution: "array.prototype.flat@npm:1.3.2" dependencies: @@ -5960,7 +5960,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.flatmap@npm:^1.3.1": +"array.prototype.flatmap@npm:^1.3.1, array.prototype.flatmap@npm:^1.3.2": version: 1.3.2 resolution: "array.prototype.flatmap@npm:1.3.2" dependencies: @@ -8886,18 +8886,18 @@ __metadata: languageName: node linkType: hard -"eslint-config-next@npm:13.5.6": - version: 13.5.6 - resolution: "eslint-config-next@npm:13.5.6" +"eslint-config-next@npm:13.4.19": + version: 13.4.19 + resolution: "eslint-config-next@npm:13.4.19" dependencies: - "@next/eslint-plugin-next": "npm:13.5.6" - "@rushstack/eslint-patch": "npm:^1.3.3" + "@next/eslint-plugin-next": "npm:13.4.19" + "@rushstack/eslint-patch": "npm:^1.1.3" "@typescript-eslint/parser": "npm:^5.4.2 || ^6.0.0" eslint-import-resolver-node: "npm:^0.3.6" eslint-import-resolver-typescript: "npm:^3.5.2" - eslint-plugin-import: "npm:^2.28.1" - eslint-plugin-jsx-a11y: "npm:^6.7.1" - eslint-plugin-react: "npm:^7.33.2" + eslint-plugin-import: "npm:^2.26.0" + eslint-plugin-jsx-a11y: "npm:^6.5.1" + eslint-plugin-react: "npm:^7.31.7" eslint-plugin-react-hooks: "npm:^4.5.0 || 5.0.0-canary-7118f5dd7-20230705" peerDependencies: eslint: ^7.23.0 || ^8.0.0 @@ -8905,7 +8905,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 819d3be8007ae062217857669c1ef616f7e30ce358ec044483f235f4246c02b38de740010cfd8e0deacf7cc323f5de9a7ccb1e3271c851d205841eff894c4729 + checksum: 6cfecded6a64b27f45659c6211d2fa5bcc298468dba0545fa11fde3c2e1a282c68db6fc43f506aedf3b05e47d2b81cf4c087c63002a4513549b2c8c4b8fc84d6 languageName: node linkType: hard @@ -8920,7 +8920,7 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-node@npm:^0.3.6, eslint-import-resolver-node@npm:^0.3.7": +"eslint-import-resolver-node@npm:^0.3.6, eslint-import-resolver-node@npm:^0.3.7, eslint-import-resolver-node@npm:^0.3.9": version: 0.3.9 resolution: "eslint-import-resolver-node@npm:0.3.9" dependencies: @@ -8993,7 +8993,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:2.28.1, eslint-plugin-import@npm:^2.28.1": +"eslint-plugin-import@npm:2.28.1": version: 2.28.1 resolution: "eslint-plugin-import@npm:2.28.1" dependencies: @@ -9020,6 +9020,33 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-import@npm:^2.26.0": + version: 2.29.0 + resolution: "eslint-plugin-import@npm:2.29.0" + dependencies: + array-includes: "npm:^3.1.7" + array.prototype.findlastindex: "npm:^1.2.3" + array.prototype.flat: "npm:^1.3.2" + array.prototype.flatmap: "npm:^1.3.2" + debug: "npm:^3.2.7" + doctrine: "npm:^2.1.0" + eslint-import-resolver-node: "npm:^0.3.9" + eslint-module-utils: "npm:^2.8.0" + hasown: "npm:^2.0.0" + is-core-module: "npm:^2.13.1" + is-glob: "npm:^4.0.3" + minimatch: "npm:^3.1.2" + object.fromentries: "npm:^2.0.7" + object.groupby: "npm:^1.0.1" + object.values: "npm:^1.1.7" + semver: "npm:^6.3.1" + tsconfig-paths: "npm:^3.14.2" + peerDependencies: + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + checksum: 761a4e1fbc2cd318e62350bed4c448f8b11ed83091d6bb7776f096556363a09debd9922b39fd2714c895edc9aaea82e08e684eb632283f880c58a91e4bae6733 + languageName: node + linkType: hard + "eslint-plugin-jest@npm:27.4.3": version: 27.4.3 resolution: "eslint-plugin-jest@npm:27.4.3" @@ -9038,7 +9065,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jsx-a11y@npm:^6.7.1": +"eslint-plugin-jsx-a11y@npm:^6.5.1": version: 6.7.1 resolution: "eslint-plugin-jsx-a11y@npm:6.7.1" dependencies: @@ -9124,7 +9151,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:^7.33.2": +"eslint-plugin-react@npm:^7.31.7": version: 7.33.2 resolution: "eslint-plugin-react@npm:7.33.2" dependencies: @@ -11016,7 +11043,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.11.0, is-core-module@npm:^2.13.0": +"is-core-module@npm:^2.11.0, is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1": version: 2.13.1 resolution: "is-core-module@npm:2.13.1" dependencies: @@ -13574,7 +13601,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.6": +"nanoid@npm:^3.3.4": version: 3.3.6 resolution: "nanoid@npm:3.3.6" bin: @@ -13618,26 +13645,27 @@ __metadata: languageName: node linkType: hard -"next@npm:13.5.6": - version: 13.5.6 - resolution: "next@npm:13.5.6" +"next@npm:13.4.19": + version: 13.4.19 + resolution: "next@npm:13.4.19" dependencies: - "@next/env": "npm:13.5.6" - "@next/swc-darwin-arm64": "npm:13.5.6" - "@next/swc-darwin-x64": "npm:13.5.6" - "@next/swc-linux-arm64-gnu": "npm:13.5.6" - "@next/swc-linux-arm64-musl": "npm:13.5.6" - "@next/swc-linux-x64-gnu": "npm:13.5.6" - "@next/swc-linux-x64-musl": "npm:13.5.6" - "@next/swc-win32-arm64-msvc": "npm:13.5.6" - "@next/swc-win32-ia32-msvc": "npm:13.5.6" - "@next/swc-win32-x64-msvc": "npm:13.5.6" - "@swc/helpers": "npm:0.5.2" + "@next/env": "npm:13.4.19" + "@next/swc-darwin-arm64": "npm:13.4.19" + "@next/swc-darwin-x64": "npm:13.4.19" + "@next/swc-linux-arm64-gnu": "npm:13.4.19" + "@next/swc-linux-arm64-musl": "npm:13.4.19" + "@next/swc-linux-x64-gnu": "npm:13.4.19" + "@next/swc-linux-x64-musl": "npm:13.4.19" + "@next/swc-win32-arm64-msvc": "npm:13.4.19" + "@next/swc-win32-ia32-msvc": "npm:13.4.19" + "@next/swc-win32-x64-msvc": "npm:13.4.19" + "@swc/helpers": "npm:0.5.1" busboy: "npm:1.6.0" caniuse-lite: "npm:^1.0.30001406" - postcss: "npm:8.4.31" + postcss: "npm:8.4.14" styled-jsx: "npm:5.1.1" watchpack: "npm:2.4.0" + zod: "npm:3.21.4" peerDependencies: "@opentelemetry/api": ^1.1.0 react: ^18.2.0 @@ -13669,7 +13697,7 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: ef141d7708a432aff8bf080d285c466a83b0c1d008d1c66bbd49652a598f9ac15ef2e69a045f21ba44a5543b595cb945468b5f33e25deae2cc48b4d32be5bcec + checksum: 557fd15a52220f003ec88a79f51de41c5bb9cda5294944985f31ce45e75f98dd3caf902896d8419d96cc81596976671e953391b1eb3707757d261e362a242310 languageName: node linkType: hard @@ -13959,7 +13987,7 @@ __metadata: languageName: node linkType: hard -"object.fromentries@npm:^2.0.6": +"object.fromentries@npm:^2.0.6, object.fromentries@npm:^2.0.7": version: 2.0.7 resolution: "object.fromentries@npm:2.0.7" dependencies: @@ -13970,7 +13998,7 @@ __metadata: languageName: node linkType: hard -"object.groupby@npm:^1.0.0": +"object.groupby@npm:^1.0.0, object.groupby@npm:^1.0.1": version: 1.0.1 resolution: "object.groupby@npm:1.0.1" dependencies: @@ -13992,7 +14020,7 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.6": +"object.values@npm:^1.1.6, object.values@npm:^1.1.7": version: 1.1.7 resolution: "object.values@npm:1.1.7" dependencies: @@ -14543,14 +14571,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.31": - version: 8.4.31 - resolution: "postcss@npm:8.4.31" +"postcss@npm:8.4.14": + version: 8.4.14 + resolution: "postcss@npm:8.4.14" dependencies: - nanoid: "npm:^3.3.6" + nanoid: "npm:^3.3.4" picocolors: "npm:^1.0.0" source-map-js: "npm:^1.0.2" - checksum: 748b82e6e5fc34034dcf2ae88ea3d11fd09f69b6c50ecdd3b4a875cfc7cdca435c958b211e2cb52355422ab6fccb7d8f2f2923161d7a1b281029e4a913d59acf + checksum: 2a4cfa28e2f1bfd358313501f7771bd596e494487c7b735c492e2f8b1faf493d24fcb43e2e6ad825863fc65a77abb949ca8f228602ae46a022f02dc812c4ac8b languageName: node linkType: hard @@ -18922,3 +18950,10 @@ __metadata: checksum: dceb44c28578b31641e13695d200d34ec4ab3966a5729814d5445b194933c096b7ced71494ce53a0e8820685d1d010df8b2422e5bf2cdea7e469d97ffbea306f languageName: node linkType: hard + +"zod@npm:3.21.4": + version: 3.21.4 + resolution: "zod@npm:3.21.4" + checksum: 161e8cf7aea38a99244d65da4a9477d9d966f6a533e503feaa20ff7968a9691065c38c6f1eab5cbbdc8374142fff4a05c9cacb8479803ab50ab6a6ca80e5d624 + languageName: node + linkType: hard