jsondiffpatch
jsondiffpatch copied to clipboard
Diff & patch JavaScript objects
The `jsondiffpatch.formatters` object doesn't seem to get set when using jsondiffpatch (with require.js). Seems like this might the culprit: https://github.com/benjamine/jsondiffpatch/blob/master/src/main.js#L52 We don't seem to be attaching the formatters for the...
Comparing arrays with elements of different types usually works perfectly, but comparing `[null]` with `[{}]` throws an error. I came across this while trying to find the difference of two...
Hi Benjamine, firstly jsondiffpatch works almost perfectly for my needs so thank you for developing it! I unfortunately have found one bug that has made me unable to use it...
The gulp injector is not recognizing some of the files that the application requires. The `bower.json` only references this file > "public/build/jsondiffpatch.js" but all of these are needed > "public/build/jsondiffpatch.js",...
Fix #156
this should fix #156
I'm looking into using this project for keeping track of changes to a data structure stored centrally on a server in a database table. Only one version of this data...
When using tool via command line it should set exit code to `1` in case there is a non-empty diff. Otherwise exit code should stay as `0` and no output...
Here is the test case ``` javascript var jsondiffpatch = require('jsondiffpatch').create({ objectHash: function(obj, index) { if (typeof obj.blockid !== 'undefined') { return obj.blockid; } return '$$index:' + index; }, arrays:...
Formatter converts ext UTF8 chars in `@@-+@@` patches into mess. For example `самую` turns into `ÑамÑÑ`. Seems, that changing `unescape()` to `decodeURIComponent()` fixes issue at least for browsers.