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

Function parse

ng-dev/release/publish/test/test-utils/test-utils.ts:110–112  ·  view source on GitHub ↗
(version: string)

Source from the content-addressed store, hash-verified

108
109/** Parses the specified version into Semver. */
110export function parse(version: string): semver.SemVer {
111 return semver.parse(version)!;
112}
113
114/** Fakes a NPM package query API request for the given package. */
115export function fakeNpmPackageQueryRequest(pkgName: string, data: Partial<NpmPackageInfo>) {

Callers 2

loadWorkflowsFunction · 0.50
validateSkillFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected