Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/melonjs/melonJS
/ compare
Function
compare
packages/melonjs/src/utils/semver.ts:70–72 ·
view source on GitHub ↗
(a: string, b: string)
Source
from the content-addressed store, hash-verified
68
}
69
70
export
const
compare = (a: string, b: string) => {
71
return
new
SemVer(a).compare(
new
SemVer(b));
72
};
Callers
1
checkVersion
Function · 0.90
Calls
1
compare
Method · 0.80
Tested by
no test coverage detected