Оновлення emojibase з 17.x до 18.x
Порівняння публічного API emojibase 17.0.0 і 18.0.0, обчислене автоматично за їхніми типами TypeScript. Змінена сигнатура — можлива несумісна зміна, а не гарантія.
Підсумок
| Видалені шляхи імпорту | 0 |
|---|---|
| Видалені експорти | 0 |
| Змінені сигнатури | 4 |
| Видалені члени класів або інтерфейсів | 0 |
| Змінені члени класів або інтерфейсів | 0 |
| Нові застарівання | 0 |
| Зміни вимог (engines, peer-залежності) | 1 |
| Нові експорти | 2 |
Видалені експорти
Не виявлено.
Змінені сигнатури
| export | Було | Стало |
|---|---|---|
emojibase · Qualifier | 0 | 1 | 2 | 0 | 1 | 2 | 3 |
emojibase · LATEST_CLDR_VERSION | "48" | "49" |
emojibase · LATEST_EMOJI_VERSION | "17.0" | "18.0" |
emojibase · LATEST_UNICODE_VERSION | "17.0.0" | "18.0.0" |
Видалені члени класів або інтерфейсів
Не виявлено.
Змінені члени класів або інтерфейсів
Не виявлено.
Нові застарівання
Не виявлено.
Зміни вимог (engines, peer-залежності)
| Було | Стало | |
|---|---|---|
engines.node | >=18.12.0 | — |
Нові експорти (2)
| import | export | kind |
|---|---|---|
emojibase | COMPONENT | variable |
emojibase | SHORTCODE_PRESETS | variable |
Changelog між цими версіями
Текст, опублікований авторами пакета, показано без змін.
18.0.0
### Major Changes
- 8527c93: Update to Emoji v18 and CLDR 49 (beta 1), following UTS #51 revision 31. Adds 9 emoji (
), with skin tones for the two thumb signs, and their localized labels and keywords.
- 789b533: Require Node.js 20 or newer. Packages are now built with tsdown instead of Packemon, which targets
modern syntax and bundles type declarations into a single `index.d.ts` file. Package entry points
are unchanged.
### Minor Changes
- 06b8716: Align presentation and qualification with UTS #51:
- The `emoji` field is now the fully-qualified form from `emoji-test.txt`. 152 emoji that default to
emoji presentation, like 👍 and ⌚, no longer have a redundant `FE0F`.
- `meta/hexcodes.json` now lists statuses exactly as `emoji-test.txt` does. Text presentation
sequences (`FE0E`) and redundant `FE0F` forms are no longer listed as fully qualified, and the
skin tone and hair components are listed with the new `COMPONENT` qualifier.
- The `emojibase-regex/emoji` pattern now matches default-emoji characters without `FE0F`.
- 29b2c8a: Export `SHORTCODE_PRESETS`, the list of every shortcode preset, including the `discord` and `slack`
aliases.
### Patch Changes
- 06b8716: Resolve CLDR annotations as UTS #35 describes:
- Locales inherit from their real CLDR parents. `en-gb` now uses `en-001` (129 labels, such as "tick
box with tick"), and `es-mx` uses `es-419` (450 labels, such as "lentes de sol").
- Labels and keywords inherit separately, so 9 `es-mx` emoji regain their keywords.
- Flags and keycaps without a CLDR label are named in the locale's own words, which fixes all 262
Danish flags ("flag: USA") and their `cldr` shortcodes.
- Keywords keep their CLDR casing in every locale (German nouns, "OK", "DVD"). A keyword identical
to the label is now reliably left out of `tags`.
- Fix the Hindi label for regional indicators, which was in Bengali.
- 789b533: Update dependencies to their latest versions, including TypeScript 6.0. The generator now requires
Node.js 22 or newer.
- 29b2c8a: Fix the types failing to compile without the DOM library, such as in Node.js, because
`FetchFromCDNOptions` extends `RequestInit`.Передайте ці дані своєму ШІ-агенту
Vigia — безкоштовний MCP-сервер: ваш агент для програмування перевіряє версії, несумісні зміни та вразливості, перш ніж писати код. Без реєстрації та API-ключа.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Додати в CursorДодати в VS Code★ Зірка на GitHub
Будь-який інший MCP-клієнт
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Навичка для агентів (SKILL.md): підказує агенту, коли використовувати Vigia · GitHub Action для pull request
Поширені запитання
Які несумісні зміни під час оновлення emojibase з 17 до 18?
Між emojibase 17.0.0 і 18.0.0 Vigia знайшла видалених експортів: 0, змінених сигнатур: 4, видалених або змінених членів класів та інтерфейсів: 0.
Що застаріло в emojibase 18?
У emojibase 18.0.0 новими застарілими позначено експортів або членів: 0.
Для агентів
GET https://vigia.coredls.cloud/v1/packages/npm/emojibase/upgrade?from=17.0.0&to=18.0.0