diff --git a/package.json b/package.json index bd91bb3f..9ba48740 100644 --- a/package.json +++ b/package.json @@ -41,21 +41,21 @@ "@clusterio/host": "workspace:*", "@clusterio/lib": "workspace:*", "@clusterio/web_ui": "workspace:*", - "@swc/core": "^1.4.0", + "@swc/core": "^1.11.1", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", - "eslint": "^8.45.0", + "eslint": "^8.57.1", "eslint-plugin-node": "^11.1.0", - "express": "^4.18.2", - "form-data": "^4.0.0", - "fs-extra": "^11.1.1", + "express": "^4.21.2", + "form-data": "^4.0.2", + "fs-extra": "^11.3.0", "jsonwebtoken": "^9.0.1", "jszip": "^3.10.0", - "mocha": "^10.2.0", + "mocha": "^10.8.2", "nyc": "^15.1.0", "phin": "^3.7.0", - "typedoc": "^0.26.3", - "typescript": "^5.5.3", + "typedoc": "^0.26.11", + "typescript": "^5.7.3", "yargs": "^17.7.2" } } diff --git a/packages/controller/package.json b/packages/controller/package.json index e6dab0d7..eb17380d 100644 --- a/packages/controller/package.json +++ b/packages/controller/package.json @@ -23,36 +23,36 @@ "@clusterio/lib": "workspace:*", "@sinclair/typebox": "^0.30.4", "busboy": "^1.6.0", - "compression": "^1.7.4", - "express": "^4.18.2", - "finalhandler": "^1.2.0", - "fs-extra": "^11.1.1", + "compression": "^1.8.0", + "express": "^4.21.2", + "finalhandler": "^1.3.1", + "fs-extra": "^11.3.0", "jsonwebtoken": "^9.0.1", "jszip": "^3.10.1", "set-blocking": "^2.0.0", "winston": "^3.17.0", "winston-daily-rotate-file": "^4.7.1", - "ws": "^8.13.0", + "ws": "^8.18.1", "yargs": "^17.7.2" }, "devDependencies": { "@clusterio/web_ui": "workspace:*", - "@swc/core": "^1.4.0", + "@swc/core": "^1.11.1", "@types/busboy": "^1.5.0", "@types/compression": "^1.7.2", "@types/express": "^4.17.17", "@types/finalhandler": "^1.2.0", "@types/fs-extra": "^11.0.1", - "@types/jsonwebtoken": "^9.0.2", - "@types/node": "^20.4.5", + "@types/jsonwebtoken": "^9.0.9", + "@types/node": "^20.17.19", "@types/set-blocking": "^2.0.0", - "@types/ws": "^8.5.5", - "@types/yargs": "^17.0.24", + "@types/ws": "^8.5.14", + "@types/yargs": "^17.0.33", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-router-dom": "^6.4.14", - "typescript": "^5.5.3", - "webpack": "^5.88.2", + "react-router-dom": "^6.29.0", + "typescript": "^5.7.3", + "webpack": "^5.98.0", "webpack-cli": "^5.1.4", "webpack-dev-middleware": "^6.1.1", "webpack-merge": "^5.9.0" diff --git a/packages/create/package.json b/packages/create/package.json index d3c4f2bf..30dffca1 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "chalk": "^4.1.2", - "fs-extra": "^11.1.1", + "fs-extra": "^11.3.0", "inquirer": "^8.2.4", "phin": "^3.7.0", "yargs": "^17.7.2" diff --git a/packages/ctl/package.json b/packages/ctl/package.json index 9c830a34..14357449 100644 --- a/packages/ctl/package.json +++ b/packages/ctl/package.json @@ -22,7 +22,7 @@ "dependencies": { "@clusterio/lib": "workspace:*", "as-table": "^1.0.55", - "fs-extra": "^11.1.1", + "fs-extra": "^11.3.0", "phin": "^3.7.0", "set-blocking": "^2.0.0", "winston": "^3.17.0", @@ -33,9 +33,9 @@ }, "devDependencies": { "@types/fs-extra": "^11.0.1", - "@types/node": "^20.4.5", + "@types/node": "^20.17.19", "@types/set-blocking": "^2.0.0", - "@types/yargs": "^17.0.24", - "typescript": "^5.5.3" + "@types/yargs": "^17.0.33", + "typescript": "^5.7.3" } } diff --git a/packages/host/package.json b/packages/host/package.json index 9f83a159..971d0e22 100644 --- a/packages/host/package.json +++ b/packages/host/package.json @@ -22,13 +22,13 @@ "dependencies": { "@clusterio/lib": "workspace:*", "@sinclair/typebox": "^0.30.4", - "fs-extra": "^11.1.1", + "fs-extra": "^11.3.0", "jimp": "^0.22.8", "jszip": "^3.10.1", "phin": "^3.7.0", "pidusage": "^3.0.2", - "rcon-client": "^4.2.3", - "semver": "^7.5.4", + "rcon-client": "^4.2.5", + "semver": "^7.7.1", "set-blocking": "^2.0.0", "winston": "^3.17.0", "winston-daily-rotate-file": "^4.7.1", @@ -39,11 +39,11 @@ }, "devDependencies": { "@types/fs-extra": "^11.0.1", - "@types/node": "^20.4.5", + "@types/node": "^20.17.19", "@types/pidusage": "^2.0.2", "@types/semver": "^7.5.0", "@types/set-blocking": "^2.0.0", - "@types/yargs": "^17.0.24", - "typescript": "^5.5.3" + "@types/yargs": "^17.0.33", + "typescript": "^5.7.3" } } diff --git a/packages/lib/package.json b/packages/lib/package.json index 4f0ba7b7..ff390884 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -19,17 +19,17 @@ }, "dependencies": { "@sinclair/typebox": "^0.30.4", - "ajv": "^8.12.0", + "ajv": "^8.17.1", "chalk": "^4.1.2", "fast-deep-equal": "^3.1.3", - "fs-extra": "^11.1.1", + "fs-extra": "^11.3.0", "jszip": "^3.10.1", "klaw": "^4.1.0", "set-blocking": "^2.0.0", "triple-beam": "^1.4.1", "winston": "^3.17.0", "winston-transport": "^4.9.0", - "ws": "^8.13.0", + "ws": "^8.18.1", "yargs": "^17.7.2" }, "publishConfig": { @@ -37,11 +37,11 @@ }, "devDependencies": { "@types/fs-extra": "^11.0.1", - "@types/node": "^20.4.5", + "@types/node": "^20.17.19", "@types/set-blocking": "^2.0.0", "@types/triple-beam": "^1.3.2", - "@types/ws": "^8.5.5", - "@types/yargs": "^17.0.24", - "typescript": "^5.5.3" + "@types/ws": "^8.5.14", + "@types/yargs": "^17.0.33", + "typescript": "^5.7.3" } } diff --git a/packages/web_ui/package.json b/packages/web_ui/package.json index 4eaa6d74..7d254318 100644 --- a/packages/web_ui/package.json +++ b/packages/web_ui/package.json @@ -18,11 +18,11 @@ "node": ">=12" }, "dependencies": { - "@ant-design/icons": "^5.1.4", + "@ant-design/icons": "^5.6.1", "@clusterio/lib": "workspace:*", "@sinclair/typebox": "^0.30.4", - "@swc/core": "^1.4.0", - "antd": "^5.13.0", + "@swc/core": "^1.11.1", + "antd": "^5.24.2", "assert": "^2.0.0", "browserify-zlib": "^0.2.0", "buffer": "^6.0.3", @@ -37,14 +37,14 @@ "rc-field-form": "^1.37.0", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-router-dom": "^6.14.2", + "react-router-dom": "^6.29.0", "stream-browserify": "^3.0.0", "style-loader": "^3.3.3", "swc-loader": "^0.2.6", - "terser-webpack-plugin": "^5.3.9", - "typescript": "^5.5.3", + "terser-webpack-plugin": "^5.3.11", + "typescript": "^5.7.3", "util": "^0.12.5", - "webpack": "^5.88.2", + "webpack": "^5.98.0", "webpack-cli": "^5.1.4", "webpack-manifest-plugin": "^5.0.0" }, @@ -52,8 +52,8 @@ "access": "public" }, "devDependencies": { - "@types/node": "^20.4.5", - "@types/react": "^18.2.21", - "@types/react-dom": "^18.2.7" + "@types/node": "^20.17.19", + "@types/react": "^18.3.18", + "@types/react-dom": "^18.3.5" } } diff --git a/packages/web_ui/webpack.common.js b/packages/web_ui/webpack.common.js index 73cae8e8..964c37a9 100644 --- a/packages/web_ui/webpack.common.js +++ b/packages/web_ui/webpack.common.js @@ -138,7 +138,9 @@ module.exports = (env = {}) => ({ moduleIds: "deterministic", minimizer: [ new TerserPlugin({ - minify: TerserPlugin.swcMinify, + // TerserPlugin.swcMinify spams log with "false" after bump to @swc/core@1.11.1 + // https://github.com/clusterio/clusterio/issues/737 + // minify: TerserPlugin.swcMinify, terserOptions: { compress: { keep_classnames: true, diff --git a/plugins/global_chat/package.json b/plugins/global_chat/package.json index d0c6f589..71e3332b 100644 --- a/plugins/global_chat/package.json +++ b/plugins/global_chat/package.json @@ -28,10 +28,10 @@ "devDependencies": { "@clusterio/lib": "workspace:*", "@clusterio/web_ui": "workspace:*", - "@types/node": "^20.4.5", - "@types/react": "^18.2.21", - "typescript": "^5.5.3", - "webpack": "^5.88.2", + "@types/node": "^20.17.19", + "@types/react": "^18.3.18", + "typescript": "^5.7.3", + "webpack": "^5.98.0", "webpack-cli": "^5.1.4", "webpack-merge": "^5.9.0" }, diff --git a/plugins/inventory_sync/package.json b/plugins/inventory_sync/package.json index f57629ba..ad6582ea 100644 --- a/plugins/inventory_sync/package.json +++ b/plugins/inventory_sync/package.json @@ -33,13 +33,13 @@ "@clusterio/lib": "workspace:*", "@clusterio/web_ui": "workspace:*", "@types/fs-extra": "^11.0.1", - "@types/node": "^20.4.5", - "@types/react": "^18.2.21", - "antd": "^5.13.0", + "@types/node": "^20.17.19", + "@types/react": "^18.3.18", + "antd": "^5.24.2", "react": "^18.2.0", "react-dom": "^18.2.0", - "typescript": "^5.5.3", - "webpack": "^5.88.2", + "typescript": "^5.7.3", + "webpack": "^5.98.0", "webpack-cli": "^5.1.4", "webpack-merge": "^5.9.0" }, diff --git a/plugins/player_auth/package.json b/plugins/player_auth/package.json index 3b0d9690..aabc7be1 100644 --- a/plugins/player_auth/package.json +++ b/plugins/player_auth/package.json @@ -27,22 +27,22 @@ }, "dependencies": { "@sinclair/typebox": "^0.30.4", - "express": "^4.16.2", + "express": "^4.21.2", "jsonwebtoken": "^9.0.1" }, "devDependencies": { "@clusterio/lib": "workspace:*", "@clusterio/web_ui": "workspace:*", "@types/express": "^4.17.17", - "@types/jsonwebtoken": "^9.0.2", - "@types/node": "^20.4.5", - "@types/react": "^18.2.21", - "antd": "^5.13.0", + "@types/jsonwebtoken": "^9.0.9", + "@types/node": "^20.17.19", + "@types/react": "^18.3.18", + "antd": "^5.24.2", "phin": "^3.7.0", "react": "^18.2.0", "react-dom": "^18.2.0", - "typescript": "^5.5.3", - "webpack": "^5.88.2", + "typescript": "^5.7.3", + "webpack": "^5.98.0", "webpack-cli": "^5.1.4", "webpack-merge": "^5.9.0" }, diff --git a/plugins/research_sync/package.json b/plugins/research_sync/package.json index 66363598..ac9ca86c 100644 --- a/plugins/research_sync/package.json +++ b/plugins/research_sync/package.json @@ -33,10 +33,10 @@ "@clusterio/lib": "workspace:*", "@clusterio/web_ui": "workspace:*", "@types/fs-extra": "^11.0.1", - "@types/node": "^20.4.5", - "@types/react": "^18.2.21", - "typescript": "^5.5.3", - "webpack": "^5.88.2", + "@types/node": "^20.17.19", + "@types/react": "^18.3.18", + "typescript": "^5.7.3", + "webpack": "^5.98.0", "webpack-cli": "^5.1.4", "webpack-merge": "^5.9.0" }, diff --git a/plugins/statistics_exporter/package.json b/plugins/statistics_exporter/package.json index b91a682d..3c2584a8 100644 --- a/plugins/statistics_exporter/package.json +++ b/plugins/statistics_exporter/package.json @@ -28,10 +28,10 @@ "devDependencies": { "@clusterio/lib": "workspace:*", "@clusterio/web_ui": "workspace:*", - "@types/node": "^20.4.5", - "@types/react": "^18.2.21", - "typescript": "^5.5.3", - "webpack": "^5.88.2", + "@types/node": "^20.17.19", + "@types/react": "^18.3.18", + "typescript": "^5.7.3", + "webpack": "^5.98.0", "webpack-cli": "^5.1.4", "webpack-merge": "^5.9.0" }, diff --git a/plugins/subspace_storage/package.json b/plugins/subspace_storage/package.json index 50e178ef..7628aeb9 100644 --- a/plugins/subspace_storage/package.json +++ b/plugins/subspace_storage/package.json @@ -34,13 +34,13 @@ "@clusterio/web_ui": "workspace:*", "@types/express": "^4.17.17", "@types/fs-extra": "^11.0.1", - "@types/node": "^20.4.5", - "@types/react": "^18.2.21", - "antd": "^5.13.0", + "@types/node": "^20.17.19", + "@types/react": "^18.3.18", + "antd": "^5.24.2", "react": "^18.2.0", "react-dom": "^18.2.0", - "typescript": "^5.5.3", - "webpack": "^5.88.2", + "typescript": "^5.7.3", + "webpack": "^5.98.0", "webpack-cli": "^5.1.4", "webpack-merge": "^5.9.0" },