From fc67389b495db48dedf4ec443b7846f78bf72763 Mon Sep 17 00:00:00 2001 From: undefined Date: Sun, 9 Aug 2026 07:28:40 +0800 Subject: [PATCH] upgrade deps --- framework/eslint-config/build.ts | 2 +- framework/eslint-config/package.json | 10 +++--- framework/framework/package.json | 2 +- framework/utils/package.json | 2 +- package.json | 6 ++-- packages/common/lang.ts | 2 +- packages/components/frontend/ConfigEditor.tsx | 2 +- packages/components/package.json | 6 ++-- packages/geoip/package.json | 2 +- packages/hydrojudge/package.json | 4 +-- packages/hydrooj/package.json | 16 ++++----- packages/hydrooj/src/commands/diagnosis.ts | 2 +- packages/hydrooj/src/entry/common.ts | 2 +- packages/hydrooj/src/handler/home.ts | 2 +- packages/hydrooj/src/handler/homework.ts | 2 +- packages/hydrooj/src/handler/judge.ts | 2 +- packages/hydrooj/src/model/problem.ts | 2 +- packages/hydrooj/src/model/setting.ts | 2 +- packages/hydrooj/src/settings.ts | 2 +- packages/hydrooj/src/upgrade.ts | 2 +- packages/scoreboard-xcpcio/package.json | 4 +-- .../problemconfig/ProblemConfigEditor.tsx | 2 +- .../problemconfig/reducer/config.ts | 2 +- packages/ui-default/package.json | 36 +++++++++---------- .../ui-default/pages/contest_balloon.page.tsx | 2 +- .../ui-default/pages/problem_config.page.tsx | 2 +- .../ui-default/pages/problem_detail.page.tsx | 2 +- packages/ui-next/package.json | 12 +++---- packages/vjudge/package.json | 4 +-- packages/vjudge/src/providers/codeforces.ts | 2 +- 30 files changed, 70 insertions(+), 70 deletions(-) diff --git a/framework/eslint-config/build.ts b/framework/eslint-config/build.ts index 7f5e6c4fb..867e6fe09 100644 --- a/framework/eslint-config/build.ts +++ b/framework/eslint-config/build.ts @@ -1,5 +1,5 @@ import fs from 'fs'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; const base = yaml.load(fs.readFileSync('base.yaml', 'utf8')) as any; const react = yaml.load(fs.readFileSync('react.yaml', 'utf8')) as any; diff --git a/framework/eslint-config/package.json b/framework/eslint-config/package.json index c2af7b238..7d6901c33 100644 --- a/framework/eslint-config/package.json +++ b/framework/eslint-config/package.json @@ -7,14 +7,14 @@ "dependencies": { "@antfu/eslint-config": "^8.3.0", "@eslint-react/eslint-plugin": "^4.2.3", - "@typescript-eslint/eslint-plugin": "^8.65.0", - "@typescript-eslint/parser": "^8.65.0", + "@typescript-eslint/eslint-plugin": "^8.66.0", + "@typescript-eslint/parser": "^8.66.0", "eslint-plugin-de-morgan": "^2.1.3", - "eslint-plugin-github": "^6.1.1", + "eslint-plugin-github": "^6.1.2", "eslint-plugin-react-hooks": "^7.1.1", "eslint-plugin-react-refresh": "^0.5.3", - "eslint-plugin-simple-import-sort": "^12.1.1", - "globals": "^17.7.0" + "eslint-plugin-simple-import-sort": "^14.0.0", + "globals": "^17.9.0" }, "peerDependencies": { "eslint": ">= 9" diff --git a/framework/framework/package.json b/framework/framework/package.json index f5ba8ab0b..59c016e97 100644 --- a/framework/framework/package.json +++ b/framework/framework/package.json @@ -20,7 +20,7 @@ "sanitize-filename": "^1.6.4", "schemastery": "^3.18.0", "shorty.js": "^1.0.1", - "ws": "^8.21.1" + "ws": "^8.21.3" }, "devDependencies": { "@types/fs-extra": "^11.0.4", diff --git a/framework/utils/package.json b/framework/utils/package.json index 02d92ccb2..922757a2f 100644 --- a/framework/utils/package.json +++ b/framework/utils/package.json @@ -16,7 +16,7 @@ "@hydrooj/register": "workspace:^", "cac": "^7.0.0", "fs-extra": "^11.4.0", - "js-yaml": "^5.2.2", + "js-yaml": "^5.2.3", "reggol": "^2.1.0", "search-query-parser": "^1.6.0", "systeminformation": "^5.33.1" diff --git a/package.json b/package.json index abddd4bb9..1dc0248b0 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@types/chai": "^5.2.3", "@types/cross-spawn": "^6.0.6", "@types/node": "24.10.13", - "@types/semver": "^7.7.1", + "@types/semver": "^7.8.0", "autocannon": "^8.0.0", "cac": "^7.0.0", "chai": "^6.2.2", @@ -49,13 +49,13 @@ "eslint-import-resolver-typescript": "^4.4.5", "eslint-import-resolver-webpack": "^0.13.11", "fs-extra": "^11.4.0", - "globals": "^17.7.0", + "globals": "^17.9.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.75.0", + "oxlint": "^1.77.0", "package-json": "^10.0.1", "semver": "^7.8.5", "simple-git": "^3.36.0", diff --git a/packages/common/lang.ts b/packages/common/lang.ts index 9b3ad1a11..5899b075f 100644 --- a/packages/common/lang.ts +++ b/packages/common/lang.ts @@ -1,4 +1,4 @@ -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; export interface LangConfig { disabled?: boolean; diff --git a/packages/components/frontend/ConfigEditor.tsx b/packages/components/frontend/ConfigEditor.tsx index 2f6d25979..b9e1fd146 100644 --- a/packages/components/frontend/ConfigEditor.tsx +++ b/packages/components/frontend/ConfigEditor.tsx @@ -2,7 +2,7 @@ import 'schemastery-react/lib/schemastery-react.css'; import { Allotment } from 'allotment'; import { diffLines } from 'diff'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import React from 'react'; import { createSchemasteryReact } from 'schemastery-react'; import { ComponentsContext } from './provider'; diff --git a/packages/components/package.json b/packages/components/package.json index 038f44661..8e613f319 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -10,7 +10,7 @@ "dependencies": { "allotment": "^1.20.5", "diff": "^9.0.0", - "js-yaml": "^5.2.2", + "js-yaml": "^5.2.3", "lodash": "^4.18.1", "react-dnd": "^16.0.1", "react-dnd-html5-backend": "^16.0.1", @@ -20,8 +20,8 @@ "devDependencies": { "@types/diff": "^8.0.0", "@types/js-yaml": "^4.0.9", - "@types/lodash": "^4.17.24", - "sass": "^1.101.7" + "@types/lodash": "^4.17.25", + "sass": "^1.102.0" }, "peerDependencies": { "react": "*", diff --git a/packages/geoip/package.json b/packages/geoip/package.json index 9a8eccd9b..7fb9904ef 100644 --- a/packages/geoip/package.json +++ b/packages/geoip/package.json @@ -6,7 +6,7 @@ "author": "undefined ", "license": "AGPL-3.0-or-later", "dependencies": { - "maxmind": "^5.0.6" + "maxmind": "^5.0.7" }, "preferUnplugged": true } diff --git a/packages/hydrojudge/package.json b/packages/hydrojudge/package.json index b7b763ce0..87e95205d 100644 --- a/packages/hydrojudge/package.json +++ b/packages/hydrojudge/package.json @@ -11,14 +11,14 @@ "@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.34", + "@zip.js/zip.js": "^2.8.36", "cac": "^7.0.0", "p-queue": "^9.3.3", "schemastery": "^3.18.0", "semver": "^7.8.5", "shell-quote": "^1.10.0", "superagent": "^10.3.0", - "ws": "^8.21.1" + "ws": "^8.21.3" }, "preferUnplugged": true, "license": "AGPL-3.0-or-later", diff --git a/packages/hydrooj/package.json b/packages/hydrooj/package.json index 2895a0103..e46812657 100644 --- a/packages/hydrooj/package.json +++ b/packages/hydrooj/package.json @@ -16,7 +16,7 @@ "@aws-sdk/lib-storage": "3.1048.0", "@aws-sdk/s3-presigned-post": "3.1048.0", "@aws-sdk/s3-request-presigner": "3.1048.0", - "@babel/code-frame": "^7.29.7", + "@babel/code-frame": "^8.0.0", "@cordisjs/plugin-logger": "^1.0.2", "@cordisjs/plugin-timer": "1.1.2", "@hydrooj/common": "workspace:^", @@ -25,15 +25,15 @@ "@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.34", + "@zip.js/zip.js": "^2.8.36", "adm-zip": "0.5.16", "cac": "^7.0.0", "cordis": "4.0.0-rc.4", - "csv-stringify": "^6.8.1", + "csv-stringify": "^6.8.3", "emoji-regex": "^10.6.0", "emojis-list": "2.1.0", "fs-extra": "^11.4.0", - "js-yaml": "^5.2.2", + "js-yaml": "^5.2.3", "koa-proxies": "^0.12.4", "koa-static-cache": "^5.1.4", "lodash": "^4.18.1", @@ -42,8 +42,8 @@ "moment-timezone": "^0.6.3", "mongodb": "^7.5.0", "mongodb-uri": "^0.9.7", - "nanoid": "^6.0.0", - "nodemailer": "^9.0.3", + "nanoid": "^6.0.1", + "nodemailer": "^9.0.5", "otpauth": "^9.5.1", "p-queue": "^9.3.3", "sanitize-filename": "^1.6.4", @@ -62,11 +62,11 @@ "@types/fs-extra": "^11.0.4", "@types/js-yaml": "^4.0.9", "@types/koa-static-cache": "^5.1.4", - "@types/lodash": "^4.17.24", + "@types/lodash": "^4.17.25", "@types/mime-types": "^3.0.1", "@types/mongodb-uri": "^0.9.4", "@types/nodemailer": "^8.0.1", - "@types/semver": "^7.7.1", + "@types/semver": "^7.8.0", "@types/shell-quote": "^1.7.5", "@types/superagent": "^8.1.11", "@types/superagent-proxy": "^3.0.4", diff --git a/packages/hydrooj/src/commands/diagnosis.ts b/packages/hydrooj/src/commands/diagnosis.ts index 22538d267..d92498f69 100644 --- a/packages/hydrooj/src/commands/diagnosis.ts +++ b/packages/hydrooj/src/commands/diagnosis.ts @@ -4,7 +4,7 @@ import { tmpdir } from 'os'; import path from 'path'; import { CAC, cac } from 'cac'; import fs from 'fs-extra'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import superagent from 'superagent'; import { formatSeconds, Logger } from '@hydrooj/utils'; import * as sysinfo from '@hydrooj/utils/lib/sysinfo'; diff --git a/packages/hydrooj/src/entry/common.ts b/packages/hydrooj/src/entry/common.ts index c4bcbdc63..90ab3a6b6 100644 --- a/packages/hydrooj/src/entry/common.ts +++ b/packages/hydrooj/src/entry/common.ts @@ -3,7 +3,7 @@ import '../lib/index'; import path from 'path'; import fs from 'fs-extra'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import { Context } from '../context'; import { Logger } from '../logger'; import { PRIV } from '../model/builtin'; diff --git a/packages/hydrooj/src/handler/home.ts b/packages/hydrooj/src/handler/home.ts index 014935640..d9856f3f3 100644 --- a/packages/hydrooj/src/handler/home.ts +++ b/packages/hydrooj/src/handler/home.ts @@ -1,7 +1,7 @@ import path from 'path'; import { generateRegistrationOptions, verifyRegistrationResponse } from '@simplewebauthn/server'; import { isoBase64URL, isoUint8Array } from '@simplewebauthn/server/helpers'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import { pick } from 'lodash'; import { Binary, ObjectId } from 'mongodb'; import { UAParser } from 'ua-parser-js'; diff --git a/packages/hydrooj/src/handler/homework.ts b/packages/hydrooj/src/handler/homework.ts index f83e2792c..78b31dec3 100644 --- a/packages/hydrooj/src/handler/homework.ts +++ b/packages/hydrooj/src/handler/homework.ts @@ -1,4 +1,4 @@ -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import { escapeRegExp, pick } from 'lodash'; import moment from 'moment-timezone'; import { ObjectId } from 'mongodb'; diff --git a/packages/hydrooj/src/handler/judge.ts b/packages/hydrooj/src/handler/judge.ts index 8d8bb6c89..4999a2cf6 100644 --- a/packages/hydrooj/src/handler/judge.ts +++ b/packages/hydrooj/src/handler/judge.ts @@ -1,6 +1,6 @@ import assert from 'assert'; import fs from 'fs-extra'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import { omit } from 'lodash'; import { ObjectId } from 'mongodb'; import sanitize from 'sanitize-filename'; diff --git a/packages/hydrooj/src/model/problem.ts b/packages/hydrooj/src/model/problem.ts index 8e52ebb64..9ef42a82c 100644 --- a/packages/hydrooj/src/model/problem.ts +++ b/packages/hydrooj/src/model/problem.ts @@ -5,7 +5,7 @@ import path from 'path'; import { Readable } from 'stream'; import { Entry, ZipReader } from '@zip.js/zip.js'; import fs from 'fs-extra'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import { keyBy, pick } from 'lodash'; import { Filter, ObjectId } from 'mongodb'; import { ProblemConfigFile, ProblemType } from '@hydrooj/common'; diff --git a/packages/hydrooj/src/model/setting.ts b/packages/hydrooj/src/model/setting.ts index 7a0f30fa6..43c67807a 100644 --- a/packages/hydrooj/src/model/setting.ts +++ b/packages/hydrooj/src/model/setting.ts @@ -2,7 +2,7 @@ /* eslint-disable no-await-in-loop */ import fs from 'fs'; import saslPrep from '@mongodb-js/saslprep'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import { Dictionary } from 'lodash'; import moment from 'moment-timezone'; import Schema from 'schemastery'; diff --git a/packages/hydrooj/src/settings.ts b/packages/hydrooj/src/settings.ts index 70568eef1..7f6f170bf 100644 --- a/packages/hydrooj/src/settings.ts +++ b/packages/hydrooj/src/settings.ts @@ -1,4 +1,4 @@ -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import Schema from 'schemastery'; import { Context, Service } from './context'; import { Logger } from './logger'; diff --git a/packages/hydrooj/src/upgrade.ts b/packages/hydrooj/src/upgrade.ts index 5869daa8c..f52816314 100644 --- a/packages/hydrooj/src/upgrade.ts +++ b/packages/hydrooj/src/upgrade.ts @@ -2,7 +2,7 @@ /* eslint-disable ts/no-unused-vars */ /* eslint-disable no-await-in-loop */ /* eslint-disable ts/naming-convention */ -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import { ObjectId } from 'mongodb'; import { randomstring, sleep } from '@hydrooj/utils'; import { buildContent } from './lib/content'; diff --git a/packages/scoreboard-xcpcio/package.json b/packages/scoreboard-xcpcio/package.json index fd289b932..8926c2224 100644 --- a/packages/scoreboard-xcpcio/package.json +++ b/packages/scoreboard-xcpcio/package.json @@ -8,9 +8,9 @@ "postinstall": "node -r @hydrooj/register install.ts" }, "dependencies": { - "@xcpcio/board-app": "^0.85.3" + "@xcpcio/board-app": "^0.85.4" }, "devDependencies": { - "@xcpcio/types": "^0.85.3" + "@xcpcio/types": "^0.85.4" } } diff --git a/packages/ui-default/components/problemconfig/ProblemConfigEditor.tsx b/packages/ui-default/components/problemconfig/ProblemConfigEditor.tsx index 28322ece8..23fc449f0 100644 --- a/packages/ui-default/components/problemconfig/ProblemConfigEditor.tsx +++ b/packages/ui-default/components/problemconfig/ProblemConfigEditor.tsx @@ -1,7 +1,7 @@ import type { ProblemConfigFile, TestCaseConfig } from 'hydrooj/src/interface'; import { diffLines } from 'diff'; import $ from 'jquery'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import { isEqual } from 'lodash'; import type { editor } from 'monaco-editor'; import React from 'react'; diff --git a/packages/ui-default/components/problemconfig/reducer/config.ts b/packages/ui-default/components/problemconfig/reducer/config.ts index b3efc9c73..5a2946f40 100644 --- a/packages/ui-default/components/problemconfig/reducer/config.ts +++ b/packages/ui-default/components/problemconfig/reducer/config.ts @@ -1,7 +1,7 @@ import { parseMemoryMB, parseTimeMS, sortFiles } from '@hydrooj/utils/lib/common'; import type { ProblemConfigFile, TestCaseConfig } from 'hydrooj/src/interface'; import Ajv from 'ajv'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import { cloneDeep } from 'lodash'; import schema from '../../monaco/schema/problemconfig'; diff --git a/packages/ui-default/package.json b/packages/ui-default/package.json index 955f30139..84f77d009 100644 --- a/packages/ui-default/package.json +++ b/packages/ui-default/package.json @@ -20,10 +20,10 @@ "@fontsource/source-code-pro": "^5.3.0", "@fontsource/ubuntu-mono": "^5.3.0", "@hydrooj/utils": "workspace:^", - "@mantine/core": "^9.4.2", - "@mantine/hooks": "^9.4.2", - "@mantine/notifications": "^9.4.2", - "@sentry/browser": "^10.68.0", + "@mantine/core": "^9.5.1", + "@mantine/hooks": "^9.5.1", + "@mantine/notifications": "^9.5.1", + "@sentry/browser": "^10.69.0", "@sentry/webpack-plugin": "^5.4.0", "@simplewebauthn/browser": "13.2.2", "@svgr/webpack": "^8.1.0", @@ -35,8 +35,8 @@ "@types/markdown-it": "^14.1.2", "@types/nunjucks": "^3.2.6", "@types/qrcode": "^1.5.6", - "@types/react": "^19.2.17", - "@types/react-dom": "^19.2.3", + "@types/react": "^19.2.18", + "@types/react-dom": "^19.2.4", "@types/redux-logger": "^3.0.13", "@types/uuid": "^11.0.0", "@types/webpack-env": "^1.18.8", @@ -46,14 +46,14 @@ "allotment": "^1.20.5", "autoprefixer": "^10.5.4", "browser-update": "^3.3.63", - "chalk": "^5.6.2", + "chalk": "^6.0.0", "classnames": "^2.5.1", "clean-webpack-plugin": "^4.0.0", "clipboard": "^2.0.11", "copy-webpack-plugin": "^14.0.0", "cordis": "4.0.0-rc.4", - "core-js": "^3.49.0", - "core-js-compat": "^3.49.0", + "core-js": "^3.50.0", + "core-js-compat": "^3.50.0", "css-loader": "^7.1.4", "diff": "^9.0.0", "diff-dom": "^5.2.1", @@ -68,7 +68,7 @@ "jquery.transit": "^0.9.12", "mantine-contextmenu": "^9.4.0", "matchmedia-polyfill": "^0.3.2", - "md-editor-rt": "^6.5.4", + "md-editor-rt": "^6.5.6", "mini-css-extract-plugin": "^2.10.2", "moment": "^2.30.1", "monaco-editor": "0.52.2", @@ -76,7 +76,7 @@ "monaco-editor-webpack-plugin": "^7.1.1", "monaco-themes": "0.4.7", "monaco-yaml": "5.4.1", - "nanoid": "^6.0.0", + "nanoid": "^6.0.1", "normalize.css": "^8.0.1", "nprogress": "^0.2.0", "p-queue": "^9.3.3", @@ -99,8 +99,8 @@ "redux-promise-middleware": "^6.2.0", "redux-thunk": "^3.1.0", "rupture": "^0.7.1", - "sass": "^1.101.7", - "sass-loader": "^16.0.8", + "sass": "^1.102.0", + "sass-loader": "^17.0.0", "schemastery": "^3.18.0", "shorty.js": "^1.0.1", "sticky-kit": "^1.1.3", @@ -114,7 +114,7 @@ "timeago.js": "^4.0.2", "ts-loader": "^9.6.2", "web-streams-polyfill": "^4.3.0", - "webpack": "^5.109.0", + "webpack": "^5.109.2", "webpack-bundle-analyzer": "^5.3.1", "webpack-dev-server": "^6.0.0", "webpack-manifest-plugin": "^6.0.1", @@ -127,13 +127,13 @@ "esbuild": "0.25.2", "fs-extra": "^11.4.0", "html-to-text": "^10.0.0", - "js-yaml": "^5.2.2", + "js-yaml": "^5.2.3", "jsesc": "^3.1.0", - "katex": "^0.18.1", + "katex": "^0.18.2", "lodash": "^4.18.1", - "markdown-it": "^14.3.0", + "markdown-it": "^15.0.0", "markdown-it-anchor": "^9.2.1", - "markdown-it-attrs": "^5.0.0", + "markdown-it-attrs": "^5.0.1", "markdown-it-footnote": "^4.0.0", "markdown-it-imsize": "^2.0.1", "markdown-it-mark": "^4.0.0", diff --git a/packages/ui-default/pages/contest_balloon.page.tsx b/packages/ui-default/pages/contest_balloon.page.tsx index 2a7f2891f..8b85bf75f 100644 --- a/packages/ui-default/pages/contest_balloon.page.tsx +++ b/packages/ui-default/pages/contest_balloon.page.tsx @@ -1,6 +1,6 @@ /* eslint-disable react-refresh/only-export-components */ import { getAlphabeticId } from '@hydrooj/utils/lib/common'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import React from 'react'; import { HexColorInput, HexColorPicker } from 'react-colorful'; import { createPortal } from 'react-dom'; diff --git a/packages/ui-default/pages/problem_config.page.tsx b/packages/ui-default/pages/problem_config.page.tsx index ba8ab02d2..5c8437d3f 100644 --- a/packages/ui-default/pages/problem_config.page.tsx +++ b/packages/ui-default/pages/problem_config.page.tsx @@ -1,7 +1,7 @@ import { normalizeSubtasks, readSubtasksFromFiles, SubtaskType } from '@hydrooj/common'; import { MantineProvider } from '@mantine/core'; import $ from 'jquery'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import React from 'react'; import { createRoot } from 'react-dom/client'; import { confirm, prompt } from 'vj/components/dialog/index'; diff --git a/packages/ui-default/pages/problem_detail.page.tsx b/packages/ui-default/pages/problem_detail.page.tsx index d1053e5b6..2bea3a643 100644 --- a/packages/ui-default/pages/problem_detail.page.tsx +++ b/packages/ui-default/pages/problem_detail.page.tsx @@ -1,5 +1,5 @@ import $ from 'jquery'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import React from 'react'; import { createRoot } from 'react-dom/client'; import { confirm } from 'vj/components/dialog'; diff --git a/packages/ui-next/package.json b/packages/ui-next/package.json index 9f3c5261c..bc5f9a38a 100644 --- a/packages/ui-next/package.json +++ b/packages/ui-next/package.json @@ -29,15 +29,15 @@ "esbuild": "0.25.2", "is-relative-url": "^4.1.0", "path-to-regexp": "^8.4.2", - "simple-git": "^3.36.0", "react": "^19.2.8", - "react-dom": "^19.2.8" + "react-dom": "^19.2.8", + "simple-git": "^3.36.0" }, "devDependencies": { - "@types/react": "^19.2.17", - "@types/react-dom": "^19.2.3", - "@vitejs/plugin-react": "^6.0.4", + "@types/react": "^19.2.18", + "@types/react-dom": "^19.2.4", + "@vitejs/plugin-react": "^6.0.5", "koa2-connect": "^1.0.2", - "vite": "^8.1.5" + "vite": "^8.2.1" } } diff --git a/packages/vjudge/package.json b/packages/vjudge/package.json index a46077de7..664c457ee 100644 --- a/packages/vjudge/package.json +++ b/packages/vjudge/package.json @@ -9,12 +9,12 @@ "preferUnplugged": true, "dependencies": { "@hydrooj/utils": "workspace:^", - "jsdom": "^29.1.1", + "jsdom": "^30.0.1", "superagent-charset": "^1.2.0", "superagent-proxy": "^3.0.0" }, "devDependencies": { - "@types/jsdom": "^28.0.3", + "@types/jsdom": "^30.0.0", "@types/superagent-proxy": "^3.0.4" } } diff --git a/packages/vjudge/src/providers/codeforces.ts b/packages/vjudge/src/providers/codeforces.ts index 02b85e592..9b6f80291 100644 --- a/packages/vjudge/src/providers/codeforces.ts +++ b/packages/vjudge/src/providers/codeforces.ts @@ -1,6 +1,6 @@ /* eslint-disable no-await-in-loop */ import { PassThrough } from 'stream'; -import yaml from 'js-yaml'; +import * as yaml from 'js-yaml'; import { JSDOM } from 'jsdom'; import { buildContent, Logger, randomstring, sleep, STATUS,