snyk 1.818.0 → 1.819.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.
package/dist/cli/727.index.js
CHANGED
|
@@ -212255,9 +212255,10 @@ function coerce (version) {
|
|
|
212255
212255
|
"use strict";
|
|
212256
212256
|
|
|
212257
212257
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
212258
|
-
exports.sbtDependencyGraphPluginName = exports.sbtCoursierPluginName = void 0;
|
|
212258
|
+
exports.sbtDependencyGraphPluginNameNew = exports.sbtDependencyGraphPluginName = exports.sbtCoursierPluginName = void 0;
|
|
212259
212259
|
exports.sbtCoursierPluginName = 'sbt-coursier';
|
|
212260
212260
|
exports.sbtDependencyGraphPluginName = 'sbt-dependency-graph';
|
|
212261
|
+
exports.sbtDependencyGraphPluginNameNew = 'addDependencyTreePlugin';
|
|
212261
212262
|
//# sourceMappingURL=constants.js.map
|
|
212262
212263
|
|
|
212263
212264
|
/***/ }),
|
|
@@ -212290,7 +212291,7 @@ function inspect(root, targetFile, options) {
|
|
|
212290
212291
|
options = { dev: false };
|
|
212291
212292
|
}
|
|
212292
212293
|
const isCoursierPresent = yield plugin_search_1.isPluginInstalled(root, targetFile, constants_1.sbtCoursierPluginName);
|
|
212293
|
-
const isSbtDependencyGraphPresent = yield plugin_search_1.isPluginInstalled(root, targetFile, constants_1.sbtDependencyGraphPluginName);
|
|
212294
|
+
const isSbtDependencyGraphPresent = (yield plugin_search_1.isPluginInstalled(root, targetFile, constants_1.sbtDependencyGraphPluginName)) || (yield plugin_search_1.isPluginInstalled(root, targetFile, constants_1.sbtDependencyGraphPluginNameNew));
|
|
212294
212295
|
Object.assign(options, { isCoursierPresent });
|
|
212295
212296
|
// in order to apply the pluginInspect, coursier should *not* be present and sbt-dependency-graph should be present
|
|
212296
212297
|
if (!isCoursierPresent && isSbtDependencyGraphPresent) {
|