Files
add-to-project/dist
Mardav Wala 4afe1bcb60 Fix both code scanning alerts
1. Fixed misleading operator precedence by adding proper grouping:
   - Changed /^text\/|charset=utf-8$/ to /^(text\/|charset=utf-8)$/
   - This removes the misleading precedence warning

2. Fixed file system race condition in fix-regex.js:
   - Removed fs.existsSync() check followed by file operations
   - Now uses try/catch with proper ENOENT error handling
   - Eliminates potential TOCTOU vulnerability

All tests pass and regex functionality is preserved.
2025-08-15 17:03:48 +00:00
..
2025-08-15 17:03:48 +00:00
2025-08-15 17:03:48 +00:00