Comparing version 3.1.0 to 3.2.0
# disparity changelog | ||
## v3.2.0 (2021/01/20) | ||
- Add support to `context` opt in `unified` function | ||
## v3.1.0 | ||
- Add type definitions for TypeScript support | ||
@@ -4,0 +10,0 @@ |
@@ -149,3 +149,3 @@ 'use strict'; | ||
var changes = stringDiff.createPatch('', str1, str2, '', ''); | ||
var changes = stringDiff.createPatch('', str1, str2, '', '', { context: opts.context }); | ||
@@ -152,0 +152,0 @@ // remove first 2 lines (header) |
{ | ||
"name": "disparity", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Colorized string diff ideal for text/code that spans through multiple lines", | ||
"main": "disparity.js", | ||
"types": "disparity.d.ts", | ||
"bin": "bin/disparity", | ||
"bin": { | ||
"disparity": "bin/disparity" | ||
}, | ||
"scripts": { | ||
@@ -9,0 +11,0 @@ "test": "node test/runner.js" |
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
16035