diff --git a/services/document-updater/app/js/DiffCodec.js b/services/document-updater/app/js/DiffCodec.js index bca22cd2b3..f6ea27712f 100644 --- a/services/document-updater/app/js/DiffCodec.js +++ b/services/document-updater/app/js/DiffCodec.js @@ -1,10 +1,5 @@ -/* eslint-disable - camelcase, - handle-callback-err, - new-cap, -*/ -const { diff_match_patch } = require('../lib/diff_match_patch') -const dmp = new diff_match_patch() +const { diff_match_patch: DMP } = require('../lib/diff_match_patch') +const dmp = new DMP() module.exports = { ADDED: 1,