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:
26 files changed
+60
-74
No files matched your search
@@ -5,16 +5,16 @@
|
|||||||
"main": "base.mjs",
|
"main": "base.mjs",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro",
|
"repository": "https://github.com/hydro-dev/Hydro",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antfu/eslint-config": "^7.2.0",
|
"@antfu/eslint-config": "^7.4.3",
|
||||||
"@eslint-react/eslint-plugin": "^2.7.4",
|
"@eslint-react/eslint-plugin": "^2.13.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
||||||
"@typescript-eslint/parser": "^8.53.1",
|
"@typescript-eslint/parser": "^8.56.0",
|
||||||
"eslint-plugin-de-morgan": "^2.0.0",
|
"eslint-plugin-de-morgan": "^2.0.0",
|
||||||
"eslint-plugin-github": "^6.0.0",
|
"eslint-plugin-github": "^6.0.0",
|
||||||
"eslint-plugin-react-hooks": "^7.0.1",
|
"eslint-plugin-react-hooks": "^7.0.1",
|
||||||
"eslint-plugin-react-refresh": "^0.4.26",
|
"eslint-plugin-react-refresh": "^0.5.0",
|
||||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||||
"globals": "^16.5.0"
|
"globals": "^17.3.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": ">= 9"
|
"eslint": ">= 9"
|
||||||
|
|||||||
@@ -10,12 +10,12 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
"@koa/router": "^15.3.0",
|
"@koa/router": "^15.3.0",
|
||||||
"@mongodb-js/saslprep": "^1.4.5",
|
"@mongodb-js/saslprep": "^1.4.6",
|
||||||
"emoji-regex": "^10.6.0",
|
"emoji-regex": "^10.6.0",
|
||||||
"fs-extra": "^11.3.3",
|
"fs-extra": "^11.3.3",
|
||||||
"koa": "^3.1.1",
|
"koa": "^3.1.1",
|
||||||
"koa-body": "^7.0.1",
|
"koa-body": "^7.0.1",
|
||||||
"koa-compress": "^5.1.1",
|
"koa-compress": "5.1.1",
|
||||||
"path-to-regexp": "^8.3.0",
|
"path-to-regexp": "^8.3.0",
|
||||||
"sanitize-filename": "^1.6.3",
|
"sanitize-filename": "^1.6.3",
|
||||||
"schemastery": "^3.17.2",
|
"schemastery": "^3.17.2",
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
"reggol": "^2.1.0",
|
"reggol": "^2.1.0",
|
||||||
"search-query-parser": "^1.6.0",
|
"search-query-parser": "^1.6.0",
|
||||||
"systeminformation": "^5.30.6"
|
"systeminformation": "^5.31.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "^11.0.4"
|
"@types/fs-extra": "^11.0.4"
|
||||||
|
|||||||
+6
-6
@@ -35,7 +35,7 @@
|
|||||||
"@types/autocannon": "^7.12.7",
|
"@types/autocannon": "^7.12.7",
|
||||||
"@types/chai": "^5.2.3",
|
"@types/chai": "^5.2.3",
|
||||||
"@types/cross-spawn": "^6.0.6",
|
"@types/cross-spawn": "^6.0.6",
|
||||||
"@types/node": "24.10.7",
|
"@types/node": "24.10.13",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"autocannon": "^8.0.0",
|
"autocannon": "^8.0.0",
|
||||||
"cac": "^6.7.14",
|
"cac": "^6.7.14",
|
||||||
@@ -47,16 +47,16 @@
|
|||||||
"eslint-import-resolver-typescript": "^4.4.4",
|
"eslint-import-resolver-typescript": "^4.4.4",
|
||||||
"eslint-import-resolver-webpack": "^0.13.10",
|
"eslint-import-resolver-webpack": "^0.13.10",
|
||||||
"fs-extra": "^11.3.3",
|
"fs-extra": "^11.3.3",
|
||||||
"globals": "^16.5.0",
|
"globals": "^17.3.0",
|
||||||
"globby": "~14.0.2",
|
"globby": "~14.0.2",
|
||||||
"inspectpack": "^4.7.1",
|
"inspectpack": "^4.7.1",
|
||||||
"mongodb-memory-server": "11.0.1",
|
"mongodb-memory-server": "11.0.1",
|
||||||
"nyc": "^17.1.0",
|
"nyc": "^17.1.0",
|
||||||
"ora": "^9.1.0",
|
"ora": "^9.3.0",
|
||||||
"oxlint": "^1.41.0",
|
"oxlint": "^1.48.0",
|
||||||
"package-json": "^10.0.1",
|
"package-json": "^10.0.1",
|
||||||
"semver": "^7.7.3",
|
"semver": "^7.7.4",
|
||||||
"simple-git": "^3.30.0",
|
"simple-git": "^3.31.1",
|
||||||
"supertest": "^7.2.2",
|
"supertest": "^7.2.2",
|
||||||
"supports-hyperlinks": "^4.4.0",
|
"supports-hyperlinks": "^4.4.0",
|
||||||
"typescript": "5.8.3",
|
"typescript": "5.8.3",
|
||||||
|
|||||||
@@ -11,6 +11,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
"semver": "^7.7.3"
|
"semver": "^7.7.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@elastic/elasticsearch": "^9.2.0"
|
"@elastic/elasticsearch": "9.2.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"hydrooj": ">=5.0.0-alpha.1"
|
"hydrooj": ">=5.0.0-alpha.1"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"maxmind": "^5.0.3"
|
"maxmind": "^5.0.5"
|
||||||
},
|
},
|
||||||
"preferUnplugged": true
|
"preferUnplugged": true
|
||||||
}
|
}
|
||||||
@@ -9,13 +9,13 @@
|
|||||||
"@hydrooj/common": "workspace:^",
|
"@hydrooj/common": "workspace:^",
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
"@opentelemetry/api": "^1.9.0",
|
"@opentelemetry/api": "^1.9.0",
|
||||||
"@opentelemetry/exporter-trace-otlp-http": "^0.211.0",
|
"@opentelemetry/exporter-trace-otlp-http": "^0.212.0",
|
||||||
"@opentelemetry/sdk-node": "^0.211.0",
|
"@opentelemetry/sdk-node": "^0.212.0",
|
||||||
"@zip.js/zip.js": "^2.8.15",
|
"@zip.js/zip.js": "^2.8.21",
|
||||||
"cac": "^6.7.14",
|
"cac": "^6.7.14",
|
||||||
"p-queue": "^9.1.0",
|
"p-queue": "^9.1.0",
|
||||||
"schemastery": "^3.17.2",
|
"schemastery": "^3.17.2",
|
||||||
"semver": "^7.7.3",
|
"semver": "^7.7.4",
|
||||||
"shell-quote": "^1.8.3",
|
"shell-quote": "^1.8.3",
|
||||||
"superagent": "^10.3.0",
|
"superagent": "^10.3.0",
|
||||||
"ws": "^8.19.0"
|
"ws": "^8.19.0"
|
||||||
|
|||||||
Vendored
+1
-1
Submodule packages/hydrojudge/vendor/testlib updated: 9ecb11126c...2d20123984.
@@ -16,15 +16,15 @@
|
|||||||
"@aws-sdk/lib-storage": "3.726.1",
|
"@aws-sdk/lib-storage": "3.726.1",
|
||||||
"@aws-sdk/s3-presigned-post": "3.726.1",
|
"@aws-sdk/s3-presigned-post": "3.726.1",
|
||||||
"@aws-sdk/s3-request-presigner": "3.726.1",
|
"@aws-sdk/s3-request-presigner": "3.726.1",
|
||||||
"@babel/code-frame": "^7.28.6",
|
"@babel/code-frame": "^7.29.0",
|
||||||
"@cordisjs/plugin-timer": "1.1.1",
|
"@cordisjs/plugin-timer": "1.1.1",
|
||||||
"@hydrooj/common": "workspace:^",
|
"@hydrooj/common": "workspace:^",
|
||||||
"@hydrooj/framework": "workspace:^",
|
"@hydrooj/framework": "workspace:^",
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
"@mongodb-js/saslprep": "^1.4.5",
|
"@mongodb-js/saslprep": "^1.4.6",
|
||||||
"@simplewebauthn/server": "13.2.2",
|
"@simplewebauthn/server": "13.2.2",
|
||||||
"@undefined-moe/require-resolve-hook": "^1.1.0",
|
"@undefined-moe/require-resolve-hook": "^1.1.0",
|
||||||
"@zip.js/zip.js": "^2.8.15",
|
"@zip.js/zip.js": "^2.8.21",
|
||||||
"adm-zip": "0.5.16",
|
"adm-zip": "0.5.16",
|
||||||
"cac": "^6.7.14",
|
"cac": "^6.7.14",
|
||||||
"cordis": "4.0.0-beta.5",
|
"cordis": "4.0.0-beta.5",
|
||||||
@@ -36,18 +36,18 @@
|
|||||||
"koa-proxies": "^0.12.4",
|
"koa-proxies": "^0.12.4",
|
||||||
"koa-static-cache": "^5.1.4",
|
"koa-static-cache": "^5.1.4",
|
||||||
"lodash": "^4.17.23",
|
"lodash": "^4.17.23",
|
||||||
"lru-cache": "^11.2.4",
|
"lru-cache": "^11.2.6",
|
||||||
"mime-types": "^3.0.2",
|
"mime-types": "^3.0.2",
|
||||||
"moment-timezone": "^0.6.0",
|
"moment-timezone": "^0.6.0",
|
||||||
"mongodb": "^7.0.0",
|
"mongodb": "^7.1.0",
|
||||||
"mongodb-uri": "^0.9.7",
|
"mongodb-uri": "^0.9.7",
|
||||||
"nanoid": "^5.1.6",
|
"nanoid": "^5.1.6",
|
||||||
"nodemailer": "^7.0.12",
|
"nodemailer": "^8.0.1",
|
||||||
"notp": "^2.0.3",
|
"notp": "^2.0.3",
|
||||||
"p-queue": "^9.1.0",
|
"p-queue": "^9.1.0",
|
||||||
"sanitize-filename": "^1.6.3",
|
"sanitize-filename": "^1.6.3",
|
||||||
"schemastery": "^3.17.2",
|
"schemastery": "^3.17.2",
|
||||||
"semver": "^7.7.3",
|
"semver": "^7.7.4",
|
||||||
"shorty.js": "^1.0.1",
|
"shorty.js": "^1.0.1",
|
||||||
"superagent": "^10.3.0",
|
"superagent": "^10.3.0",
|
||||||
"tar": "6.2.1",
|
"tar": "6.2.1",
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
"@types/lodash": "^4.17.23",
|
"@types/lodash": "^4.17.23",
|
||||||
"@types/mime-types": "^3.0.1",
|
"@types/mime-types": "^3.0.1",
|
||||||
"@types/mongodb-uri": "^0.9.4",
|
"@types/mongodb-uri": "^0.9.4",
|
||||||
"@types/nodemailer": "^7.0.5",
|
"@types/nodemailer": "^7.0.10",
|
||||||
"@types/notp": "^2.0.5",
|
"@types/notp": "^2.0.5",
|
||||||
"@types/semver": "^7.7.1",
|
"@types/semver": "^7.7.1",
|
||||||
"@types/superagent": "^8.1.9",
|
"@types/superagent": "^8.1.9",
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bcryptjs": "^3.0.3",
|
"bcryptjs": "^3.0.3",
|
||||||
"mariadb": "^3.4.5",
|
"mariadb": "3.4.5",
|
||||||
"mongodb": "^7.0.0",
|
"mongodb": "^7.1.0",
|
||||||
"turndown": "^7.2.2",
|
"turndown": "^7.2.2",
|
||||||
"xml2js": "^0.6.2"
|
"xml2js": "^0.6.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"repository": "https://github.com/hydro-dev/Hydro",
|
"repository": "https://github.com/hydro-dev/Hydro",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@react-spring/web": "^10.0.3",
|
"@react-spring/web": "^10.0.3",
|
||||||
"lru-cache": "^11.2.4",
|
"lru-cache": "^11.2.6",
|
||||||
"react-use": "^17.6.0"
|
"react-use": "^17.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
import 'jquery-scroll-lock';
|
|
||||||
import 'jquery.easing';
|
import 'jquery.easing';
|
||||||
|
|
||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
@@ -16,7 +15,6 @@ const mapStateToProps = (state) => ({
|
|||||||
: null,
|
: null,
|
||||||
});
|
});
|
||||||
|
|
||||||
// eslint-disable-next-line react-refresh/only-export-components
|
|
||||||
export default connect(mapStateToProps)(class MessagePadDialogueContentContainer extends React.PureComponent {
|
export default connect(mapStateToProps)(class MessagePadDialogueContentContainer extends React.PureComponent {
|
||||||
componentDidUpdate(prevProps) {
|
componentDidUpdate(prevProps) {
|
||||||
const node = this.state.ref;
|
const node = this.state.ref;
|
||||||
@@ -24,13 +22,12 @@ export default connect(mapStateToProps)(class MessagePadDialogueContentContainer
|
|||||||
if (this.props.activeId !== prevProps.activeId) {
|
if (this.props.activeId !== prevProps.activeId) {
|
||||||
this.scrollToBottom = true;
|
this.scrollToBottom = true;
|
||||||
this.scrollWithAnimation = false;
|
this.scrollWithAnimation = false;
|
||||||
} else if (node.scrollTop + node.offsetHeight === node.scrollHeight) {
|
} else if (Math.abs(node.scrollTop + node.offsetHeight - node.scrollHeight) < 200) {
|
||||||
this.scrollToBottom = true;
|
this.scrollToBottom = true;
|
||||||
this.scrollWithAnimation = true;
|
this.scrollWithAnimation = true;
|
||||||
} else this.scrollToBottom = false;
|
} else this.scrollToBottom = false;
|
||||||
|
|
||||||
if (!node) return;
|
if (!node) return;
|
||||||
$(this.state.ref).scrollLock({ strict: true });
|
|
||||||
if (this.scrollToBottom) {
|
if (this.scrollToBottom) {
|
||||||
const targetScrollTop = node.scrollHeight - node.offsetHeight;
|
const targetScrollTop = node.scrollHeight - node.offsetHeight;
|
||||||
if (this.scrollWithAnimation) {
|
if (this.scrollWithAnimation) {
|
||||||
@@ -98,7 +95,7 @@ export default connect(mapStateToProps)(class MessagePadDialogueContentContainer
|
|||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<ol className="messagepad__content" ref={(ref) => { this.setState({ ...this.state, ref }); }}>
|
<ol className="messagepad__content" style={{ overscrollBehavior: 'contain' }} ref={(ref) => { this.setState({ ...this.state, ref }); }}>
|
||||||
{this.renderInner()}
|
{this.renderInner()}
|
||||||
</ol>
|
</ol>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import 'jquery-scroll-lock';
|
|
||||||
|
|
||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
@@ -21,7 +19,6 @@ const mapDispatchToProps = (dispatch) => ({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// eslint-disable-next-line react-refresh/only-export-components
|
|
||||||
export default connect(mapStateToProps, mapDispatchToProps)(class MessagePadDialogueListContainer extends React.PureComponent {
|
export default connect(mapStateToProps, mapDispatchToProps)(class MessagePadDialogueListContainer extends React.PureComponent {
|
||||||
render() {
|
render() {
|
||||||
const orderedDialogues = _.orderBy(
|
const orderedDialogues = _.orderBy(
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ const mapDispatchToProps = (dispatch) => ({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// eslint-disable-next-line react-refresh/only-export-components
|
|
||||||
export default connect(mapStateToProps, mapDispatchToProps)(class MessagePadInputContainer extends React.PureComponent {
|
export default connect(mapStateToProps, mapDispatchToProps)(class MessagePadInputContainer extends React.PureComponent {
|
||||||
static contextTypes = {
|
static contextTypes = {
|
||||||
store: PropTypes.object,
|
store: PropTypes.object,
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ const mapDispatchToProps = (dispatch) => ({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// eslint-disable-next-line react-refresh/only-export-components
|
|
||||||
export default connect(null, mapDispatchToProps)(class MessagePadContainer extends React.PureComponent {
|
export default connect(null, mapDispatchToProps)(class MessagePadContainer extends React.PureComponent {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
onAdd: PropTypes.func.isRequired,
|
onAdd: PropTypes.func.isRequired,
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
/* eslint-disable react-refresh/only-export-components */
|
|
||||||
import type { ProblemConfigFile, TestCaseConfig } from 'hydrooj/src/interface';
|
import type { ProblemConfigFile, TestCaseConfig } from 'hydrooj/src/interface';
|
||||||
import { diffLines } from 'diff';
|
import { diffLines } from 'diff';
|
||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ export function SelectionManager(props: SelectionManagerProps) {
|
|||||||
const cleanupSelection = React.useCallback(() => {
|
const cleanupSelection = React.useCallback(() => {
|
||||||
selecting.current = false;
|
selecting.current = false;
|
||||||
document.body.removeEventListener('mousemove', handleMouseMove);
|
document.body.removeEventListener('mousemove', handleMouseMove);
|
||||||
|
// eslint-disable-next-line ts/no-use-before-define
|
||||||
document.body.removeEventListener('mouseup', handleMouseUp);
|
document.body.removeEventListener('mouseup', handleMouseUp);
|
||||||
$('#divSelectArea').remove();
|
$('#divSelectArea').remove();
|
||||||
$('body').css('cursor', 'default');
|
$('body').css('cursor', 'default');
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ interface ScratchpadOptions {
|
|||||||
commandDone?: () => void;
|
commandDone?: () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line react-refresh/only-export-components
|
|
||||||
export default connect((state: any) => ({
|
export default connect((state: any) => ({
|
||||||
value: state.editor.code,
|
value: state.editor.code,
|
||||||
language: window.LANGS[state.editor.lang]?.monaco,
|
language: window.LANGS[state.editor.lang]?.monaco,
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ const mapDispatchToProps = (dispatch) => ({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// eslint-disable-next-line react-refresh/only-export-components
|
|
||||||
export default connect(mapStateToProps, mapDispatchToProps)(class ScratchpadPretestContainer extends React.PureComponent {
|
export default connect(mapStateToProps, mapDispatchToProps)(class ScratchpadPretestContainer extends React.PureComponent {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ const mapStateToProps = (state) => ({
|
|||||||
isLoading: state.ui.records.isLoading,
|
isLoading: state.ui.records.isLoading,
|
||||||
});
|
});
|
||||||
|
|
||||||
// eslint-disable-next-line react-refresh/only-export-components
|
|
||||||
export default connect(mapStateToProps)(class ScratchpadRecordsContainer extends React.PureComponent {
|
export default connect(mapStateToProps)(class ScratchpadRecordsContainer extends React.PureComponent {
|
||||||
render() {
|
render() {
|
||||||
const cn = classNames('data-table is--full-row scratchpad__records__table', {
|
const cn = classNames('data-table is--full-row scratchpad__records__table', {
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ const mergeProps = (stateProps, dispatchProps, ownProps) => ({
|
|||||||
data: stateProps.items[ownProps.id],
|
data: stateProps.items[ownProps.id],
|
||||||
});
|
});
|
||||||
|
|
||||||
// eslint-disable-next-line react-refresh/only-export-components
|
|
||||||
export default connect(mapStateToProps, null, mergeProps)(class ScratchpadRecordsRowContainer extends React.PureComponent {
|
export default connect(mapStateToProps, null, mergeProps)(class ScratchpadRecordsRowContainer extends React.PureComponent {
|
||||||
handleRowClick(ev, id) {
|
handleRowClick(ev, id) {
|
||||||
const url = substitute(
|
const url = substitute(
|
||||||
|
|||||||
@@ -73,7 +73,6 @@ const mapDispatchToProps = (dispatch) => ({
|
|||||||
const availableLangs = getAvailableLangs(UiContext.pdoc.config.langs);
|
const availableLangs = getAvailableLangs(UiContext.pdoc.config.langs);
|
||||||
const keys = Object.keys(availableLangs);
|
const keys = Object.keys(availableLangs);
|
||||||
|
|
||||||
// eslint-disable-next-line react-refresh/only-export-components
|
|
||||||
export default connect(mapStateToProps, mapDispatchToProps)(class ScratchpadToolbarContainer extends React.PureComponent {
|
export default connect(mapStateToProps, mapDispatchToProps)(class ScratchpadToolbarContainer extends React.PureComponent {
|
||||||
static contextTypes = {
|
static contextTypes = {
|
||||||
store: PropTypes.object,
|
store: PropTypes.object,
|
||||||
|
|||||||
@@ -20,11 +20,11 @@
|
|||||||
"@fontsource/source-code-pro": "^5.2.7",
|
"@fontsource/source-code-pro": "^5.2.7",
|
||||||
"@fontsource/ubuntu-mono": "^5.2.8",
|
"@fontsource/ubuntu-mono": "^5.2.8",
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
"@mantine/core": "^8.3.13",
|
"@mantine/core": "^8.3.15",
|
||||||
"@mantine/hooks": "^8.3.13",
|
"@mantine/hooks": "^8.3.15",
|
||||||
"@mantine/notifications": "^8.3.13",
|
"@mantine/notifications": "^8.3.15",
|
||||||
"@sentry/browser": "^10.36.0",
|
"@sentry/browser": "^10.39.0",
|
||||||
"@sentry/webpack-plugin": "^4.7.0",
|
"@sentry/webpack-plugin": "^4.9.1",
|
||||||
"@simplewebauthn/browser": "13.2.2",
|
"@simplewebauthn/browser": "13.2.2",
|
||||||
"@svgr/webpack": "^8.1.0",
|
"@svgr/webpack": "^8.1.0",
|
||||||
"@types/html-to-text": "^9.0.4",
|
"@types/html-to-text": "^9.0.4",
|
||||||
@@ -36,15 +36,15 @@
|
|||||||
"@types/nunjucks": "^3.2.6",
|
"@types/nunjucks": "^3.2.6",
|
||||||
"@types/pickadate": "^3.5.35",
|
"@types/pickadate": "^3.5.35",
|
||||||
"@types/qrcode": "^1.5.6",
|
"@types/qrcode": "^1.5.6",
|
||||||
"@types/react": "^19.2.9",
|
"@types/react": "^19.2.14",
|
||||||
"@types/react-dom": "^19.2.3",
|
"@types/react-dom": "^19.2.3",
|
||||||
"@types/redux-logger": "^3.0.13",
|
"@types/redux-logger": "^3.0.13",
|
||||||
"@types/uuid": "^11.0.0",
|
"@types/uuid": "^11.0.0",
|
||||||
"@types/webpack-env": "^1.18.8",
|
"@types/webpack-env": "^1.18.8",
|
||||||
"@vscode/codicons": "^0.0.44",
|
"@vscode/codicons": "^0.0.44",
|
||||||
"ajv": "^8.17.1",
|
"ajv": "^8.18.0",
|
||||||
"allotment": "^1.20.5",
|
"allotment": "^1.20.5",
|
||||||
"autoprefixer": "^10.4.23",
|
"autoprefixer": "^10.4.24",
|
||||||
"browser-update": "^3.3.63",
|
"browser-update": "^3.3.63",
|
||||||
"chalk": "^5.6.2",
|
"chalk": "^5.6.2",
|
||||||
"classnames": "^2.5.1",
|
"classnames": "^2.5.1",
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
"cordis": "4.0.0-beta.5",
|
"cordis": "4.0.0-beta.5",
|
||||||
"core-js": "^3.48.0",
|
"core-js": "^3.48.0",
|
||||||
"core-js-compat": "^3.48.0",
|
"core-js-compat": "^3.48.0",
|
||||||
"css-loader": "^7.1.2",
|
"css-loader": "^7.1.4",
|
||||||
"diff": "^8.0.3",
|
"diff": "^8.0.3",
|
||||||
"diff-dom": "^5.2.1",
|
"diff-dom": "^5.2.1",
|
||||||
"echarts": "^6.0.0",
|
"echarts": "^6.0.0",
|
||||||
@@ -63,8 +63,7 @@
|
|||||||
"esbuild-loader": "^4.4.2",
|
"esbuild-loader": "^4.4.2",
|
||||||
"flatpickr": "^4.6.13",
|
"flatpickr": "^4.6.13",
|
||||||
"idb": "^8.0.3",
|
"idb": "^8.0.3",
|
||||||
"jquery": "^4.0.0",
|
"jquery": "^3.7.1",
|
||||||
"jquery-scroll-lock": "^3.1.3",
|
|
||||||
"jquery.easing": "^1.4.1",
|
"jquery.easing": "^1.4.1",
|
||||||
"jquery.transit": "^0.9.12",
|
"jquery.transit": "^0.9.12",
|
||||||
"mantine-contextmenu": "^8.3.13",
|
"mantine-contextmenu": "^8.3.13",
|
||||||
@@ -89,11 +88,11 @@
|
|||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"qface": "^1.4.1",
|
"qface": "^1.4.1",
|
||||||
"qrcode": "^1.5.4",
|
"qrcode": "^1.5.4",
|
||||||
"react": "^19.2.3",
|
"react": "^19.2.4",
|
||||||
"react-colorful": "^5.6.1",
|
"react-colorful": "^5.6.1",
|
||||||
"react-dnd": "^16.0.1",
|
"react-dnd": "^16.0.1",
|
||||||
"react-dnd-html5-backend": "^16.0.1",
|
"react-dnd-html5-backend": "^16.0.1",
|
||||||
"react-dom": "^19.2.3",
|
"react-dom": "^19.2.4",
|
||||||
"react-redux": "^9.2.0",
|
"react-redux": "^9.2.0",
|
||||||
"reconnecting-websocket": "^4.4.0",
|
"reconnecting-websocket": "^4.4.0",
|
||||||
"redux": "^5.0.1",
|
"redux": "^5.0.1",
|
||||||
@@ -102,7 +101,7 @@
|
|||||||
"redux-thunk": "^3.1.0",
|
"redux-thunk": "^3.1.0",
|
||||||
"rupture": "^0.7.1",
|
"rupture": "^0.7.1",
|
||||||
"sass": "^1.97.3",
|
"sass": "^1.97.3",
|
||||||
"sass-loader": "^16.0.6",
|
"sass-loader": "^16.0.7",
|
||||||
"schemastery": "^3.17.2",
|
"schemastery": "^3.17.2",
|
||||||
"shorty.js": "^1.0.1",
|
"shorty.js": "^1.0.1",
|
||||||
"slideout": "^1.0.1",
|
"slideout": "^1.0.1",
|
||||||
@@ -117,7 +116,7 @@
|
|||||||
"timeago.js": "^4.0.2",
|
"timeago.js": "^4.0.2",
|
||||||
"ts-loader": "^9.5.4",
|
"ts-loader": "^9.5.4",
|
||||||
"web-streams-polyfill": "^4.2.0",
|
"web-streams-polyfill": "^4.2.0",
|
||||||
"webpack": "^5.104.1",
|
"webpack": "^5.105.2",
|
||||||
"webpack-bundle-analyzer": "^5.2.0",
|
"webpack-bundle-analyzer": "^5.2.0",
|
||||||
"webpack-dev-server": "^5.2.3",
|
"webpack-dev-server": "^5.2.3",
|
||||||
"webpack-manifest-plugin": "^6.0.1",
|
"webpack-manifest-plugin": "^6.0.1",
|
||||||
@@ -132,9 +131,9 @@
|
|||||||
"html-to-text": "^9.0.5",
|
"html-to-text": "^9.0.5",
|
||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
"jsesc": "^3.1.0",
|
"jsesc": "^3.1.0",
|
||||||
"katex": "^0.16.27",
|
"katex": "^0.16.28",
|
||||||
"lodash": "^4.17.23",
|
"lodash": "^4.17.23",
|
||||||
"markdown-it": "^14.1.0",
|
"markdown-it": "^14.1.1",
|
||||||
"markdown-it-anchor": "^9.2.0",
|
"markdown-it-anchor": "^9.2.0",
|
||||||
"markdown-it-attrs": "^4.3.1",
|
"markdown-it-attrs": "^4.3.1",
|
||||||
"markdown-it-footnote": "^4.0.0",
|
"markdown-it-footnote": "^4.0.0",
|
||||||
|
|||||||
@@ -8,14 +8,14 @@
|
|||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vitejs/plugin-react": "^5.1.2",
|
"@vitejs/plugin-react": "^5.1.4",
|
||||||
"react": "^19.2.3",
|
"react": "^19.2.4",
|
||||||
"react-dom": "^19.2.3"
|
"react-dom": "^19.2.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "^19.2.9",
|
"@types/react": "^19.2.14",
|
||||||
"@types/react-dom": "^19.2.3",
|
"@types/react-dom": "^19.2.3",
|
||||||
"@vitejs/plugin-react-swc": "^4.2.2",
|
"@vitejs/plugin-react-swc": "^4.2.3",
|
||||||
"vite": "^8.0.0-beta.10"
|
"vite": "^8.0.0-beta.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
"jsdom": "^27.4.0",
|
"jsdom": "^28.1.0",
|
||||||
"superagent-charset": "^1.2.0",
|
"superagent-charset": "^1.2.0",
|
||||||
"superagent-proxy": "^3.0.0"
|
"superagent-proxy": "^3.0.0"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user