snyk 1.1047.0 → 1.1048.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2592,10 +2592,10 @@
2592
2592
  },
2593
2593
  {
2594
2594
  "name": "snyk-sbt-plugin",
2595
- "version": "2.16.0",
2595
+ "version": "2.16.1",
2596
2596
  "author": "snyk.io",
2597
2597
  "repository": "https://github.com/snyk/snyk-sbt-plugin",
2598
- "source": "https://registry.npmjs.org/snyk-sbt-plugin/-/snyk-sbt-plugin-2.16.0.tgz",
2598
+ "source": "https://registry.npmjs.org/snyk-sbt-plugin/-/snyk-sbt-plugin-2.16.1.tgz",
2599
2599
  "license": "Apache-2.0",
2600
2600
  "licenseText": "Copyright 2017 Snyk Ltd.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n"
2601
2601
  },
@@ -88,10 +88,8 @@ object SnykSbtPlugin extends AutoPlugin {
88
88
 
89
89
  val thisProjectId = formatModuleId((moduleGraph in Compile).value.roots.head.id)
90
90
  val thisProjectConfigs = thisProject.value.configurations.filterNot { c =>
91
- ConfigBlacklist.contains(c.name)
91
+ ConfigBlacklist.contains(c.name) || !c.isPublic
92
92
  }
93
- println(">>> Project's configurations after filtering blacklisted:")
94
- println(thisProjectConfigs)
95
93
  val filter = ScopeFilter(configurations = inConfigurations(thisProjectConfigs: _*))
96
94
  val configAndModuleGraph = Def.task {
97
95
  val graph = moduleGraph.value
@@ -84,15 +84,12 @@ object SnykSbtPlugin extends AutoPlugin {
84
84
 
85
85
  val thisProjectId = formatModuleId((Compile / moduleGraph).value.roots.head.id)
86
86
  val thisProjectConfigs = thisProject.value.configurations.filterNot { c =>
87
- ConfigBlacklist.contains(c.name)
87
+ ConfigBlacklist.contains(c.name) || !c.isPublic
88
88
  }
89
- println(">>> Project's configurations after filtering blacklisted:")
90
- println(thisProjectConfigs)
91
89
  val filter = ScopeFilter(configurations = inConfigurations(thisProjectConfigs: _*))
92
90
  val configAndModuleGraph = Def.task {
93
91
  val graph = moduleGraph.value
94
92
  val configName = configuration.value.name
95
-
96
93
  configName -> graph
97
94
  }
98
95
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snyk",
3
- "version": "1.1047.0",
3
+ "version": "1.1048.0",
4
4
  "description": "snyk library and cli utility",
5
5
  "files": [
6
6
  "help/cli-commands",