update
This commit is contained in:
parent
4cd51435a7
commit
17debc4727
|
@ -17,7 +17,6 @@
|
||||||
"lint": "pnpm typecheck && pnpm eslint"
|
"lint": "pnpm typecheck && pnpm eslint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@caed0/webp-conv": "^1.1.0",
|
|
||||||
"@discordapp/twemoji": "15.0.3",
|
"@discordapp/twemoji": "15.0.3",
|
||||||
"@github/webauthn-json": "2.1.1",
|
"@github/webauthn-json": "2.1.1",
|
||||||
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
|
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
|
||||||
|
@ -32,7 +31,6 @@
|
||||||
"@vitejs/plugin-vue": "5.0.4",
|
"@vitejs/plugin-vue": "5.0.4",
|
||||||
"@vue/compiler-sfc": "3.4.26",
|
"@vue/compiler-sfc": "3.4.26",
|
||||||
"aiscript-vscode": "github:aiscript-dev/aiscript-vscode#v0.1.4",
|
"aiscript-vscode": "github:aiscript-dev/aiscript-vscode#v0.1.4",
|
||||||
"apng-js": "^1.1.1",
|
|
||||||
"astring": "1.8.6",
|
"astring": "1.8.6",
|
||||||
"broadcast-channel": "7.0.0",
|
"broadcast-channel": "7.0.0",
|
||||||
"buraha": "0.0.1",
|
"buraha": "0.0.1",
|
||||||
|
@ -49,14 +47,10 @@
|
||||||
"escape-regexp": "0.0.1",
|
"escape-regexp": "0.0.1",
|
||||||
"estree-walker": "3.0.3",
|
"estree-walker": "3.0.3",
|
||||||
"eventemitter3": "5.0.1",
|
"eventemitter3": "5.0.1",
|
||||||
"gif-frames": "^1.0.1",
|
|
||||||
"gifshot": "^0.4.5",
|
|
||||||
"gifuct-js": "^2.1.2",
|
|
||||||
"idb-keyval": "6.2.1",
|
"idb-keyval": "6.2.1",
|
||||||
"insert-text-at-cursor": "0.3.0",
|
"insert-text-at-cursor": "0.3.0",
|
||||||
"is-file-animated": "1.0.2",
|
"is-file-animated": "1.0.2",
|
||||||
"json5": "2.2.3",
|
"json5": "2.2.3",
|
||||||
"libwebpjs": "^0.0.1",
|
|
||||||
"matter-js": "0.19.0",
|
"matter-js": "0.19.0",
|
||||||
"mfm-js": "0.24.0",
|
"mfm-js": "0.24.0",
|
||||||
"misskey-bubble-game": "workspace:*",
|
"misskey-bubble-game": "workspace:*",
|
||||||
|
@ -82,8 +76,6 @@
|
||||||
"vue": "3.4.26",
|
"vue": "3.4.26",
|
||||||
"vuedraggable": "next",
|
"vuedraggable": "next",
|
||||||
"wavesurfer.js": "^7.7.14",
|
"wavesurfer.js": "^7.7.14",
|
||||||
"webm-wasm": "^0.4.1",
|
|
||||||
"webp-hero": "^0.0.2"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@misskey-dev/eslint-plugin": "1.0.0",
|
"@misskey-dev/eslint-plugin": "1.0.0",
|
||||||
|
|
|
@ -474,7 +474,7 @@ export default function (props: MfmProps, { emit }: { emit: SetupContext<MfmEven
|
||||||
|
|
||||||
case 'emojiCode': {
|
case 'emojiCode': {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
||||||
if (props.author?.host == null && !props.emojiUrls) {
|
if (props.author?.host == null ) {
|
||||||
return [h(MkCustomEmoji, {
|
return [h(MkCustomEmoji, {
|
||||||
key: Math.random(),
|
key: Math.random(),
|
||||||
name: token.props.name,
|
name: token.props.name,
|
||||||
|
@ -487,7 +487,6 @@ export default function (props: MfmProps, { emit }: { emit: SetupContext<MfmEven
|
||||||
})];
|
})];
|
||||||
} else {
|
} else {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
||||||
console.log(props.emojiUrls, props.emojiUrls[token.props.name], token.props.name);
|
|
||||||
if (props.emojiUrls && (props.emojiUrls[token.props.name] == null)) {
|
if (props.emojiUrls && (props.emojiUrls[token.props.name] == null)) {
|
||||||
return [h('span', `:${token.props.name}:`)];
|
return [h('span', `:${token.props.name}:`)];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue