libnpmdiff
Advanced tools
Comparing version 2.0.2 to 2.0.3
# Changelog | ||
## 2.0.3 | ||
- fix name of options sent by the npm cli | ||
## 2.0.2 | ||
- fix matching basename file filter | ||
## 2.0.1 | ||
@@ -4,0 +12,0 @@ |
@@ -73,4 +73,4 @@ const EOL = '\n' | ||
{ | ||
context: opts.diffContext === 0 ? 0 : opts.diffContext || 3, | ||
ignoreWhitespace: opts.diffIgnoreWhitespace, | ||
context: opts.diffUnified === 0 ? 0 : opts.diffUnified || 3, | ||
ignoreWhitespace: opts.diffIgnoreAllSpace, | ||
} | ||
@@ -77,0 +77,0 @@ ).replace( |
{ | ||
"name": "libnpmdiff", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "The registry diff", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/npm/libnpmdiff", |
@@ -81,5 +81,5 @@ # libnpmdiff | ||
- `tagVersionPrefix <Sring>`: What prefix should be used to define version numbers. Defaults to `v` | ||
- `diffContext <Number>`: How many lines of code to print before/after each diff. Defaults to `3`. | ||
- `diffUnified <Number>`: How many lines of code to print before/after each diff. Defaults to `3`. | ||
- `diffFiles <Array<String>>`: If set only prints patches for the files listed in this array (also accepts globs). Defaults to `undefined`. | ||
- `diffIgnoreWhitespace <Boolean>`: Whether or not should ignore changes in whitespace (very useful to avoid indentation changes extra diff lines). Defaults to `false`. | ||
- `diffIgnoreAllSpace <Boolean>`: Whether or not should ignore changes in whitespace (very useful to avoid indentation changes extra diff lines). Defaults to `false`. | ||
- `diffNameOnly <Boolean>`: Prints only file names and no patch diffs. Defaults to `false`. | ||
@@ -86,0 +86,0 @@ - `diffNoPrefix <Boolean>`: If true then skips printing any prefixes in filenames. Defaults to `false`. |
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
12583