diff --git a/package.json b/package.json index cb320d9376..61fca4f584 100644 --- a/package.json +++ b/package.json @@ -23,14 +23,14 @@ "version": "1.0.0", "license": "MIT", "devDependencies": { - "@octokit/rest": "^17.0.0", + "@octokit/rest": "^17.0.1", "@types/cross-spawn": "^6.0.1", "@types/fs-extra": "^8.1.0", "@types/jest": "^25.1.4", "@types/node": "^13.9.0", "@types/semver": "^7.1.0", - "@typescript-eslint/eslint-plugin": "^2.22.0", - "@typescript-eslint/parser": "^2.22.0", + "@typescript-eslint/eslint-plugin": "^2.23.0", + "@typescript-eslint/parser": "^2.23.0", "cac": "^6.5.7", "cross-spawn": "^7.0.1", "del": "^5.1.0", @@ -47,7 +47,7 @@ "jest": "^25.1.0", "kleur": "^3.0.3", "latest-version": "^5.1.0", - "open": "^7.0.2", + "open": "^7.0.3", "ora": "^4.0.3", "p-map": "^4.0.0", "prompts": "^2.3.1", diff --git a/packages/koishi-cli/package.json b/packages/koishi-cli/package.json index a7c195b9b5..587e9c1a46 100644 --- a/packages/koishi-cli/package.json +++ b/packages/koishi-cli/package.json @@ -32,7 +32,7 @@ ], "devDependencies": { "@types/js-yaml": "^3.12.2", - "@types/prompts": "^2.0.4" + "@types/prompts": "^2.0.5" }, "dependencies": { "cac": "^6.5.7", diff --git a/packages/koishi-core/package.json b/packages/koishi-core/package.json index 4541a1da56..000cb84182 100644 --- a/packages/koishi-core/package.json +++ b/packages/koishi-core/package.json @@ -45,6 +45,6 @@ "koishi-utils": "^1.0.4", "leven": "^3.1.0", "ms": "^2.1.2", - "ws": "^7.2.1" + "ws": "^7.2.3" } } diff --git a/packages/koishi-core/src/server.ts b/packages/koishi-core/src/server.ts index e1b487d1e7..00b7f311a1 100644 --- a/packages/koishi-core/src/server.ts +++ b/packages/koishi-core/src/server.ts @@ -1,3 +1,4 @@ +import ms from 'ms' import WebSocket from 'ws' import * as http from 'http' import { errors } from './messages' @@ -7,7 +8,6 @@ import { Meta, VersionInfo, ContextType } from './meta' import { App } from './app' import { CQResponse } from './sender' import { format } from 'util' -import ms from 'ms' export abstract class Server { public appList: App[] = [] diff --git a/packages/plugin-nlp/package.json b/packages/plugin-nlp/package.json index d9076591ec..7c4ec4990a 100644 --- a/packages/plugin-nlp/package.json +++ b/packages/plugin-nlp/package.json @@ -35,6 +35,6 @@ "dependencies": { "koishi-core": "^1.10.1", "koishi-utils": "^1.0.4", - "nodejieba": "^2.4.0" + "nodejieba": "^2.4.1" } }