Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const rs = source.split('\n').map(function (line) {
line = line.replace(/^\s+|\s+$/g, '')
try {
line = stripComments.line(line)
} catch (e) {
}
return line
}).join('\n')
return rs