You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP →
Socket
Book a DemoInstallSign in
Socket

erte

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

erte - npm Package Compare versions

Comparing version

to
1.1.2

8

build/index.js

@@ -70,5 +70,9 @@ "use strict";

if (added) {
p = s.map(t => c(t, 'green')).join(b(' ', 'green'));
p = s.map(t => {
return t.replace(/\n$/mg, '\nāŽ');
}).map(t => c(t, 'green')).join(b(' ', 'green'));
} else if (removed) {
p = s.map(t => c(t, 'red')).join(b(' ', 'red'));
p = s.map(t => {
return t.replace(/\n$/mg, '\nāŽ');
}).map(t => c(t, 'red')).join(b(' ', 'red'));
} else {

@@ -75,0 +79,0 @@ p = c(value, 'grey');

@@ -0,1 +1,7 @@

## 15 May 2018
### 1.1.2
- [feature] indicate new lines better
## 12 May 2018

@@ -2,0 +8,0 @@

{
"name": "erte",
"version": "1.1.1",
"version": "1.1.2",
"description": "String difference with colour for Node.js.",

@@ -5,0 +5,0 @@ "main": "build",