index.js 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. /*istanbul ignore start*/
  2. "use strict";
  3. Object.defineProperty(exports, "__esModule", {
  4. value: true
  5. });
  6. Object.defineProperty(exports, "Diff", {
  7. enumerable: true,
  8. get: function get() {
  9. return _base.default;
  10. }
  11. });
  12. Object.defineProperty(exports, "diffChars", {
  13. enumerable: true,
  14. get: function get() {
  15. return _character.diffChars;
  16. }
  17. });
  18. Object.defineProperty(exports, "diffWords", {
  19. enumerable: true,
  20. get: function get() {
  21. return _word.diffWords;
  22. }
  23. });
  24. Object.defineProperty(exports, "diffWordsWithSpace", {
  25. enumerable: true,
  26. get: function get() {
  27. return _word.diffWordsWithSpace;
  28. }
  29. });
  30. Object.defineProperty(exports, "diffLines", {
  31. enumerable: true,
  32. get: function get() {
  33. return _line.diffLines;
  34. }
  35. });
  36. Object.defineProperty(exports, "diffTrimmedLines", {
  37. enumerable: true,
  38. get: function get() {
  39. return _line.diffTrimmedLines;
  40. }
  41. });
  42. Object.defineProperty(exports, "diffSentences", {
  43. enumerable: true,
  44. get: function get() {
  45. return _sentence.diffSentences;
  46. }
  47. });
  48. Object.defineProperty(exports, "diffCss", {
  49. enumerable: true,
  50. get: function get() {
  51. return _css.diffCss;
  52. }
  53. });
  54. Object.defineProperty(exports, "diffJson", {
  55. enumerable: true,
  56. get: function get() {
  57. return _json.diffJson;
  58. }
  59. });
  60. Object.defineProperty(exports, "canonicalize", {
  61. enumerable: true,
  62. get: function get() {
  63. return _json.canonicalize;
  64. }
  65. });
  66. Object.defineProperty(exports, "diffArrays", {
  67. enumerable: true,
  68. get: function get() {
  69. return _array.diffArrays;
  70. }
  71. });
  72. Object.defineProperty(exports, "applyPatch", {
  73. enumerable: true,
  74. get: function get() {
  75. return _apply.applyPatch;
  76. }
  77. });
  78. Object.defineProperty(exports, "applyPatches", {
  79. enumerable: true,
  80. get: function get() {
  81. return _apply.applyPatches;
  82. }
  83. });
  84. Object.defineProperty(exports, "parsePatch", {
  85. enumerable: true,
  86. get: function get() {
  87. return _parse.parsePatch;
  88. }
  89. });
  90. Object.defineProperty(exports, "merge", {
  91. enumerable: true,
  92. get: function get() {
  93. return _merge.merge;
  94. }
  95. });
  96. Object.defineProperty(exports, "structuredPatch", {
  97. enumerable: true,
  98. get: function get() {
  99. return _create.structuredPatch;
  100. }
  101. });
  102. Object.defineProperty(exports, "createTwoFilesPatch", {
  103. enumerable: true,
  104. get: function get() {
  105. return _create.createTwoFilesPatch;
  106. }
  107. });
  108. Object.defineProperty(exports, "createPatch", {
  109. enumerable: true,
  110. get: function get() {
  111. return _create.createPatch;
  112. }
  113. });
  114. Object.defineProperty(exports, "convertChangesToDMP", {
  115. enumerable: true,
  116. get: function get() {
  117. return _dmp.convertChangesToDMP;
  118. }
  119. });
  120. Object.defineProperty(exports, "convertChangesToXML", {
  121. enumerable: true,
  122. get: function get() {
  123. return _xml.convertChangesToXML;
  124. }
  125. });
  126. /*istanbul ignore end*/
  127. var
  128. /*istanbul ignore start*/
  129. _base = _interopRequireDefault(require("./diff/base"))
  130. /*istanbul ignore end*/
  131. ;
  132. var
  133. /*istanbul ignore start*/
  134. _character = require("./diff/character")
  135. /*istanbul ignore end*/
  136. ;
  137. var
  138. /*istanbul ignore start*/
  139. _word = require("./diff/word")
  140. /*istanbul ignore end*/
  141. ;
  142. var
  143. /*istanbul ignore start*/
  144. _line = require("./diff/line")
  145. /*istanbul ignore end*/
  146. ;
  147. var
  148. /*istanbul ignore start*/
  149. _sentence = require("./diff/sentence")
  150. /*istanbul ignore end*/
  151. ;
  152. var
  153. /*istanbul ignore start*/
  154. _css = require("./diff/css")
  155. /*istanbul ignore end*/
  156. ;
  157. var
  158. /*istanbul ignore start*/
  159. _json = require("./diff/json")
  160. /*istanbul ignore end*/
  161. ;
  162. var
  163. /*istanbul ignore start*/
  164. _array = require("./diff/array")
  165. /*istanbul ignore end*/
  166. ;
  167. var
  168. /*istanbul ignore start*/
  169. _apply = require("./patch/apply")
  170. /*istanbul ignore end*/
  171. ;
  172. var
  173. /*istanbul ignore start*/
  174. _parse = require("./patch/parse")
  175. /*istanbul ignore end*/
  176. ;
  177. var
  178. /*istanbul ignore start*/
  179. _merge = require("./patch/merge")
  180. /*istanbul ignore end*/
  181. ;
  182. var
  183. /*istanbul ignore start*/
  184. _create = require("./patch/create")
  185. /*istanbul ignore end*/
  186. ;
  187. var
  188. /*istanbul ignore start*/
  189. _dmp = require("./convert/dmp")
  190. /*istanbul ignore end*/
  191. ;
  192. var
  193. /*istanbul ignore start*/
  194. _xml = require("./convert/xml")
  195. /*istanbul ignore end*/
  196. ;
  197. /*istanbul ignore start*/ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  198. /*istanbul ignore end*/
  199. //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQWdCQTtBQUFBO0FBQUE7QUFBQTtBQUFBOztBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7O0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFBQTs7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUFBOztBQUNBO0FBQUE7QUF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