You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(es/minifier): Restrict parameter inlining to only allow 'undefined' as unresolved identifier
Changed the safety check for parameter inlining to only allow the 'undefined'
identifier as an unresolved identifier. Previously, all unresolved identifiers
(like window, document, etc.) were allowed, but this is not safe because:
1. They could have side effects or vary between environments
2. Their values might not be constant across different execution contexts
This change ensures that only 'undefined' (which is a true constant) can be
inlined as an unresolved identifier.
Addresses review feedback from #11156 (review)
All tests passing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments