Skip to content

Commit

Permalink
Fix for Issue 3rd-Eden#161
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrin27 committed Aug 29, 2020
1 parent 4c3ee79 commit 6660773
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions lib/regexps.js
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ parser[3] = 0;
parser[4] = 0;
exports.browser[162] = parser;
parser = Object.create(null);
parser[0] = new RegExp("(Chromium|Chrome)/(\\d+)\\.(\\d+)(?:\\.(\\d+)|)(?:\\.(\\d+)|)");
parser[0] = new RegExp("(Chromium|Chrome)/(\\d+)\\.(\\d+)(?:\\.(\\d+)|)(?:\\.(\\d+)|)(?!.*(?:Edg))");
parser[1] = 0;
parser[2] = 0;
parser[3] = 0;
Expand Down Expand Up @@ -1871,7 +1871,7 @@ parser[3] = 0;
parser[4] = 0;
exports.browser[263] = parser;
parser = Object.create(null);
parser[0] = new RegExp("(Safari)/\\d+");
parser[0] = new RegExp("(Safari)/\\d+(?!.*(?:Edg))");
parser[1] = 0;
parser[2] = 0;
parser[3] = 0;
Expand Down Expand Up @@ -2059,8 +2059,15 @@ parser[2] = 0;
parser[3] = 0;
parser[4] = 0;
exports.browser[290] = parser;
parser = Object.create(null);
parser[0] = new RegExp("(Edg)/(\\d+)\\.(\\d+)\\.(\\d+)");
parser[1] = "Chromium Edge";
parser[2] = 0;
parser[3] = 0;
parser[4] = 0;
exports.browser[291] = parser;

exports.browser.length = 291;
exports.browser.length = 292;

exports.device = Object.create(null);

Expand Down

0 comments on commit 6660773

Please sign in to comment.