MCPcopy
hub / github.com/11ty/buildawesome / normalizeIdentifier

Method normalizeIdentifier

src/Util/Compatibility.js:25–27  ·  view source on GitHub ↗
(identifier)

Source from the content-addressed store, hash-verified

23 }
24
25 static normalizeIdentifier(identifier) {
26 return identifier.replace(Compatibility.NORMALIZE_PRERELEASE_REGEX, "-alpha");
27 }
28
29 static getCompatibilityValue(compatibleRange) {
30 if (compatibleRange) {

Callers 2

satisfiesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected