Socket
Socket
Sign inDemoInstall

snyk-mvn-plugin

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk-mvn-plugin - npm Package Compare versions

Comparing version 2.9.2 to 2.10.0

14

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const parse_mvn_1 = require("./parse-mvn");
const javaCallGraphBuilder = require("@snyk/java-call-graph-builder");
const os = require("os");
const fs = require("fs");
const path = require("path");
const debugLib = require("debug");
const parse_mvn_1 = require("./parse-mvn");
const subProcess = require("./sub-process");
const jar_1 = require("./jar");
const os = require("os");
const debug = debugLib('snyk-mvn-plugin');
function getCommand(root, targetFile) {

@@ -69,2 +72,8 @@ if (!targetFile) {

const { javaVersion, mavenVersion } = parse_mvn_1.parseVersions(versionResult);
let callGraph;
if (options.reachableVulns) {
debug(`getting call graph from path ${targetPath}`);
callGraph = yield javaCallGraphBuilder.getCallGraphMvn(path.dirname(targetPath));
debug('got call graph successfully');
}
return {

@@ -84,2 +93,3 @@ plugin: {

package: parseResult.data,
callGraph,
};

@@ -86,0 +96,0 @@ }

7

package.json

@@ -30,2 +30,3 @@ {

"@types/node": "11.13.8",
"@types/sinon": "^7.5.2",
"@typescript-eslint/eslint-plugin": "^2.8.0",

@@ -36,3 +37,2 @@ "@typescript-eslint/parser": "^2.8.0",

"prettier": "^1.19.1",
"@types/sinon": "^7.0.10",
"semantic-release": "^15",

@@ -44,3 +44,4 @@ "sinon": "^2.4.1",

"dependencies": {
"@snyk/cli-interface": "2.3.1",
"@snyk/cli-interface": "2.4.0",
"@snyk/java-call-graph-builder": "^1.3.4",
"debug": "^4.1.1",

@@ -52,3 +53,3 @@ "lodash": "^4.17.15",

},
"version": "2.9.2"
"version": "2.10.0"
}

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