snyk-nuget-plugin
Advanced tools
Comparing version 2.3.3 to 2.3.4
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
132550
1805