retire 4.3.2 → 4.3.3

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
@@ -4,6 +4,12 @@
4
4
 
5
5
  ### Bugfix
6
6
 
7
+ - Fixes #420 where ignore was not honoured
8
+
9
+ ## [4.3.2]
10
+
11
+ ### Bugfix
12
+
7
13
  - Types did not work for `lib/retire.js` due to symlinked type file
8
14
 
9
15
  ## [4.3.1]
package/lib/cli.js CHANGED
@@ -96,8 +96,8 @@ if (!(severity in types_1.severityLevels)) {
96
96
  const config = {
97
97
  path: scanpath,
98
98
  ignore: {
99
- paths: (_g = (_f = (_e = prg.ignore) === null || _e === void 0 ? void 0 : _e.split(',')) === null || _f === void 0 ? void 0 : _f.map((x) => path_1.default.resolve(x))) !== null && _g !== void 0 ? _g : [],
100
- pathsAsString: [],
99
+ paths: [],
100
+ pathsAsString: (_g = (_f = (_e = prg.ignore) === null || _e === void 0 ? void 0 : _e.split(',')) === null || _f === void 0 ? void 0 : _f.map((x) => path_1.default.resolve(x))) !== null && _g !== void 0 ? _g : [],
101
101
  descriptors: [],
102
102
  },
103
103
  colorwarn,
package/lib/retire.js CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  var exports = exports || {};
7
- exports.version = '4.3.2';
7
+ exports.version = '4.3.3';
8
8
 
9
9
  function isDefined(o) {
10
10
  return typeof o !== 'undefined';
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.2",
5
+ "version": "4.3.3",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",