upgrade deps

This commit is contained in:
undefined committed 2026-08-09 07:28:40 +08:00
1 parent f29971a30d
commit fc67389b49
30 files changed
+70 -70

No files matched your search

+1 -1
View File
@@ -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;
+5 -5
View File
@@ -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"
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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"
+3 -3
View File
@@ -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",
+1 -1
View File
@@ -1,4 +1,4 @@
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
export interface LangConfig {
disabled?: boolean;
@@ -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';
+3 -3
View File
@@ -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": "*",
+1 -1
View File
@@ -6,7 +6,7 @@
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0-or-later",
"dependencies": {
"maxmind": "^5.0.6"
"maxmind": "^5.0.7"
},
"preferUnplugged": true
}
+2 -2
View File
@@ -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",
+8 -8
View File
@@ -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",
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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';
+2 -2
View File
@@ -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"
}
}
@@ -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';
@@ -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';
+18 -18
View File
@@ -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",
@@ -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';
@@ -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';
@@ -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';
+6 -6
View File
@@ -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"
}
}
+2 -2
View File
@@ -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"
}
}
+1 -1
View File
@@ -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,