fix: resolve JavaScript syntax error in dimension parsing logic #195
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.
Fix Testing UI and Security Updates
Summary
This PR fixes a JavaScript error in the testing UI and addresses a high-severity security vulnerability.
Changes
🐛 Bug Fix: Testing UI JavaScript Error
Fixed a syntax error in
src/public/index.htmlthat prevented the testing page from loading correctly:Cause: Invalid
} else { ... } else if { ... }structure in the format dimension parsing logic.Fix: Restructured to proper nested conditionals:
🔒 Security: Update hono to 4.11.4
Updated hono from 4.11.3 to 4.11.4 to address high-severity vulnerabilities:
GHSA-3vhc-576x-3qv4 - JWK Auth Middleware JWT algorithm confusion
GHSA-f67f-6cw9-8mq4 - JWT Middleware algorithm confusion via unsafe HS256 default
🔄 Chore: Regenerate Types
Regenerated TypeScript types to sync with v2.6 schemas.
Testing
[x] Local server starts without errors
[x] Testing UI loads correctly
[x] No JavaScript console errors
[x] npm audit shows 0 vulnerabilities