snyk 1.826.0 → 1.830.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 +1 -6
- package/dist/cli/293.index.js.map +1 -1
- package/dist/cli/875.index.js +1 -1
- package/dist/cli/875.index.js.map +1 -1
- package/dist/cli/917.index.js +0 -4
- package/dist/cli/917.index.js.map +1 -1
- package/dist/cli/959.index.js +1 -1
- package/dist/cli/959.index.js.map +1 -1
- package/dist/cli/index.js +7 -51
- package/dist/cli/index.js.map +1 -1
- package/dist/lib/version.d.ts +1 -1
- package/help/cli-commands/protect.md +7 -79
- package/help/cli-commands/wizard.md +15 -70
- package/package.json +5 -7
package/dist/cli/293.index.js
CHANGED
|
@@ -2232,10 +2232,6 @@ function createReachabilityInText(vuln) {
|
|
|
2232
2232
|
return `\n Reachability: ${reachabilityText}`;
|
|
2233
2233
|
}
|
|
2234
2234
|
function createRemediationText(vuln, packageManager) {
|
|
2235
|
-
let wizardHintText = '';
|
|
2236
|
-
if (package_managers_1.WIZARD_SUPPORTED_PACKAGE_MANAGERS.includes(packageManager)) {
|
|
2237
|
-
wizardHintText = 'Run `snyk wizard` to explore remediation options.';
|
|
2238
|
-
}
|
|
2239
2235
|
if (vuln.fixedIn &&
|
|
2240
2236
|
package_managers_1.PINNING_SUPPORTED_PACKAGE_MANAGERS.includes(packageManager)) {
|
|
2241
2237
|
const toVersion = vuln.fixedIn.join(' or ');
|
|
@@ -2273,8 +2269,7 @@ function createRemediationText(vuln, packageManager) {
|
|
|
2273
2269
|
: '';
|
|
2274
2270
|
return `Upgrade direct dependency ${v.from[1]} to ${v.upgradePath[1]}${upgradeTextInfo}`;
|
|
2275
2271
|
}
|
|
2276
|
-
return
|
|
2277
|
-
` can address this issue. ${wizardHintText}`);
|
|
2272
|
+
return 'Some paths have no direct dependency upgrade that can address this issue.';
|
|
2278
2273
|
}));
|
|
2279
2274
|
return chalk_1.default.bold(`\n Remediation:\n ${upgradePathsArray.join('\n ')}`);
|
|
2280
2275
|
}
|