node-emoji
node-emoji copied to clipboard
emojify() misses some emojis in V2
Hi, I've noticed some emojis fail to decode in version 2 vs version 1, despite being listed in emojilib.
Version 2.0.2
emojify(':airplane_departure: and :flashlight:') -> :airplane_departure: and 🔦
Version 1.11.0
emojify(':airplane_departure: and :flashlight:') -> 🛫 and 🔦
It seems pretty consistent, the position in the string etc seems to make no difference.
Thanks for the catch! The root issue is that this library is using an older version of emojilib:
https://github.com/omnidan/node-emoji/blob/44800f9262c3a33cc42e0347f333ef33127856d8/package.json#L28
Their 3.X line has newer emojis. So we'll want to switch over.