libnpmdiff
Advanced tools
Comparing version 2.0.0 to 2.0.1
# Changelog | ||
## 2.0.1 | ||
- fix for tarballs not listing folder names | ||
## 2.0.0 | ||
- API rewrite: | ||
- normalized all options | ||
- specs to compare are now an array | ||
- fix context=0 | ||
- added support to filtering by folder names | ||
## 1.0.1 | ||
@@ -4,0 +16,0 @@ |
@@ -29,14 +29,4 @@ const tar = require('tar') | ||
if ( | ||
filterFiles.length && | ||
entry.type === 'Directory' && | ||
folderMatch() | ||
) { | ||
// if simple folder was found, add that as a glob to list of filters | ||
filterFiles.push(`${path}**`) | ||
return false | ||
} | ||
if ( | ||
entry.type === 'File' && | ||
fileMatch() | ||
(fileMatch() || folderMatch()) | ||
) { | ||
@@ -43,0 +33,0 @@ const key = path.replace(/^[^/]+\/?/, '') |
{ | ||
"name": "libnpmdiff", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"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
12411
226