MCPcopy Create free account
hub / github.com/ReactiveX/rxjs / assertSupportedNode

Function assertSupportedNode

scripts/release/beta.mjs:218–221  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

216}
217
218function 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
223async function confirmVersion(version) {
224 const readline = createInterface({ input: process.stdin, output: process.stdout });

Callers 1

mainFunction · 0.85

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected