BMAD-METHOD/tools
Serhii f793cf8fcd
fix: add radix parameter to parseInt() calls (#862)
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>
Co-authored-by: Brian <bmadcode@gmail.com>
2025-11-26 14:44:12 -06:00
..
cli fix: add radix parameter to parseInt() calls (#862) 2025-11-26 14:44:12 -06:00
flattener feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
schema fix: optimize agent compiler and complete handler cleanup 2025-11-23 21:28:50 -06:00
bmad-npx-wrapper.js fix: preserve user's cwd when running via npx 2025-10-29 09:31:38 -05:00
format-workflow-md.js check alignment 2025-10-22 12:36:39 -05:00
platform-codes.yaml feat: Adding support for Rovo Dev (#975) 2025-11-26 09:05:04 -06:00
validate-agent-schema.js feat: add agent schema validation with comprehensive testing (#774) 2025-10-20 07:14:50 -05:00
validate-bundles.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00