Commit 7119e740 authored by nanahira's avatar nanahira

catchup

parent 1ceca86a
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"ip": "^1.1.5", "ip": "^1.1.5",
"koishi-thirdeye": "^7.0.2", "koishi-thirdeye": "^7.2.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"moment": "^2.29.1", "moment": "^2.29.1",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1", "eslint-plugin-prettier": "^3.4.1",
"koishi": "^4.0.0-rc.1", "koishi": "^4.0.0-rc.2",
"prettier": "^2.4.1", "prettier": "^2.4.1",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"ts-loader": "^9.2.6", "ts-loader": "^9.2.6",
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
"ws": "^8.3.0" "ws": "^8.3.0"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.0.0-rc.1" "koishi": "^4.0.0-rc.2"
} }
}, },
"node_modules/@babel/code-frame": { "node_modules/@babel/code-frame": {
...@@ -215,9 +215,9 @@ ...@@ -215,9 +215,9 @@
} }
}, },
"node_modules/@koishijs/core": { "node_modules/@koishijs/core": {
"version": "4.0.0-rc.1", "version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.1.tgz", "resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.2.tgz",
"integrity": "sha512-5T2+DUvm2TUpNjWgLD6mlh8+2pNN1edF/80A1eKy5sXyrA86dzR9VkHWysY+ZZpEVedzpVPkc9RXlLwN3byQ2g==", "integrity": "sha512-ohMDvkpQTUGi6xYA0OApI56c+E+lhvyIYNYLkDmC3VkU07EGWDmaEt7r9dv04LLy8pr+zx1rCkbkzPWy0BjnXw==",
"dependencies": { "dependencies": {
"@koishijs/utils": "^5.0.0-rc.0", "@koishijs/utils": "^5.0.0-rc.0",
"fastest-levenshtein": "^1.0.12", "fastest-levenshtein": "^1.0.12",
...@@ -2675,12 +2675,12 @@ ...@@ -2675,12 +2675,12 @@
} }
}, },
"node_modules/koishi": { "node_modules/koishi": {
"version": "4.0.0-rc.1", "version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.1.tgz", "resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.2.tgz",
"integrity": "sha512-liXILmB7yHaUUOqNqEZ4/Q/bZwsBVsQ8aIwQ7JolZfxQjlZtmwE69B3AEYmY2dWcO3+lnJhjCiBkvKGj01kpSg==", "integrity": "sha512-3ovz8Tp4wdMv0pWHDoBr58d+JDpvFfhzDUn5nAIrF7Bd6u9I5gi0qejK+m+2hlfmz1JJCMh9bFnR6hDApAmplw==",
"dependencies": { "dependencies": {
"@koa/router": "^10.1.1", "@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", "@koishijs/utils": "^5.0.0-rc.0",
"@types/koa": "*", "@types/koa": "*",
"@types/koa__router": "*", "@types/koa__router": "*",
...@@ -2699,9 +2699,9 @@ ...@@ -2699,9 +2699,9 @@
} }
}, },
"node_modules/koishi-thirdeye": { "node_modules/koishi-thirdeye": {
"version": "7.0.2", "version": "7.2.0",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.0.2.tgz", "resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.2.0.tgz",
"integrity": "sha512-Axs9MYirL8Zrlg3y/uD4dpNP1GQOhBM6JqfkAwoD9t+s5yJk9wJqDb9amKS9wvQI96j2e0hOV9q3QrTD7jFf6Q==", "integrity": "sha512-VouPWhFgHb4eTP/CMOWk2t11Z+l5BUbrzG6h8sWSCIWU/B0zE/rJD5qhgIwe5xeg25K1Wk710Gvp35xRDYJvdg==",
"dependencies": { "dependencies": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
...@@ -2709,10 +2709,10 @@ ...@@ -2709,10 +2709,10 @@
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"schemastery": "^2.1.2", "schemastery": "^2.1.2",
"schemastery-gen": "^2.3.1", "schemastery-gen": "^2.3.1",
"typed-reflector": "^1.0.8" "typed-reflector": "^1.0.9"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.0.0-rc.1" "koishi": "^4.0.0-rc.2"
} }
}, },
"node_modules/koishi/node_modules/file-type": { "node_modules/koishi/node_modules/file-type": {
...@@ -4205,9 +4205,9 @@ ...@@ -4205,9 +4205,9 @@
} }
}, },
"node_modules/typed-reflector": { "node_modules/typed-reflector": {
"version": "1.0.8", "version": "1.0.9",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.8.tgz", "resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.9.tgz",
"integrity": "sha512-Gc2y1jdXpBrRDhTth80ABcmZjL/4Jmx+GrBf7uvn4BXW4J+kj5V3IjA+GQl/n+3ye7SgoEO6HOiDhac1H+mKgw==", "integrity": "sha512-Df9KpLcXsSM4/q+iFT/WKU8RxmwUC8POY/7VFL9xgvqh2aaY7o+43n7pUTUVKtimJTkQokKoOVe/B8ouW8tBhA==",
"dependencies": { "dependencies": {
"reflect-metadata": "^0.1.13" "reflect-metadata": "^0.1.13"
} }
...@@ -4679,9 +4679,9 @@ ...@@ -4679,9 +4679,9 @@
} }
}, },
"@koishijs/core": { "@koishijs/core": {
"version": "4.0.0-rc.1", "version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.1.tgz", "resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.0.0-rc.2.tgz",
"integrity": "sha512-5T2+DUvm2TUpNjWgLD6mlh8+2pNN1edF/80A1eKy5sXyrA86dzR9VkHWysY+ZZpEVedzpVPkc9RXlLwN3byQ2g==", "integrity": "sha512-ohMDvkpQTUGi6xYA0OApI56c+E+lhvyIYNYLkDmC3VkU07EGWDmaEt7r9dv04LLy8pr+zx1rCkbkzPWy0BjnXw==",
"requires": { "requires": {
"@koishijs/utils": "^5.0.0-rc.0", "@koishijs/utils": "^5.0.0-rc.0",
"fastest-levenshtein": "^1.0.12", "fastest-levenshtein": "^1.0.12",
...@@ -6555,12 +6555,12 @@ ...@@ -6555,12 +6555,12 @@
} }
}, },
"koishi": { "koishi": {
"version": "4.0.0-rc.1", "version": "4.0.0-rc.2",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.1.tgz", "resolved": "https://registry.npmjs.org/koishi/-/koishi-4.0.0-rc.2.tgz",
"integrity": "sha512-liXILmB7yHaUUOqNqEZ4/Q/bZwsBVsQ8aIwQ7JolZfxQjlZtmwE69B3AEYmY2dWcO3+lnJhjCiBkvKGj01kpSg==", "integrity": "sha512-3ovz8Tp4wdMv0pWHDoBr58d+JDpvFfhzDUn5nAIrF7Bd6u9I5gi0qejK+m+2hlfmz1JJCMh9bFnR6hDApAmplw==",
"requires": { "requires": {
"@koa/router": "^10.1.1", "@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", "@koishijs/utils": "^5.0.0-rc.0",
"@types/koa": "*", "@types/koa": "*",
"@types/koa__router": "*", "@types/koa__router": "*",
...@@ -6588,9 +6588,9 @@ ...@@ -6588,9 +6588,9 @@
} }
}, },
"koishi-thirdeye": { "koishi-thirdeye": {
"version": "7.0.2", "version": "7.2.0",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.0.2.tgz", "resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-7.2.0.tgz",
"integrity": "sha512-Axs9MYirL8Zrlg3y/uD4dpNP1GQOhBM6JqfkAwoD9t+s5yJk9wJqDb9amKS9wvQI96j2e0hOV9q3QrTD7jFf6Q==", "integrity": "sha512-VouPWhFgHb4eTP/CMOWk2t11Z+l5BUbrzG6h8sWSCIWU/B0zE/rJD5qhgIwe5xeg25K1Wk710Gvp35xRDYJvdg==",
"requires": { "requires": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
...@@ -6598,7 +6598,7 @@ ...@@ -6598,7 +6598,7 @@
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"schemastery": "^2.1.2", "schemastery": "^2.1.2",
"schemastery-gen": "^2.3.1", "schemastery-gen": "^2.3.1",
"typed-reflector": "^1.0.8" "typed-reflector": "^1.0.9"
} }
}, },
"levn": { "levn": {
...@@ -7659,9 +7659,9 @@ ...@@ -7659,9 +7659,9 @@
} }
}, },
"typed-reflector": { "typed-reflector": {
"version": "1.0.8", "version": "1.0.9",
"resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.8.tgz", "resolved": "https://registry.npmjs.org/typed-reflector/-/typed-reflector-1.0.9.tgz",
"integrity": "sha512-Gc2y1jdXpBrRDhTth80ABcmZjL/4Jmx+GrBf7uvn4BXW4J+kj5V3IjA+GQl/n+3ye7SgoEO6HOiDhac1H+mKgw==", "integrity": "sha512-Df9KpLcXsSM4/q+iFT/WKU8RxmwUC8POY/7VFL9xgvqh2aaY7o+43n7pUTUVKtimJTkQokKoOVe/B8ouW8tBhA==",
"requires": { "requires": {
"reflect-metadata": "^0.1.13" "reflect-metadata": "^0.1.13"
} }
......
...@@ -25,11 +25,11 @@ ...@@ -25,11 +25,11 @@
}, },
"homepage": "https://code.mycard.moe/nanahira/koishi-plugin-hisoutensoku-jammer", "homepage": "https://code.mycard.moe/nanahira/koishi-plugin-hisoutensoku-jammer",
"peerDependencies": { "peerDependencies": {
"koishi": "^4.0.0-rc.1" "koishi": "^4.0.0-rc.2"
}, },
"dependencies": { "dependencies": {
"ip": "^1.1.5", "ip": "^1.1.5",
"koishi-thirdeye": "^7.0.2", "koishi-thirdeye": "^7.2.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"moment": "^2.29.1", "moment": "^2.29.1",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1", "eslint-plugin-prettier": "^3.4.1",
"koishi": "^4.0.0-rc.1", "koishi": "^4.0.0-rc.2",
"prettier": "^2.4.1", "prettier": "^2.4.1",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"ts-loader": "^9.2.6", "ts-loader": "^9.2.6",
......
...@@ -5,7 +5,7 @@ import { ...@@ -5,7 +5,7 @@ import {
HisoutensokuJammerPluginConfigLike, HisoutensokuJammerPluginConfigLike,
} from './config'; } from './config';
import { import {
KoishiPlugin, DefinePlugin,
InjectConfig, InjectConfig,
UseMiddleware, UseMiddleware,
InjectLogger, InjectLogger,
...@@ -32,7 +32,7 @@ const matcherSingle = /([1-2]?[^\d]?\d{0,2})(([^\d]+[1-2]?\d{1,2}){3,}?).+?([1-6 ...@@ -32,7 +32,7 @@ const matcherSingle = /([1-2]?[^\d]?\d{0,2})(([^\d]+[1-2]?\d{1,2}){3,}?).+?([1-6
const PROTOCOL_BASE64 = 'base64://'; const PROTOCOL_BASE64 = 'base64://';
@KoishiPlugin({ @DefinePlugin({
name: 'hisoutensoku-jammer', name: 'hisoutensoku-jammer',
schema: HisoutensokuJammerPluginConfig, schema: HisoutensokuJammerPluginConfig,
}) })
......
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