(source)
| 328 | } |
| 329 | |
| 330 | function parseBuildFeatures(source) { |
| 331 | const body = extractArrayBodyFromAnchor(source, 'const buildFeatures =') |
| 332 | return splitTopLevelCommaList(body) |
| 333 | .map(item => item.match(/'([^']+)'/)?.[1] ?? '') |
| 334 | .filter(Boolean) |
| 335 | } |
| 336 | |
| 337 | function inferFamilyName(specifier) { |
| 338 | const relative = specifier.replace(/^\.\//, '') |
no test coverage detected