Skip to content

Commit

Permalink
chore: bump deps and fix typing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Sep 8, 2021
1 parent 5846a65 commit 293bbb7
Show file tree
Hide file tree
Showing 30 changed files with 59 additions and 67 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@vuepress/plugin-pwa": "^2.0.0-beta.23",
"@vuepress/plugin-register-components": "^2.0.0-beta.23",
"diacritics": "^1.3.0",
"shiki": "^0.9.6",
"typescript": "^4.3.5",
"shiki": "^0.9.10",
"typescript": "^4.4.2",
"vuepress-plugin-medium-zoom": "^1.1.9",
"vuepress-vite": "^2.0.0-beta.23"
}
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
"version": "1.0.0",
"license": "MIT",
"devDependencies": {
"@octokit/rest": "^18.9.0",
"@octokit/rest": "^18.10.0",
"@sinonjs/fake-timers": "^6.0.1",
"@types/chai": "^4.2.21",
"@types/chai-as-promised": "^7.1.4",
"@types/cross-spawn": "^6.0.2",
"@types/fs-extra": "^9.0.12",
"@types/mocha": "^9.0.0",
"@types/node": "^16.4.13",
"@types/rimraf": "^3.0.1",
"@types/node": "^16.7.13",
"@types/rimraf": "^3.0.2",
"@types/semver": "^7.3.8",
"@types/sinonjs__fake-timers": "^6.0.3",
"@types/source-map-support": "^0.5.4",
Expand All @@ -56,31 +56,31 @@
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"del": "^6.0.0",
"esbuild": "^0.12.19",
"esbuild": "^0.12.25",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-mocha": "^8.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^4.1.0",
"fs-extra": "^9.1.0",
"globby": "^11.0.3",
"jest-mock": "^27.0.6",
"jest-mock": "^27.1.1",
"json5": "^2.2.0",
"kleur": "^4.1.4",
"latest-version": "^5.1.0",
"mocha": "^9.0.3",
"nock": "^13.1.1",
"mocha": "^9.1.1",
"nock": "^13.1.3",
"open": "^8.2.1",
"ora": "^5.4.1",
"p-map": "^4.0.0",
"prompts": "^2.4.1",
"rimraf": "^3.0.2",
"semver": "^7.3.5",
"source-map-support": "^0.5.19",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.3.5"
"tsconfig-paths": "^3.11.0",
"typescript": "^4.4.2"
}
}
4 changes: 2 additions & 2 deletions packages/adapter-discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"koishi-test-utils": "^7.0.1"
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"es-aggregate-error": "^1.0.5",
"file-type": "^16.5.3",
"form-data": "^4.0.0",
"ws": "^8.0.0"
"ws": "^8.2.1"
}
}
4 changes: 2 additions & 2 deletions packages/adapter-kaiheila/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"koishi-test-utils": "^7.0.1"
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"form-data": "^4.0.0",
"ws": "^8.0.0"
"ws": "^8.2.1"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-minecraft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"koishi-core": "^3.14.1"
},
"dependencies": {
"mineflayer": "^3.9.0"
"mineflayer": "^3.11.0"
}
}
4 changes: 2 additions & 2 deletions packages/adapter-onebot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"koishi-test-utils": "^7.0.1"
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"koishi-utils": "^4.2.4",
"qface": "^1.2.0",
"ws": "^8.0.0"
"ws": "^8.2.1"
}
}
2 changes: 1 addition & 1 deletion packages/adapter-telegram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"koishi-test-utils": "^7.0.1"
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"form-data": "^4.0.0",
"koishi-utils": "^4.2.4"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-tomon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"koishi-test-utils": "^7.0.1"
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"koishi-utils": "^4.2.4",
"pako": "^2.0.4",
"ws": "^8.0.0"
"ws": "^8.2.1"
}
}
6 changes: 3 additions & 3 deletions packages/koishi-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
"koishi-test-utils": "^7.0.1"
},
"dependencies": {
"@koa/router": "^10.1.0",
"@types/koa__router": "^8.0.7",
"@koa/router": "^10.1.1",
"@types/koa__router": "^8.0.8",
"@types/lru-cache": "^5.1.1",
"@types/ws": "^7.4.7",
"axios": "^0.21.1",
"axios": "^0.21.4",
"fastest-levenshtein": "^1.0.12",
"koa": "^2.13.1",
"koa-bodyparser": "^4.3.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/koishi-core/src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ export class Session<
}
}
if (!this.resolve(argv)) return
collectFields(argv, Command[`_${key}Fields`], fields)
collectFields(argv, argv.command[`_${key}Fields`], fields)
collectFields(argv, Command[`_${key}Fields`] as any, fields)
collectFields(argv, argv.command[`_${key}Fields`] as any, fields)
}
collect(argv)
return fields
Expand Down
2 changes: 1 addition & 1 deletion packages/koishi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"koishi"
],
"devDependencies": {
"@types/js-yaml": "^4.0.2",
"@types/js-yaml": "^4.0.3",
"@types/prompts": "^2.0.14"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"koishi-core": "^3.14.1"
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"form-data": "^4.0.0"
}
}
1 change: 0 additions & 1 deletion packages/plugin-chat/client/utils/image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

<script lang="ts" setup>
import { defineProps } from 'vue'
import { store } from '~/client'
const props = defineProps<{ src: string }>()
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-chat/client/utils/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

<script lang="ts" setup>
import { defineEmit, ref, defineProps, computed, watch, nextTick, onMounted, onUpdated, onBeforeUnmount, defineComponent, h } from 'vue'
import { ref, computed, watch, nextTick, onMounted, onUpdated, onBeforeUnmount, defineComponent, h } from 'vue'
import Virtual from './virtual'
const emit = defineEmit(['click', 'scroll', 'top', 'bottom', 'update:activeKey'])
const emit = defineEmits(['click', 'scroll', 'top', 'bottom', 'update:activeKey'])
const props = defineProps({
tag: { default: 'div' },
Expand Down
1 change: 0 additions & 1 deletion packages/plugin-chat/client/utils/message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<script lang="ts" setup>
import { defineProps } from 'vue'
import { segment } from '~/client'
import KImage from './image.vue'
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-chat/client/utils/panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

<script lang="ts" setup>
import { ref, defineProps, defineEmit } from 'vue'
import { ref } from 'vue'
import { segment } from '~/client'
import VirtualList from './list.vue'
const emit = defineEmit(['send', 'click', 'update:activeKey'])
const emit = defineEmits(['send', 'click', 'update:activeKey'])
const props = defineProps<{
messages: any[],
Expand Down
12 changes: 6 additions & 6 deletions packages/plugin-eval/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@
"koishi-core": "^3.14.1"
},
"optionalDependencies": {
"@babel/core": "^7.15.0",
"@babel/core": "^7.15.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"coffeescript": "^2.5.1",
"esbuild": "^0.12.19",
"esbuild": "^0.12.25",
"json5": "^2.2.0",
"typescript": "^4.3.5"
"typescript": "^4.4.2"
},
"dependencies": {
"js-yaml": "^4.1.0",
"simple-git": "^2.42.0"
"simple-git": "^2.45.1"
},
"devDependencies": {
"@types/babel__core": "^7.1.15",
"@types/js-yaml": "^4.0.2",
"@types/babel__core": "^7.1.16",
"@types/js-yaml": "^4.0.3",
"koishi-test-utils": "^7.0.1"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"koishi-core": "^3.14.1"
},
"dependencies": {
"@octokit/webhooks-types": "^4.3.0",
"axios": "^0.21.1",
"@octokit/webhooks-types": "^4.4.0",
"axios": "^0.21.4",
"marked": "^2.1.3"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-image-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"koishi-core": "^3.14.1"
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"cheerio": "^1.0.0-rc.10",
"iqdb-client": "^1.0.5",
"nhentai-api": "^3.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-teach/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"koishi-test-utils": "^7.0.1"
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"fastest-levenshtein": "^1.0.12"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"koishi-core": "^3.14.1"
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"cheerio": "^1.0.0-rc.10",
"qrcode": "^1.4.4",
"xml-js": "^1.6.11"
Expand Down
2 changes: 0 additions & 2 deletions packages/plugin-webui/client/components/badge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

<script lang="ts" setup>
import { defineProps } from 'vue'
defineProps<{ type?: 'warning' }>()
</script>
Expand Down
2 changes: 0 additions & 2 deletions packages/plugin-webui/client/components/button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

<script lang="ts" setup>
import { defineProps } from 'vue'
defineProps({
type: {
type: String,
Expand Down
2 changes: 0 additions & 2 deletions packages/plugin-webui/client/components/card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

<script lang="ts" setup>
import { defineProps } from 'vue'
defineProps<{
title?: string
}>()
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-webui/client/components/input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<script lang="ts" setup>
import { defineProps, ref, computed, defineEmit } from 'vue'
import { ref, computed } from 'vue'
const props = defineProps({
prefix: String,
Expand All @@ -54,7 +54,7 @@ const inputStyle = computed(() => ({
paddingRight: +!!(props.suffix) + 1 + 'em',
}))
const emit = defineEmit(['update:modelValue', 'paste', 'focus', 'blur', 'enter', 'clickPrefix', 'clickSuffix'])
const emit = defineEmits(['update:modelValue', 'paste', 'focus', 'blur', 'enter', 'clickPrefix', 'clickSuffix'])
function onInput(event) {
if (props.validate) {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-webui/client/components/numeric.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<script lang="ts" setup>
import { defineProps, computed } from 'vue'
import { computed } from 'vue'
const props = defineProps<{
title: string
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-webui/client/views/awesome/package.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import type { Awesome } from '~/server'
import { send, user } from '~/client'
import { defineProps, computed, ref, watch } from 'vue'
import { computed, ref, watch } from 'vue'
const props = defineProps<{ data: Awesome.PackageData }>()
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-webui/client/views/home/load-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<script lang="ts" setup>
import type { LoadRate } from '~/server'
import { defineProps, computed } from 'vue'
import { computed } from 'vue'
const props = defineProps<{ rate: LoadRate, title: string }>()
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-webui/client/views/plugins/plugin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import type { Registry } from '~/server'
import { send, user } from '~/client'
import { ref, defineProps } from 'vue'
import { ref } from 'vue'
import PluginView from './plugin.vue'
const show = ref(false)
Expand Down
18 changes: 9 additions & 9 deletions packages/plugin-webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,22 @@
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
"@vitejs/plugin-vue": "^1.4.0",
"@vue/compiler-sfc": "^3.2.1",
"echarts": "^5.1.2",
"@vitejs/plugin-vue": "^1.6.1",
"@vue/compiler-sfc": "^3.2.10",
"echarts": "^5.2.0",
"echarts-wordcloud": "^2.0.0",
"koishi-plugin-mongo": "^2.5.1",
"koishi-plugin-mysql": "^3.6.1",
"koishi-test-utils": "^7.0.1",
"sass": "^1.37.5",
"vite": "^2.4.4",
"vue": "^3.0.11",
"sass": "^1.39.0",
"vite": "^2.5.5",
"vue": "^3.2.10",
"vue-echarts": "^6.0.0",
"vue-router": "^4.0.5"
"vue-router": "^4.0.11"
},
"dependencies": {
"semver": "^7.3.5",
"systeminformation": "^5.8.0",
"ws": "^8.0.0"
"systeminformation": "^5.8.7",
"ws": "^8.2.1"
}
}

0 comments on commit 293bbb7

Please sign in to comment.