MCPcopy Index your code
hub / github.com/anomalyco/opencode / isValidSemver

Function isValidSemver

nix/scripts/canonicalize-node-modules.ts:18–18  ·  view source on GitHub ↗
(v: string)

Source from the content-addressed store, hash-verified

16}
17
18const isValidSemver = (v: string) => Bun.semver.satisfies(v, "x.x.x")
19
20const root = process.cwd()
21const bunRoot = join(root, "node_modules/.bun")

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected