New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

snyk

Package Overview
Dependencies
Maintainers
2
Versions
1969
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk - npm Package Compare versions

Comparing version 1.10.1-alpha2 to 1.10.1-alpha3

4

lib/policy/index.js

@@ -71,4 +71,4 @@ var yaml = require('js-yaml');

}).catch(function (error) {
if (error.code === 'ENOENT') {
return {};
if (options.loose && error.code === 'ENOENT') {
return parse({});
}

@@ -75,0 +75,0 @@

@@ -108,2 +108,3 @@ module.exports = test;

analytics.add('vulns-pre-policy', res.vulnerabilities.length);
options.loose = true; // allows merge without root policy
return snyk.policy.load(policyLocations, options).then(function (config) {

@@ -110,0 +111,0 @@ if (res.ok) {

@@ -5,3 +5,3 @@ {

"main": "lib/index.js",
"version": "1.10.1-alpha2",
"version": "1.10.1-alpha3",
"directories": {

@@ -8,0 +8,0 @@ "test": "test"

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