snyk 1.706.0 → 1.707.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/index.js +5 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/lib/types.d.ts +1 -1
- package/package.json +2 -2
package/dist/cli/index.js
CHANGED
|
@@ -290465,10 +290465,10 @@ exports.displayModeHelp = exports.modeValidation = exports.parseMode = void 0;
|
|
|
290465
290465
|
const abbrev = __webpack_require__(99989);
|
|
290466
290466
|
const errors_1 = __webpack_require__(55191);
|
|
290467
290467
|
const modes = {
|
|
290468
|
-
|
|
290468
|
+
unmanaged: {
|
|
290469
290469
|
allowedCommands: ['test', 'monitor'],
|
|
290470
290470
|
config: (args) => {
|
|
290471
|
-
args['
|
|
290471
|
+
args['unmanaged'] = true;
|
|
290472
290472
|
return args;
|
|
290473
290473
|
},
|
|
290474
290474
|
},
|
|
@@ -291387,7 +291387,7 @@ Object.defineProperty(exports, "getPlugin", ({ enumerable: true, get: function (
|
|
|
291387
291387
|
* hence this is in a separate function from getEcosystem().
|
|
291388
291388
|
*/
|
|
291389
291389
|
function getEcosystemForTest(options) {
|
|
291390
|
-
if (options.
|
|
291390
|
+
if (options.unmanaged) {
|
|
291391
291391
|
return 'cpp';
|
|
291392
291392
|
}
|
|
291393
291393
|
if (options.code) {
|
|
@@ -291397,7 +291397,7 @@ function getEcosystemForTest(options) {
|
|
|
291397
291397
|
}
|
|
291398
291398
|
exports.getEcosystemForTest = getEcosystemForTest;
|
|
291399
291399
|
function getEcosystem(options) {
|
|
291400
|
-
if (options.
|
|
291400
|
+
if (options.unmanaged) {
|
|
291401
291401
|
return 'cpp';
|
|
291402
291402
|
}
|
|
291403
291403
|
if (options.docker) {
|
|
@@ -295239,7 +295239,7 @@ exports.getExtraProjectCount = void 0;
|
|
|
295239
295239
|
const find_files_1 = __webpack_require__(46123);
|
|
295240
295240
|
const detect_1 = __webpack_require__(45318);
|
|
295241
295241
|
async function getExtraProjectCount(root, options, inspectResult) {
|
|
295242
|
-
if (options.docker || options.
|
|
295242
|
+
if (options.docker || options.unmanaged) {
|
|
295243
295243
|
return undefined;
|
|
295244
295244
|
}
|
|
295245
295245
|
if (inspectResult.plugin.meta &&
|