Revert breaking fix #279 and release as 0.7.28

This commit is contained in:
Faisal Salman 2021-04-10 21:36:44 +07:00
parent 535f11bd24
commit 1d3c98a10c
7 changed files with 19 additions and 18 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "ua-parser-js", "name": "ua-parser-js",
"version": "0.7.27", "version": "0.7.28",
"authors": [ "authors": [
"Faisal Salman <f@faisalman.com>" "Faisal Salman <f@faisalman.com>"
], ],

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
Package.describe({ Package.describe({
name: 'faisalman:ua-parser-js', name: 'faisalman:ua-parser-js',
version: '0.7.27', version: '0.7.28',
summary: 'Lightweight JavaScript-based user-agent string parser', summary: 'Lightweight JavaScript-based user-agent string parser',
git: 'https://github.com/faisalman/ua-parser-js.git', git: 'https://github.com/faisalman/ua-parser-js.git',
documentation: 'readme.md' documentation: 'readme.md'

View File

@ -1,7 +1,7 @@
{ {
"title": "UAParser.js", "title": "UAParser.js",
"name": "ua-parser-js", "name": "ua-parser-js",
"version": "0.7.27", "version": "0.7.28",
"author": "Faisal Salman <f@faisalman.com> (http://faisalman.com)", "author": "Faisal Salman <f@faisalman.com> (http://faisalman.com)",
"description": "Lightweight JavaScript-based user-agent string parser", "description": "Lightweight JavaScript-based user-agent string parser",
"keywords": [ "keywords": [

View File

@ -1,5 +1,5 @@
/*!@license /*!@license
* UAParser.js v0.7.27 * UAParser.js v0.7.28
* Lightweight JavaScript-based User-Agent string parser * Lightweight JavaScript-based User-Agent string parser
* https://github.com/faisalman/ua-parser-js * https://github.com/faisalman/ua-parser-js
* *
@ -16,7 +16,7 @@
///////////// /////////////
var LIBVERSION = '0.7.27', var LIBVERSION = '0.7.28',
EMPTY = '', EMPTY = '',
UNKNOWN = '?', UNKNOWN = '?',
FUNC_TYPE = 'function', FUNC_TYPE = 'function',
@ -215,10 +215,11 @@
/\b(?:crmo|crios)\/([\w\.]+)/i // Chrome for Android/iOS /\b(?:crmo|crios)\/([\w\.]+)/i // Chrome for Android/iOS
], [VERSION, [NAME, 'Chrome']], [ ], [VERSION, [NAME, 'Chrome']], [
/(?:edgios|edga|edg)\/([\w\.]+)/i // Microsoft Edge /edg(?:e|ios|a)?\/([\w\.]+)/i // Microsoft Edge
], [VERSION, [NAME, 'Edge']], [ ], [VERSION, [NAME, 'Edge']], [
/edge\/([\w\.]+)/i // Old Edge (Trident) // breaking change (reserved for next major release):
], [[VERSION, mapper.str, maps.browser.oldEdge.version], [NAME, 'Edge']], [ ///edge\/([\w\.]+)/i // Old Edge (Trident)
//], [[VERSION, mapper.str, maps.browser.oldEdge.version], [NAME, 'Edge']], [
// Presto based // Presto based
/(opera\smini)\/([\w\.-]+)/i, // Opera Mini /(opera\smini)\/([\w\.-]+)/i, // Opera Mini

View File

@ -1154,8 +1154,8 @@
"expect" : "expect" :
{ {
"name" : "Edge", "name" : "Edge",
"version" : "0.1", "version" : "12.0",
"major" : "0" "major" : "12"
} }
}, },
{ {
@ -1164,8 +1164,8 @@
"expect" : "expect" :
{ {
"name" : "Edge", "name" : "Edge",
"version" : "42", "version" : "17.17134",
"major" : "42" "major" : "17"
} }
}, },
{ {
@ -1174,8 +1174,8 @@
"expect" : "expect" :
{ {
"name" : "Edge", "name" : "Edge",
"version" : "44", "version" : "18.17763",
"major" : "44" "major" : "18"
} }
}, },
{ {