Node.js based forum software built for the modern web
fix(deps): update dependency diff to v4 (#7198)
renovate[bot]84e228bbb854
diff --git a/install/package.json b/install/package.jsonindex a884cce0b4..0227aefc18 100644--- a/install/package.json+++ b/install/package.json@@ -56,7 +56,7 @@"cropperjs": "^1.2.2","csurf": "^1.9.0","daemon": "^1.1.0",- "diff": "^3.4.0",+ "diff": "^4.0.1","express": "^4.16.2","express-session": "^1.15.6","express-useragent": "^1.0.12",diff --git a/test/posts.js b/test/posts.jsindex 4036bc8427..c6678b30fc 100644--- a/test/posts.js+++ b/test/posts.js@@ -464,7 +464,7 @@ describe('Post\'s', function () {it('should load diffs and reconstruct post', function (done) {posts.diffs.load(replyPid, 0, voterUid, function (err, data) {assert.ifError(err);- assert.equal(data.content, 'A reply to edit\n');+ assert.equal(data.content, 'A reply to edit');done();});});