Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ parseVersion
Function
parseVersion
frontend/scripts/detect-node-version.js:1–3 ·
view source on GitHub ↗
(version)
Source
from the content-addressed store, hash-verified
1
function
parseVersion(version) {
2
return
version.split(
'.'
).map(Number);
3
}
4
5
function
compareVersions(v1, v2) {
6
const
v1Parts = parseVersion(v1);
Callers
1
compareVersions
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected