From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/diff/dist/diff.min.js | 141 ++++++++++++++++++++++++++++++++----- 1 file changed, 122 insertions(+), 19 deletions(-) (limited to 'node_modules/diff/dist/diff.min.js') diff --git a/node_modules/diff/dist/diff.min.js b/node_modules/diff/dist/diff.min.js index 872026a33..5d1b40a06 100644 --- a/node_modules/diff/dist/diff.min.js +++ b/node_modules/diff/dist/diff.min.js @@ -1,6 +1,6 @@ /*! - diff v3.2.0 + diff v3.3.0 Software License Agreement (BSD License) @@ -78,8 +78,23 @@ return b.m=a,b.c=c,b.p="",b(0)}([/* 0 */ /***/ function(a,b,c){/*istanbul ignore start*/ "use strict";/*istanbul ignore start*/ -function d(a){return a&&a.__esModule?a:{"default":a}}b.__esModule=!0,b.canonicalize=b.convertChangesToXML=b.convertChangesToDMP=b.parsePatch=b.applyPatches=b.applyPatch=b.createPatch=b.createTwoFilesPatch=b.structuredPatch=b.diffArrays=b.diffJson=b.diffCss=b.diffSentences=b.diffTrimmedLines=b.diffLines=b.diffWordsWithSpace=b.diffWords=b.diffChars=b.Diff=void 0;/*istanbul ignore end*/ -var/*istanbul ignore start*/e=c(1),f=d(e),/*istanbul ignore start*/g=c(2),/*istanbul ignore start*/h=c(3),/*istanbul ignore start*/i=c(5),/*istanbul ignore start*/j=c(6),/*istanbul ignore start*/k=c(7),/*istanbul ignore start*/l=c(8),/*istanbul ignore start*/m=c(9),/*istanbul ignore start*/n=c(10),/*istanbul ignore start*/o=c(11),/*istanbul ignore start*/p=c(13),/*istanbul ignore start*/q=c(14),/*istanbul ignore start*/r=c(15);b.Diff=f["default"],/*istanbul ignore start*/ +function d(a){return a&&a.__esModule?a:{"default":a}}b.__esModule=!0,b.canonicalize=b.convertChangesToXML=b.convertChangesToDMP=b.merge=b.parsePatch=b.applyPatches=b.applyPatch=b.createPatch=b.createTwoFilesPatch=b.structuredPatch=b.diffArrays=b.diffJson=b.diffCss=b.diffSentences=b.diffTrimmedLines=b.diffLines=b.diffWordsWithSpace=b.diffWords=b.diffChars=b.Diff=void 0;/*istanbul ignore end*/ +var/*istanbul ignore start*/e=c(1),f=d(e),/*istanbul ignore start*/g=c(2),/*istanbul ignore start*/h=c(3),/*istanbul ignore start*/i=c(5),/*istanbul ignore start*/j=c(6),/*istanbul ignore start*/k=c(7),/*istanbul ignore start*/l=c(8),/*istanbul ignore start*/m=c(9),/*istanbul ignore start*/n=c(10),/*istanbul ignore start*/o=c(11),/*istanbul ignore start*/p=c(13),/*istanbul ignore start*/q=c(14),/*istanbul ignore start*/r=c(16),/*istanbul ignore start*/s=c(17);/* See LICENSE file for terms of use */ +/* + * Text diff implementation. + * + * This library supports the following APIS: + * JsDiff.diffChars: Character by character diff + * JsDiff.diffWords: Word (as defined by \b regex) diff which ignores whitespace + * JsDiff.diffLines: Line based diff + * + * JsDiff.diffCss: Diff targeted at CSS content + * + * These methods are based on the implementation proposed in + * "An O(ND) Difference Algorithm and its Variations" (Myers, 1986). + * http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.4.6927 + */ +b.Diff=f["default"],/*istanbul ignore start*/ b.diffChars=g.diffChars,/*istanbul ignore start*/ b.diffWords=h.diffWords,/*istanbul ignore start*/ b.diffWordsWithSpace=h.diffWordsWithSpace,/*istanbul ignore start*/ @@ -89,14 +104,15 @@ b.diffSentences=j.diffSentences,/*istanbul ignore start*/ b.diffCss=k.diffCss,/*istanbul ignore start*/ b.diffJson=l.diffJson,/*istanbul ignore start*/ b.diffArrays=m.diffArrays,/*istanbul ignore start*/ -b.structuredPatch=p.structuredPatch,/*istanbul ignore start*/ -b.createTwoFilesPatch=p.createTwoFilesPatch,/*istanbul ignore start*/ -b.createPatch=p.createPatch,/*istanbul ignore start*/ +b.structuredPatch=q.structuredPatch,/*istanbul ignore start*/ +b.createTwoFilesPatch=q.createTwoFilesPatch,/*istanbul ignore start*/ +b.createPatch=q.createPatch,/*istanbul ignore start*/ b.applyPatch=n.applyPatch,/*istanbul ignore start*/ b.applyPatches=n.applyPatches,/*istanbul ignore start*/ b.parsePatch=o.parsePatch,/*istanbul ignore start*/ -b.convertChangesToDMP=q.convertChangesToDMP,/*istanbul ignore start*/ -b.convertChangesToXML=r.convertChangesToXML,/*istanbul ignore start*/ +b.merge=p.merge,/*istanbul ignore start*/ +b.convertChangesToDMP=r.convertChangesToDMP,/*istanbul ignore start*/ +b.convertChangesToXML=s.convertChangesToXML,/*istanbul ignore start*/ b.canonicalize=l.canonicalize},/* 1 */ /***/ function(a,b){/*istanbul ignore start*/ @@ -149,7 +165,7 @@ a[a.length-1]={count:d.count+1,added:b,removed:c}:a.push({count:1,added:b,remove /*istanbul ignore end*/ extractCommon:function(a,b,c,d){for(var e=b.length,f=c.length,g=a.newPos,h=g-d,i=0;g+1a.length)return!1;for(var c=0;c"):e.removed&&b.push(""),b.push(d(e.value)),e.added?b.push(""):e.removed&&b.push("")}return b.join("")}function d(a){var b=a;return b=b.replace(/&/g,"&"),b=b.replace(//g,">"),b=b.replace(/"/g,""")}b.__esModule=!0,b.convertChangesToXML=c}])}); \ No newline at end of file -- cgit v1.2.3