Skip to content

Commit

Permalink
Merge pull request #224 from snyk/feat/upgrade-maven-sbt-gradle-plugins
Browse files Browse the repository at this point in the history
feat: upgrade maven, gradle and SBT plugins to reduce payload size
  • Loading branch information
darscan committed Sep 25, 2018
2 parents 4ba7ad4 + 6b54007 commit 1b5ae22
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 44 deletions.
66 changes: 33 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@
"snyk-config": "2.2.0",
"snyk-docker-plugin": "1.11.0",
"snyk-go-plugin": "1.5.2",
"snyk-gradle-plugin": "1.3.1",
"snyk-gradle-plugin": "2.0.0",
"snyk-module": "1.8.2",
"snyk-mvn-plugin": "1.2.2",
"snyk-mvn-plugin": "2.0.0",
"snyk-nodejs-lockfile-parser": "1.5.1",
"snyk-nuget-plugin": "1.6.5",
"snyk-php-plugin": "1.5.1",
"snyk-policy": "1.12.0",
"snyk-python-plugin": "1.8.1",
"snyk-resolve": "1.0.1",
"snyk-resolve-deps": "3.1.0",
"snyk-sbt-plugin": "1.3.2",
"snyk-sbt-plugin": "2.0.0",
"snyk-tree": "^1.0.0",
"snyk-try-require": "1.3.1",
"source-map-support": "^0.5.9",
Expand Down
16 changes: 8 additions & 8 deletions test/acceptance/cli.acceptance.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,11 +461,11 @@ function (t) {
var pkg = req.body;
t.equal(req.method, 'POST', 'makes POST request');
t.match(req.url, '/vuln/maven', 'posts to correct url');
t.equal(pkg.artifactId, 'maven-app', 'specifies artifactId');
t.equal(pkg.name, 'com.mycompany.app:maven-app', 'specifies name');
t.ok(pkg.dependencies['axis:axis'], 'specifies dependency');
t.ok(pkg.dependencies['junit:junit'], 'specifies dependency');
t.equal(pkg.dependencies['junit:junit'].artifactId, 'junit',
'specifies dependency artifactId');
t.equal(pkg.dependencies['junit:junit'].name, 'junit:junit',
'specifies dependency name');
t.equal(req.query.org, 'nobelprize.org', 'org sent as a query in request');
});
});
Expand Down Expand Up @@ -1515,11 +1515,11 @@ test('`monitor maven-app`', function (t) {
var pkg = req.body.package;
t.equal(req.method, 'PUT', 'makes PUT request');
t.match(req.url, '/monitor/maven', 'puts at correct url');
t.equal(pkg.artifactId, 'maven-app', 'specifies artifactId');
t.equal(pkg.name, 'com.mycompany.app:maven-app', 'specifies name');
t.ok(pkg.dependencies['junit:junit'], 'specifies dependency');
t.equal(pkg.dependencies['junit:junit'].artifactId,
'junit',
'specifies dependency artifactId');
t.equal(pkg.dependencies['junit:junit'].name,
'junit:junit',
'specifies dependency name');
t.notOk(pkg.from, 'no "from" array on root');
t.notOk(pkg.dependencies['junit:junit'].from, 'no "from" array on dep');
});
Expand All @@ -1534,7 +1534,7 @@ test('`monitor maven-multi-app`', function (t) {
var pkg = req.body.package;
t.equal(req.method, 'PUT', 'makes PUT request');
t.match(req.url, '/monitor/maven', 'puts at correct url');
t.equal(pkg.artifactId, 'maven-multi-app', 'specifies artifactId');
t.equal(pkg.name, 'com.mycompany.app:maven-multi-app', 'specifies name');
t.ok(pkg.dependencies['com.mycompany.app:simple-child'],
'specifies dependency');
t.notOk(pkg.from, 'no "from" array on root');
Expand Down

0 comments on commit 1b5ae22

Please sign in to comment.