snyk-policy
Advanced tools
Comparing version 1.10.1 to 1.10.2
@@ -39,2 +39,6 @@ module.exports = filterIgnored; | ||
if (expires && expires.toJSON) { | ||
expires = expires.toJSON(); | ||
} | ||
// first check if the path is a match on the rule | ||
@@ -41,0 +45,0 @@ var pathMatch = matchToRule(vuln, rule); |
@@ -28,2 +28,6 @@ module.exports = attachNotes; | ||
if (expires && expires.toJSON) { | ||
expires = expires.toJSON(); | ||
} | ||
if (pathMatch && expires && expires < now) { | ||
@@ -30,0 +34,0 @@ debug('%s vuln rule has expired (%s)', vuln.id, expires); |
@@ -43,3 +43,3 @@ { | ||
}, | ||
"version": "1.10.1" | ||
"version": "1.10.2" | ||
} |
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
1476812
848