Commit 7c99765
fix(es/minifier): Restrict parameter inlining to safe identifiers only
Only allow inlining of:
1. Unresolved 'undefined' identifier (safe global)
2. Resolved identifiers (local immutable variables)
This prevents unsafe inlining of other global identifiers that could
be shadowed or have side effects.
Addresses review feedback: #11156 (comment)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 947d16e commit 7c99765
1 file changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | | - | |
263 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
264 | 274 | | |
265 | 275 | | |
266 | 276 | | |
| |||
0 commit comments