@snyk/code-client
Advanced tools
Comparing version 3.1.4 to 3.1.5
@@ -16,2 +16,3 @@ import { Log } from 'sarif'; | ||
tags: string[]; | ||
categories: string[]; | ||
exampleCommitFixes?: ExampleCommitFix[]; | ||
@@ -18,0 +19,0 @@ exampleCommitDescriptions?: string[]; |
@@ -34,3 +34,2 @@ "use strict"; | ||
} | ||
; | ||
function getRulesAndAllIssues(analysisResults, allIssuesBySuggestions) { | ||
@@ -51,6 +50,7 @@ var _a; | ||
const ruleProperties = { | ||
tags: [language, ...suggestion.tags, ...suggestion.categories], | ||
tags: [language, ...suggestion.tags], | ||
categories: suggestion.categories, | ||
exampleCommitFixes: suggestion.exampleCommitFixes, | ||
exampleCommitDescriptions: suggestion.exampleCommitDescriptions, | ||
precision: 'very-high' | ||
precision: 'very-high', | ||
}; | ||
@@ -70,3 +70,3 @@ const rule = { | ||
}, | ||
properties: ruleProperties | ||
properties: ruleProperties, | ||
}; | ||
@@ -93,3 +93,2 @@ if ((_a = suggestion.cwe) === null || _a === void 0 ? void 0 : _a.length) { | ||
} | ||
; | ||
function getResults(allIssues) { | ||
@@ -123,3 +122,3 @@ const output = []; | ||
}, | ||
] | ||
], | ||
}; | ||
@@ -205,3 +204,2 @@ if (issue.fingerprints) { | ||
} | ||
; | ||
//custom string splice implementation | ||
@@ -208,0 +206,0 @@ function stringSplice(str, index, count, add) { |
@@ -74,3 +74,3 @@ { | ||
}, | ||
"version": "3.1.4" | ||
"version": "3.1.5" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
139588
2041