MCPcopy
hub / github.com/originjs/vite-plugin-federation / extractComparator

Function extractComparator

packages/lib/src/utils/semver/utils.ts:74–78  ·  view source on GitHub ↗
(
  comparatorString: string
)

Source from the content-addressed store, hash-verified

72}
73
74export function extractComparator(
75 comparatorString: string
76): RegExpMatchArray | null {
77 return comparatorString.match(parseRegex(comparator))
78}
79
80export function combineVersion(
81 major: string,

Callers 1

satisfyFunction · 0.90

Calls 1

parseRegexFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…