Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/npm/node-semver
/ isX
Function
isX
classes/range.js:278–278 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
276
}
277
278
const
isX = id => !id || id.toLowerCase() ===
'x'
|| id ===
'*'
279
280
const
invalidXRangeOrder = (M, m, p) => (
281
(isX(M) && !isX(m)) ||
Callers
5
invalidXRangeOrder
Function · 0.85
replaceTilde
Function · 0.85
replaceCaret
Function · 0.85
replaceXRange
Function · 0.85
hyphenReplace
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected