Commit 4e4e2111 authored by nanahira's avatar nanahira

bump koishi-thirdeye

parent e4c3912d
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"@types/ws": "^8.5.3", "@types/ws": "^8.5.3",
"koa": "^2.13.4", "koa": "^2.13.4",
"koa-bodyparser": "^4.3.0", "koa-bodyparser": "^4.3.0",
"koishi-thirdeye": "^11.1.5", "koishi-thirdeye": "^11.1.10",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"typed-reflector": "^1.0.11", "typed-reflector": "^1.0.11",
"ws": "^8.7.0" "ws": "^8.7.0"
...@@ -5272,13 +5272,13 @@ ...@@ -5272,13 +5272,13 @@
} }
}, },
"node_modules/koishi-thirdeye": { "node_modules/koishi-thirdeye": {
"version": "11.1.5", "version": "11.1.10",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-11.1.5.tgz", "resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-11.1.10.tgz",
"integrity": "sha512-nUpJiPqc4gzhPButzlT+gEycDedCCDYScEe+e6gIHm4yFBiW5ZSO5EpAgkgmOyTEokXijXHqgUhfkKoMfLLT0w==", "integrity": "sha512-Tf56NWkFqwfkmMtKihV0TZhlMhw54SBZ8I6H6LDaZsPNx4oAfLnk9/+yUK/Lu/x7DTMQJ61T+47IavTi/FIH4Q==",
"dependencies": { "dependencies": {
"minato-decorators": "^2.1.0", "minato-decorators": "^2.1.0",
"rxjs": "^7.5.6", "rxjs": "^7.5.6",
"satori-decorators": "^1.0.14" "satori-decorators": "^1.1.0"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.9.7" "koishi": "^4.9.7"
...@@ -6494,9 +6494,9 @@ ...@@ -6494,9 +6494,9 @@
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
}, },
"node_modules/satori-decorators": { "node_modules/satori-decorators": {
"version": "1.0.14", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/satori-decorators/-/satori-decorators-1.0.14.tgz", "resolved": "https://registry.npmjs.org/satori-decorators/-/satori-decorators-1.1.0.tgz",
"integrity": "sha512-sVLj6dRFLy3uB8za1Z+M/LAYhW0OEnuVOSax8APNo1joFkcRDrP4HW4nqpxUmiH8D1LfhYx6DVLeRhkB+EXmVg==", "integrity": "sha512-phKYqIGmidE7AAaCCRGv3jMkYG+iwe+HF09tLS7QGXfHHBHbjVYPKAxaaoW/zqp+RBYpBXo7XVBxqk/8Uja0Tg==",
"dependencies": { "dependencies": {
"@types/koa": "^2.13.5", "@types/koa": "^2.13.5",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
...@@ -6504,7 +6504,8 @@ ...@@ -6504,7 +6504,8 @@
"lodash": "^4.17.21" "lodash": "^4.17.21"
}, },
"peerDependencies": { "peerDependencies": {
"@satorijs/satori": "^1.1.11" "@satorijs/core": "^1.3.1",
"koishi": "^4.9.7"
} }
}, },
"node_modules/satori-decorators/node_modules/@types/koa__router": { "node_modules/satori-decorators/node_modules/@types/koa__router": {
...@@ -11565,13 +11566,13 @@ ...@@ -11565,13 +11566,13 @@
} }
}, },
"koishi-thirdeye": { "koishi-thirdeye": {
"version": "11.1.5", "version": "11.1.10",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-11.1.5.tgz", "resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-11.1.10.tgz",
"integrity": "sha512-nUpJiPqc4gzhPButzlT+gEycDedCCDYScEe+e6gIHm4yFBiW5ZSO5EpAgkgmOyTEokXijXHqgUhfkKoMfLLT0w==", "integrity": "sha512-Tf56NWkFqwfkmMtKihV0TZhlMhw54SBZ8I6H6LDaZsPNx4oAfLnk9/+yUK/Lu/x7DTMQJ61T+47IavTi/FIH4Q==",
"requires": { "requires": {
"minato-decorators": "^2.1.0", "minato-decorators": "^2.1.0",
"rxjs": "^7.5.6", "rxjs": "^7.5.6",
"satori-decorators": "^1.0.14" "satori-decorators": "^1.1.0"
} }
}, },
"leven": { "leven": {
...@@ -12479,9 +12480,9 @@ ...@@ -12479,9 +12480,9 @@
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
}, },
"satori-decorators": { "satori-decorators": {
"version": "1.0.14", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/satori-decorators/-/satori-decorators-1.0.14.tgz", "resolved": "https://registry.npmjs.org/satori-decorators/-/satori-decorators-1.1.0.tgz",
"integrity": "sha512-sVLj6dRFLy3uB8za1Z+M/LAYhW0OEnuVOSax8APNo1joFkcRDrP4HW4nqpxUmiH8D1LfhYx6DVLeRhkB+EXmVg==", "integrity": "sha512-phKYqIGmidE7AAaCCRGv3jMkYG+iwe+HF09tLS7QGXfHHBHbjVYPKAxaaoW/zqp+RBYpBXo7XVBxqk/8Uja0Tg==",
"requires": { "requires": {
"@types/koa": "^2.13.5", "@types/koa": "^2.13.5",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
......
...@@ -25,8 +25,6 @@ export class KoishiContextService { ...@@ -25,8 +25,6 @@ export class KoishiContextService {
getModuleCtx(ctx: Context, module: Module): Context { getModuleCtx(ctx: Context, module: Module): Context {
const moduleSelection = this.moduleSelections.get(module.metatype); const moduleSelection = this.moduleSelections.get(module.metatype);
if (moduleSelection) { if (moduleSelection) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
return selectContext(ctx, moduleSelection); return selectContext(ctx, moduleSelection);
} else { } else {
return ctx; return ctx;
......
...@@ -78,8 +78,6 @@ export const AppendMetadata = <K extends keyof MetadataArrayMap>( ...@@ -78,8 +78,6 @@ export const AppendMetadata = <K extends keyof MetadataArrayMap>(
): CustomDecorator<K> => ): CustomDecorator<K> =>
TransformMetadata<K, MetadataArrayValueMap>(metadataKey, (arr) => { TransformMetadata<K, MetadataArrayValueMap>(metadataKey, (arr) => {
const newArr = arr || []; const newArr = arr || [];
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
newArr.push(metadataValue); newArr.push(metadataValue);
return newArr; return newArr;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment