jsondiffpatch
jsondiffpatch copied to clipboard
What is the default call?
I have zero interest in writing a complex config when what I need is bog standard object diffing: can the README be given an example of how to use jsondiffpatch
without an options object?
Right now, the code crashes when you don't care to specify any options:
return this.processor.process(new DiffContext(left, right));
^
TypeError: Cannot read property 'processor' of undefined
at diff (J:\Junctions\Users\Mike\Documents\Git\released\socketless\node_modules\jsondiffpatch\dist\jsondiffpatch.cjs.js:1459:19)
[...]
which should never happen: if no options are specified, the code should have loaded a sensible default that "just works", and then if that isn't what people want, then they can pass in an options object?