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.4.1 to 2.4.2

10

dist/nuget-parser/index.js

@@ -108,2 +108,6 @@ "use strict";

await dotnet.validate();
// Write a .NET Framework Parser to a temporary directory for validating TargetFrameworks.
const nugetFrameworksParserLocation = nugetFrameworksParser.generate();
await dotnet.restore(nugetFrameworksParserLocation);
// Loop through all TargetFrameworks supplied and generate a dependency graph for each.
const results = [];

@@ -120,5 +124,5 @@ for (const decidedTargetFramework of decidedTargetFrameworks) {

// we have maximum context to use later when building the depGraph.
const location = nugetFrameworksParser.generate();
await dotnet.restore(location);
const response = await dotnet.run(location, [decidedTargetFramework]);
const response = await dotnet.run(nugetFrameworksParserLocation, [
decidedTargetFramework,
]);
const targetFrameworkInfo = JSON.parse(response);

@@ -125,0 +129,0 @@ if (targetFrameworkInfo.IsUnsupported) {

@@ -35,3 +35,3 @@ "use strict";

const childId = `${childNode.name}@${childNode.version}`;
// If we're looking at a runtime assembly version for self-contained dlls, overwrite the dependency version
// If we're looking at a runtime assembly version for self-contained dlls, overwrite the dependency version
// we've found in the graph with those from the runtime assembly, as they take precedence.

@@ -38,0 +38,0 @@ let assemblyVersion = version;

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

},
"version": "2.4.1"
"version": "2.4.2"
}

Sorry, the diff of this file is not supported yet

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