File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ var shortId = require('shortid')
1111var Sequelize = require ( 'sequelize' )
1212var async = require ( 'async' )
1313var moment = require ( 'moment' )
14- var DiffMatchPatch = require ( 'diff-match-patch' )
14+ var DiffMatchPatch = require ( '@hackmd/ diff-match-patch' )
1515var dmp = new DiffMatchPatch ( )
1616var S = require ( 'string' )
1717
Original file line number Diff line number Diff line change 11'use strict'
22// external modules
3- var DiffMatchPatch = require ( 'diff-match-patch' )
3+ var DiffMatchPatch = require ( '@hackmd/ diff-match-patch' )
44var dmp = new DiffMatchPatch ( )
55
66// core
Original file line number Diff line number Diff line change 1717 },
1818 "dependencies" : {
1919 "@hackmd/codemirror" : " ^5.41.2" ,
20+ "@hackmd/diff-match-patch" : " ^1.1.1" ,
2021 "@hackmd/idle-js" : " ^1.0.1" ,
2122 "@hackmd/js-sequence-diagrams" : " ^0.0.1-alpha.2" ,
2223 "@passport-next/passport-openid" : " ^1.0.0" ,
3637 "cookie" : " 0.3.1" ,
3738 "cookie-parser" : " 1.4.3" ,
3839 "deep-freeze" : " ^0.0.1" ,
39- "diff-match-patch" : " git+https://github.com/hackmdio/diff-match-patch.git" ,
4040 "ejs" : " ^2.5.5" ,
4141 "emojify.js" : " ~1.1.0" ,
4242 "express" : " >=4.14" ,
Original file line number Diff line number Diff line change 2323 resolved "https://registry.yarnpkg.com/@hackmd/codemirror/-/codemirror-5.41.2.tgz#14ead072a736bf9f1cae3eb349d600f22fbaf69c"
2424 integrity sha512-uYvDnyIIqyC4lJ/Qn67Zkwj1olUvk5+r8smWkZiNjGEoYz5qjiULrYcPFvu8vPUv6axy5Qq1AXIJs6CUCx0zow==
2525
26+ " @hackmd/diff-match-patch@^1.1.1 " :
27+ version "1.1.1"
28+ resolved "https://registry.yarnpkg.com/@hackmd/diff-match-patch/-/diff-match-patch-1.1.1.tgz#9740833d315468fead567c336132faabe3f195eb"
29+ integrity sha512-eZc7w8fyRYCPIbzM56OA74HSuIgrlj62AgUSattDVCyGO5Kh6/ZLSgx1xvmypWjP16t4EUA1F5CoZvftbiZ5fg==
30+
2631" @hackmd/idle-js@^1.0.1 " :
2732 version "1.0.1"
2833 resolved "https://registry.yarnpkg.com/@hackmd/idle-js/-/idle-js-1.0.1.tgz#89079a76d9c7bda87029660a708e72fbb2be3605"
@@ -2915,10 +2920,6 @@ diagnostics@^1.1.1:
29152920 enabled "1.0.x"
29162921 kuler "1.0.x"
29172922
2918- " diff-match-patch@git+https://github.com/hackmdio/diff-match-patch.git " :
2919- version "1.1.0"
2920- resolved "git+https://github.com/hackmdio/diff-match-patch.git#73e56e779a2a8503b05458e607077d0fd1d80419"
2921-
29222923diff@3.5.0 :
29232924 version "3.5.0"
29242925 resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
You can’t perform that action at this time.
0 commit comments