Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
18
const
isValidSemver = (v: string) => Bun.semver.satisfies(v,
"x.x.x"
)
19
20
const
root = process.cwd()
21
const
bunRoot = join(root,
"node_modules/.bun"
)
Callers
1
canonicalize-node-modules.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected