upd: replace mfm with sfm

This commit is contained in:
Marie 2023-12-18 03:03:05 +01:00
parent 24ba0d1fff
commit c92c2d065f
27 changed files with 49 additions and 111 deletions

View file

@ -1,4 +1,4 @@
import * as mfm from 'mfm-js';
import * as mfm from '@sharkey/sfm-js';
export function checkAnimationFromMfm(nodes: mfm.MfmNode[]): boolean {
const animatedNodes = mfm.extract(nodes, (node) => {