Commit dbaf8cb9 authored by nanahira's avatar nanahira

catchup

parent 892b13d8
......@@ -10,7 +10,7 @@
"license": "MIT",
"dependencies": {
"class-transformer": "^0.4.0",
"koishi-thirdeye": "^7.0.2",
"koishi-thirdeye": "^7.2.0",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"source-map-support": "^0.5.20"
......@@ -23,7 +23,7 @@
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"koishi": "^4.0.0-rc.1",
"koishi": "^4.0.0-rc.2",
"prettier": "^2.4.1",
"raw-loader": "^4.0.2",
"ts-loader": "^9.2.6",
......@@ -33,7 +33,7 @@
"ws": "^8.3.0"
},
"peerDependencies": {
"koishi": "^4.0.0-rc.1"
"koishi": "^4.0.0-rc.2"
}
},
"node_modules/@babel/code-frame": {
......@@ -213,9 +213,9 @@
}
},
"node_modules/@koishijs/core": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.1.tgz",
"integrity": "sha512-5T2+DUvm2TUpNjWgLD6mlh8+2pNN1edF/80A1eKy5sXyrA86dzR9VkHWysY+ZZpEVedzpVPkc9RXlLwN3byQ2g==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.2.tgz",
"integrity": "sha512-ohMDvkpQTUGi6xYA0OApI56c+E+lhvyIYNYLkDmC3VkU07EGWDmaEt7r9dv04LLy8pr+zx1rCkbkzPWy0BjnXw==",
"dependencies": {
"@koishijs/utils": "^5.0.0-rc.0",
"fastest-levenshtein": "^1.0.12",
......@@ -2624,12 +2624,12 @@
}
},
"node_modules/koishi": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.1.tgz",
"integrity": "sha512-liXILmB7yHaUUOqNqEZ4/Q/bZwsBVsQ8aIwQ7JolZfxQjlZtmwE69B3AEYmY2dWcO3+lnJhjCiBkvKGj01kpSg==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.2.tgz",
"integrity": "sha512-3ovz8Tp4wdMv0pWHDoBr58d+JDpvFfhzDUn5nAIrF7Bd6u9I5gi0qejK+m+2hlfmz1JJCMh9bFnR6hDApAmplw==",
"dependencies": {
"@koa/router": "^10.1.1",
"@koishijs/core": "^4.0.0-rc.1",
"@koishijs/core": "^4.0.0-rc.2",
"@koishijs/utils": "^5.0.0-rc.0",
"@types/koa": "*",
"@types/koa__router": "*",
......@@ -2648,9 +2648,9 @@
}
},
"node_modules/koishi-thirdeye": {
"version": "7.0.2",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.0.2.tgz",
"integrity": "sha512-Axs9MYirL8Zrlg3y/uD4dpNP1GQOhBM6JqfkAwoD9t+s5yJk9wJqDb9amKS9wvQI96j2e0hOV9q3QrTD7jFf6Q==",
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.2.0.tgz",
"integrity": "sha512-VouPWhFgHb4eTP/CMOWk2t11Z+l5BUbrzG6h8sWSCIWU/B0zE/rJD5qhgIwe5xeg25K1Wk710Gvp35xRDYJvdg==",
"dependencies": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
......@@ -2658,10 +2658,10 @@
"reflect-metadata": "^0.1.13",
"schemastery": "^2.1.2",
"schemastery-gen": "^2.3.1",
"typed-reflector": "^1.0.8"
"typed-reflector": "^1.0.9"
},
"peerDependencies": {
"koishi": "^4.0.0-rc.1"
"koishi": "^4.0.0-rc.2"
}
},
"node_modules/levn": {
......@@ -4047,9 +4047,9 @@
}
},
"node_modules/typed-reflector": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.8.tgz",
"integrity": "sha512-Gc2y1jdXpBrRDhTth80ABcmZjL/4Jmx+GrBf7uvn4BXW4J+kj5V3IjA+GQl/n+3ye7SgoEO6HOiDhac1H+mKgw==",
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.9.tgz",
"integrity": "sha512-Df9KpLcXsSM4/q+iFT/WKU8RxmwUC8POY/7VFL9xgvqh2aaY7o+43n7pUTUVKtimJTkQokKoOVe/B8ouW8tBhA==",
"dependencies": {
"reflect-metadata": "^0.1.13"
}
......@@ -4501,9 +4501,9 @@
}
},
"@koishijs/core": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.1.tgz",
"integrity": "sha512-5T2+DUvm2TUpNjWgLD6mlh8+2pNN1edF/80A1eKy5sXyrA86dzR9VkHWysY+ZZpEVedzpVPkc9RXlLwN3byQ2g==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.2.tgz",
"integrity": "sha512-ohMDvkpQTUGi6xYA0OApI56c+E+lhvyIYNYLkDmC3VkU07EGWDmaEt7r9dv04LLy8pr+zx1rCkbkzPWy0BjnXw==",
"requires": {
"@koishijs/utils": "^5.0.0-rc.0",
"fastest-levenshtein": "^1.0.12",
......@@ -6337,12 +6337,12 @@
}
},
"koishi": {
"version": "4.0.0-rc.1",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.1.tgz",
"integrity": "sha512-liXILmB7yHaUUOqNqEZ4/Q/bZwsBVsQ8aIwQ7JolZfxQjlZtmwE69B3AEYmY2dWcO3+lnJhjCiBkvKGj01kpSg==",
"version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.2.tgz",
"integrity": "sha512-3ovz8Tp4wdMv0pWHDoBr58d+JDpvFfhzDUn5nAIrF7Bd6u9I5gi0qejK+m+2hlfmz1JJCMh9bFnR6hDApAmplw==",
"requires": {
"@koa/router": "^10.1.1",
"@koishijs/core": "^4.0.0-rc.1",
"@koishijs/core": "^4.0.0-rc.2",
"@koishijs/utils": "^5.0.0-rc.0",
"@types/koa": "*",
"@types/koa__router": "*",
......@@ -6358,9 +6358,9 @@
}
},
"koishi-thirdeye": {
"version": "7.0.2",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.0.2.tgz",
"integrity": "sha512-Axs9MYirL8Zrlg3y/uD4dpNP1GQOhBM6JqfkAwoD9t+s5yJk9wJqDb9amKS9wvQI96j2e0hOV9q3QrTD7jFf6Q==",
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.2.0.tgz",
"integrity": "sha512-VouPWhFgHb4eTP/CMOWk2t11Z+l5BUbrzG6h8sWSCIWU/B0zE/rJD5qhgIwe5xeg25K1Wk710Gvp35xRDYJvdg==",
"requires": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
......@@ -6368,7 +6368,7 @@
"reflect-metadata": "^0.1.13",
"schemastery": "^2.1.2",
"schemastery-gen": "^2.3.1",
"typed-reflector": "^1.0.8"
"typed-reflector": "^1.0.9"
}
},
"levn": {
......@@ -7358,9 +7358,9 @@
}
},
"typed-reflector": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.8.tgz",
"integrity": "sha512-Gc2y1jdXpBrRDhTth80ABcmZjL/4Jmx+GrBf7uvn4BXW4J+kj5V3IjA+GQl/n+3ye7SgoEO6HOiDhac1H+mKgw==",
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.9.tgz",
"integrity": "sha512-Df9KpLcXsSM4/q+iFT/WKU8RxmwUC8POY/7VFL9xgvqh2aaY7o+43n7pUTUVKtimJTkQokKoOVe/B8ouW8tBhA==",
"requires": {
"reflect-metadata": "^0.1.13"
}
......
......@@ -30,13 +30,13 @@
"homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-tabulate",
"dependencies": {
"class-transformer": "^0.4.0",
"koishi-thirdeye": "^7.0.2",
"koishi-thirdeye": "^7.2.0",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"source-map-support": "^0.5.20"
},
"peerDependencies": {
"koishi": "^4.0.0-rc.1"
"koishi": "^4.0.0-rc.2"
},
"devDependencies": {
"@types/lodash": "^4.14.176",
......@@ -46,7 +46,7 @@
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"koishi": "^4.0.0-rc.1",
"koishi": "^4.0.0-rc.2",
"prettier": "^2.4.1",
"raw-loader": "^4.0.2",
"ts-loader": "^9.2.6",
......
......@@ -2,7 +2,7 @@ import 'source-map-support/register';
import { Context, Cache, Session } from 'koishi';
import { TabulatePluginConfig, TabulatePluginConfigLike } from './config';
import {
KoishiPlugin,
DefinePlugin,
InjectConfig,
Inject,
OnApply,
......@@ -29,7 +29,7 @@ declare module 'koishi' {
}
}
@KoishiPlugin({ name: 'tabulate', schema: TabulatePluginConfig })
@DefinePlugin({ name: 'tabulate', schema: TabulatePluginConfig })
export default class TabulatePlugin implements OnApply {
constructor(private ctx: Context, config: TabulatePluginConfigLike) {}
......
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