Commit 46563f5
Restrict
Because `NaN` and Infinity are not representable in JSON.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>isNumber to finite numbers1 parent 2a939e7 commit 46563f5
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
0 commit comments