Closed floer32 closed 1 year ago
I'm not able to reproduce this issue. What version of jsondiffpatch are you using and what environment are you using it in? Sorry for the delayed response.
Closing this for now, feel free to follow-up if you still think this is worth re-opening.
If you do
jsondiffpatch.create()
(with no options argument), you get a confusing error:TypeError: Cannot read property 'processor' of undefined
. This doesn't indicate the problem thatcreate
expects an empty options object, {}. Instead of adding handling or an error, for that case, I think the README is a fine solution.README should mention this. jsondiffpatch does have sane defaults already, except for this one pesky case.
Resolves #266