MCPcopy Create free account
hub / github.com/TanStack/cli / getNodeMajorVersion

Function getNodeMajorVersion

packages/cli/src/telemetry.ts:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33let telemetryStatusPromise: Promise<Awaited<ReturnType<typeof getTelemetryStatus>>> | undefined
34
35function getNodeMajorVersion() {
36 return Number.parseInt(nodeVersion.replace(/^v/, '').split('.')[0] || '0', 10)
37}
38
39function cleanProperties(value: unknown): unknown {
40 if (Array.isArray(value)) {

Callers 1

basePropertiesMethod · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected