1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-30 14:33:59 +02:00

enhance: support emojis added in Unicode 16.0 or earlier (#16329)

* add missing emojis to emojilist.json

* reorder family emojis

* reorder harp

* reorder symbols

* correct emoji genders

* add missing emojis to unicode-emoji-indexes

* add Japanese annotations for Sark flag

* correct kana notations

* add square colors

* upgrade @twemoji/parser to 16.0.0

* correct emoji genders

* upgrade mfm.js to 0.25.0
This commit is contained in:
poppingmoon
2025-08-01 22:26:29 +09:00
committed by GitHub
parent 2c836e3c24
commit 73de40b81e
10 changed files with 435 additions and 147 deletions

View File

@@ -34,7 +34,7 @@ export const commonHandlers = [
}),
http.get('/twemoji/:codepoints.svg', async ({ params }) => {
const { codepoints } = params;
const value = await fetch(`https://unpkg.com/@discordapp/twemoji@15.0.2/dist/svg/${codepoints}.svg`).then((response) => response.blob());
const value = await fetch(`https://unpkg.com/@discordapp/twemoji@16.0.1/dist/svg/${codepoints}.svg`).then((response) => response.blob());
return new HttpResponse(value, {
headers: {
'Content-Type': 'image/svg+xml',