Commit 09d9979
committed
feat(primordials): add Error subclass constructors
The audit script (run from socket-repo-template against this build's
dist/) flagged `new TypeError(...)` as the only Error subclass actually
constructed in src outside of vendored external/ code, and a follow-up
grep confirmed AggregateError / RangeError / SyntaxError / ReferenceError
appear in vendored copies but not in src today. Add all seven standard
subclasses now so the surface is complete and audit reruns are quiet.
- AggregateErrorCtor
- EvalErrorCtor
- RangeErrorCtor
- ReferenceErrorCtor
- SyntaxErrorCtor
- TypeErrorCtor
- URIErrorCtor
Bump to 5.28.0 (additive).1 parent 8f5985f commit 09d9979
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
| |||
0 commit comments