Repository navigation
Commit 4fe2b8c
committed
fix(javascript): convert ESTree as terser does with corrections off
The port of terser's conversion is held to terser's with the correct phase
off, as every other correction is: an arrow's directive and an anonymous
default export are read only while it is on.
Claude-Session: https://claude.ai/code/session_011CuRTB8fAv8PE7di49qDL41 parent 44d89f2 commit 4fe2b8c
3 files changed
Lines changed: 26 additions & 12 deletions
File tree
- lib/javascript
- test/unitCases
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11774 | 11774 | | |
11775 | 11775 | | |
11776 | 11776 | | |
| 11777 | + | |
| 11778 | + | |
| 11779 | + | |
| 11780 | + | |
| 11781 | + | |
| 11782 | + | |
| 11783 | + | |
11777 | 11784 | | |
11778 | 11785 | | |
11779 | 11786 | | |
| |||
12256 | 12263 | | |
12257 | 12264 | | |
12258 | 12265 | | |
12259 | | - | |
12260 | | - | |
| 12266 | + | |
12261 | 12267 | | |
12262 | 12268 | | |
12263 | 12269 | | |
| |||
12647 | 12653 | | |
12648 | 12654 | | |
12649 | 12655 | | |
12650 | | - | |
12651 | | - | |
| 12656 | + | |
| 12657 | + | |
| 12658 | + | |
| 12659 | + | |
| 12660 | + | |
12652 | 12661 | | |
12653 | 12662 | | |
12654 | 12663 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
265 | 271 | | |
266 | 272 | | |
267 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6263 | 6263 | | |
6264 | 6264 | | |
6265 | 6265 | | |
6266 | | - | |
| 6266 | + | |
6267 | 6267 | | |
6268 | 6268 | | |
6269 | 6269 | | |
| |||
6283 | 6283 | | |
6284 | 6284 | | |
6285 | 6285 | | |
| 6286 | + | |
| 6287 | + | |
6286 | 6288 | | |
6287 | | - | |
6288 | | - | |
6289 | | - | |
6290 | | - | |
6291 | | - | |
6292 | | - | |
6293 | | - | |
| 6289 | + | |
| 6290 | + | |
| 6291 | + | |
| 6292 | + | |
6294 | 6293 | | |
6295 | 6294 | | |
6296 | 6295 | | |
| |||
0 commit comments