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.0 to 2.3.1

4

dist/nuget-parser/index.js

@@ -72,3 +72,5 @@ "use strict";

}
const targetFrameworks = Object.keys(projectAssets.project.frameworks);
// Scan all 'frameworks' detected in the project.assets.json file, and use the targetAlias if detected and
// otherwise the raw key name, as it's not guaranteed that all framework objects contains a targetAlias.
const targetFrameworks = Object.entries(projectAssets.project.frameworks).map(([key, value]) => ('targetAlias' in value ? value.targetAlias : key));
if (targetFrameworks.length <= 0) {

@@ -75,0 +77,0 @@ throw new errors_1.FileNotProcessableError(`unable to detect a target framework in ${projectRootFolder}, a valid one is needed to continue down this path.`);

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

},
"version": "2.3.0"
"version": "2.3.1"
}

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