(version)
| 216 | } |
| 217 | |
| 218 | function assertSupportedNode(version) { |
| 219 | const [major, minor] = version.split('.').map(Number); |
| 220 | assert.ok(major > 22 || (major === 22 && minor >= 13), `Node 22.13.0 or newer is required; found ${version}.`); |
| 221 | } |
| 222 | |
| 223 | async function confirmVersion(version) { |
| 224 | const readline = createInterface({ input: process.stdin, output: process.stdout }); |