Commit 7ee475a
chore: upgrade TypeScript target from ES2020 to ES2022
Node.js >=22 is required, so ES2022 features like Error cause,
top-level await, and Array.at() are safe to use. This also restores
the { cause: err } option in parseJsonField() that was previously
removed due to the old target.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 45cbc56 commit 7ee475a
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments