Comparing version 0.6.1 to 0.6.2
@@ -9,3 +9,3 @@ { | ||
"description": "JSON diff", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"homepage": "https://github.com/andreyvit/json-diff", | ||
@@ -12,0 +12,0 @@ "license": "MIT", |
@@ -55,3 +55,2 @@ JSON structural diff | ||
console.log(jsonDiff.diffString({ foo: 'bar' }, { foo: 'baz' })); | ||
// Output: | ||
@@ -63,9 +62,14 @@ // { | ||
// without console colors | ||
// As above, but without console colors | ||
console.log(jsonDiff.diffString({ foo: 'bar' }, { foo: 'baz' }, {color:false})); | ||
console.log(jsonDiff.diff({ foo: 'bar' }, { foo: 'baz' })); | ||
// Raw output: | ||
console.log(jsonDiff.diff({ foo: 'bar', b:3}, { foo: 'baz', b:3})); | ||
// Output: | ||
// { foo: { __old: 'bar', __new: 'baz' } } | ||
// Passing in the "full" option: | ||
console.log(jsonDiff.diff({ foo: 'bar', b:3}, { foo: 'baz', b:3}, {full:true})); | ||
// Output: | ||
// { foo: { __old: 'bar', __new: 'baz' }, b: 3 } | ||
@@ -270,2 +274,4 @@ | ||
---------- | ||
* 0.6.2 Provide examples of setting mode from code. | ||
* 0.6.1 Return exit code 0. Update cli-color to the latest version. | ||
* 0.6.0 Convert project code to ES6 | ||
@@ -272,0 +278,0 @@ * 0.5.5 Fix bug in scalarize fuzzy compare logic |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32067
282