SkillPedia Skills Encyclopedia
中文 EN

技能 2026-04-02 15:54 UTC

better-icons

由提交人 hobostay 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix: prevent HTML injection in Svelte component generation and remove redundant code (#12)。解决了已知运行时异常与边界错误,提升系统稳定性。

hobostay 033316e better-auth/better-icons

Commit提交信息原文

fix: prevent HTML injection in Svelte component generation and remove redundant code (#12)

- Fix HTML injection vulnerability in generateSvelteComponent where className
  was directly inserted into HTML attributes without escaping quotes
- Remove redundant null check in getIconPrefix (split() always returns string)
- Remove unused existingName field from addIconToFile return type

Co-authored-by: hobostay <hobostay@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>