Socket
Socket
Sign inDemoInstall

snyk-nuget-plugin

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk-nuget-plugin - npm Package Compare versions

Comparing version 2.3.3 to 2.3.4

14

dist/nuget-parser/parsers/packages-config-parser.js

@@ -8,2 +8,3 @@ "use strict";

const framework_1 = require("../framework");
const errors_1 = require("../../errors");
const debug = debugModule('snyk');

@@ -30,9 +31,10 @@ function fromPackagesConfigEntry(manifest) {

}
else {
const packages = result.packages.package || [];
packages.forEach(function scanPackagesConfigNode(node) {
const installedDependency = fromPackagesConfigEntry(node);
installedPackages.push(installedDependency);
});
if (!('packages' in result)) {
throw new errors_1.InvalidManifestError(`Could not find a <packages> tag in your packages.config file. Please read this guide \x1b[4mhttps://learn.microsoft.com/en-us/nuget/reference/packages-config#schema\x1b[0m.`);
}
const packages = result.packages.package || [];
packages.forEach(function scanPackagesConfigNode(node) {
const installedDependency = fromPackagesConfigEntry(node);
installedPackages.push(installedDependency);
});
});

@@ -39,0 +41,0 @@ return installedPackages;

@@ -61,3 +61,3 @@ {

},
"version": "2.3.3"
"version": "2.3.4"
}

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