Socket
Socket
Sign inDemoInstall

snyk-sbt-plugin

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk-sbt-plugin - npm Package Compare versions

Comparing version 2.5.2 to 2.5.3

14

dist/index.js

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

}
if (semver.gte(sbtVersion, '0.1.0') && semver.lt(sbtVersion, '1.2.0')) {
if (semver.gte(sbtVersion, '0.1.0') && semver.lt(sbtVersion, '1.1.0')) {
pluginName = 'SnykSbtPlugin-0.1x.scala';

@@ -117,3 +117,3 @@ }

const targetFilePath = path.dirname(path.resolve(root, targetFile));
const sbtArgs = buildArgs(options.args);
const sbtArgs = buildArgs(options.args, false, true);
const sbtVersion = getSbtVersion(root, targetFile);

@@ -136,3 +136,2 @@ const sbtPluginPath = generateSbtPluginPath(sbtVersion);

}
sbtArgs.push('snykRenderTree');
const stdout = yield subProcess.execute('sbt', sbtArgs, { cwd: targetFilePath });

@@ -185,3 +184,3 @@ return {

}
function buildArgs(sbtArgs, isCoursierProject) {
function buildArgs(sbtArgs, isCoursierProject, isOutputGraph) {
// force plain output so we don't have to parse colour codes

@@ -192,6 +191,9 @@ let args = ['\"-Dsbt.log.noformat=true\"'];

}
if (isCoursierProject) {
if (isOutputGraph) {
args.push('snykRenderTree');
}
else if (isCoursierProject) {
args.push('coursierDependencyTree');
}
else if (!isCoursierProject) {
else {
args.push('dependencyTree');

@@ -198,0 +200,0 @@ }

@@ -46,3 +46,3 @@ {

},
"version": "2.5.2"
"version": "2.5.3"
}

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