diff --git a/package.json b/package.json index 4297eb22f..4704a622d 100644 --- a/package.json +++ b/package.json @@ -33,9 +33,9 @@ "devDependencies": { "@simplewebauthn/typescript-types": "7.4.0", "@types/autocannon": "^7.12.5", - "@types/chai": "^4", + "@types/chai": "^4.3.11", "@types/cross-spawn": "^6.0.6", - "@types/node": "^20.10.0", + "@types/node": "^20.10.4", "@types/semver": "^7.5.6", "@types/supertest": "^2.0.16", "autocannon": "^7.14.0", @@ -45,21 +45,21 @@ "cross-env": "^7.0.3", "cross-spawn": "^7.0.3", "esbuild": "0.19.7", - "eslint": "^8.54.0", + "eslint": "^8.55.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-import-resolver-webpack": "^0.13.8", - "fs-extra": "^11.1.1", + "fs-extra": "^11.2.0", "globby": "14.0.0", "inspectpack": "^4.7.1", - "mongodb": "^5.9.1", - "mongodb-memory-server": "^9.1.1", + "mongodb": "^5.9.2", + "mongodb-memory-server": "^9.1.3", "nyc": "^15.1.0", "ora": "^7.0.1", "package-json": "^8.1.1", "semver": "^7.5.4", "simple-git": "^3.21.0", "supertest": "^6.3.3", - "typescript": "^5.3.2", + "typescript": "^5.3.3", "wtfnode": "^0.9.1" } } diff --git a/packages/elastic/package.json b/packages/elastic/package.json index e1bcea5c8..6eafa7d5f 100644 --- a/packages/elastic/package.json +++ b/packages/elastic/package.json @@ -6,6 +6,6 @@ "author": "undefined ", "license": "AGPL-3.0-or-later", "dependencies": { - "@elastic/elasticsearch": "^8.10.0" + "@elastic/elasticsearch": "^8.11.0" } } diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 97ac4767c..b19ac171e 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -4,8 +4,8 @@ "license": "MIT", "main": "react.yaml", "dependencies": { - "@typescript-eslint/eslint-plugin": "^6.12.0", - "@typescript-eslint/parser": "^6.12.0", + "@typescript-eslint/eslint-plugin": "^6.14.0", + "@typescript-eslint/parser": "^6.14.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.1.0", "eslint-plugin-github": "^4.10.1", diff --git a/packages/geoip/package.json b/packages/geoip/package.json index 78a64c0a3..b2523401d 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": "^4.3.17" + "maxmind": "^4.3.18" }, "preferUnplugged": true, "scripts": { diff --git a/packages/hydrojudge/package.json b/packages/hydrojudge/package.json index a0ae0aa06..21773bde0 100644 --- a/packages/hydrojudge/package.json +++ b/packages/hydrojudge/package.json @@ -8,13 +8,13 @@ "dependencies": { "@hydrooj/utils": "workspace:*", "cac": "^6.7.14", - "mongodb": "^5.9.1", - "p-queue": "^7.4.1", - "schemastery": "^3.14.1", + "mongodb": "^5.9.2", + "p-queue": "^8.0.1", + "schemastery": "^3.14.2", "semver": "^7.5.4", "shell-quote": "^1.8.1", "superagent": "^8.1.2", - "ws": "^8.14.2" + "ws": "^8.15.1" }, "preferUnplugged": true, "license": "AGPL-3.0-or-later", diff --git a/packages/hydrooj/package.json b/packages/hydrooj/package.json index 24b48fd4f..58f17f75e 100644 --- a/packages/hydrooj/package.json +++ b/packages/hydrooj/package.json @@ -12,11 +12,11 @@ }, "preferUnplugged": true, "dependencies": { - "@aws-sdk/client-s3": "3.456.0", - "@aws-sdk/lib-storage": "3.456.0", + "@aws-sdk/client-s3": "3.473.0", + "@aws-sdk/lib-storage": "3.473.0", "@aws-sdk/middleware-endpoint": "3.374.0", - "@aws-sdk/s3-presigned-post": "3.456.0", - "@aws-sdk/s3-request-presigner": "3.456.0", + "@aws-sdk/s3-presigned-post": "3.473.0", + "@aws-sdk/s3-request-presigner": "3.473.0", "@graphql-tools/schema": "^10.0.2", "@hydrooj/utils": "workspace:*", "@simplewebauthn/server": "7.4.0", @@ -26,7 +26,7 @@ "detect-browser": "^5.3.0", "emoji-regex": "^10.3.0", "emojis-list": "2.1.0", - "fs-extra": "^11.1.1", + "fs-extra": "^11.2.0", "graphql": "^16.8.1", "graphql-scalars": "^1.22.4", "js-yaml": "^4.1.0", @@ -40,22 +40,22 @@ "lru-cache": "^10.1.0", "mime-types": "^2.1.35", "moment-timezone": "^0.5.43", - "mongodb": "^5.9.1", - "nanoid": "^5.0.3", + "mongodb": "^5.9.2", + "nanoid": "^5.0.4", "nodemailer": "^6.9.7", "notp": "^2.0.3", - "p-queue": "^7.4.1", + "p-queue": "^8.0.1", "path-to-regexp": "^6.2.1", "require-resolve-hook": "^1.1.0", "sanitize-filename": "^1.6.3", "saslprep": "^1.0.3", - "schemastery": "^3.14.1", + "schemastery": "^3.14.2", "semver": "^7.5.4", "serialize-javascript": "^6.0.1", "superagent": "^8.1.2", "tar": "^6.2.0", "thirty-two": "^1.0.2", - "ws": "^8.14.2" + "ws": "^8.15.1" }, "devDependencies": { "@types/adm-zip": "^0.4.34", @@ -72,7 +72,7 @@ "@types/saslprep": "^1.0.3", "@types/semver": "^7.5.6", "@types/serialize-javascript": "^5.0.4", - "@types/superagent": "^4.1.22", + "@types/superagent": "^4.1.24", "@types/tar": "^6.1.10", "moment": "^2.29.4" } diff --git a/packages/migrate/package.json b/packages/migrate/package.json index b9e7c9764..f6a2e017a 100644 --- a/packages/migrate/package.json +++ b/packages/migrate/package.json @@ -7,7 +7,7 @@ "license": "AGPL-3.0-or-later", "dependencies": { "mariadb": "^3.2.2", - "mongodb": "^5.9.1", + "mongodb": "^5.9.2", "turndown": "^7.1.2", "xml2js": "^0.6.2" }, diff --git a/packages/ui-default/build/config/webpack.ts b/packages/ui-default/build/config/webpack.ts index edbf7e81f..4a140f63c 100644 --- a/packages/ui-default/build/config/webpack.ts +++ b/packages/ui-default/build/config/webpack.ts @@ -17,6 +17,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?: return { loader: 'esbuild-loader', options: { + tsconfigRaw: '{"compilerOptions":{"experimentalDecorators":true}}', loader: 'tsx', target: 'es2015', sourcemap: true, diff --git a/packages/ui-default/package.json b/packages/ui-default/package.json index 96cab4c47..f915fd060 100644 --- a/packages/ui-default/package.json +++ b/packages/ui-default/package.json @@ -14,15 +14,15 @@ "cli": false }, "devDependencies": { - "@blueprintjs/core": "^5.7.1", - "@fontsource/dm-mono": "^5.0.17", - "@fontsource/fira-code": "^5.0.15", - "@fontsource/inconsolata": "^5.0.15", - "@fontsource/jetbrains-mono": "^5.0.17", + "@blueprintjs/core": "^5.7.2", + "@fontsource/dm-mono": "^5.0.18", + "@fontsource/fira-code": "^5.0.16", + "@fontsource/inconsolata": "^5.0.16", + "@fontsource/jetbrains-mono": "^5.0.18", "@fontsource/pt-mono": "^5.0.8", - "@fontsource/roboto-mono": "^5.0.15", - "@fontsource/source-code-pro": "^5.0.15", - "@fontsource/ubuntu-mono": "^5.0.17", + "@fontsource/roboto-mono": "^5.0.16", + "@fontsource/source-code-pro": "^5.0.16", + "@fontsource/ubuntu-mono": "^5.0.18", "@hydrooj/utils": "workspace:*", "@simplewebauthn/browser": "7.4.0", "@svgr/webpack": "^8.1.0", @@ -33,11 +33,11 @@ "@types/markdown-it": "^13.0.7", "@types/pickadate": "^3.5.35", "@types/qrcode": "^1.5.5", - "@types/react": "^18.2.38", + "@types/react": "^18.2.45", "@types/react-dom": "^18.2.17", "@types/redux-logger": "^3.0.12", - "@types/serviceworker": "^0.0.77", - "@types/sharedworker": "^0.0.106", + "@types/serviceworker": "^0.0.80", + "@types/sharedworker": "^0.0.109", "@types/webpack-env": "^1.18.4", "@vscode/codicons": "^0.0.35", "ajv": "^8.12.0", @@ -59,7 +59,8 @@ "esbuild-loader": "^4.0.2", "fancy-log": "^2.0.0", "flatpickr": "^4.6.13", - "graphiql": "^2.4.7", + "graphiql": "^3.0.10", + "graphql-ws": "^5.14.2", "gulp": "^4.0.2", "gulp-iconfont": "^11.0.1", "gulp-if": "^3.0.0", @@ -77,10 +78,10 @@ "monaco-editor-webpack-plugin": "^7.1.0", "monaco-themes": "^0.4.4", "monaco-yaml": "^4.0.4", - "nanoid": "^5.0.3", + "nanoid": "^5.0.4", "normalize.css": "^8.0.1", "nprogress": "^0.2.0", - "p-queue": "^7.4.1", + "p-queue": "^8.0.1", "pickadate": "^3.6.4", "plugin-error": "^2.0.1", "postcss-loader": "7.3.3", @@ -96,18 +97,18 @@ "react-dnd-html5-backend": "^16.0.1", "react-dom": "^18.2.0", "react-query": "^3.39.3", - "react-redux": "^8.1.3", + "react-redux": "^9.0.4", "reconnecting-websocket": "^4.4.0", - "redux": "^4.2.1", + "redux": "^5.0.0", "redux-logger": "^3.0.6", "redux-promise-middleware": "^6.1.3", - "redux-thunk": "^2.4.2", + "redux-thunk": "^3.1.0", "rupture": "^0.7.1", - "schemastery": "^3.14.1", + "schemastery": "^3.14.2", "slideout": "^1.0.1", "sticky-kit": "^1.1.3", "style-loader": "^3.3.3", - "stylus": "^0.61.0", + "stylus": "^0.62.0", "stylus-loader": "7.1.2", "tether": "1.4.7", "tether-drop": "^1.4.2", @@ -115,7 +116,7 @@ "timeago-react": "^3.0.6", "timeago.js": "^4.0.2", "ts-loader": "^9.5.1", - "vditor": "^3.9.6", + "vditor": "^3.9.7", "vinyl-buffer": "^1.0.1", "web-streams-polyfill": "^3.2.1", "webpack": "^5.89.0", @@ -127,17 +128,17 @@ "dependencies": { "ansi_up": "^6.0.2", "esbuild": "0.19.7", - "fs-extra": "^11.1.1", + "fs-extra": "^11.2.0", "js-yaml": "^4.1.0", "jsesc": "^3.0.2", "katex": "^0.16.9", "lodash": "^4.17.21", - "markdown-it": "^13.0.2", + "markdown-it": "^14.0.0", "markdown-it-anchor": "^8.6.7", "markdown-it-attrs": "^4.1.6", - "markdown-it-footnote": "^3.0.3", + "markdown-it-footnote": "^4.0.0", "markdown-it-imsize": "^2.0.1", - "markdown-it-mark": "^3.0.1", + "markdown-it-mark": "^4.0.0", "markdown-it-merge-cells": "^2.0.0", "markdown-it-table-of-contents": "^0.6.0", "nunjucks": "^3.2.4", diff --git a/packages/ui-default/utils/loadReactRedux.ts b/packages/ui-default/utils/loadReactRedux.ts index 43d2a3f0e..3236d9f5e 100644 --- a/packages/ui-default/utils/loadReactRedux.ts +++ b/packages/ui-default/utils/loadReactRedux.ts @@ -1,9 +1,9 @@ import React from 'react'; import { createRoot } from 'react-dom/client'; -import type { Action, AnyAction, Reducer } from 'redux'; +import type { Action, Reducer, UnknownAction } from 'redux'; -export default async function loadReactRedux(storeReducer: Reducer) { - const [{ Provider }, { createStore, applyMiddleware }, { default: reduxThunk }, { default: reduxPromise }] = await Promise.all([ +export default async function loadReactRedux(storeReducer: Reducer) { + const [{ Provider }, { createStore, applyMiddleware }, { thunk: reduxThunk }, { default: reduxPromise }] = await Promise.all([ import('react-redux'), import('redux'), import('redux-thunk'), diff --git a/packages/utils/package.json b/packages/utils/package.json index a8fd9db9a..bb2c2e8ec 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -10,14 +10,14 @@ "dependencies": { "cac": "^6.7.14", "esbuild": "0.19.7", - "fs-extra": "^11.1.1", + "fs-extra": "^11.2.0", "js-yaml": "^4.1.0", "moment-timezone": "^0.5.43", - "mongodb": "^5.9.1", + "mongodb": "^5.9.2", "reggol": "^1.6.3", "search-query-parser": "^1.6.0", "source-map-support": "^0.5.21", - "systeminformation": "^5.21.18" + "systeminformation": "^5.21.20" }, "devDependencies": { "@types/fs-extra": "^11.0.4", diff --git a/packages/vjudge/package.json b/packages/vjudge/package.json index bbeb8c0ef..44638f87b 100644 --- a/packages/vjudge/package.json +++ b/packages/vjudge/package.json @@ -9,7 +9,7 @@ "preferUnplugged": true, "dependencies": { "@hydrooj/utils": "workspace:*", - "jsdom": "^22.1.0", + "jsdom": "^23.0.1", "superagent-charset": "^1.2.0", "superagent-proxy": "^3.0.0" },