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

@ -4,7 +4,7 @@
*/
import RE2 from 're2';
import * as mfm from 'mfm-js';
import * as mfm from '@sharkey/sfm-js';
import { Inject, Injectable } from '@nestjs/common';
import ms from 'ms';
import { JSDOM } from 'jsdom';

View file

@ -1,6 +1,6 @@
import { Inject, Injectable } from '@nestjs/common';
import { Entity } from 'megalodon';
import mfm from 'mfm-js';
import mfm from '@sharkey/sfm-js';
import { DI } from '@/di-symbols.js';
import { MfmService } from '@/core/MfmService.js';
import type { Config } from '@/config.js';