MCPcopy Create free account
hub / github.com/angular/dev-infra / semverInc

Function semverInc

ng-dev/utils/semver.ts:15–22  ·  view source on GitHub ↗
(
  version: semver.SemVer,
  release: semver.ReleaseType,
  identifier?: string,
)

Source from the content-addressed store, hash-verified

13 * the version is cloned to not modify the original version instance.
14 */
15export function semverInc(
16 version: semver.SemVer,
17 release: semver.ReleaseType,
18 identifier?: string,
19) {
20 const clone = new semver.SemVer(version.version);
21 return clone.inc(release, identifier);
22}

Callers 5

performMethod · 0.85
CutNewPatchActionClass · 0.85
getNewVersionMethod · 0.85
getNewVersionFunction · 0.85
getNewVersionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected