(string: string)
| 18 | const newline = /\r\n?|\n|\u2028|\u2029/g; |
| 19 | // fastest implementation |
| 20 | const countLines = (string: string) => (string.match(newline) || []).length + 1; |
| 21 | |
| 22 | |
| 23 | function lineToLineSourceMap(source: string, filename: string = ''): MappingsMap { |
no test coverage detected
searching dependent graphs…