snyk-policy
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -5,3 +5,3 @@ // FIXME move to ext module | ||
var debug = require('debug')('snyk'); | ||
var debug = require('debug')('snyk:policy'); | ||
var resolve = require('snyk-resolve'); | ||
@@ -8,0 +8,0 @@ var path = require('path'); |
module.exports = filterIgnored; | ||
var debug = require('debug')('snyk'); | ||
var debug = require('debug')('snyk:policy'); | ||
var matchToRule = require('../match').matchToRule; | ||
@@ -5,0 +5,0 @@ |
module.exports = attachNotes; | ||
var debug = require('debug')('snyk'); | ||
var debug = require('debug')('snyk:policy'); | ||
var matchToRule = require('../match').matchToRule; | ||
@@ -5,0 +5,0 @@ |
module.exports = filterPatched; | ||
var debug = require('debug')('snyk'); | ||
var debug = require('debug')('snyk:policy'); | ||
var matchToRule = require('../match').matchToRule; | ||
@@ -5,0 +5,0 @@ var path = require('path'); |
var fs = require('then-fs'); | ||
var path = require('path'); | ||
var debug = require('debug')('snyk'); | ||
var debug = require('debug')('snyk:policy'); | ||
var Promise = require('es6-promise').Promise; // jshint ignore:line | ||
@@ -97,3 +97,5 @@ var match = require('./match'); | ||
promise, | ||
fs.stat(filename), | ||
fs.stat(filename).catch(function () { | ||
return {}; | ||
}), | ||
]; | ||
@@ -103,2 +105,3 @@ | ||
if (options.loose && error.code === 'ENOENT') { | ||
debug('ENOENT on file, but running loose'); | ||
return [parse.import(), {}]; | ||
@@ -105,0 +108,0 @@ } |
@@ -6,3 +6,3 @@ module.exports = { | ||
var debug = require('debug')('snyk'); | ||
var debug = require('debug')('snyk:policy'); | ||
var debugPolicy = require('debug')('snyk:protect'); | ||
@@ -9,0 +9,0 @@ var semver = require('semver'); |
@@ -42,3 +42,3 @@ { | ||
}, | ||
"version": "1.1.1" | ||
"version": "1.1.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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
599922
30
594
0