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 1.2.1 to 1.2.2

37

lib/index.js

@@ -21,21 +21,20 @@ var parse = require('./parse-mvn');

.then(function (result) {
try {
var parseResult = parse(result, options.dev);
return {
plugin: {
name: 'bundled:maven',
runtime: 'unknown',
},
package: parseResult.data,
};
} catch (error) {
error.message = error.message + '\n\n' +
'Please make sure that Apache Maven Dependency Plugin ' +
'version 2.2 or above is installed, and that ' +
'`mvn ' + mvnArgs.join(' ') + '` executes successfully ' +
'on this project.\n\n' +
'If the problem persists, collect the output of ' +
'`mvn ' + mvnArgs.join(' ') + '` and contact support@snyk.io\n';
throw error;
}
var parseResult = parse(result, options.dev);
return {
plugin: {
name: 'bundled:maven',
runtime: 'unknown',
},
package: parseResult.data,
};
})
.catch(function (error) {
error.message = error.message + '\n\n' +
'Please make sure that Apache Maven Dependency Plugin ' +
'version 2.2 or above is installed, and that ' +
'`mvn ' + mvnArgs.join(' ') + '` executes successfully ' +
'on this project.\n\n' +
'If the problem persists, collect the output of ' +
'`mvn ' + mvnArgs.join(' ') + '` and contact support@snyk.io\n';
throw error;
});

@@ -42,0 +41,0 @@ }

@@ -23,3 +23,3 @@ var childProcess = require('child_process');

if (code !== 0) {
return reject(stdout || stderr);
return reject(new Error(stdout || stderr));
}

@@ -26,0 +26,0 @@ resolve(stdout || stderr);

@@ -14,3 +14,3 @@ {

"test-functional": "tap ./test/functional/*.test.js -R spec",
"test-system": "tap ./test/system/*.test.js -R spec --timeout=60",
"test-system": "tap ./test/system/*.test.js -R spec --timeout=180",
"semantic-release": "semantic-release"

@@ -26,3 +26,3 @@ },

},
"version": "1.2.1"
"version": "1.2.2"
}
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