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

14

dist/nuget-parser/cli/dotnet.js

@@ -42,3 +42,10 @@ "use strict";

const command = 'dotnet';
const args = ['restore', '--no-cache', '--verbosity', 'normal', projectPath];
const args = [
'restore',
// Get a larger amount of debugging information to stdout in case something fails.
// Useful for customers to attempt self-debugging before raising support requests.
'--verbosity',
'normal',
projectPath,
];
const result = await handle('restore', command, args);

@@ -83,4 +90,5 @@ // A customer can define a <BaseOutPutPath> that redirects where `dotnet` saves the assets file. This will

const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), `snyk-nuget-plugin-publish-csharp-`));
args.push('--output');
args.push(tempDir);
// See https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/7.0/solution-level-output-no-longer-valid#recommended-action
// about why we're not using `--output` for this.
args.push(`--property:PublishDir=${tempDir}`);
// The path that contains either some form of project file, or a .sln one.

@@ -87,0 +95,0 @@ // See: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish#arguments

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

},
"version": "2.4.0"
"version": "2.4.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