snyk 1.784.0 → 1.788.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/293.index.js +2 -1
- package/dist/cli/293.index.js.map +1 -1
- package/dist/cli/64.index.js +29 -37
- package/dist/cli/64.index.js.map +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/thirdPartyNotice.json +4 -4
- package/dist/lib/types.d.ts +1 -0
- package/package.json +2 -2
package/dist/cli/293.index.js
CHANGED
|
@@ -5901,7 +5901,8 @@ function convertTestDepGraphResultToLegacy(res, depGraph, packageManager, option
|
|
|
5901
5901
|
const severityThreshold = options.severityThreshold === SEVERITY.LOW
|
|
5902
5902
|
? undefined
|
|
5903
5903
|
: options.severityThreshold;
|
|
5904
|
-
if (options.docker &&
|
|
5904
|
+
if (options.docker && (dockerRes === null || dockerRes === void 0 ? void 0 : dockerRes.baseImage) &&
|
|
5905
|
+
options['exclude-base-image-vulns']) {
|
|
5905
5906
|
vulns = vulns.filter((vuln) => vuln.dockerfileInstruction);
|
|
5906
5907
|
}
|
|
5907
5908
|
const legacyRes = {
|