(specifier)
| 335 | } |
| 336 | |
| 337 | function inferFamilyName(specifier) { |
| 338 | const relative = specifier.replace(/^\.\//, '') |
| 339 | const withoutIndex = relative.replace(/\/index\.js$/, '') |
| 340 | const withoutExt = withoutIndex.replace(/\.js$/, '') |
| 341 | const base = path.basename(withoutExt) |
| 342 | return base === 'remoteControlServer' ? '' : base |
| 343 | } |
| 344 | |
| 345 | function parseImports(source) { |
| 346 | const map = new Map() |
no outgoing calls
no test coverage detected