update mfm-js
This commit is contained in:
parent
367ccb9971
commit
68e65ed5df
|
@ -72,7 +72,7 @@
|
||||||
"json5-loader": "4.0.1",
|
"json5-loader": "4.0.1",
|
||||||
"jsonld": "8.1.0",
|
"jsonld": "8.1.0",
|
||||||
"jsrsasign": "10.6.1",
|
"jsrsasign": "10.6.1",
|
||||||
"mfm-js": "0.23.1",
|
"mfm-js": "0.23.3",
|
||||||
"mime-types": "2.1.35",
|
"mime-types": "2.1.35",
|
||||||
"misskey-js": "0.0.14",
|
"misskey-js": "0.0.14",
|
||||||
"ms": "3.0.0-canary.1",
|
"ms": "3.0.0-canary.1",
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
"is-file-animated": "1.0.2",
|
"is-file-animated": "1.0.2",
|
||||||
"json5": "2.2.3",
|
"json5": "2.2.3",
|
||||||
"matter-js": "0.18.0",
|
"matter-js": "0.18.0",
|
||||||
"mfm-js": "0.23.1",
|
"mfm-js": "0.23.3",
|
||||||
"misskey-js": "0.0.14",
|
"misskey-js": "0.0.14",
|
||||||
"photoswipe": "5.3.4",
|
"photoswipe": "5.3.4",
|
||||||
"prismjs": "1.29.0",
|
"prismjs": "1.29.0",
|
||||||
|
|
|
@ -43,7 +43,7 @@ export default defineComponent({
|
||||||
render() {
|
render() {
|
||||||
if (this.text == null || this.text === '') return;
|
if (this.text == null || this.text === '') return;
|
||||||
|
|
||||||
const ast = (this.plain ? mfm.parseSimple : mfm.parse)(this.text, { fnNameList: MFM_TAGS });
|
const ast = (this.plain ? mfm.parseSimple : mfm.parse)(this.text);
|
||||||
|
|
||||||
const validTime = (t: string | null | undefined) => {
|
const validTime = (t: string | null | undefined) => {
|
||||||
if (t == null) return null;
|
if (t == null) return null;
|
||||||
|
|
12
yarn.lock
12
yarn.lock
|
@ -4225,7 +4225,7 @@ __metadata:
|
||||||
json5-loader: 4.0.1
|
json5-loader: 4.0.1
|
||||||
jsonld: 8.1.0
|
jsonld: 8.1.0
|
||||||
jsrsasign: 10.6.1
|
jsrsasign: 10.6.1
|
||||||
mfm-js: 0.23.1
|
mfm-js: 0.23.3
|
||||||
mime-types: 2.1.35
|
mime-types: 2.1.35
|
||||||
misskey-js: 0.0.14
|
misskey-js: 0.0.14
|
||||||
ms: 3.0.0-canary.1
|
ms: 3.0.0-canary.1
|
||||||
|
@ -8077,7 +8077,7 @@ __metadata:
|
||||||
is-file-animated: 1.0.2
|
is-file-animated: 1.0.2
|
||||||
json5: 2.2.3
|
json5: 2.2.3
|
||||||
matter-js: 0.18.0
|
matter-js: 0.18.0
|
||||||
mfm-js: 0.23.1
|
mfm-js: 0.23.3
|
||||||
misskey-js: 0.0.14
|
misskey-js: 0.0.14
|
||||||
photoswipe: 5.3.4
|
photoswipe: 5.3.4
|
||||||
prismjs: 1.29.0
|
prismjs: 1.29.0
|
||||||
|
@ -11566,12 +11566,12 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"mfm-js@npm:0.23.1":
|
"mfm-js@npm:0.23.3":
|
||||||
version: 0.23.1
|
version: 0.23.3
|
||||||
resolution: "mfm-js@npm:0.23.1"
|
resolution: "mfm-js@npm:0.23.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
twemoji-parser: 14.0.0
|
twemoji-parser: 14.0.0
|
||||||
checksum: 1c489ee30db7b4a2abd979f5e6453edb0c2e5ebb45e303cf4275215bb606620cf7df4b22442dfc560f6d2724986ed03153a301684a19a5decd72e8f8b5b3b81b
|
checksum: 7079f80a53a9afc8599333f3256fb18a6bf7c01102a2f8f2be657843726a34835e2af34e26bc5b27e45b217fb2f120c0d3006e9fab2a972c845e9f7361e3cc1b
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue