snyk-policy
Advanced tools
Comparing version 1.8.1 to 1.9.0
module.exports = filterIgnored; | ||
var cloneDeep = require('lodash.clonedeep'); | ||
var debug = require('debug')('snyk:policy'); | ||
@@ -65,3 +66,6 @@ var matchToRule = require('../match').matchToRule; | ||
ignored: appliedRules.map(function (rule) { | ||
return rule[Object.keys(rule)[0]]; | ||
var ignorePath = Object.keys(rule)[0]; | ||
var ruleData = cloneDeep(rule[ignorePath]); | ||
ruleData.path = ignorePath.split(' > '); | ||
return ruleData; | ||
}), | ||
@@ -68,0 +72,0 @@ }; |
@@ -43,3 +43,3 @@ { | ||
}, | ||
"version": "1.8.1" | ||
"version": "1.9.0" | ||
} |
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
1440511
837