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
1967
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.6.1-alpha6 to 1.6.1-alpha7

10

cli/commands/protect/wizard.js

@@ -176,7 +176,9 @@ module.exports = wizard;

if (task === 'patch' && answer.vuln.grouped) {
var vuln = answer.vuln;
if (task === 'patch' && vuln.grouped && vuln.grouped.upgrades) {
// ignore the first as it's the same one as this particular answer
var additionalPatches = answer.vuln.grouped.upgrades.slice(1);
var additionalPatches = vuln.grouped.upgrades.slice(1);
additionalPatches.forEach(function (from) {
var copy = _.cloneDeep(answer.vuln);
var copy = _.cloneDeep(vuln);
copy.from = from;

@@ -191,3 +193,3 @@ tasks.patch.push(copy);

} else {
tasks[task].push(answer.vuln);
tasks[task].push(vuln);
}

@@ -194,0 +196,0 @@ });

2

package.json

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

"main": "lib/index.js",
"version": "1.6.1-alpha6",
"version": "1.6.1-alpha7",
"directories": {

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

Sorry, the diff of this file is not supported yet

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