Repository navigation
修复原生 ESM 导入并收紧发布验证 / Fix native ESM imports and guard release checks - #43
Merged
Merged
Conversation
This was referenced Oct 26, 2026
Member
Author
中文用户已明确允许合并后的 Demo 上传与 0.1.6 发布。复核最终 8 个文件及原 0.1.5 以来的源码差异:公共实现只修正 create-element.js 导入,原 HUD 行为回归通过;未将此自查冒充独立 bot 或用户的代码 review。PR 已由外部合并,精确 main CI 和 Demo 上传均成功。现仅推进纯版本提交,待其 CI 成功后发布新 annotated tag,不移动旧 tag。 EnglishThe user explicitly authorized the post-merge Demo upload and 0.1.6 release. Rechecked the final eight files and source changes since 0.1.5: the public implementation only corrects the create-element.js import, with original HUD behavior passing. This self-review is not represented as independent bot/user code review. The PR was externally merged; exact-main CI and Demo upload succeed. Proceeding with the version-only commit, then a new annotated tag after its CI passes; existing tags remain unchanged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这次让 Calcit 项目使用的 bottom-tip 公共入口可以在 Node 原生 ESM 中直接导入,不再要求应用为
virtual-dom/create-element加 resolver hook;同时为后续正式补丁收紧 nanoid 的最低依赖范围。HUD 的显示、关闭、自动隐藏及旧定时器取消行为不变。PR 流程不再尝试上传 Demo;这不是 npm 已发布或下游安全告警全部解除的声明。中文
关联 #40、#42;两项均待正式发布与下游验证后收尾,不在源码合并时自动关闭。
修改
virtual-dom/create-element改为现有正式文件virtual-dom/create-element.js,保持实现和公开导出不变。^5.0.9收紧为^5.1.16。Yarn 生成的 lockfile 仅改变这一 selector,已锁定版本 5.1.16、URL 与 integrity 均不变;没有强制跨 major 的 override。验证与边界
c384bace155ea0c5562e3d1f318901e0d42ea135的 Ubuntu CI 成功;构建/测试通过,两个部署相关步骤均为 skipped。ERR_MODULE_NOT_FOUND,提示缺失.js;修复后通过。测试不注入 window/document,也没有 resolver hook。git diff --check通过。import render, {renderTip} from 'bottom-tip'成功,实际安装 nanoid 5.1.16。English
Refs #40 and #42. Keep both open until a formal release and downstream acceptance, rather than auto-closing on source merge.
Changes
virtual-dom/create-element.jssubpath in the public entry, preserving implementation and exports.^5.0.9to^5.1.16. The Yarn-generated lockfile changes only that selector; locked version 5.1.16, URL and integrity are unchanged. No cross-major override.Validation and boundaries
c384bace155ea0c5562e3d1f318901e0d42ea135: build/tests succeed and both deployment-related steps are skipped.ERR_MODULE_NOT_FOUNDfor the extensionless subpath; the fix passes without browser globals or resolver hooks.