Comparing version 1.1.2 to 1.1.3
@@ -71,7 +71,7 @@ "use strict"; | ||
p = s.map(t => { | ||
return t.replace(/\n$/mg, '\n⏎'); | ||
return t.replace(/\n$/mg, '⏎\n'); | ||
}).map(t => c(t, 'green')).join(b(' ', 'green')); | ||
} else if (removed) { | ||
p = s.map(t => { | ||
return t.replace(/\n$/mg, '\n⏎'); | ||
return t.replace(/\n$/mg, '⏎\n'); | ||
}).map(t => c(t, 'red')).join(b(' ', 'red')); | ||
@@ -78,0 +78,0 @@ } else { |
## 15 May 2018 | ||
### 1.1.3 | ||
- [fix] correct order when replacing new lines. | ||
### 1.1.2 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "erte", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "String difference with colour for Node.js.", | ||
@@ -5,0 +5,0 @@ "main": "build", |
5985