snyk 1.1270.0 → 1.1271.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.
@@ -2906,7 +2906,23 @@ function getResults(testResult) {
2906
2906
  description: {
2907
2907
  text: `Upgrade to ${vuln.upgradePath[1]}`,
2908
2908
  },
2909
- artifactChanges: [],
2909
+ artifactChanges: [
2910
+ {
2911
+ artifactLocation: {
2912
+ uri: getArtifactLocationUri(testResult.displayTargetFile, testResult.path),
2913
+ },
2914
+ replacements: [
2915
+ {
2916
+ deletedRegion: {
2917
+ startLine: vuln.lineNumber || 1,
2918
+ },
2919
+ insertedContent: {
2920
+ text: vuln.upgradePath[1],
2921
+ },
2922
+ },
2923
+ ],
2924
+ },
2925
+ ],
2910
2926
  },
2911
2927
  ]
2912
2928
  : undefined,