Commit 56c43b89 authored by nanahira's avatar nanahira

fix compile

parent 3c44472b
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"version": "1.2.3", "version": "1.2.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"koishi-thirdeye": "^10.2.8", "koishi-thirdeye": "^10.3.1",
"moment": "^2.29.3" "moment": "^2.29.3"
}, },
"devDependencies": { "devDependencies": {
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^3.4.1", "eslint-plugin-prettier": "^3.4.1",
"jest": "^28.0.3", "jest": "^28.0.3",
"koishi-plugin-pics": "^9.3.3", "koishi-plugin-pics": "^9.4.1",
"koishi-plugin-picsource-heisi": "^6.0.3", "koishi-plugin-picsource-heisi": "^6.0.3",
"koishi-plugin-picsource-lolicon": "^9.2.0", "koishi-plugin-picsource-lolicon": "^9.2.3",
"koishi-plugin-picsource-miraikoi": "^1.0.2", "koishi-plugin-picsource-miraikoi": "^1.0.2",
"koishi-plugin-picsource-yande": "^2.0.3", "koishi-plugin-picsource-yande": "^2.0.3",
"prettier": "^2.6.2", "prettier": "^2.6.2",
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
"ws": "^8.6.0" "ws": "^8.6.0"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.7.4", "koishi": "^4.7.5",
"koishi-plugin-pics": "^9.3.3" "koishi-plugin-pics": "^9.4.1"
} }
}, },
"node_modules/@ampproject/remapping": { "node_modules/@ampproject/remapping": {
...@@ -1134,15 +1134,15 @@ ...@@ -1134,15 +1134,15 @@
} }
}, },
"node_modules/@koishijs/core": { "node_modules/@koishijs/core": {
"version": "4.7.4", "version": "4.7.5",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.7.4.tgz", "resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.7.5.tgz",
"integrity": "sha512-S4pPaO05WC0htkQVcTMTluBZv4g8sEEBJ2ItHN2zJA8syet3iKJidT+s2gYt8d2rBo0Ndlvo1gBLGLNl/Zc9yg==", "integrity": "sha512-So8tBtSTVIq8dTGs/0o92Om3bQhgYUhmzVhnYTqJbx+kW3kSowl/ORiBhJFK3GR6Dj+JyKLptsqQNE4DjZdNhw==",
"peer": true, "peer": true,
"dependencies": { "dependencies": {
"@koishijs/utils": "^5.4.5", "@koishijs/utils": "^5.4.5",
"cordis": "^1.3.3", "cordis": "^1.5.5",
"fastest-levenshtein": "^1.0.12", "fastest-levenshtein": "^1.0.12",
"minato": "^1.1.0" "minato": "^1.2.1"
}, },
"engines": { "engines": {
"node": ">=12.0.0" "node": ">=12.0.0"
...@@ -2670,9 +2670,9 @@ ...@@ -2670,9 +2670,9 @@
"peer": true "peer": true
}, },
"node_modules/cordis": { "node_modules/cordis": {
"version": "1.3.3", "version": "1.5.5",
"resolved": "https://registry.npmjs.org/cordis/-/cordis-1.3.3.tgz", "resolved": "https://registry.npmjs.org/cordis/-/cordis-1.5.5.tgz",
"integrity": "sha512-mpyBWAEVYX8/YHoGWIqaOjrOk6DmtrOWZfsBSinNR+nDBlB39Ks6aC1B5oZ7AdnVoRE2ZYBCGecoHrlxcRxd6w==", "integrity": "sha512-vCw6FA+OLO5e40so5XjhRnIw1ldGH1L74q/wlnuckqFtIq8teYkfnnmlNTS24RJNcgPz2DWdbVgCnoc+5Lc+UQ==",
"peer": true, "peer": true,
"dependencies": { "dependencies": {
"cosmokit": "^1.1.2" "cosmokit": "^1.1.2"
...@@ -5377,13 +5377,13 @@ ...@@ -5377,13 +5377,13 @@
} }
}, },
"node_modules/koishi": { "node_modules/koishi": {
"version": "4.7.4", "version": "4.7.5",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.7.4.tgz", "resolved": "https://registry.npmjs.org/koishi/-/koishi-4.7.5.tgz",
"integrity": "sha512-VVHf3TyFsTuKrB8IZffxwmwiGx+zyhDo+DNNEFQjvomgqFdGEceAnLxNIf10K48aB1CDmkmi37b6uaURi4Z1Hw==", "integrity": "sha512-Q+czD5hZIsikYwdoKUOZFZIuvXoamikXK6iX4FXnHUPsoXX16PjqX3D1sBKd9JLVMA49KSAGoFW0fN9IMHykYw==",
"peer": true, "peer": true,
"dependencies": { "dependencies": {
"@koa/router": "^10.1.1", "@koa/router": "^10.1.1",
"@koishijs/core": "^4.7.4", "@koishijs/core": "^4.7.5",
"@koishijs/utils": "^5.4.5", "@koishijs/utils": "^5.4.5",
"@types/koa": "*", "@types/koa": "*",
"@types/koa__router": "*", "@types/koa__router": "*",
...@@ -5392,7 +5392,7 @@ ...@@ -5392,7 +5392,7 @@
"file-type": "^16.5.3", "file-type": "^16.5.3",
"koa": "^2.13.4", "koa": "^2.13.4",
"koa-bodyparser": "^4.3.0", "koa-bodyparser": "^4.3.0",
"ns-require": "^1.1.2", "ns-require": "^1.1.4",
"parseurl": "^1.3.3", "parseurl": "^1.3.3",
"path-to-regexp": "^6.2.1", "path-to-regexp": "^6.2.1",
"portfinder": "^1.0.28", "portfinder": "^1.0.28",
...@@ -5404,9 +5404,9 @@ ...@@ -5404,9 +5404,9 @@
} }
}, },
"node_modules/koishi-decorators": { "node_modules/koishi-decorators": {
"version": "2.1.6", "version": "2.1.7",
"resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-2.1.6.tgz", "resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-2.1.7.tgz",
"integrity": "sha512-G1NN31fCIOafKkDME4YBzgHZ6J3b/CjsKr2AszZw9rmH6j7qHbs3PxXrkEK7zFSvTJh1RLHR2gDMhxqC7A3zTQ==", "integrity": "sha512-OoExVOdpVEmv8FywtdjR8JUPQtBz1P2rabkIfmt3SQpp3jrkm67EgdQNH+Nw8+6CfSDukMP3+/xWsA64VE5VEQ==",
"dependencies": { "dependencies": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
...@@ -5417,20 +5417,20 @@ ...@@ -5417,20 +5417,20 @@
"typed-reflector": "^1.0.10" "typed-reflector": "^1.0.10"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.7.4" "koishi": "^4.7.5"
} }
}, },
"node_modules/koishi-plugin-pics": { "node_modules/koishi-plugin-pics": {
"version": "9.3.3", "version": "9.4.1",
"resolved": "https://registry.npmjs.org/koishi-plugin-pics/-/koishi-plugin-pics-9.3.3.tgz", "resolved": "https://registry.npmjs.org/koishi-plugin-pics/-/koishi-plugin-pics-9.4.1.tgz",
"integrity": "sha512-PvBVJw9wAm8u+Cgn4ykrFbWZzA7uxq050rnpMOWjWz3qVG5NbaHimTQYbKhQoqCEHjVenCdj/JMCRjVtzrYHzg==", "integrity": "sha512-TmUpK9hKwcBSbc1zrWaZksvs0a7xfFSvVSTsGkOG6QIMX38cEVGqzeFDy58Hu1f8CR2gJNenM53hI/6lq2Dd2Q==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"koishi-thirdeye": "^10.2.5", "koishi-thirdeye": "^10.3.1",
"lodash": "^4.17.21" "lodash": "^4.17.21"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.7.4" "koishi": "^4.7.5"
} }
}, },
"node_modules/koishi-plugin-picsource-heisi": { "node_modules/koishi-plugin-picsource-heisi": {
...@@ -5448,16 +5448,16 @@ ...@@ -5448,16 +5448,16 @@
} }
}, },
"node_modules/koishi-plugin-picsource-lolicon": { "node_modules/koishi-plugin-picsource-lolicon": {
"version": "9.2.0", "version": "9.2.3",
"resolved": "https://registry.npmjs.org/koishi-plugin-picsource-lolicon/-/koishi-plugin-picsource-lolicon-9.2.0.tgz", "resolved": "https://registry.npmjs.org/koishi-plugin-picsource-lolicon/-/koishi-plugin-picsource-lolicon-9.2.3.tgz",
"integrity": "sha512-7IyrXkNhrEfb9MBgcvbdzI9w+MHCjFBKAOJGkuG/isC7DCJENmPAywDqkV0gsCrDJOSJ0Ns0TfCQ26FXsxjd/Q==", "integrity": "sha512-qF4+Tj0sSxmotvAeDjHW3N2w8YDo+3UJuRUp62kgsB5008ymRWcNX+zP6rtKapuKp4i/jJN5B2Z/NfaA0NjwvA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"koishi-thirdeye": "^10.2.1" "koishi-thirdeye": "^10.2.8"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.7.0", "koishi": "^4.7.4",
"koishi-plugin-pics": "^9.3.0" "koishi-plugin-pics": "^9.3.3"
} }
}, },
"node_modules/koishi-plugin-picsource-miraikoi": { "node_modules/koishi-plugin-picsource-miraikoi": {
...@@ -5487,13 +5487,13 @@ ...@@ -5487,13 +5487,13 @@
} }
}, },
"node_modules/koishi-thirdeye": { "node_modules/koishi-thirdeye": {
"version": "10.2.8", "version": "10.3.1",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-10.2.8.tgz", "resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-10.3.1.tgz",
"integrity": "sha512-fjHDMvc9SxwDuh7E34sl2qvpHrtkYQcrwrHXqk6K8X9sw0RiznL0QSx0EgPqUtr7QkbTm96p2J7MCPaTl5trWg==", "integrity": "sha512-MEppegxBnl9MgwHxjXzItsgzmMnizewllJsuFGRyWasacOHrXieHTG07yGEVKhc8yWJT2JuqS79WI7excXcBXQ==",
"dependencies": { "dependencies": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
"koishi-decorators": "^2.1.6", "koishi-decorators": "^2.1.7",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"minato-decorators": "^2.0.7", "minato-decorators": "^2.0.7",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
...@@ -5501,7 +5501,7 @@ ...@@ -5501,7 +5501,7 @@
"typed-reflector": "^1.0.10" "typed-reflector": "^1.0.10"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.7.4", "koishi": "^4.7.5",
"schemastery": "^3.4.3" "schemastery": "^3.4.3"
} }
}, },
...@@ -5720,13 +5720,13 @@ ...@@ -5720,13 +5720,13 @@
} }
}, },
"node_modules/minato": { "node_modules/minato": {
"version": "1.1.0", "version": "1.2.1",
"resolved": "https://registry.npmjs.org/minato/-/minato-1.1.0.tgz", "resolved": "https://registry.npmjs.org/minato/-/minato-1.2.1.tgz",
"integrity": "sha512-by1KMWxWlzq0iDV7tMkqS3thDRzYNQoS2ECfX5HRpMGaPQJqSgm5aY9IAky7knwAMoW3cMxQ/IhpvEShQqyj6A==", "integrity": "sha512-BYY18rr82aXAAVtMKkN4yDFsTUtsAmeDmyTRVOXG3mEzG74sNF5TU1nVT1QSC9dpvAcCFFs/vZO2rJoC8vSetQ==",
"peer": true, "peer": true,
"dependencies": { "dependencies": {
"cosmokit": "^1.1.2", "cosmokit": "^1.1.2",
"ns-require": "^1.1.2" "ns-require": "^1.1.4"
} }
}, },
"node_modules/minato-decorators": { "node_modules/minato-decorators": {
...@@ -5856,9 +5856,9 @@ ...@@ -5856,9 +5856,9 @@
} }
}, },
"node_modules/ns-require": { "node_modules/ns-require": {
"version": "1.1.2", "version": "1.1.4",
"resolved": "https://registry.npmjs.org/ns-require/-/ns-require-1.1.2.tgz", "resolved": "https://registry.npmjs.org/ns-require/-/ns-require-1.1.4.tgz",
"integrity": "sha512-GUF6I1hWDsGx1cA9FW27KIRAlkMel2UZagR39dVNPAPBgwWK1Ez0XB96WEz2OFcwHsCORI9h75dEZueHqZ/1pA==", "integrity": "sha512-Zk25pQj4u5i6DS0vaNO5aSSXewybVqqVVjz8AOxFy9DNPtmu3jlexMz6kUXLV2oB+X6iQeAnHXSzj5Qz/IeDaQ==",
"peer": true "peer": true
}, },
"node_modules/object-inspect": { "node_modules/object-inspect": {
...@@ -8790,15 +8790,15 @@ ...@@ -8790,15 +8790,15 @@
} }
}, },
"@koishijs/core": { "@koishijs/core": {
"version": "4.7.4", "version": "4.7.5",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.7.4.tgz", "resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.7.5.tgz",
"integrity": "sha512-S4pPaO05WC0htkQVcTMTluBZv4g8sEEBJ2ItHN2zJA8syet3iKJidT+s2gYt8d2rBo0Ndlvo1gBLGLNl/Zc9yg==", "integrity": "sha512-So8tBtSTVIq8dTGs/0o92Om3bQhgYUhmzVhnYTqJbx+kW3kSowl/ORiBhJFK3GR6Dj+JyKLptsqQNE4DjZdNhw==",
"peer": true, "peer": true,
"requires": { "requires": {
"@koishijs/utils": "^5.4.5", "@koishijs/utils": "^5.4.5",
"cordis": "^1.3.3", "cordis": "^1.5.5",
"fastest-levenshtein": "^1.0.12", "fastest-levenshtein": "^1.0.12",
"minato": "^1.1.0" "minato": "^1.2.1"
} }
}, },
"@koishijs/plugin-cache-lru": { "@koishijs/plugin-cache-lru": {
...@@ -10047,9 +10047,9 @@ ...@@ -10047,9 +10047,9 @@
"peer": true "peer": true
}, },
"cordis": { "cordis": {
"version": "1.3.3", "version": "1.5.5",
"resolved": "https://registry.npmjs.org/cordis/-/cordis-1.3.3.tgz", "resolved": "https://registry.npmjs.org/cordis/-/cordis-1.5.5.tgz",
"integrity": "sha512-mpyBWAEVYX8/YHoGWIqaOjrOk6DmtrOWZfsBSinNR+nDBlB39Ks6aC1B5oZ7AdnVoRE2ZYBCGecoHrlxcRxd6w==", "integrity": "sha512-vCw6FA+OLO5e40so5XjhRnIw1ldGH1L74q/wlnuckqFtIq8teYkfnnmlNTS24RJNcgPz2DWdbVgCnoc+5Lc+UQ==",
"peer": true, "peer": true,
"requires": { "requires": {
"cosmokit": "^1.1.2" "cosmokit": "^1.1.2"
...@@ -12073,13 +12073,13 @@ ...@@ -12073,13 +12073,13 @@
} }
}, },
"koishi": { "koishi": {
"version": "4.7.4", "version": "4.7.5",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.7.4.tgz", "resolved": "https://registry.npmjs.org/koishi/-/koishi-4.7.5.tgz",
"integrity": "sha512-VVHf3TyFsTuKrB8IZffxwmwiGx+zyhDo+DNNEFQjvomgqFdGEceAnLxNIf10K48aB1CDmkmi37b6uaURi4Z1Hw==", "integrity": "sha512-Q+czD5hZIsikYwdoKUOZFZIuvXoamikXK6iX4FXnHUPsoXX16PjqX3D1sBKd9JLVMA49KSAGoFW0fN9IMHykYw==",
"peer": true, "peer": true,
"requires": { "requires": {
"@koa/router": "^10.1.1", "@koa/router": "^10.1.1",
"@koishijs/core": "^4.7.4", "@koishijs/core": "^4.7.5",
"@koishijs/utils": "^5.4.5", "@koishijs/utils": "^5.4.5",
"@types/koa": "*", "@types/koa": "*",
"@types/koa__router": "*", "@types/koa__router": "*",
...@@ -12088,7 +12088,7 @@ ...@@ -12088,7 +12088,7 @@
"file-type": "^16.5.3", "file-type": "^16.5.3",
"koa": "^2.13.4", "koa": "^2.13.4",
"koa-bodyparser": "^4.3.0", "koa-bodyparser": "^4.3.0",
"ns-require": "^1.1.2", "ns-require": "^1.1.4",
"parseurl": "^1.3.3", "parseurl": "^1.3.3",
"path-to-regexp": "^6.2.1", "path-to-regexp": "^6.2.1",
"portfinder": "^1.0.28", "portfinder": "^1.0.28",
...@@ -12097,9 +12097,9 @@ ...@@ -12097,9 +12097,9 @@
} }
}, },
"koishi-decorators": { "koishi-decorators": {
"version": "2.1.6", "version": "2.1.7",
"resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-2.1.6.tgz", "resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-2.1.7.tgz",
"integrity": "sha512-G1NN31fCIOafKkDME4YBzgHZ6J3b/CjsKr2AszZw9rmH6j7qHbs3PxXrkEK7zFSvTJh1RLHR2gDMhxqC7A3zTQ==", "integrity": "sha512-OoExVOdpVEmv8FywtdjR8JUPQtBz1P2rabkIfmt3SQpp3jrkm67EgdQNH+Nw8+6CfSDukMP3+/xWsA64VE5VEQ==",
"requires": { "requires": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
...@@ -12111,12 +12111,12 @@ ...@@ -12111,12 +12111,12 @@
} }
}, },
"koishi-plugin-pics": { "koishi-plugin-pics": {
"version": "9.3.3", "version": "9.4.1",
"resolved": "https://registry.npmjs.org/koishi-plugin-pics/-/koishi-plugin-pics-9.3.3.tgz", "resolved": "https://registry.npmjs.org/koishi-plugin-pics/-/koishi-plugin-pics-9.4.1.tgz",
"integrity": "sha512-PvBVJw9wAm8u+Cgn4ykrFbWZzA7uxq050rnpMOWjWz3qVG5NbaHimTQYbKhQoqCEHjVenCdj/JMCRjVtzrYHzg==", "integrity": "sha512-TmUpK9hKwcBSbc1zrWaZksvs0a7xfFSvVSTsGkOG6QIMX38cEVGqzeFDy58Hu1f8CR2gJNenM53hI/6lq2Dd2Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"koishi-thirdeye": "^10.2.5", "koishi-thirdeye": "^10.3.1",
"lodash": "^4.17.21" "lodash": "^4.17.21"
} }
}, },
...@@ -12131,12 +12131,12 @@ ...@@ -12131,12 +12131,12 @@
} }
}, },
"koishi-plugin-picsource-lolicon": { "koishi-plugin-picsource-lolicon": {
"version": "9.2.0", "version": "9.2.3",
"resolved": "https://registry.npmjs.org/koishi-plugin-picsource-lolicon/-/koishi-plugin-picsource-lolicon-9.2.0.tgz", "resolved": "https://registry.npmjs.org/koishi-plugin-picsource-lolicon/-/koishi-plugin-picsource-lolicon-9.2.3.tgz",
"integrity": "sha512-7IyrXkNhrEfb9MBgcvbdzI9w+MHCjFBKAOJGkuG/isC7DCJENmPAywDqkV0gsCrDJOSJ0Ns0TfCQ26FXsxjd/Q==", "integrity": "sha512-qF4+Tj0sSxmotvAeDjHW3N2w8YDo+3UJuRUp62kgsB5008ymRWcNX+zP6rtKapuKp4i/jJN5B2Z/NfaA0NjwvA==",
"dev": true, "dev": true,
"requires": { "requires": {
"koishi-thirdeye": "^10.2.1" "koishi-thirdeye": "^10.2.8"
} }
}, },
"koishi-plugin-picsource-miraikoi": { "koishi-plugin-picsource-miraikoi": {
...@@ -12158,13 +12158,13 @@ ...@@ -12158,13 +12158,13 @@
} }
}, },
"koishi-thirdeye": { "koishi-thirdeye": {
"version": "10.2.8", "version": "10.3.1",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-10.2.8.tgz", "resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-10.3.1.tgz",
"integrity": "sha512-fjHDMvc9SxwDuh7E34sl2qvpHrtkYQcrwrHXqk6K8X9sw0RiznL0QSx0EgPqUtr7QkbTm96p2J7MCPaTl5trWg==", "integrity": "sha512-MEppegxBnl9MgwHxjXzItsgzmMnizewllJsuFGRyWasacOHrXieHTG07yGEVKhc8yWJT2JuqS79WI7excXcBXQ==",
"requires": { "requires": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
"koishi-decorators": "^2.1.6", "koishi-decorators": "^2.1.7",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"minato-decorators": "^2.0.7", "minato-decorators": "^2.0.7",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
...@@ -12344,13 +12344,13 @@ ...@@ -12344,13 +12344,13 @@
"dev": true "dev": true
}, },
"minato": { "minato": {
"version": "1.1.0", "version": "1.2.1",
"resolved": "https://registry.npmjs.org/minato/-/minato-1.1.0.tgz", "resolved": "https://registry.npmjs.org/minato/-/minato-1.2.1.tgz",
"integrity": "sha512-by1KMWxWlzq0iDV7tMkqS3thDRzYNQoS2ECfX5HRpMGaPQJqSgm5aY9IAky7knwAMoW3cMxQ/IhpvEShQqyj6A==", "integrity": "sha512-BYY18rr82aXAAVtMKkN4yDFsTUtsAmeDmyTRVOXG3mEzG74sNF5TU1nVT1QSC9dpvAcCFFs/vZO2rJoC8vSetQ==",
"peer": true, "peer": true,
"requires": { "requires": {
"cosmokit": "^1.1.2", "cosmokit": "^1.1.2",
"ns-require": "^1.1.2" "ns-require": "^1.1.4"
} }
}, },
"minato-decorators": { "minato-decorators": {
...@@ -12453,9 +12453,9 @@ ...@@ -12453,9 +12453,9 @@
} }
}, },
"ns-require": { "ns-require": {
"version": "1.1.2", "version": "1.1.4",
"resolved": "https://registry.npmjs.org/ns-require/-/ns-require-1.1.2.tgz", "resolved": "https://registry.npmjs.org/ns-require/-/ns-require-1.1.4.tgz",
"integrity": "sha512-GUF6I1hWDsGx1cA9FW27KIRAlkMel2UZagR39dVNPAPBgwWK1Ez0XB96WEz2OFcwHsCORI9h75dEZueHqZ/1pA==", "integrity": "sha512-Zk25pQj4u5i6DS0vaNO5aSSXewybVqqVVjz8AOxFy9DNPtmu3jlexMz6kUXLV2oB+X6iQeAnHXSzj5Qz/IeDaQ==",
"peer": true "peer": true
}, },
"object-inspect": { "object-inspect": {
......
...@@ -47,12 +47,12 @@ ...@@ -47,12 +47,12 @@
"testEnvironment": "node" "testEnvironment": "node"
}, },
"dependencies": { "dependencies": {
"koishi-thirdeye": "^10.2.8", "koishi-thirdeye": "^10.3.1",
"moment": "^2.29.3" "moment": "^2.29.3"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.7.4", "koishi": "^4.7.5",
"koishi-plugin-pics": "^9.3.3" "koishi-plugin-pics": "^9.4.1"
}, },
"devDependencies": { "devDependencies": {
"@koishijs/plugin-cache-lru": "^1.0.0-rc.0", "@koishijs/plugin-cache-lru": "^1.0.0-rc.0",
...@@ -67,9 +67,9 @@ ...@@ -67,9 +67,9 @@
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^3.4.1", "eslint-plugin-prettier": "^3.4.1",
"jest": "^28.0.3", "jest": "^28.0.3",
"koishi-plugin-pics": "^9.3.3", "koishi-plugin-pics": "^9.4.1",
"koishi-plugin-picsource-heisi": "^6.0.3", "koishi-plugin-picsource-heisi": "^6.0.3",
"koishi-plugin-picsource-lolicon": "^9.2.0", "koishi-plugin-picsource-lolicon": "^9.2.3",
"koishi-plugin-picsource-miraikoi": "^1.0.2", "koishi-plugin-picsource-miraikoi": "^1.0.2",
"koishi-plugin-picsource-yande": "^2.0.3", "koishi-plugin-picsource-yande": "^2.0.3",
"prettier": "^2.6.2", "prettier": "^2.6.2",
......
...@@ -5,8 +5,9 @@ import { ...@@ -5,8 +5,9 @@ import {
PutOption, PutOption,
SchemaOptions, SchemaOptions,
PutSession, PutSession,
Selection,
} from 'koishi-thirdeye'; } from 'koishi-thirdeye';
import { Adapter, Bot, Random, Selection, Session } from 'koishi'; import { Adapter, Bot, Random, Session } from 'koishi';
import path from 'path'; import path from 'path';
import * as fs from 'fs'; import * as fs from 'fs';
import moment from 'moment'; import moment from 'moment';
......
...@@ -14,6 +14,7 @@ import { ...@@ -14,6 +14,7 @@ import {
UseMiddleware, UseMiddleware,
OnPrivate, OnPrivate,
PutBot, PutBot,
selectContext,
} from 'koishi-thirdeye'; } from 'koishi-thirdeye';
import { Adapter, Bot, Logger, Next, Session } from 'koishi'; import { Adapter, Bot, Logger, Next, Session } from 'koishi';
import type PicsContainer from 'koishi-plugin-pics'; import type PicsContainer from 'koishi-plugin-pics';
...@@ -77,7 +78,7 @@ export default class EdgingPlugin ...@@ -77,7 +78,7 @@ export default class EdgingPlugin
implements LifecycleEvents implements LifecycleEvents
{ {
onApply() { onApply() {
this.ctx.select(this.config.panelSelection).plugin(EdgingPanel); selectContext(this.ctx, this.config.panelSelection).plugin(EdgingPanel);
dynamicInterval( dynamicInterval(
this.ctx, this.ctx,
this.wrapTry(() => this.processText(), 'process text'), this.wrapTry(() => this.processText(), 'process text'),
......
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