Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
row.forEach(function (cell, column) {
if (column.noWrap) {
line.push(cell.value.split(/\r\n?|\n/));
} else {
line.push(wrap.lines(cell.value, {
width: column.wrappedContentWidth,
break: column.break,
noTrim: _this2.options.noTrim
}));
}
});
return line;
row.forEach((cell, column) => {
if (column.noWrap) {
line.push(cell.value.split(/\r\n?|\n/))
} else {
line.push(wrap.lines(cell.value, {
width: column.wrappedContentWidth,
break: column.break,
noTrim: this.options.noTrim
}))
}
})
return line
row.forEach(function (cell, column) {
if (column.noWrap) {
line.push(cell.value.split(/\r\n?|\n/));
} else {
line.push(wrap.lines(cell.value, {
width: column.wrappedContentWidth,
break: column.break,
noTrim: _this2.options.noTrim
}));
}
});
return line;
row.forEach((cell, column) => {
if (column.noWrap) {
line.push(cell.value.split(/\r\n?|\n/))
} else {
line.push(wrap.lines(cell.value, {
width: column.wrappedContentWidth,
break: column.break,
noTrim: this.options.noTrim
}))
}
})
return line
row.forEach((cell, column) => {
if (column.nowrap) {
line.push(cell.value.split(/\r\n?|\n/))
} else {
line.push(wrap.lines(cell.value, {
width: column.wrappedContentWidth,
ignore: ansi.regexp,
break: column.break
}))
}
})
return line