Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed May 12, 2024
1 parent 4e2f9b7 commit e496ddb
Show file tree
Hide file tree
Showing 17 changed files with 45 additions and 43 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"license": "MIT",
"devDependencies": {
"@cordisjs/eslint-config": "^1.1.1",
"@koishijs/plugin-database-memory": "npm:@minatojs/driver-memory@^3.2.0",
"@koishijs/plugin-database-memory": "npm:@minatojs/driver-memory@^3.3.0",
"@octokit/webhooks-types": "^7.4.0",
"@sinonjs/fake-timers": "^6.0.1",
"@types/chai": "^4.3.14",
Expand Down Expand Up @@ -69,7 +69,7 @@
"shx": "^0.3.4",
"source-map-support": "^0.5.21",
"typescript": "^5.4.3",
"yakumo": "^1.0.0-beta.13",
"yakumo": "^1.0.0-beta.14",
"yakumo-esbuild": "^1.0.0-beta.5",
"yakumo-mocha": "^1.0.0-beta.2",
"yakumo-tsc": "^1.0.0-beta.3",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/core",
"description": "Core Features for Koishi",
"version": "4.17.5",
"version": "4.17.6",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -33,10 +33,10 @@
"dependencies": {
"@koishijs/i18n-utils": "^1.0.1",
"@koishijs/utils": "^7.2.1",
"@satorijs/core": "^3.7.0",
"cordis": "^3.14.0",
"@satorijs/core": "^4.0.0",
"cordis": "^3.15.0",
"cosmokit": "^1.6.2",
"fastest-levenshtein": "^1.0.16",
"minato": "^3.2.0"
"minato": "^3.3.0"
}
}
4 changes: 2 additions & 2 deletions packages/core/src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ declare module './context' {
[minato.Types]: Types
[minato.Tables]: Tables
[Context.Database]: Context.Database<this>
broadcast(content: Fragment, forced?: boolean): Promise<string[]>
broadcast(channels: readonly string[], content: Fragment, forced?: boolean): Promise<string[]>
}

namespace Context {
Expand All @@ -24,8 +26,6 @@ declare module './context' {
getAssignedChannels<K extends Channel.Field>(fields?: K[], selfIdMap?: Dict<string[]>): Promise<Pick<Channel, K>[]>
setChannel(platform: string, id: string, data: Update<Channel>): Promise<void>
createChannel(platform: string, id: string, data: Partial<Channel>): Promise<Channel>
broadcast(content: Fragment, forced?: boolean): Promise<string[]>
broadcast(channels: readonly string[], content: Fragment, forced?: boolean): Promise<string[]>
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions packages/koishi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koishi",
"description": "Cross-Platform Chatbot Framework Made with Love",
"version": "4.17.5",
"version": "4.17.6",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -45,11 +45,11 @@
"framework"
],
"dependencies": {
"@koishijs/core": "4.17.5",
"@koishijs/loader": "4.5.5",
"@koishijs/core": "4.17.6",
"@koishijs/loader": "4.5.6",
"@koishijs/plugin-http": "^0.4.2",
"@koishijs/plugin-proxy-agent": "^0.3.0",
"@koishijs/plugin-server": "^3.2.1",
"@koishijs/plugin-server": "^3.2.2",
"@koishijs/utils": "^7.2.1",
"@satorijs/core": "^4.0.0",
"cac": "^6.7.14",
Expand Down
6 changes: 3 additions & 3 deletions packages/loader/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/loader",
"description": "Config Loader for Koishi",
"version": "4.5.5",
"version": "4.5.6",
"main": "lib/index.js",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -45,10 +45,10 @@
"config"
],
"peerDependencies": {
"@koishijs/core": "4.17.5"
"@koishijs/core": "4.17.6"
},
"devDependencies": {
"@koishijs/core": "4.17.5",
"@koishijs/core": "4.17.6",
"@types/js-yaml": "^4.0.9"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/tests/observe.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ describe('Observer API', () => {

object.$update()
expect(flush.mock.calls).to.have.length(1)
expect(flush.mock.calls[0]).to.deep.equal([{ b: [] }])
expect(flush.mock.calls[0].arguments).to.deep.equal([{ b: [] }])
expect(object).to.deep.equal({ a: 1, b: [] })
expect(object.$diff).to.deep.equal({})

Expand All @@ -166,7 +166,7 @@ describe('Observer API', () => {

object.$update()
expect(flush.mock.calls).to.have.length(2)
expect(flush.mock.calls[1]).to.deep.equal([{ a: 3 }])
expect(flush.mock.calls[1].arguments).to.deep.equal([{ a: 3 }])
expect(object).to.deep.equal({ a: 3, b: [] })
expect(object.$diff).to.deep.equal({})
})
Expand Down
4 changes: 2 additions & 2 deletions plugins/common/bind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
]
},
"peerDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"devDependencies": {
"@koishijs/plugin-mock": "^2.6.5",
"koishi": "^4.17.5"
"koishi": "^4.17.6"
}
}
4 changes: 2 additions & 2 deletions plugins/common/broadcast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
]
},
"peerDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"devDependencies": {
"@koishijs/plugin-mock": "^2.6.5",
"koishi": "^4.17.5"
"koishi": "^4.17.6"
}
}
4 changes: 2 additions & 2 deletions plugins/common/callme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
]
},
"peerDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"devDependencies": {
"@koishijs/plugin-mock": "^2.6.5",
"koishi": "^4.17.5"
"koishi": "^4.17.6"
}
}
4 changes: 2 additions & 2 deletions plugins/common/echo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
]
},
"peerDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"devDependencies": {
"@koishijs/plugin-mock": "^2.6.5",
"koishi": "^4.17.5"
"koishi": "^4.17.6"
}
}
6 changes: 4 additions & 2 deletions plugins/common/echo/tests/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ describe('@koishijs/plugin-echo', () => {

const send1 = app.bots[0].sendPrivateMessage = jest.fn<Bot['sendPrivateMessage']>()
await client.shouldNotReply('echo -u @100 foo')
expect(send1.mock.calls).to.have.shape([['100', ['foo']]])
expect(send1.mock.calls).to.have.length(1)
expect(send1.mock.calls[0].arguments).to.have.shape(['100', ['foo']])

const send2 = app.bots[0].sendMessage = jest.fn<Bot['sendMessage']>()
await client.shouldNotReply('echo -c #200 foo')
expect(send2.mock.calls).to.have.shape([['200', ['foo']]])
expect(send1.mock.calls).to.have.length(1)
expect(send2.mock.calls[0].arguments).to.have.shape(['200', ['foo']])
})
})
4 changes: 2 additions & 2 deletions plugins/common/help/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
]
},
"peerDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"devDependencies": {
"@koishijs/plugin-mock": "^2.6.5",
"koishi": "^4.17.5"
"koishi": "^4.17.6"
}
}
4 changes: 2 additions & 2 deletions plugins/common/inspect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
]
},
"peerDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"devDependencies": {
"@koishijs/plugin-mock": "^2.6.5",
"koishi": "^4.17.5"
"koishi": "^4.17.6"
}
}
6 changes: 3 additions & 3 deletions plugins/hmr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
}
},
"peerDependencies": {
"@koishijs/loader": "^4.5.5",
"koishi": "^4.17.5"
"@koishijs/loader": "^4.5.6",
"koishi": "^4.17.6"
},
"devDependencies": {
"@types/babel__code-frame": "^7.0.6",
"esbuild": "^0.18.20",
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"dependencies": {
"@babel/code-frame": "^7.24.2",
Expand Down
6 changes: 3 additions & 3 deletions plugins/mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
}
},
"peerDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"devDependencies": {
"@koishijs/plugin-server": "^3.2.1",
"koishi": "^4.17.5"
"@koishijs/plugin-server": "^3.2.2",
"koishi": "^4.17.6"
}
}
4 changes: 2 additions & 2 deletions plugins/proxy-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
}
},
"peerDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"devDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"dependencies": {
"@cordisjs/plugin-proxy-agent": "^0.3.0"
Expand Down
8 changes: 4 additions & 4 deletions plugins/server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-server",
"description": "Server service for Koishi",
"version": "3.2.1",
"version": "3.2.2",
"type": "module",
"main": "index.cjs",
"module": "index.mjs",
Expand Down Expand Up @@ -51,12 +51,12 @@
}
},
"peerDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"devDependencies": {
"koishi": "^4.17.5"
"koishi": "^4.17.6"
},
"dependencies": {
"@cordisjs/plugin-server": "^0.2.1"
"@cordisjs/plugin-server": "^0.2.2"
}
}

0 comments on commit e496ddb

Please sign in to comment.