Socket
Socket
Sign inDemoInstall

snyk-policy

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk-policy - npm Package Compare versions

Comparing version 1.8.1 to 1.9.0

.nyc_output/3975.json

6

lib/filter/ignore.js
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 @@ };

2

package.json

@@ -43,3 +43,3 @@ {

},
"version": "1.8.1"
"version": "1.9.0"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc