retire 5.0.0 → 5.0.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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.0.1]
4
+
5
+ ### Fix
6
+
7
+ - Fix filename issue for windows file paths
8
+
9
+ ## [5.0.0]
10
+
11
+ No changes. Just moving from beta to final.
12
+
3
13
  ## [5.0.0-beta.1]
4
14
 
5
15
  ### Added
package/lib/retire.js CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  var exports = exports || {};
7
- exports.version = '5.0.0';
7
+ exports.version = '5.0.1';
8
8
 
9
9
  function isDefined(o) {
10
10
  return typeof o !== 'undefined';
@@ -168,7 +168,7 @@ exports.scanUri = function (uri, repo) {
168
168
  };
169
169
 
170
170
  exports.scanFileName = function (fileName, repo) {
171
- var result = scan(fileName, 'filename', repo, splitAndMatchAll('/'));
171
+ var result = scan(fileName, 'filename', repo, splitAndMatchAll(/[\/\\]/));
172
172
  return check(result, repo);
173
173
  };
174
174
 
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": "5.0.0",
5
+ "version": "5.0.1",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",