New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nx-dotnet/dotnet

Package Overview
Dependencies
Maintainers
1
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx-dotnet/dotnet - npm Package Compare versions

Comparing version 1.9.5 to 1.9.6

4

package.json

@@ -6,3 +6,3 @@ {

"dependencies": {
"@nx-dotnet/utils": "1.9.5",
"@nx-dotnet/utils": "1.9.6",
"glob": "^7.2.0",

@@ -29,5 +29,5 @@ "rimraf": "^3.0.2",

"homepage": "https://nx-dotnet.com/",
"version": "1.9.5",
"version": "1.9.6",
"typings": "./src/index.d.ts",
"peerDependencies": {}
}

@@ -16,8 +16,8 @@ /// <reference types="node" />

publish(project: string, parameters?: dotnetPublishOptions, publishProfile?: string, extraParameters?: string): void;
installTool(tool: string): void;
installTool(tool: string, version?: string, source?: string): void;
restorePackages(project: string): void;
restoreTools(): void;
format(project: string, parameters?: dotnetFormatOptions): void;
format(project: string, parameters?: dotnetFormatOptions, forceToolUsage?: boolean): void;
addProjectToSolution(solutionFile: string, project: string): void;
getSdkVersion(): Buffer;
getSdkVersion(): string;
printSdkVersion(): void;

@@ -24,0 +24,0 @@ private logAndExecute;

@@ -79,4 +79,10 @@ "use strict";

}
installTool(tool) {
installTool(tool, version, source) {
const cmd = [`tool`, `install`, tool];
if (version) {
cmd.push('--version', version);
}
if (source) {
cmd.push('--add-source', source);
}
return this.logAndExecute(cmd);

@@ -92,4 +98,6 @@ }

}
format(project, parameters) {
const params = [`format`, project];
format(project, parameters, forceToolUsage) {
const params = forceToolUsage
? ['tool', 'run', 'dotnet-format', project]
: [`format`, project];
if (parameters) {

@@ -106,3 +114,3 @@ parameters = (0, utils_1.swapKeysUsingMap)(parameters, models_1.formatKeyMap);

getSdkVersion() {
return this.execute(['--version']);
return this.cliCommand.info.version.toString();
}

@@ -109,0 +117,0 @@ printSdkVersion() {

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