Commit 88450cd
fix: address review feedback on dns-resolver
- Remove unused DOCKER_EMBEDDED_DNS and LOCAL_STUB_RESOLVERS constants
(and their eslint-disable comments)
- Replace hand-rolled isValidIp with Node's net.isIP() for strict
IPv4/IPv6 validation
- Allow leading whitespace in resolv.conf nameserver lines
- Convert dynamic import to static import in cli.ts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4de6c65 commit 88450cd
2 files changed
Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
1611 | 1612 | | |
1612 | 1613 | | |
1613 | 1614 | | |
1614 | | - | |
1615 | 1615 | | |
1616 | 1616 | | |
1617 | 1617 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 7 | | |
15 | 8 | | |
16 | 9 | | |
| |||
21 | 14 | | |
22 | 15 | | |
23 | 16 | | |
24 | | - | |
25 | | - | |
26 | 17 | | |
27 | | - | |
| 18 | + | |
28 | 19 | | |
29 | 20 | | |
30 | 21 | | |
| |||
42 | 33 | | |
43 | 34 | | |
44 | 35 | | |
45 | | - | |
| 36 | + | |
46 | 37 | | |
47 | 38 | | |
48 | 39 | | |
| |||
0 commit comments