Socket
Socket
Sign inDemoInstall

snyk-policy

Package Overview
Dependencies
Maintainers
1
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.1.1 to 1.1.2

.nyc_output/3105.json

2

lib/filter/get-vuln-source.js

@@ -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"
}
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