retire 4.3.0 → 4.3.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.3.1]
4
+
5
+ ### Bugfix
6
+
7
+ - Should always include detected libraries in SBOM reports regardless of if they are vulnerable or not
8
+
3
9
  ## [4.3.0]
4
10
 
5
11
  ### Changes
package/lib/retire.js CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  var exports = exports || {};
7
- exports.version = '4.3.0';
7
+ exports.version = '4.3.1';
8
8
 
9
9
  function isDefined(o) {
10
10
  return typeof o !== 'undefined';
package/lib/scanner.js CHANGED
@@ -68,8 +68,6 @@ function filterAndEmitResults(finding, options) {
68
68
  finding.results.forEach((r) => (r.vulnerabilities = uniqueVulnerabilities(r.vulnerabilities)));
69
69
  if (options.ignore)
70
70
  removeIgnored(finding.results, options.ignore);
71
- if (!options.verbose)
72
- finding.results = finding.results.filter((f) => retire.isVulnerable([f]));
73
71
  if (finding.results.length == 0)
74
72
  return;
75
73
  if (retire.isVulnerable(finding.results)) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Erlend Oftedal <erlend@oftedal.no>",
3
3
  "name": "retire",
4
4
  "description": "Retire is a tool for detecting use of vulnerable libraries",
5
- "version": "4.3.0",
5
+ "version": "4.3.1",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",