libnpmdiff
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -15,8 +15,10 @@ const tar = require('tar') | ||
(!filterFiles.length || | ||
filterFiles.some(f => | ||
minimatch( | ||
filterFiles.some(f => { | ||
const pattern = normalizeMatch(f) | ||
return minimatch( | ||
normalizeMatch(path), | ||
`{package/,}${normalizeMatch(f)}`, | ||
{ matchBase: true } | ||
))) | ||
`{package/,}${pattern}`, | ||
{ matchBase: pattern.startsWith('*') } | ||
) | ||
})) | ||
@@ -23,0 +25,0 @@ // expands usage of simple path filters, e.g: lib or src/ |
{ | ||
"name": "libnpmdiff", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "The registry diff", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/npm/libnpmdiff", |
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
12487
228