upgrade deps

This commit is contained in:
undefined committed 2024-02-23 07:01:14 +08:00
1 parent f8bc7b19f4
commit 5d4fdb5fc9
17 files changed
+52 -72

No files matched your search

+2 -2
View File
@@ -27,11 +27,11 @@ async function runWebpack({
hot: true,
server: https ? 'https' : 'http',
allowedHosts: 'all',
proxy: {
proxy: [{
context: (p) => p !== '/ws',
target: 'http://localhost:2333',
ws: true,
},
}],
client: {
webSocketURL: 'auto://0.0.0.0:0/ws',
},
@@ -23,7 +23,7 @@ function monitorResource(resource) {
}
}
class DOMAttachedObject {
export default class DOMAttachedObject {
static uniqueIdCounter = 0;
static DOMAttachKey: string;
static DOMAttachSelector: string;
@@ -127,5 +127,3 @@ class DOMAttachedObject {
if (monitorDetach) monitorResource(this);
}
}
export default DOMAttachedObject as typeof DOMAttachedObject & DOMAttachedObject;
@@ -1,7 +1,8 @@
import classNames from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';
export default function IconComponent(props) {
export default function IconComponent(props: { name: string, className?: string } & React.HTMLAttributes<HTMLSpanElement>) {
const {
name,
className,
-23
View File
@@ -1,23 +0,0 @@
{
"exclude": [
"./public",
],
"compilerOptions": {
"resolveJsonModule": true,
"jsx": "react",
"allowSyntheticDefaultImports": true,
"target": "ESNext",
"experimentalDecorators": true,
"baseUrl": ".",
"module": "ESNext",
"lib": [
"ES2020"
],
"moduleResolution": "node",
"paths": {
"vj/*": [
"./*"
]
}
}
}
+14 -14
View File
@@ -14,7 +14,7 @@
"cli": false
},
"devDependencies": {
"@blueprintjs/core": "^5.8.2",
"@blueprintjs/core": "^5.9.1",
"@fontsource/dm-mono": "^5.0.18",
"@fontsource/fira-code": "^5.0.16",
"@fontsource/inconsolata": "^5.0.16",
@@ -34,8 +34,8 @@
"@types/nunjucks": "^3.2.6",
"@types/pickadate": "^3.5.35",
"@types/qrcode": "^1.5.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"@types/redux-logger": "^3.0.13",
"@types/webpack-env": "^1.18.4",
"@vscode/codicons": "^0.0.35",
@@ -49,10 +49,10 @@
"clipboard": "^2.0.11",
"copy-webpack-plugin": "^12.0.2",
"cordis": "2.8.8",
"css-loader": "^6.9.1",
"diff": "^5.1.0",
"css-loader": "^6.10.0",
"diff": "^5.2.0",
"diff-dom": "^5.1.2",
"echarts": "^5.4.3",
"echarts": "^5.5.0",
"emojis-keywords": "2.0.0",
"emojis-list": "2.1.0",
"esbuild-loader": "^2.21.0",
@@ -69,14 +69,14 @@
"jquery.easing": "^1.4.1",
"jquery.transit": "^0.9.12",
"matchmedia-polyfill": "^0.3.2",
"mini-css-extract-plugin": "^2.7.7",
"mini-css-extract-plugin": "^2.8.0",
"moment": "^2.30.1",
"monaco-editor": "0.45.0",
"monaco-editor": "0.46.0",
"monaco-editor-nls": "^3.1.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"monaco-themes": "^0.4.4",
"monaco-yaml": "^5.1.1",
"nanoid": "^5.0.4",
"nanoid": "^5.0.6",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
"p-queue": "^8.0.1",
@@ -115,14 +115,14 @@
"timeago-react": "^3.0.6",
"timeago.js": "^4.0.2",
"ts-loader": "^9.5.1",
"vditor": "^3.9.8",
"vditor": "^3.9.9",
"vinyl-buffer": "^1.0.1",
"web-streams-polyfill": "^3.3.2",
"webpack": "^5.90.0",
"web-streams-polyfill": "^3.3.3",
"webpack": "^5.90.3",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-dev-server": "^4.15.1",
"webpack-dev-server": "^5.0.2",
"webpack-manifest-plugin": "^5.0.0",
"webpackbar": "^6.0.0"
"webpackbar": "^6.0.1"
},
"dependencies": {
"ansi_up": "^6.0.2",