将 emojibase-regex 从 17.x 升级到 18.x
根据 TypeScript 类型自动比较 emojibase-regex 17.0.0 与 18.0.0 的公开 API。签名变化表示可能存在不兼容变更,并非确定结论。
概要
| 已删除的导入路径 | 0 |
|---|---|
| 已删除的导出 | 0 |
| 已修改的签名 | 0 |
| 已删除的类或接口成员 | 0 |
| 已修改的类或接口成员 | 0 |
| 新增弃用 | 0 |
| 要求变化(engines、peer 依赖) | 0 |
| 新增导出 | 0 |
已删除的导出
未发现。
已修改的签名
未发现。
已删除的类或接口成员
未发现。
已修改的类或接口成员
未发现。
新增弃用
未发现。
要求变化(engines、peer 依赖)
未发现。
这些版本之间的 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.
### 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`.
- 06b8716: Match emoji by presentation and qualification, as UTS #51 defines them:
- `emoji-loose` now matches every minimally-qualified and unqualified form, such as 🕵♂.
- `text` now matches emoji that default to text presentation without `FE0E`, such as a bare ©.
- `text-loose` no longer matches sequences or emoji without a text presentation form, such as 🇺🇸.
- The emoji and text patterns no longer match a character that a selector or skin tone puts in the
other presentation, such as the ⚠ in ⚠️.
- The `property` patterns now define the `u` flag and actually match emoji: possible emoji,
fully-qualified emoji, and emoji in text presentation.把这些数据交给你的 AI 智能体
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" } } }常见问题
将 emojibase-regex 从 17 升级到 18 有哪些不兼容变更?
在 emojibase-regex 17.0.0 与 18.0.0 之间,Vigia 发现 0 个已删除的导出、0 个已修改的签名,以及 0 个已删除或修改的类或接口成员。
emojibase-regex 18 中弃用了哪些内容?
emojibase-regex 18.0.0 中有 0 个导出或成员新被标记为弃用。
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/emojibase-regex/upgrade?from=17.0.0&to=18.0.0