From cf06238aacf645dd9077f7b24ce6a6ad8eae2ad0 Mon Sep 17 00:00:00 2001 From: undefined Date: Sun, 16 Aug 2026 05:08:10 +0800 Subject: [PATCH] update robots.txt --- framework/eslint-config/package.json | 12 ++++++------ package.json | 6 +++--- packages/hydrojudge/package.json | 2 +- packages/hydrooj/package.json | 4 ++-- packages/ui-default/package.json | 6 +++--- packages/ui-default/static/robots.txt | 2 ++ 6 files changed, 17 insertions(+), 15 deletions(-) diff --git a/framework/eslint-config/package.json b/framework/eslint-config/package.json index 2af4ab83a..90cffce8f 100644 --- a/framework/eslint-config/package.json +++ b/framework/eslint-config/package.json @@ -5,16 +5,16 @@ "main": "base.mjs", "repository": "https://github.com/hydro-dev/Hydro", "dependencies": { - "@antfu/eslint-config": "^8.3.0", - "@eslint-react/eslint-plugin": "^4.2.3", - "@typescript-eslint/eslint-plugin": "^8.66.0", - "@typescript-eslint/parser": "^8.66.0", + "@antfu/eslint-config": "^9.3.0", + "@eslint-react/eslint-plugin": "^5.18.4", + "@typescript-eslint/eslint-plugin": "^8.67.0", + "@typescript-eslint/parser": "^8.67.0", "eslint-plugin-de-morgan": "^2.1.3", "eslint-plugin-github": "^6.1.2", "eslint-plugin-react-hooks": "^7.1.1", - "eslint-plugin-react-refresh": "^0.5.3", + "eslint-plugin-react-refresh": "^0.5.4", "eslint-plugin-simple-import-sort": "^14.0.0", - "globals": "^17.9.0" + "globals": "^17.10.0" }, "peerDependencies": { "eslint": ">= 9" diff --git a/package.json b/package.json index 564b0fb4f..ecf9b6144 100644 --- a/package.json +++ b/package.json @@ -45,17 +45,17 @@ "cross-env": "^10.1.0", "cross-spawn": "^7.0.6", "esbuild": "0.25.2", - "eslint": "^9.39.5", + "eslint": "^10.8.1", "eslint-import-resolver-typescript": "^4.4.5", "eslint-import-resolver-webpack": "^0.13.11", "fs-extra": "^11.4.0", - "globals": "^17.9.0", + "globals": "^17.10.0", "globby": "~14.0.2", "inspectpack": "^4.7.1", "mongodb-memory-server": "11.0.1", "nyc": "^18.0.0", "ora": "^9.4.1", - "oxlint": "^1.77.0", + "oxlint": "^1.78.0", "package-json": "^10.0.1", "semver": "^7.8.5", "simple-git": "^3.36.0", diff --git a/packages/hydrojudge/package.json b/packages/hydrojudge/package.json index 87e95205d..384dcc697 100644 --- a/packages/hydrojudge/package.json +++ b/packages/hydrojudge/package.json @@ -11,7 +11,7 @@ "@opentelemetry/api": "^1.9.1", "@opentelemetry/exporter-trace-otlp-http": "^0.221.0", "@opentelemetry/sdk-node": "^0.221.0", - "@zip.js/zip.js": "^2.8.36", + "@zip.js/zip.js": "^2.8.43", "cac": "^7.0.0", "p-queue": "^9.3.3", "schemastery": "^3.18.0", diff --git a/packages/hydrooj/package.json b/packages/hydrooj/package.json index e46812657..c287ed889 100644 --- a/packages/hydrooj/package.json +++ b/packages/hydrooj/package.json @@ -25,10 +25,10 @@ "@mongodb-js/saslprep": "^1.4.13", "@simplewebauthn/server": "13.2.2", "@undefined-moe/require-resolve-hook": "^1.1.0", - "@zip.js/zip.js": "^2.8.36", + "@zip.js/zip.js": "^2.8.43", "adm-zip": "0.5.16", "cac": "^7.0.0", - "cordis": "4.0.0-rc.4", + "cordis": "4.0.0-rc.8", "csv-stringify": "^6.8.3", "emoji-regex": "^10.6.0", "emojis-list": "2.1.0", diff --git a/packages/ui-default/package.json b/packages/ui-default/package.json index 84f77d009..3320dfada 100644 --- a/packages/ui-default/package.json +++ b/packages/ui-default/package.json @@ -23,7 +23,7 @@ "@mantine/core": "^9.5.1", "@mantine/hooks": "^9.5.1", "@mantine/notifications": "^9.5.1", - "@sentry/browser": "^10.69.0", + "@sentry/browser": "^10.70.0", "@sentry/webpack-plugin": "^5.4.0", "@simplewebauthn/browser": "13.2.2", "@svgr/webpack": "^8.1.0", @@ -51,7 +51,7 @@ "clean-webpack-plugin": "^4.0.0", "clipboard": "^2.0.11", "copy-webpack-plugin": "^14.0.0", - "cordis": "4.0.0-rc.4", + "cordis": "4.0.0-rc.8", "core-js": "^3.50.0", "core-js-compat": "^3.50.0", "css-loader": "^7.1.4", @@ -129,7 +129,7 @@ "html-to-text": "^10.0.0", "js-yaml": "^5.2.3", "jsesc": "^3.1.0", - "katex": "^0.18.2", + "katex": "^0.18.4", "lodash": "^4.18.1", "markdown-it": "^15.0.0", "markdown-it-anchor": "^9.2.1", diff --git a/packages/ui-default/static/robots.txt b/packages/ui-default/static/robots.txt index 7cf4d17c4..75f4ef407 100644 --- a/packages/ui-default/static/robots.txt +++ b/packages/ui-default/static/robots.txt @@ -19,3 +19,5 @@ Disallow: /p/*/edit Disallow: /d/*/p/*/edit Disallow: /p/*/file/ Disallow: /d/*/p/*/file/ +Disallow: /oauth/ +Disallow: /d/*/oauth/