Commit 43ea6f7
ref(node): Remove two Node <20 leftovers (hrtime.bigint, undici channel refs)
Both were guarded by a condition that has since passed: the engine floor
moved to Node >=20.19.0 in 4f03438.
- anr/worker.ts: `createHrTimer()` now uses `process.hrtime.bigint()`; the
TODO asking for it was conditioned on dropping Node 8.
- node-fetch/undici-instrumentation.ts: `_channelSubs` only existed to keep
a reference alive around nodejs/node#42170, which needed Node 18.18.0
support. Replaced with the `_isInstrumented` boolean its own comment
proposed.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JGK2ap3HHAy2WuDwoS8yTW1 parent 59496e0 commit 43ea6f7
2 files changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
| 289 | + | |
291 | 290 | | |
292 | 291 | | |
293 | 292 | | |
294 | | - | |
295 | | - | |
| 293 | + | |
296 | 294 | | |
297 | 295 | | |
298 | | - | |
| 296 | + | |
299 | 297 | | |
300 | 298 | | |
301 | 299 | | |
| |||
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
| 77 | + | |
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
| |||
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
| 102 | + | |
105 | 103 | | |
106 | 104 | | |
| 105 | + | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
| |||
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
121 | | - | |
| 120 | + | |
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
| |||
0 commit comments