fix(scriptindex): Handle missing script metadata fields in ScriptIndex.search to prevent crashes

This commit is contained in:
2025-10-28 22:05:50 +00:00
parent ad7e9b0b46
commit 23f41cc152
3 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-10-28 - 1.4.2 - fix(scriptindex)
Handle missing script metadata fields in ScriptIndex.search to prevent crashes
- Add null/undefined checks for name, slug, and description in ScriptIndex.search to avoid runtime exceptions when script metadata is incomplete
- Improves robustness of scripts search against partially populated or malformed cached metadata
## 2025-10-28 - 1.4.1 - fix(cli)
Fallback to 'unknown' when script.slug is missing in scripts list