Repository navigation
Commit 92f16c9
committed
fix(javascript): keep a newer RegExp and Symbol.for when dropping built-ins
Check a RegExp against ES2018 with the base parser, which always runs the
spec's validator, so a pattern a newer build host accepts is still kept.
Keep an unused Symbol.for, whose key would stay in the build's own
registry, and drop an optional read of a built-in like the plain one.
Claude-Session: https://claude.ai/code/session_01ViD41i2KdwwGxrDk7yrjeD1 parent 7ee8afc commit 92f16c9
5 files changed
Lines changed: 13 additions & 3 deletions
File tree
- lib/javascript
- test
- helpers
- unitCases
- tooling
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15510 | 15510 | | |
15511 | 15511 | | |
15512 | 15512 | | |
15513 | | - | |
15514 | 15513 | | |
15515 | 15514 | | |
15516 | 15515 | | |
| |||
15551 | 15550 | | |
15552 | 15551 | | |
15553 | 15552 | | |
| 15553 | + | |
| 15554 | + | |
15554 | 15555 | | |
15555 | | - | |
| 15556 | + | |
15556 | 15557 | | |
15557 | 15558 | | |
15558 | 15559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2023 | 2023 | | |
2024 | 2024 | | |
2025 | 2025 | | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
2026 | 2030 | | |
2027 | 2031 | | |
2028 | 2032 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
355 | 357 | | |
356 | 358 | | |
| 359 | + | |
357 | 360 | | |
358 | 361 | | |
359 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1131 | 1131 | | |
1132 | 1132 | | |
1133 | 1133 | | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
1134 | 1137 | | |
1135 | 1138 | | |
1136 | 1139 | | |
| |||
0 commit comments