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.5.1 to 1.5.2

.nyc_output/3404.json

7

lib/filter/patch.js

@@ -60,6 +60,11 @@ module.exports = filterPatched;

var flag = path.resolve(source, '.snyk-' + id + '.flag');
var oldFlag = path.resolve(source, '.snyk-' + vuln.id + '.flag');
var res = false;
try {
res = statSync(flag);
} catch (e) {}
} catch (e) {
try {
res = statSync(oldFlag);
} catch (e) {}
}

@@ -66,0 +71,0 @@ debug('flag found for %s? %s', vuln.id);

2

package.json

@@ -42,3 +42,3 @@ {

},
"version": "1.5.1"
"version": "1.5.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