Bump dependency versions

Raise every caret range to the current latest within its major, in the
root package.json, the pnpm-workspace.yaml catalog, the per-package
package.json files and the create plugin template.

Majors taken: eslint 10, @eslint/js 10, globals 17, nyc 18,
@types/express 5, @types/node 24, finalhandler 2, pidusage 4,
style-loader 4, css-loader 7, yargs 18 (all packages), chalk 6.

Majors skipped: mocha 12 (integration suite fails under it, 59 tests,
starting with a 30 s timeout in clusteriocontroller run; kept at
^11.8.0), inquirer (10+ is a rewrite on @inquirer/prompts where
ui.Prompt.prototype.close no longer exists, so the win32 readline
workaround in create.js would have to go and cannot be verified here),
react/antd/react-router-dom/@types/react, typescript 7,
@sinclair/typebox, webpack-merge (exact pin), webpack-dev-middleware,
webpack-manifest-plugin, winston-daily-rotate-file.

Code adaptations: the two /api/stream/:id handlers in routes.ts are
typed Request<{ id: string }> because @types/express 5 types
req.params values as string | string[]; eslint.config.mjs adds
newIsCapExceptions: ["constructor"] because eslint 10.10 new-cap now
reports `new this.constructor()`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Fable 5.1 committed 2026-09-12 23:24:13 +00:00
1 parent 8be251447a
commit f3daaf7b15
11 files changed
+88 -83

No files matched your search

+1 -1
View File
@@ -34,6 +34,6 @@
"dependencies": {
"chalk": "catalog:",
"inquirer": "^8.2.4",
"yargs": "^17.7.2"
"yargs": "^18.1.0"
}
}
@@ -55,21 +55,21 @@
"devDependencies": {
//%// Typescript and type declarations
//%if typescript
"typescript": "^5.5.3",
"@types/node": "^20.4.5",
"typescript": "^5.9.3",
"@types/node": "^24.13.4",
//%endif
//%if typescript & web
"@types/react": "^18.2.21",
"@types/react": "^18.3.31",
//%endif
//%// Everything else
//%if web
"antd": "^5.13.0",
"antd": "^5.29.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
//%endif
//%if webpack
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack": "^5.110.3",
"webpack-cli": "^7.2.3",
"webpack-merge": "^5.9.0",
//%endif
//%if controller
@@ -87,7 +87,7 @@
"@clusterio/lib": "^__clusterio_version__"
},
"dependencies": {
"@sinclair/typebox": "^0.30.4"
"@sinclair/typebox": "^0.30.6"
},
"publishConfig": {
"access": "public"