summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts
diff options
context:
space:
mode:
authorMarie <marie@kaifa.ch>2024-02-03 15:01:09 +0100
committerMarie <marie@kaifa.ch>2024-02-03 15:01:09 +0100
commitf091b84c6ed19519505594bcb9f2e802876e61fe (patch)
treea5ca844a964ee71d7240df3e154fd8a3015e0ef8 /packages/frontend/src/scripts
parentMerge branch 'chore/updateMarkdownAndTemplates' into 'develop' (diff)
downloadsharkey-f091b84c6ed19519505594bcb9f2e802876e61fe.tar.gz
sharkey-f091b84c6ed19519505594bcb9f2e802876e61fe.tar.bz2
sharkey-f091b84c6ed19519505594bcb9f2e802876e61fe.zip
chore: change sfm registry and name
Diffstat (limited to 'packages/frontend/src/scripts')
-rw-r--r--packages/frontend/src/scripts/check-animated-mfm.ts2
-rw-r--r--packages/frontend/src/scripts/extract-mentions.ts2
-rw-r--r--packages/frontend/src/scripts/extract-url-from-mfm.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/scripts/check-animated-mfm.ts b/packages/frontend/src/scripts/check-animated-mfm.ts
index 8e3ef7ee46..eac18738ee 100644
--- a/packages/frontend/src/scripts/check-animated-mfm.ts
+++ b/packages/frontend/src/scripts/check-animated-mfm.ts
@@ -1,4 +1,4 @@
-import * as mfm from '@sharkey/sfm-js';
+import * as mfm from '@transfem-org/sfm-js';
export function checkAnimationFromMfm(nodes: mfm.MfmNode[]): boolean {
const animatedNodes = mfm.extract(nodes, (node) => {
diff --git a/packages/frontend/src/scripts/extract-mentions.ts b/packages/frontend/src/scripts/extract-mentions.ts
index fe60f9a851..c8f3ff14f6 100644
--- a/packages/frontend/src/scripts/extract-mentions.ts
+++ b/packages/frontend/src/scripts/extract-mentions.ts
@@ -5,7 +5,7 @@
// test is located in test/extract-mentions
-import * as mfm from '@sharkey/sfm-js';
+import * as mfm from '@transfem-org/sfm-js';
export function extractMentions(nodes: mfm.MfmNode[]): mfm.MfmMention['props'][] {
// TODO: 重複を削除
diff --git a/packages/frontend/src/scripts/extract-url-from-mfm.ts b/packages/frontend/src/scripts/extract-url-from-mfm.ts
index d2fbfbcc00..c220f43c9c 100644
--- a/packages/frontend/src/scripts/extract-url-from-mfm.ts
+++ b/packages/frontend/src/scripts/extract-url-from-mfm.ts
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
-import * as mfm from '@sharkey/sfm-js';
+import * as mfm from '@transfem-org/sfm-js';
import { unique } from '@/scripts/array.js';
// unique without hash