MCPcopy Create free account
hub / github.com/vercel/vercel / getOptions

Function getOptions

packages/build-utils/src/fs/node-version.ts:78–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78function getOptions(): NodeVersion[] {
79 return NODE_VERSIONS;
80}
81
82function isNodeVersionAvailable(version: NodeVersion): boolean {
83 const stat = statSync(`/node${version.major}`, { throwIfNoEntry: false });

Callers 5

getNodeVersionByMajorFunction · 0.85
getAvailableNodeVersionsFunction · 0.85
getLatestNodeVersionFunction · 0.85
getSupportedNodeVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected