vue-i18n-locale-message
vue-i18n-locale-message copied to clipboard
change the return value of the diff API to an object
The return value is a boolean, which is difficult to use, so I want to change the return value of the diff API to an object. For example,
const jsonDiff = require('json-diff')
return jsonDiff.diff({ foo: 'bar' }, { foo: 'baz' });
// Return:
// { foo: { __old: 'bar', __new: 'baz' } }
add the normalize option to the diff API.