diff --git a/packages/utils/package.json b/packages/utils/package.json index 2bb44aa..3d492f2 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -3,7 +3,7 @@ "type": "module", "description": "Common functions for working with Iconify icon sets used by various packages.", "author": "Vjacheslav Trushkin", - "version": "2.1.32", + "version": "2.1.33", "license": "MIT", "bugs": "https://github.com/iconify/iconify/issues", "homepage": "https://iconify.design/docs/libraries/utils/", diff --git a/packages/utils/src/emoji/data.ts b/packages/utils/src/emoji/data.ts index 6b776d0..9ea7122 100644 --- a/packages/utils/src/emoji/data.ts +++ b/packages/utils/src/emoji/data.ts @@ -43,4 +43,4 @@ export const endUTF32Pair = 0xe000; /** * Emoji version as string */ -export const emojiVersion = '15.1'; +export const emojiVersion = '16.0'; diff --git a/packages/utils/tests/emoji-parse-test.ts b/packages/utils/tests/emoji-parse-test.ts index ef6112e..7267545 100644 --- a/packages/utils/tests/emoji-parse-test.ts +++ b/packages/utils/tests/emoji-parse-test.ts @@ -16,12 +16,12 @@ describe('Testing unicode test data', () => { if (!data) { data = ( - await fetch( - `https://unicode.org/Public/emoji/${emojiVersion}/emoji-test.txt` - ) - ) - .text() - .toString(); + await ( + await fetch( + `https://unicode.org/Public/emoji/${emojiVersion}/emoji-test.txt` + ) + ).text() + ).toString(); await writeFile(source, data, 'utf8'); } diff --git a/packages/utils/tests/emoji-regex-find-test.ts b/packages/utils/tests/emoji-regex-find-test.ts index 5bccb10..976150b 100644 --- a/packages/utils/tests/emoji-regex-find-test.ts +++ b/packages/utils/tests/emoji-regex-find-test.ts @@ -26,12 +26,12 @@ describe('Finding emojis in text', () => { if (!data) { data = ( - await fetch( - `https://unicode.org/Public/emoji/${emojiVersion}/emoji-test.txt` - ) - ) - .text() - .toString(); + await ( + await fetch( + `https://unicode.org/Public/emoji/${emojiVersion}/emoji-test.txt` + ) + ).text() + ).toString(); await writeFile(source, data, 'utf8'); } diff --git a/packages/utils/tests/emoji-testdata-test.ts b/packages/utils/tests/emoji-testdata-test.ts index 72c403c..ccf0bca 100644 --- a/packages/utils/tests/emoji-testdata-test.ts +++ b/packages/utils/tests/emoji-testdata-test.ts @@ -32,12 +32,12 @@ describe('Testing unicode test data', () => { if (!data) { data = ( - await fetch( - `https://unicode.org/Public/emoji/${emojiVersion}/emoji-test.txt` - ) - ) - .text() - .toString(); + await ( + await fetch( + `https://unicode.org/Public/emoji/${emojiVersion}/emoji-test.txt` + ) + ).text() + ).toString(); await writeFile(source, data, 'utf8'); } diff --git a/packages/utils/tests/fixtures/download-emoji-15.1.txt b/packages/utils/tests/fixtures/download-emoji-16.0.txt similarity index 99% rename from packages/utils/tests/fixtures/download-emoji-15.1.txt rename to packages/utils/tests/fixtures/download-emoji-16.0.txt index 1c4d1e7..d77b118 100644 --- a/packages/utils/tests/fixtures/download-emoji-15.1.txt +++ b/packages/utils/tests/fixtures/download-emoji-16.0.txt @@ -1,11 +1,11 @@ # emoji-test.txt -# Date: 2023-06-05, 21:39:54 GMT -# ยฉ 2023 Unicodeยฎ, Inc. +# Date: 2024-08-14, 23:51:54 GMT +# ยฉ 2024 Unicodeยฎ, Inc. # Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. -# For terms of use, see https://www.unicode.org/terms_of_use.html +# For terms of use and license, see https://www.unicode.org/terms_of_use.html # # Emoji Keyboard/Display Test Data for UTS #51 -# Version: 15.1 +# Version: 16.0 # # For documentation and usage, see https://www.unicode.org/reports/tr51 # @@ -104,6 +104,7 @@ 1F62A ; fully-qualified # ๐Ÿ˜ช E0.6 sleepy face 1F924 ; fully-qualified # ๐Ÿคค E3.0 drooling face 1F634 ; fully-qualified # ๐Ÿ˜ด E1.0 sleeping face +1FAE9 ; fully-qualified # ๐Ÿซฉ E16.0 face with bags under eyes # subgroup: face-unwell 1F637 ; fully-qualified # ๐Ÿ˜ท E0.6 face with medical mask @@ -248,8 +249,8 @@ 1F4AD ; fully-qualified # ๐Ÿ’ญ E1.0 thought balloon 1F4A4 ; fully-qualified # ๐Ÿ’ค E0.6 ZZZ -# Smileys & Emotion subtotal: 184 -# Smileys & Emotion subtotal: 184 w/o modifiers +# Smileys & Emotion subtotal: 185 +# Smileys & Emotion subtotal: 185 w/o modifiers # group: People & Body @@ -1750,12 +1751,12 @@ 1F936 1F3FD ; fully-qualified # ๐Ÿคถ๐Ÿฝ E3.0 Mrs. Claus: medium skin tone 1F936 1F3FE ; fully-qualified # ๐Ÿคถ๐Ÿพ E3.0 Mrs. Claus: medium-dark skin tone 1F936 1F3FF ; fully-qualified # ๐Ÿคถ๐Ÿฟ E3.0 Mrs. Claus: dark skin tone -1F9D1 200D 1F384 ; fully-qualified # ๐Ÿง‘โ€๐ŸŽ„ E13.0 mx claus -1F9D1 1F3FB 200D 1F384 ; fully-qualified # ๐Ÿง‘๐Ÿปโ€๐ŸŽ„ E13.0 mx claus: light skin tone -1F9D1 1F3FC 200D 1F384 ; fully-qualified # ๐Ÿง‘๐Ÿผโ€๐ŸŽ„ E13.0 mx claus: medium-light skin tone -1F9D1 1F3FD 200D 1F384 ; fully-qualified # ๐Ÿง‘๐Ÿฝโ€๐ŸŽ„ E13.0 mx claus: medium skin tone -1F9D1 1F3FE 200D 1F384 ; fully-qualified # ๐Ÿง‘๐Ÿพโ€๐ŸŽ„ E13.0 mx claus: medium-dark skin tone -1F9D1 1F3FF 200D 1F384 ; fully-qualified # ๐Ÿง‘๐Ÿฟโ€๐ŸŽ„ E13.0 mx claus: dark skin tone +1F9D1 200D 1F384 ; fully-qualified # ๐Ÿง‘โ€๐ŸŽ„ E13.0 Mx Claus +1F9D1 1F3FB 200D 1F384 ; fully-qualified # ๐Ÿง‘๐Ÿปโ€๐ŸŽ„ E13.0 Mx Claus: light skin tone +1F9D1 1F3FC 200D 1F384 ; fully-qualified # ๐Ÿง‘๐Ÿผโ€๐ŸŽ„ E13.0 Mx Claus: medium-light skin tone +1F9D1 1F3FD 200D 1F384 ; fully-qualified # ๐Ÿง‘๐Ÿฝโ€๐ŸŽ„ E13.0 Mx Claus: medium skin tone +1F9D1 1F3FE 200D 1F384 ; fully-qualified # ๐Ÿง‘๐Ÿพโ€๐ŸŽ„ E13.0 Mx Claus: medium-dark skin tone +1F9D1 1F3FF 200D 1F384 ; fully-qualified # ๐Ÿง‘๐Ÿฟโ€๐ŸŽ„ E13.0 Mx Claus: dark skin tone 1F9B8 ; fully-qualified # ๐Ÿฆธ E11.0 superhero 1F9B8 1F3FB ; fully-qualified # ๐Ÿฆธ๐Ÿป E11.0 superhero: light skin tone 1F9B8 1F3FC ; fully-qualified # ๐Ÿฆธ๐Ÿผ E11.0 superhero: medium-light skin tone @@ -3574,9 +3575,10 @@ 1F9D1 200D 1F9D2 ; fully-qualified # ๐Ÿง‘โ€๐Ÿง’ E15.1 family: adult, child 1F9D1 200D 1F9D2 200D 1F9D2 ; fully-qualified # ๐Ÿง‘โ€๐Ÿง’โ€๐Ÿง’ E15.1 family: adult, child, child 1F463 ; fully-qualified # ๐Ÿ‘ฃ E0.6 footprints +1FAC6 ; fully-qualified # ๐Ÿซ† E16.0 fingerprint -# People & Body subtotal: 3290 -# People & Body subtotal: 560 w/o modifiers +# People & Body subtotal: 3291 +# People & Body subtotal: 561 w/o modifiers # group: Component @@ -3719,6 +3721,11 @@ 1F41A ; fully-qualified # ๐Ÿš E0.6 spiral shell 1FAB8 ; fully-qualified # ๐Ÿชธ E14.0 coral 1FABC ; fully-qualified # ๐Ÿชผ E15.0 jellyfish +1F980 ; fully-qualified # ๐Ÿฆ€ E1.0 crab +1F99E ; fully-qualified # ๐Ÿฆž E11.0 lobster +1F990 ; fully-qualified # ๐Ÿฆ E3.0 shrimp +1F991 ; fully-qualified # ๐Ÿฆ‘ E3.0 squid +1F9AA ; fully-qualified # ๐Ÿฆช E12.0 oyster # subgroup: animal-bug 1F40C ; fully-qualified # ๐ŸŒ E0.6 snail @@ -3773,9 +3780,10 @@ 1FAB9 ; fully-qualified # ๐Ÿชน E14.0 empty nest 1FABA ; fully-qualified # ๐Ÿชบ E14.0 nest with eggs 1F344 ; fully-qualified # ๐Ÿ„ E0.6 mushroom +1FABE ; fully-qualified # ๐Ÿชพ E16.0 leafless tree -# Animals & Nature subtotal: 160 -# Animals & Nature subtotal: 160 w/o modifiers +# Animals & Nature subtotal: 166 +# Animals & Nature subtotal: 166 w/o modifiers # group: Food & Drink @@ -3821,6 +3829,7 @@ 1FADA ; fully-qualified # ๐Ÿซš E15.0 ginger root 1FADB ; fully-qualified # ๐Ÿซ› E15.0 pea pod 1F344 200D 1F7EB ; fully-qualified # ๐Ÿ„โ€๐ŸŸซ E15.1 brown mushroom +1FADC ; fully-qualified # ๐Ÿซœ E16.0 root vegetable # subgroup: food-prepared 1F35E ; fully-qualified # ๐Ÿž E0.6 bread @@ -3877,13 +3886,6 @@ 1F960 ; fully-qualified # ๐Ÿฅ  E5.0 fortune cookie 1F961 ; fully-qualified # ๐Ÿฅก E5.0 takeout box -# subgroup: food-marine -1F980 ; fully-qualified # ๐Ÿฆ€ E1.0 crab -1F99E ; fully-qualified # ๐Ÿฆž E11.0 lobster -1F990 ; fully-qualified # ๐Ÿฆ E3.0 shrimp -1F991 ; fully-qualified # ๐Ÿฆ‘ E3.0 squid -1F9AA ; fully-qualified # ๐Ÿฆช E12.0 oyster - # subgroup: food-sweet 1F366 ; fully-qualified # ๐Ÿฆ E0.6 soft ice cream 1F367 ; fully-qualified # ๐Ÿง E0.6 shaved ice @@ -3932,8 +3934,8 @@ 1FAD9 ; fully-qualified # ๐Ÿซ™ E14.0 jar 1F3FA ; fully-qualified # ๐Ÿบ E1.0 amphora -# Food & Drink subtotal: 137 -# Food & Drink subtotal: 137 w/o modifiers +# Food & Drink subtotal: 133 +# Food & Drink subtotal: 133 w/o modifiers # group: Travel & Places @@ -4431,6 +4433,7 @@ 1FA98 ; fully-qualified # ๐Ÿช˜ E13.0 long drum 1FA87 ; fully-qualified # ๐Ÿช‡ E15.0 maracas 1FA88 ; fully-qualified # ๐Ÿชˆ E15.0 flute +1FA89 ; fully-qualified # ๐Ÿช‰ E16.0 harp # subgroup: phone 1F4F1 ; fully-qualified # ๐Ÿ“ฑ E0.6 mobile phone @@ -4628,6 +4631,7 @@ 1F9F0 ; fully-qualified # ๐Ÿงฐ E11.0 toolbox 1F9F2 ; fully-qualified # ๐Ÿงฒ E11.0 magnet 1FA9C ; fully-qualified # ๐Ÿชœ E13.0 ladder +1FA8F ; fully-qualified # ๐Ÿช E16.0 shovel # subgroup: science 2697 FE0F ; fully-qualified # โš—๏ธ E1.0 alembic @@ -4690,8 +4694,8 @@ 1FAA7 ; fully-qualified # ๐Ÿชง E13.0 placard 1FAAA ; fully-qualified # ๐Ÿชช E14.0 identification card -# Objects subtotal: 312 -# Objects subtotal: 312 w/o modifiers +# Objects subtotal: 314 +# Objects subtotal: 314 w/o modifiers # group: Symbols @@ -4908,6 +4912,7 @@ 00AE ; unqualified # ยฎ E0.6 registered 2122 FE0F ; fully-qualified # โ„ข๏ธ E0.6 trade mark 2122 ; unqualified # โ„ข E0.6 trade mark +1FADF ; fully-qualified # ๐ŸซŸ E16.0 splatter # subgroup: keycap 0023 FE0F 20E3 ; fully-qualified # #๏ธโƒฃ E0.6 keycap: # @@ -5027,8 +5032,8 @@ 1F533 ; fully-qualified # ๐Ÿ”ณ E0.6 white square button 1F532 ; fully-qualified # ๐Ÿ”ฒ E0.6 black square button -# Symbols subtotal: 304 -# Symbols subtotal: 304 w/o modifiers +# Symbols subtotal: 305 +# Symbols subtotal: 305 w/o modifiers # group: Flags @@ -5100,6 +5105,7 @@ 1F1E8 1F1F3 ; fully-qualified # ๐Ÿ‡จ๐Ÿ‡ณ E0.6 flag: China 1F1E8 1F1F4 ; fully-qualified # ๐Ÿ‡จ๐Ÿ‡ด E2.0 flag: Colombia 1F1E8 1F1F5 ; fully-qualified # ๐Ÿ‡จ๐Ÿ‡ต E2.0 flag: Clipperton Island +1F1E8 1F1F6 ; fully-qualified # ๐Ÿ‡จ๐Ÿ‡ถ E16.0 flag: Sark 1F1E8 1F1F7 ; fully-qualified # ๐Ÿ‡จ๐Ÿ‡ท E2.0 flag: Costa Rica 1F1E8 1F1FA ; fully-qualified # ๐Ÿ‡จ๐Ÿ‡บ E2.0 flag: Cuba 1F1E8 1F1FB ; fully-qualified # ๐Ÿ‡จ๐Ÿ‡ป E2.0 flag: Cape Verde @@ -5313,11 +5319,11 @@ 1F3F4 E0067 E0062 E0073 E0063 E0074 E007F ; fully-qualified # ๐Ÿด๓ ง๓ ข๓ ณ๓ ฃ๓ ด๓ ฟ E5.0 flag: Scotland 1F3F4 E0067 E0062 E0077 E006C E0073 E007F ; fully-qualified # ๐Ÿด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ E5.0 flag: Wales -# Flags subtotal: 275 -# Flags subtotal: 275 w/o modifiers +# Flags subtotal: 276 +# Flags subtotal: 276 w/o modifiers # Status Counts -# fully-qualified : 3773 +# fully-qualified : 3781 # minimally-qualified : 1009 # unqualified : 243 # component : 9