diff --git a/.gitattributes b/.gitattributes index ed5f338fe1..f6b1d233cd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,4 +3,5 @@ *.png -text *.jpg -text *.ico -text +*.gif -text *.webp -text diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab849e04d3..5f7386946b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -130,7 +130,7 @@ jobs: - name: Unit Test run: yarn test:json - name: Report Coverage - if: ${{ matrix.node-version == 14 }} + if: ${{ matrix.node-version == 16 }} uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/package.json b/package.json index ebfa6c5782..47d892fa4f 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "yakumo-esbuild": "^0.3.17", "yakumo-esbuild-yaml": "^0.3.1", "yakumo-mocha": "^0.3.0", - "yakumo-publish": "^0.3.0", + "yakumo-publish": "^0.3.1", "yakumo-publish-sync": "^0.3.1", "yakumo-tsc": "^0.3.5", "yakumo-upgrade": "^0.3.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index 5da42a2852..68ccc1f7ff 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/cli", "description": "CLI for Koishi", - "version": "4.9.9", + "version": "4.9.10", "main": "lib/worker/index.js", "typings": "lib/worker/index.d.ts", "engines": { @@ -32,7 +32,7 @@ "daemon" ], "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@types/prompts": "^2.4.0", diff --git a/packages/core/package.json b/packages/core/package.json index bf0f1df9ca..9fd8c48f59 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.9.9", + "version": "4.9.10", "main": "lib/index.cjs", "module": "lib/index.mjs", "typings": "lib/index.d.ts", @@ -32,7 +32,7 @@ "dependencies": { "@koishijs/utils": "^6.2.4", "@minatojs/core": "^1.3.2", - "@satorijs/core": "^1.3.4", + "@satorijs/core": "^1.3.5", "cordis": "^2.5.0", "cosmokit": "^1.3.3" } diff --git a/packages/helpers/package.json b/packages/helpers/package.json index b4cca215bb..51b81b1f71 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -35,7 +35,7 @@ "command" ], "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@koishijs/plugin-mock": "^2.2.0" diff --git a/packages/koishi/package.json b/packages/koishi/package.json index d65f54df89..b97b1401a4 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.9.9", + "version": "4.9.10", "main": "lib/index.cjs", "module": "lib/index.mjs", "typings": "lib/index.d.ts", @@ -42,9 +42,9 @@ "framework" ], "dependencies": { - "@koishijs/core": "^4.9.9", + "@koishijs/core": "^4.9.10", "@koishijs/utils": "^6.2.4", - "@satorijs/satori": "^1.3.4", + "@satorijs/satori": "^1.3.5", "file-type": "^16.5.4", "ns-require": "^1.1.4" } diff --git a/packages/loader/package.json b/packages/loader/package.json index 4db2d79179..09692f55c9 100644 --- a/packages/loader/package.json +++ b/packages/loader/package.json @@ -38,12 +38,12 @@ "config" ], "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { - "@koishijs/registry": "^4.1.0", + "@koishijs/registry": "^4.1.3", "@types/js-yaml": "^4.0.5", - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { "dotenv": "^16.0.1", diff --git a/plugins/a11y/admin/package.json b/plugins/a11y/admin/package.json index 72b17e61ff..dad337fccf 100644 --- a/plugins/a11y/admin/package.json +++ b/plugins/a11y/admin/package.json @@ -45,7 +45,7 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@koishijs/plugin-mock": "^2.2.0" diff --git a/plugins/a11y/bind/package.json b/plugins/a11y/bind/package.json index 9a9cf9ec3d..c06f9cc9bd 100644 --- a/plugins/a11y/bind/package.json +++ b/plugins/a11y/bind/package.json @@ -45,10 +45,10 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { - "@koishijs/plugin-database-memory": "^1.5.0", + "@koishijs/plugin-database-memory": "^1.6.0", "@koishijs/plugin-mock": "^2.2.0" } } diff --git a/plugins/a11y/callme/package.json b/plugins/a11y/callme/package.json index fa37ee08e0..20d160bf62 100644 --- a/plugins/a11y/callme/package.json +++ b/plugins/a11y/callme/package.json @@ -44,10 +44,10 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { - "@koishijs/plugin-database-memory": "^1.5.0", + "@koishijs/plugin-database-memory": "^1.6.0", "@koishijs/plugin-mock": "^2.2.0" } } diff --git a/plugins/a11y/locales/package.json b/plugins/a11y/locales/package.json index 37e224025b..784e8168db 100644 --- a/plugins/a11y/locales/package.json +++ b/plugins/a11y/locales/package.json @@ -37,7 +37,7 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@koishijs/plugin-mock": "^2.2.0", diff --git a/plugins/a11y/rate-limit/package.json b/plugins/a11y/rate-limit/package.json index 8c86a51997..4fcb0b20c0 100644 --- a/plugins/a11y/rate-limit/package.json +++ b/plugins/a11y/rate-limit/package.json @@ -44,7 +44,7 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@koishijs/plugin-help": "^1.2.5", diff --git a/plugins/a11y/schedule/package.json b/plugins/a11y/schedule/package.json index 5c82afc3ef..f0a2c7e0e5 100644 --- a/plugins/a11y/schedule/package.json +++ b/plugins/a11y/schedule/package.json @@ -42,10 +42,10 @@ ] }, "devDependencies": { - "@koishijs/plugin-database-memory": "^1.5.0", + "@koishijs/plugin-database-memory": "^1.6.0", "@koishijs/plugin-mock": "^2.2.0" }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" } } diff --git a/plugins/a11y/schedule/tests/index.spec.ts b/plugins/a11y/schedule/tests/index.spec.ts index c71d805c65..420f533448 100644 --- a/plugins/a11y/schedule/tests/index.spec.ts +++ b/plugins/a11y/schedule/tests/index.spec.ts @@ -9,7 +9,7 @@ import shape from 'chai-shape' use(shape) -describe('@koishijs/plugin-switch', () => { +describe('@koishijs/plugin-schedule', () => { const app = new App() app.plugin(mock) const client1 = app.mock.client('123', '456') @@ -71,7 +71,7 @@ describe('@koishijs/plugin-switch', () => { }) it('interval schedule', async () => { - await client1.shouldReply('schedule 00:30 / 1h -- echo foo', '日程已创建,编号为 2。') + await client1.shouldReply('schedule 00:30 / 1h -- echo foo', '日程已创建,编号为 3。') clock.tick(Time.minute * 20) // 01:21 await new Promise(process.nextTick) @@ -89,8 +89,8 @@ describe('@koishijs/plugin-switch', () => { await new Promise(process.nextTick) await client1.shouldReply('', 'foo') - await client1.shouldReply('schedule -l', '2. 每隔 1 小时 (剩余 59 分钟):echo foo') - await client1.shouldReply('schedule -d 2', '日程 2 已删除。') + await client1.shouldReply('schedule -l', '3. 每隔 1 小时 (剩余 59 分钟):echo foo') + await client1.shouldReply('schedule -d 3', '日程 3 已删除。') clock.tick(Time.hour) // 02:31 await new Promise(process.nextTick) await client1.shouldNotReply('') diff --git a/plugins/a11y/sudo/package.json b/plugins/a11y/sudo/package.json index 7d9f9ff2a7..4845d6907a 100644 --- a/plugins/a11y/sudo/package.json +++ b/plugins/a11y/sudo/package.json @@ -44,10 +44,10 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { - "@koishijs/plugin-database-memory": "^1.5.0", + "@koishijs/plugin-database-memory": "^1.6.0", "@koishijs/plugin-mock": "^2.2.0" }, "dependencies": { diff --git a/plugins/a11y/suggest/package.json b/plugins/a11y/suggest/package.json index a99903e3fb..10d017f321 100644 --- a/plugins/a11y/suggest/package.json +++ b/plugins/a11y/suggest/package.json @@ -51,10 +51,10 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { - "@koishijs/plugin-database-memory": "^1.5.0", + "@koishijs/plugin-database-memory": "^1.6.0", "@koishijs/plugin-mock": "^2.2.0" }, "dependencies": { diff --git a/plugins/a11y/switch/package.json b/plugins/a11y/switch/package.json index 2287bf7ba5..a549191895 100644 --- a/plugins/a11y/switch/package.json +++ b/plugins/a11y/switch/package.json @@ -45,10 +45,10 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { - "@koishijs/plugin-database-memory": "^1.5.0", + "@koishijs/plugin-database-memory": "^1.6.0", "@koishijs/plugin-mock": "^2.2.0" }, "dependencies": { diff --git a/plugins/a11y/verifier/package.json b/plugins/a11y/verifier/package.json index b5f5bb0091..0db493c762 100644 --- a/plugins/a11y/verifier/package.json +++ b/plugins/a11y/verifier/package.json @@ -36,7 +36,7 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@koishijs/plugin-mock": "^2.2.0" diff --git a/plugins/adapter/discord/package.json b/plugins/adapter/discord/package.json index 1c444ff10e..27222ad4d6 100644 --- a/plugins/adapter/discord/package.json +++ b/plugins/adapter/discord/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-adapter-discord", "description": "Discord Adapter for Koishi", - "version": "3.3.0", + "version": "3.3.1", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -37,9 +37,9 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { - "@satorijs/adapter-discord": "^3.3.0" + "@satorijs/adapter-discord": "^3.3.1" } } diff --git a/plugins/adapter/kook/package.json b/plugins/adapter/kook/package.json index cef68f3355..a7950842d2 100644 --- a/plugins/adapter/kook/package.json +++ b/plugins/adapter/kook/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-adapter-kook", "description": "Kook (Kaiheila) Adapter for Koishi", - "version": "3.4.0", + "version": "3.4.1", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -38,9 +38,9 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { - "@satorijs/adapter-kook": "^3.4.0" + "@satorijs/adapter-kook": "^3.4.1" } } diff --git a/plugins/adapter/onebot/package.json b/plugins/adapter/onebot/package.json index 423d982c04..98b188deb8 100644 --- a/plugins/adapter/onebot/package.json +++ b/plugins/adapter/onebot/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-adapter-onebot", "description": "OneBot Adapter for Koishi", - "version": "5.3.1", + "version": "5.3.4", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -41,9 +41,9 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { - "@satorijs/adapter-onebot": "^5.3.1" + "@satorijs/adapter-onebot": "^5.3.4" } } diff --git a/plugins/adapter/qqguild/package.json b/plugins/adapter/qqguild/package.json index 12d7ee81de..890036944e 100644 --- a/plugins/adapter/qqguild/package.json +++ b/plugins/adapter/qqguild/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-adapter-qqguild", "description": "QQ Guild Adapter for Koishi", - "version": "3.3.0", + "version": "3.3.2", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -38,9 +38,9 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { - "@satorijs/adapter-qqguild": "^3.3.0" + "@satorijs/adapter-qqguild": "^3.3.2" } } diff --git a/plugins/adapter/telegram/package.json b/plugins/adapter/telegram/package.json index 9e73d43d75..2e396b619c 100644 --- a/plugins/adapter/telegram/package.json +++ b/plugins/adapter/telegram/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-adapter-telegram", "description": "Telegram Adapter for Koishi", - "version": "3.5.0", + "version": "3.5.1", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -37,9 +37,9 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { - "@satorijs/adapter-telegram": "^3.5.0" + "@satorijs/adapter-telegram": "^3.5.1" } } diff --git a/plugins/assets/git/package.json b/plugins/assets/git/package.json index 61b343b0a7..c575789ed8 100644 --- a/plugins/assets/git/package.json +++ b/plugins/assets/git/package.json @@ -44,7 +44,7 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { "simple-git": "^3.11.0" diff --git a/plugins/assets/local/package.json b/plugins/assets/local/package.json index 07f129f057..8087d4195d 100644 --- a/plugins/assets/local/package.json +++ b/plugins/assets/local/package.json @@ -39,7 +39,7 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { "file-type": "^16.5.4" diff --git a/plugins/assets/remote/package.json b/plugins/assets/remote/package.json index 9907b1e683..dca7ba5501 100644 --- a/plugins/assets/remote/package.json +++ b/plugins/assets/remote/package.json @@ -39,6 +39,6 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" } } diff --git a/plugins/assets/s3/package.json b/plugins/assets/s3/package.json index adbf6df66e..da53d37567 100644 --- a/plugins/assets/s3/package.json +++ b/plugins/assets/s3/package.json @@ -43,7 +43,7 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { "@aws-sdk/client-s3": "^3.137.0" diff --git a/plugins/common/broadcast/package.json b/plugins/common/broadcast/package.json index 6a5ba47e64..7896f33d9e 100644 --- a/plugins/common/broadcast/package.json +++ b/plugins/common/broadcast/package.json @@ -44,10 +44,10 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { - "@koishijs/plugin-database-memory": "^1.5.0", + "@koishijs/plugin-database-memory": "^1.6.0", "@koishijs/plugin-mock": "^2.2.0" } } diff --git a/plugins/common/echo/package.json b/plugins/common/echo/package.json index 5dc6cca330..e44005ca3a 100644 --- a/plugins/common/echo/package.json +++ b/plugins/common/echo/package.json @@ -40,7 +40,7 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@koishijs/plugin-mock": "^2.2.0" diff --git a/plugins/common/feedback/package.json b/plugins/common/feedback/package.json index 3c889578b8..7c73b4bb23 100644 --- a/plugins/common/feedback/package.json +++ b/plugins/common/feedback/package.json @@ -40,7 +40,7 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@koishijs/plugin-mock": "^2.2.0" diff --git a/plugins/common/forward/package.json b/plugins/common/forward/package.json index fee097838a..f9057694ba 100644 --- a/plugins/common/forward/package.json +++ b/plugins/common/forward/package.json @@ -45,10 +45,10 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { - "@koishijs/plugin-database-memory": "^1.5.0", + "@koishijs/plugin-database-memory": "^1.6.0", "@koishijs/plugin-mock": "^2.2.0" }, "dependencies": { diff --git a/plugins/common/help/package.json b/plugins/common/help/package.json index 7884d8cec3..9ad355acd0 100644 --- a/plugins/common/help/package.json +++ b/plugins/common/help/package.json @@ -44,10 +44,10 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { - "@koishijs/plugin-database-memory": "^1.5.0", + "@koishijs/plugin-database-memory": "^1.6.0", "@koishijs/plugin-mock": "^2.2.0", "@koishijs/plugin-suggest": "^1.1.5" } diff --git a/plugins/common/recall/package.json b/plugins/common/recall/package.json index abd9660655..034e9e8965 100644 --- a/plugins/common/recall/package.json +++ b/plugins/common/recall/package.json @@ -39,7 +39,7 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@koishijs/plugin-mock": "^2.2.0" diff --git a/plugins/common/repeater/package.json b/plugins/common/repeater/package.json index 1a5aa08859..b595c99635 100644 --- a/plugins/common/repeater/package.json +++ b/plugins/common/repeater/package.json @@ -40,7 +40,7 @@ ] }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@koishijs/plugin-mock": "^2.2.0" diff --git a/plugins/common/respondent/package.json b/plugins/common/respondent/package.json index 1714dd5151..1ba739d66d 100644 --- a/plugins/common/respondent/package.json +++ b/plugins/common/respondent/package.json @@ -35,7 +35,7 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "devDependencies": { "@koishijs/plugin-mock": "^2.2.0" diff --git a/plugins/database/memory/package.json b/plugins/database/memory/package.json index dadf7ab266..31e40e60c8 100644 --- a/plugins/database/memory/package.json +++ b/plugins/database/memory/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-database-memory", "description": "A in-memory database implementation for Koishi", - "version": "1.5.0", + "version": "1.6.0", "main": "lib/index.cjs", "module": "lib/index.mjs", "typings": "lib/index.d.ts", @@ -41,9 +41,9 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { - "@minatojs/driver-memory": "^1.2.0" + "@minatojs/driver-memory": "^1.3.0" } } diff --git a/plugins/database/mongo/package.json b/plugins/database/mongo/package.json index 7f34a4a1ee..28ea554fce 100644 --- a/plugins/database/mongo/package.json +++ b/plugins/database/mongo/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-database-mongo", "description": "MongoDB support for Koishi", - "version": "3.5.0", + "version": "3.6.1", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -42,9 +42,9 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { - "@minatojs/driver-mongo": "^1.3.0" + "@minatojs/driver-mongo": "^1.4.1" } } diff --git a/plugins/database/mysql/package.json b/plugins/database/mysql/package.json index df281c7099..fa0de5fa54 100644 --- a/plugins/database/mysql/package.json +++ b/plugins/database/mysql/package.json @@ -41,7 +41,7 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { "@minatojs/driver-mysql": "^1.3.0" diff --git a/plugins/database/sqlite/package.json b/plugins/database/sqlite/package.json index c73b0c35f1..1e7e1a4e07 100644 --- a/plugins/database/sqlite/package.json +++ b/plugins/database/sqlite/package.json @@ -42,7 +42,7 @@ } }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" }, "dependencies": { "@minatojs/driver-sqlite": "^1.3.0" diff --git a/plugins/mock/package.json b/plugins/mock/package.json index 67d7fa0617..a8dd29b2a8 100644 --- a/plugins/mock/package.json +++ b/plugins/mock/package.json @@ -35,6 +35,6 @@ "hidden": true }, "peerDependencies": { - "koishi": "^4.9.9" + "koishi": "^4.9.10" } }