- #183 - Feature request: ability to specify a custom equality checker for
diffArrays
- #173 - Bug: diffArrays gives wrong result on array of booleans
- #158 - diffArrays will not compare the empty string in array?
- comparator for custom equality checks - 30e141e
- count oldLines and newLines when there are conflicts - 53bf384
- Fix: diffArrays can compare falsey items - 9e24284
- Docs: Replace grunt with npm test - 00e2f94
- #141 - Cannot apply patch because my file delimiter is "/r/n" instead of "/n"
- #192 - Fix: Bad merge when adding new files (#189)
- correct spelling mistake - 21fa478
- #114 - /patch/merge not exported
- Gracefully accept invalid newStart in hunks, same as patch(1) does. - d8a3635
- Use regex rather than starts/ends with for parsePatch - 6cab62c
- Add browser flag - e64f674
- refactor: simplified code a bit more - 8f8e0f2
- refactor: simplified code a bit - b094a6f
- fix: some corrections re ignoreCase option - 3c78fd0
- ignoreCase option - 3cbfbb5
- Sanitize filename while parsing patches - 2fe8129
- Added better installation methods - aced50b
- Simple export of functionality - 8690f31
- #156 - Add
undefinedReplacement
option todiffJson
(@ewnd9) - #154 - Add
examples
andimages
to.npmignore
. (@wtgtybhertgeghgtwtg) - #153 - feat(structuredPatch): Pass options to diffLines (@Kiougar)
- #146 - JsDiff.diffArrays to compare arrays (@wvanderdeijl)
- #144 - Split file using all possible line delimiter instead of hard-coded "/n" and join lines back using the original delimiters (@soulbeing)
- #139 - Make README.md look nicer in npmjs.com (@takenspc)
- #135 - parsePatch combines patches from multiple files into a single IUniDiff when there is no "Index" line (@ramya-rao-a)
- #124 - IE7/IE8 failure since 2.0.0 (@boneskull)
- #130 - Add callback argument to applyPatches
patched
option (@piranna) - #120 - Correctly handle file names containing spaces (@adius)
- #119 - Do single reflow (@wifiextender)
- #117 - Make more usable with long strings. (@abnbgist)
Compatibility notes:
- applyPatches patch callback now is async and requires the callback be called to continue operation
- #118 - Add a fix for applying 0-length destination patches (@chaaz)
- #115 - Fixed grammar in README (@krizalys)
- #113 - fix typo (@vmazare)
- #102 - diffJson with dates, returns empty curly braces (@dr-dimitru)
- #97 - Whitespaces & diffWords (@faiwer)
- #92 - Fixes typo in the readme (@bg451)
- #89 - add in display selector to readme (@FranDias)
- #88 - Split diffs based on file headers instead of 'Index:' metadata (@piranna)
- #80 - Fix a typo: applyPath -> applyPatch (@fluxxu)
- #83 - Add basic fuzzy matching to applyPatch (@piranna) Commits
- #80 - Fix a typo: applyPath -> applyPatch (@fluxxu)
- #83 - Add basic fuzzy matching to applyPatch (@piranna) Commits
- #78 - fix: error throwing when apply patch to empty string (@21paradox)
- #73 - Is applyPatches() exposed in the API? (@davidparsson)
- #72 - Consider using options object API for flag permutations (@kpdecker)
- #70 - diffWords treats \n at the end as significant whitespace (@nesQuick)
- #69 - Missing count (@wfalkwallace)
- #68 - diffLines seems broken (@wfalkwallace)
- #60 - Support multiple diff hunks (@piranna)
- #54 - Feature Request: 3-way merge (@mog422)
- #42 - Fuzz factor for applyPatch (@stuartpb)
- Move whitespace ignore out of equals method - 542063c
- Include source maps in babel output - 7f7ab21
- Merge diff/line and diff/patch implementations - 1597705
- Drop map utility method - 1ddc939
- Documentation for parsePatch and applyPatches - 27c4b77
Compatibility notes:
- The undocumented ignoreWhitespace flag has been removed from the Diff equality check directly. This implementation may be copied to diff utilities if dependencies existed on this functionality.
- #67 - cannot require from npm module in node (@commenthol)
- Convert to chai since we don’t support IE8 - a96bbad
- Add release build at proper step - 57542fd
- #66 - Add karma and sauce tests (@kpdecker)
- #65 - Create component repository for bower (@kpdecker)
- #64 - Automatically call removeEmpty for all tokenizer calls (@kpdecker)
- #62 - Allow access to structured object representation of patch data (@bittrance)
- #61 - Use svg instead of png to get better image quality (@PeterDaveHello)
- #29 - word tokenizer works only for 7 bit ascii (@plasmagunman)
Compatibility notes:
this.removeEmpty
is now called automatically for all instances. If this is not desired, this may be overridden on a per instance basis.- The library has been refactored to use some ES6 features. The external APIs should remain the same, but bower projects that directly referenced the repository will now have to point to the components/jsdiff repository.
- #57 - createPatch -> applyPatch failed. (@mog422)
- #56 - Two files patch (@rgeissert)
- #14 - Flip added and removed order? (@jakesandlund)
- #53 - Updated README.MD with Bower installation instructions (@ofbriggs)
- #49 - Cannot read property 'oldlines' of undefined (@nwtn)
- #44 - invalid-meta jsdiff is missing "main" entry in bower.json
- #52 - Fix for #51 Wrong result of JsDiff.diffLines (@felicienfrancois)
- #47 - Adding Diff Trimmed Lines (@JamesGould123)
- #45 - Fix AMD module loading (@pedrocarrico)
- #43 - added a bower file (@nbrustein)
- #37 - Add support for sentences. (@vmariano)
- #28 - Implemented diffJson (@papandreou)
- #27 - Slow to execute over diffs with a large number of changes (@termi)
- Allow for optional async diffing - 19385b9
- Fix diffChars implementation - eaa44ed
- #33 - AMD and global exports (@ovcharik)
- #32 - Add support for component (@vmariano)
- #31 - Don't rely on Array.prototype.map (@papandreou)
- #24 - Handle windows newlines on non windows machines. (@benogle)
- #23 - Prettied up the API formatting a little, and added basic node and web examples (@airportyh)
-
#22 - Added variant of WordDiff that doesn't ignore whitespace differences (@papandreou
-
Add 0.10 to travis tests - 243a526
- #19 - Explicitly define contents of npm package (@sindresorhus