diff --git a/package.json b/package.json index bfb2ab0da..17e67b00a 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@octokit/webhooks-types": "^7.4.0", "@sinonjs/fake-timers": "^6.0.1", "@types/mocha": "^9.1.1", - "@types/node": "^20.14.11", + "@types/node": "^22.1.0", "@types/prompts": "^2.4.9", "@types/semver": "^7.5.8", "@types/sinonjs__fake-timers": "^6.0.4", @@ -50,7 +50,7 @@ "c8": "^7.14.0", "cac": "^6.7.14", "cross-env": "^7.0.3", - "esbuild": "^0.18.20", + "esbuild": "^0.23.0", "esbuild-register": "^3.5.0", "eslint": "^8.57.0", "eslint-plugin-mocha": "^10.4.1", @@ -60,10 +60,10 @@ "mocha": "^9.2.2", "ora": "^5.4.1", "prompts": "^2.4.2", - "semver": "^7.6.0", + "semver": "^7.6.3", "shx": "^0.3.4", "source-map-support": "^0.5.21", - "typescript": "^5.4.3", + "typescript": "^5.5.3", "yakumo": "^1.0.0-beta.16", "yakumo-esbuild": "^1.0.0-beta.6", "yakumo-mocha": "^1.0.0-beta.2", diff --git a/packages/core/package.json b/packages/core/package.json index 815a39f9e..5d52cf831 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/core", "description": "Core Features for Koishi", - "version": "4.17.10", + "version": "4.17.11", "main": "lib/index.cjs", "module": "lib/index.mjs", "typings": "lib/index.d.ts", @@ -36,8 +36,8 @@ "dependencies": { "@koishijs/i18n-utils": "^1.0.1", "@koishijs/utils": "^7.2.1", - "@satorijs/core": "^4.1.3", - "cordis": "^3.17.5", + "@satorijs/core": "^4.2.0", + "cordis": "^3.17.8", "cosmokit": "^1.6.2", "fastest-levenshtein": "^1.0.16", "minato": "^3.4.3" diff --git a/packages/koishi/package.json b/packages/koishi/package.json index 5a6423886..5f9413ede 100644 --- a/packages/koishi/package.json +++ b/packages/koishi/package.json @@ -1,7 +1,7 @@ { "name": "koishi", "description": "Cross-Platform Chatbot Framework Made with Love", - "version": "4.17.10", + "version": "4.17.11", "main": "lib/index.cjs", "module": "lib/index.mjs", "types": "lib/index.d.ts", @@ -45,13 +45,13 @@ "framework" ], "dependencies": { - "@koishijs/core": "4.17.10", - "@koishijs/loader": "4.5.10", - "@koishijs/plugin-http": "^0.6.0", + "@koishijs/core": "4.17.11", + "@koishijs/loader": "4.5.11", + "@koishijs/plugin-http": "^0.6.1", "@koishijs/plugin-proxy-agent": "^0.3.3", "@koishijs/plugin-server": "^3.2.3", "@koishijs/utils": "^7.2.1", - "@satorijs/core": "^4.1.3", + "@satorijs/core": "^4.2.0", "cac": "^6.7.14", "kleur": "^4.1.5" }, diff --git a/packages/koishi/src/cli/index.ts b/packages/koishi/src/cli/index.ts index 9e24be19a..d204cd2d9 100644 --- a/packages/koishi/src/cli/index.ts +++ b/packages/koishi/src/cli/index.ts @@ -1,8 +1,8 @@ import registerStartCommand from './start' -import CAC from 'cac' +import { cac } from 'cac' const { version } = require('../../package.json') -const cli = CAC('koishi').help().version(version) +const cli = cac('koishi').help().version(version) registerStartCommand(cli) diff --git a/packages/loader/package.json b/packages/loader/package.json index e7a15bb9e..4e9f2d787 100644 --- a/packages/loader/package.json +++ b/packages/loader/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/loader", "description": "Config Loader for Koishi", - "version": "4.5.10", + "version": "4.5.11", "main": "lib/index.js", "module": "lib/index.mjs", "types": "lib/index.d.ts", @@ -45,10 +45,10 @@ "config" ], "peerDependencies": { - "@koishijs/core": "4.17.10" + "@koishijs/core": "4.17.11" }, "devDependencies": { - "@koishijs/core": "4.17.10", + "@koishijs/core": "4.17.11", "@types/js-yaml": "^4.0.9" }, "dependencies": { diff --git a/plugins/common/bind/package.json b/plugins/common/bind/package.json index a0eb8d698..4c98b8697 100644 --- a/plugins/common/bind/package.json +++ b/plugins/common/bind/package.json @@ -46,11 +46,12 @@ ] }, "peerDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "koishi": "^4.17.10" "@minatojs/driver-memory": "^3.4.0", + "koishi": "^4.17.11", + "minato": "^3.4.3" } } diff --git a/plugins/common/broadcast/package.json b/plugins/common/broadcast/package.json index d89cfea9f..6601fe61e 100644 --- a/plugins/common/broadcast/package.json +++ b/plugins/common/broadcast/package.json @@ -45,11 +45,12 @@ ] }, "peerDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "koishi": "^4.17.10" "@minatojs/driver-memory": "^3.4.0", + "koishi": "^4.17.11", + "minato": "^3.4.3" } } diff --git a/plugins/common/callme/package.json b/plugins/common/callme/package.json index 1cb2d1ed0..25f84dab4 100644 --- a/plugins/common/callme/package.json +++ b/plugins/common/callme/package.json @@ -45,10 +45,10 @@ ] }, "peerDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "koishi": "^4.17.10" + "koishi": "^4.17.11" } } diff --git a/plugins/common/echo/package.json b/plugins/common/echo/package.json index 04af4758a..7f37b3c7b 100644 --- a/plugins/common/echo/package.json +++ b/plugins/common/echo/package.json @@ -41,10 +41,10 @@ ] }, "peerDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "koishi": "^4.17.10" + "koishi": "^4.17.11" } } diff --git a/plugins/common/help/package.json b/plugins/common/help/package.json index a2a511e49..086c2dce8 100644 --- a/plugins/common/help/package.json +++ b/plugins/common/help/package.json @@ -45,11 +45,12 @@ ] }, "peerDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "koishi": "^4.17.10" "@minatojs/driver-memory": "^3.4.0", + "koishi": "^4.17.11", + "minato": "^3.4.3" } } diff --git a/plugins/common/inspect/package.json b/plugins/common/inspect/package.json index 5f20a5055..ee7f41522 100644 --- a/plugins/common/inspect/package.json +++ b/plugins/common/inspect/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-inspect", "description": "Inspect on any user, channel or message", - "version": "1.1.6", + "version": "1.1.7", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -47,10 +47,10 @@ ] }, "peerDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "devDependencies": { "@koishijs/plugin-mock": "^2.6.6", - "koishi": "^4.17.10" + "koishi": "^4.17.11" } } diff --git a/plugins/hmr/package.json b/plugins/hmr/package.json index 85c1846b9..21ae5d542 100644 --- a/plugins/hmr/package.json +++ b/plugins/hmr/package.json @@ -42,13 +42,13 @@ } }, "peerDependencies": { - "@koishijs/loader": "^4.5.10", - "koishi": "^4.17.10" + "@koishijs/loader": "^4.5.11", + "koishi": "^4.17.11" }, "devDependencies": { "@types/babel__code-frame": "^7.0.6", - "esbuild": "^0.18.20", - "koishi": "^4.17.10" + "esbuild": "^0.23.0", + "koishi": "^4.17.11" }, "dependencies": { "@babel/code-frame": "^7.24.2", diff --git a/plugins/http/package.json b/plugins/http/package.json index caa3e9486..919076bb0 100644 --- a/plugins/http/package.json +++ b/plugins/http/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-http", "description": "HTTP and WebSocket client for Koishi", - "version": "0.6.0", + "version": "0.6.1", "type": "module", "main": "index.cjs", "module": "index.mjs", @@ -48,12 +48,12 @@ } }, "peerDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "devDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "dependencies": { - "@cordisjs/plugin-http": "^0.6.0" + "@cordisjs/plugin-http": "^0.6.1" } } diff --git a/plugins/mock/package.json b/plugins/mock/package.json index a542bb057..f376b023b 100644 --- a/plugins/mock/package.json +++ b/plugins/mock/package.json @@ -41,10 +41,10 @@ } }, "peerDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "devDependencies": { "@koishijs/plugin-server": "^3.2.3", - "koishi": "^4.17.10" + "koishi": "^4.17.11" } } diff --git a/plugins/proxy-agent/package.json b/plugins/proxy-agent/package.json index 9fde4ed5c..3009a0074 100644 --- a/plugins/proxy-agent/package.json +++ b/plugins/proxy-agent/package.json @@ -52,10 +52,11 @@ } }, "peerDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "devDependencies": { - "koishi": "^4.17.10" + "cordis": "^3.17.8", + "koishi": "^4.17.11" }, "dependencies": { "@cordisjs/plugin-proxy-agent": "^0.3.3" diff --git a/plugins/server/package.json b/plugins/server/package.json index 3b29ad625..a52432735 100644 --- a/plugins/server/package.json +++ b/plugins/server/package.json @@ -48,10 +48,11 @@ } }, "peerDependencies": { - "koishi": "^4.17.10" + "koishi": "^4.17.11" }, "devDependencies": { - "koishi": "^4.17.10" + "cordis": "^3.17.8", + "koishi": "^4.17.11" }, "dependencies": { "@cordisjs/plugin-server": "^0.2.3"