Commit 10a1c9f7 authored by nanahira's avatar nanahira

bump

parent cc770154
...@@ -13,10 +13,11 @@ const app = new Context({ ...@@ -13,10 +13,11 @@ const app = new Context({
}); });
// Console and sandbox // Console and sandbox
app.plugin(SandboxPlugin); // app.plugin(SandboxPlugin);
app.plugin(ConsolePlugin, { app.plugin(ConsolePlugin, {
open: false, open: false,
}); });
app.plugin(SandboxPlugin);
// Some services // Some services
// app.plugin(CachePlugin); // app.plugin(CachePlugin);
......
This diff is collapsed.
...@@ -29,15 +29,15 @@ ...@@ -29,15 +29,15 @@
"dependencies": { "dependencies": {
"better-sqlite3": "^7.4.3", "better-sqlite3": "^7.4.3",
"class-transformer": "^0.5.1", "class-transformer": "^0.5.1",
"koishi-thirdeye": "^11.0.12", "koishi-thirdeye": "^11.1.0",
"leven": "3.1", "leven": "3.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"mustache": "^4.2.0" "mustache": "^4.2.0"
}, },
"devDependencies": { "devDependencies": {
"@koishijs/plugin-console": "^4.1.1", "@koishijs/plugin-console": "^4.5.4",
"@koishijs/plugin-database-memory": "^1.4.1", "@koishijs/plugin-database-memory": "^1.5.0",
"@koishijs/plugin-sandbox": "^2.0.1", "@koishijs/plugin-sandbox": "^2.2.9",
"@types/better-sqlite3": "^7.4.0", "@types/better-sqlite3": "^7.4.0",
"@types/jest": "^27.4.0", "@types/jest": "^27.4.0",
"@types/lodash": "^4.14.175", "@types/lodash": "^4.14.175",
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
"ws": "^8.3.0" "ws": "^8.3.0"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.8.7" "koishi": "^4.9.1"
}, },
"jest": { "jest": {
"moduleFileExtensions": [ "moduleFileExtensions": [
......
...@@ -183,7 +183,11 @@ export class YGOProCard implements YGOProCardLike { ...@@ -183,7 +183,11 @@ export class YGOProCard implements YGOProCardLike {
const lines: string[] = []; const lines: string[] = [];
if (config.displayPic) { if (config.displayPic) {
lines.push( lines.push(
segment('image', { url: config.renderUrl(view), cache: true }), segment(
'image',
{ url: config.renderUrl(view), cache: true },
[],
).toString(),
); );
} }
lines.push(`${view.name}[${view.id}]`); lines.push(`${view.name}[${view.id}]`);
......
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