mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
upgrade deps
This commit is contained in:
9 files changed
+24
-25
No files matched your search
@@ -4,14 +4,14 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "react.yaml",
|
"main": "react.yaml",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@stylistic/eslint-plugin": "^2.6.2",
|
"@stylistic/eslint-plugin": "^2.7.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
"@typescript-eslint/eslint-plugin": "^8.4.0",
|
||||||
"@typescript-eslint/parser": "^8.1.0",
|
"@typescript-eslint/parser": "^8.4.0",
|
||||||
"eslint-config-airbnb": "^19.0.4",
|
"eslint-config-airbnb": "^19.0.4",
|
||||||
"eslint-plugin-github": "^5.0.1",
|
"eslint-plugin-github": "^5.0.1",
|
||||||
"eslint-plugin-import": "2.29.1",
|
"eslint-plugin-import": "2.29.1",
|
||||||
"eslint-plugin-jsx-a11y": "^6.9.0",
|
"eslint-plugin-jsx-a11y": "^6.10.0",
|
||||||
"eslint-plugin-react": "^7.35.0",
|
"eslint-plugin-react": "^7.35.2",
|
||||||
"eslint-plugin-react-hooks": "^4.6.2",
|
"eslint-plugin-react-hooks": "^4.6.2",
|
||||||
"eslint-plugin-simple-import-sort": "^12.1.1"
|
"eslint-plugin-simple-import-sort": "^12.1.1"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -485,7 +485,6 @@ Memory: 内存
|
|||||||
Message {0} not found.: 消息 {0} 不存在。
|
Message {0} not found.: 消息 {0} 不存在。
|
||||||
Messages: 消息
|
Messages: 消息
|
||||||
Method: 方法
|
Method: 方法
|
||||||
monacoTheme: 编辑器主题
|
|
||||||
Month: 月
|
Month: 月
|
||||||
Monthly Popular: 月度最受欢迎
|
Monthly Popular: 月度最受欢迎
|
||||||
Most Upvoted Solutions: 最被赞同的题解
|
Most Upvoted Solutions: 最被赞同的题解
|
||||||
|
|||||||
@@ -12,11 +12,11 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "3.631.0",
|
"@aws-sdk/client-s3": "3.645.0",
|
||||||
"@aws-sdk/lib-storage": "3.631.0",
|
"@aws-sdk/lib-storage": "3.645.0",
|
||||||
"@aws-sdk/s3-presigned-post": "3.631.0",
|
"@aws-sdk/s3-presigned-post": "3.645.0",
|
||||||
"@aws-sdk/s3-request-presigner": "3.631.0",
|
"@aws-sdk/s3-request-presigner": "3.645.0",
|
||||||
"@graphql-tools/schema": "^10.0.5",
|
"@graphql-tools/schema": "^10.0.6",
|
||||||
"@hydrooj/framework": "workspace:^",
|
"@hydrooj/framework": "workspace:^",
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
"@simplewebauthn/server": "9.0.3",
|
"@simplewebauthn/server": "9.0.3",
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
"cac": "^6.7.14",
|
"cac": "^6.7.14",
|
||||||
"cordis": "3.16.0",
|
"cordis": "3.16.0",
|
||||||
"detect-browser": "^5.3.0",
|
"detect-browser": "^5.3.0",
|
||||||
"emoji-regex": "^10.3.0",
|
"emoji-regex": "^10.4.0",
|
||||||
"emojis-list": "2.1.0",
|
"emojis-list": "2.1.0",
|
||||||
"fs-extra": "^11.2.0",
|
"fs-extra": "^11.2.0",
|
||||||
"graphql": "^16.9.0",
|
"graphql": "^16.9.0",
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
"mongodb": "^5.9.2",
|
"mongodb": "^5.9.2",
|
||||||
"mongodb-uri": "^0.9.7",
|
"mongodb-uri": "^0.9.7",
|
||||||
"nanoid": "^5.0.7",
|
"nanoid": "^5.0.7",
|
||||||
"nodemailer": "^6.9.14",
|
"nodemailer": "^6.9.15",
|
||||||
"notp": "^2.0.3",
|
"notp": "^2.0.3",
|
||||||
"p-queue": "^8.0.1",
|
"p-queue": "^8.0.1",
|
||||||
"sanitize-filename": "^1.6.3",
|
"sanitize-filename": "^1.6.3",
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
"@types/notp": "^2.0.5",
|
"@types/notp": "^2.0.5",
|
||||||
"@types/saslprep": "^1.0.3",
|
"@types/saslprep": "^1.0.3",
|
||||||
"@types/semver": "^7.5.8",
|
"@types/semver": "^7.5.8",
|
||||||
"@types/superagent": "^8.1.8",
|
"@types/superagent": "^8.1.9",
|
||||||
"chokidar": "^3.6.0",
|
"chokidar": "^3.6.0",
|
||||||
"moment": "^2.30.1"
|
"moment": "^2.30.1"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,8 +116,6 @@ async function main() {
|
|||||||
normalize: true,
|
normalize: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const file = fs.readFileSync(root('misc/.iconfont/webicon.inc.styl'), 'utf-8');
|
|
||||||
fs.writeFileSync(root('misc/.iconfont/webicon.inc.styl'), file.replace(/:/g, ' ='));
|
|
||||||
} else {
|
} else {
|
||||||
await runWebpack(argv.options as any);
|
await runWebpack(argv.options as any);
|
||||||
if (fs.existsSync('public/theme.css')) {
|
if (fs.existsSync('public/theme.css')) {
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
$icon-font-name = 'hydro-icons'
|
$icon-font-name = 'hydro-icons'
|
||||||
|
|
||||||
{{cssToVars}}
|
{% for name, value in infoData %}
|
||||||
|
${{prefix}}-{{ name }} = '{{ value.encodedCode }}'
|
||||||
|
{%- endfor %}
|
||||||
@@ -25,8 +25,8 @@
|
|||||||
"@fontsource/source-code-pro": "^5.0.19",
|
"@fontsource/source-code-pro": "^5.0.19",
|
||||||
"@fontsource/ubuntu-mono": "^5.0.21",
|
"@fontsource/ubuntu-mono": "^5.0.21",
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
"@sentry/browser": "^8.27.0",
|
"@sentry/browser": "^8.28.0",
|
||||||
"@sentry/webpack-plugin": "^2.22.3",
|
"@sentry/webpack-plugin": "^2.22.4",
|
||||||
"@simplewebauthn/browser": "9.0.1",
|
"@simplewebauthn/browser": "9.0.1",
|
||||||
"@svgr/webpack": "^8.1.0",
|
"@svgr/webpack": "^8.1.0",
|
||||||
"@types/jquery": "^3.5.30",
|
"@types/jquery": "^3.5.30",
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
"@types/nunjucks": "^3.2.6",
|
"@types/nunjucks": "^3.2.6",
|
||||||
"@types/pickadate": "^3.5.35",
|
"@types/pickadate": "^3.5.35",
|
||||||
"@types/qrcode": "^1.5.5",
|
"@types/qrcode": "^1.5.5",
|
||||||
"@types/react": "^18.3.4",
|
"@types/react": "^18.3.5",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"@types/redux-logger": "^3.0.13",
|
"@types/redux-logger": "^3.0.13",
|
||||||
"@types/uuid": "^10.0.0",
|
"@types/uuid": "^10.0.0",
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
"style-loader": "^3.3.4",
|
"style-loader": "^3.3.4",
|
||||||
"stylus": "^0.63.0",
|
"stylus": "^0.63.0",
|
||||||
"stylus-loader": "7.1.2",
|
"stylus-loader": "7.1.2",
|
||||||
"svgtofont": "^5.0.3",
|
"svgtofont": "^6.0.0",
|
||||||
"tether": "1.4.7",
|
"tether": "1.4.7",
|
||||||
"tether-drop": "^1.4.2",
|
"tether-drop": "^1.4.2",
|
||||||
"timeago-react": "^3.0.6",
|
"timeago-react": "^3.0.6",
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
"web-streams-polyfill": "^4.0.0",
|
"web-streams-polyfill": "^4.0.0",
|
||||||
"webpack": "^5.94.0",
|
"webpack": "^5.94.0",
|
||||||
"webpack-bundle-analyzer": "^4.10.2",
|
"webpack-bundle-analyzer": "^4.10.2",
|
||||||
"webpack-dev-server": "^5.0.4",
|
"webpack-dev-server": "^5.1.0",
|
||||||
"webpack-manifest-plugin": "^5.0.0",
|
"webpack-manifest-plugin": "^5.0.0",
|
||||||
"webpackbar": "^6.0.1"
|
"webpackbar": "^6.0.1"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"mongodb": "^5.9.2",
|
"mongodb": "^5.9.2",
|
||||||
"reggol": "^1.6.3",
|
"reggol": "^1.6.3",
|
||||||
"search-query-parser": "^1.6.0",
|
"search-query-parser": "^1.6.0",
|
||||||
"systeminformation": "^5.23.4"
|
"systeminformation": "^5.23.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "^11.0.4"
|
"@types/fs-extra": "^11.0.4"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
"jsdom": "^24.1.1",
|
"jsdom": "^25.0.0",
|
||||||
"superagent-charset": "^1.2.0",
|
"superagent-charset": "^1.2.0",
|
||||||
"superagent-proxy": "^3.0.0"
|
"superagent-proxy": "^3.0.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -264,7 +264,7 @@ export async function apply(ctx: Context) {
|
|||||||
ctx.inject(['vjudge'], async (c) => {
|
ctx.inject(['vjudge'], async (c) => {
|
||||||
await c.vjudge.start();
|
await c.vjudge.start();
|
||||||
for (const [k, v] of Object.entries(providers)) {
|
for (const [k, v] of Object.entries(providers)) {
|
||||||
c.vjudge.addProvider(k, v);
|
if (!SystemModel.get(`vjudge.builtin-${k}-disable`)) c.vjudge.addProvider(k, v);
|
||||||
}
|
}
|
||||||
c.inject(['check'], ({ check }) => {
|
c.inject(['check'], ({ check }) => {
|
||||||
check.addChecker('Vjudge', async (_ctx, log, warn, error) => {
|
check.addChecker('Vjudge', async (_ctx, log, warn, error) => {
|
||||||
|
|||||||
Reference in new issue
Block a user