Add explicit radix=10 to parseInt() calls and NaN validation to prevent unexpected hex parsing and invalid config values. Changes: - Line 52: Add radix and NaN check in input validation - Line 189-192: Add radix and NaN fallback for config parsing Fixes potential issues: - Hex input (0x10) now rejected instead of parsed as 16 - Invalid strings return default value instead of NaN→null 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| core | ||
| ide | ||
| modules | ||