MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / maxBump

Function maxBump

packages/bumpy/src/types.ts:16–19  ·  view source on GitHub ↗
(a: BumpType | undefined, b: BumpType)

Source from the content-addressed store, hash-verified

14}
15
16export function maxBump(a: BumpType | undefined, b: BumpType): BumpType {
17 if (!a) return b;
18 return bumpLevel(a) >= bumpLevel(b) ? a : b;
19}
20
21// ---- Dependency bump rules ----
22

Callers 4

assembleReleasePlanFunction · 0.90
applyBumpFunction · 0.90
createGithubFormatterFunction · 0.90
defaultFormatterFunction · 0.90

Calls 1

bumpLevelFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…