Compare commits

..

No commits in common. "main" and "v1.5.0" have entirely different histories.
main ... v1.5.0

2 changed files with 3 additions and 6 deletions

View File

@ -1,8 +1,5 @@
# CHANGELOG - shell # CHANGELOG - shell
## v1.5.1 (2026-06-08)
- **JS 对齐**: 将所有注册到 `jsmod` 的导出方法名统一为 PascalCase`Run`, `RunCommand`),以消除 JS 与 Go 调用体感上的摩擦。
## [v1.3.2] - 2026-05-30 ## [v1.3.2] - 2026-05-30
- **新增**: 注册到 `jsmod`,提供 `run``runCommand` 能力并标记为高危方法unsafeList - **新增**: 注册到 `jsmod`,提供 `run``runCommand` 能力并标记为高危方法unsafeList

View File

@ -4,7 +4,7 @@ import "apigo.cc/go/jsmod"
func init() { func init() {
jsmod.Register("shell", map[string]any{ jsmod.Register("shell", map[string]any{
"Run": Run, "run": Run,
"RunCommand": RunCommand, "runCommand": RunCommand,
}, "Run", "RunCommand") }, "run", "runCommand")
} }