Jason Pang
21a0a0ce72
Fix Chrome detection for Android 8 OPR6 build num
...
One of Android 8's build numbers is 'opr6.170623.013'. This is expressed
in the user agent as:
"Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPR6.170623.013)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.107 Mobile
Safari/537.36"
Because this library detects the Opera browser if "opera", "opr", or
"opios" is contained in the user agent, the above user agent string is
incorrectly detected as a versionless Opera, instead of Chrome 60.
This commit changes the detection of "opr" to require a trailing slash
'/' character. This works because uild numbers are expressed as
Build/X..., whereas Opera versions are expressed as OPR/X.
fixes #193
2017-08-30 08:51:19 +03:00
Denis Demchenko
0afa24ff30
Merge pull request #192 from evenchange4/patch-1
...
docs(CHANGELOG): typo 1.7.2
2017-08-21 20:01:52 +03:00
Michael Hsu
f81cd7687a
docs(CHANGELOG): typo 1.7.2
2017-08-21 11:29:07 +08:00
Denis Demchenko
058d5e0774
Fix testing commands
2017-08-20 18:37:01 +03:00
Denis Demchenko
d78f7ee253
Remove npm test
from .travis.yml
2017-08-20 18:33:47 +03:00
Denis Demchenko
99f85489e9
Remove old prepublish script
2017-08-20 18:33:21 +03:00
Denis Demchenko
2e3bd8ca80
Fix .travis.yml to use node 8.4.0
2017-08-20 18:29:31 +03:00
Denis Demchenko
36db325c62
Fix browsers parser
2017-08-20 18:22:28 +03:00
Denis Demchenko
47c6614750
Export Bowser
2017-08-20 18:22:00 +03:00
Denis Demchenko
076ee810bd
Setup acceptance tests with list of UAs
2017-08-20 18:21:17 +03:00
Denis Demchenko
99fde0a154
Add a new test for Parser and fix the names of existed ones
2017-08-19 19:55:41 +03:00
Denis Demchenko
7ea344e454
Fix the helper to convert tests to yml
2017-08-17 23:55:47 +03:00
Denis Demchenko
5c753edb75
Fix macOS version parsing
2017-08-17 23:55:21 +03:00
Denis Demchenko
b2aded435b
Bump babel-preset-env version
2017-08-17 23:37:45 +03:00
Denis Demchenko
92ba6022c9
Add useragentstrings.yml
2017-08-17 23:37:24 +03:00
Denis Demchenko
663e769cdc
Add a helper script to convert all the tests to yaml
2017-08-17 23:36:55 +03:00
Denis Demchenko
7db868cc29
Fix macOS version parser
...
Make it able to read all the numbers with dots
2017-08-17 23:35:40 +03:00
Denis Demchenko
6976da7da5
Make versions of browsers non-required properties
2017-08-17 23:33:46 +03:00
Denis Demchenko
af5e1d44e0
Merge branch 'hotfix/1.7.2' into production
2017-08-17 22:23:09 +03:00
Denis Demchenko
a81aa95097
Merge branch 'hotfix/1.7.2'
2017-08-17 22:23:09 +03:00
Denis Demchenko
a2ff1fddc8
chore: bump version to 1.7.2 and write changelog
2017-08-17 22:23:02 +03:00
Domenico Matteo
c207ed48dd
Update typings.d.ts, straight from DefinitelyTyped.
...
fix #182
grabbed the one offered on (DefinitelyTyped)[https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/bowser/index.d.ts ] which is already very complete.
2017-08-17 22:20:43 +03:00
Denis Demchenko
ff1714a904
Merge branch 'hotfix/1.7.1' into production
2017-07-13 11:30:01 +03:00
Denis Demchenko
6eb9ad39bd
Merge branch 'hotfix/1.7.1'
2017-07-13 11:30:01 +03:00
Denis Demchenko
ca7f157b12
chore: bump version and write changelog
2017-07-13 11:29:45 +03:00
danesh
e5096ae2c5
Avoid detecting Tablet PCs as tablet
...
Fixes #183
2017-07-13 11:28:03 +03:00
Denis Demchenko
744d89089a
Add test for Safari on iOS 11 Preview
...
related to #180
2017-06-24 23:32:15 +03:00
Denis Demchenko
efce17881f
Fix iPhone and iPod detection
2017-06-09 23:49:08 +03:00
Denis Demchenko
45eec907e1
Ignore auto-generated lib folder
2017-06-09 23:04:58 +03:00
Denis Demchenko
a794b10797
Add an engines parser
2017-06-09 23:04:43 +03:00
Denis Demchenko
c3ad15e0ff
Add more jsdoc for parsePlatform
2017-06-09 22:15:19 +03:00
Denis Demchenko
4fc00cc427
Add more details about parsed Amazon device
2017-06-09 22:08:48 +03:00
Denis Demchenko
3da8552f0f
Define Galaxy Nexus as a mobile type
2017-06-09 21:59:34 +03:00
Denis Demchenko
bca14f50c8
Add description for parser-platforms
2017-06-09 21:58:44 +03:00
Denis Demchenko
a65540dc15
Add platform parser
2017-06-09 01:12:44 +03:00
Denis Demchenko
38320b1409
Change Bowser's constructor
2017-06-09 01:12:21 +03:00
Denis Demchenko
2c8f17b037
Add Linux detection
2017-06-08 23:35:08 +03:00
Denis Demchenko
d5a439f097
Fix Android detection
2017-06-08 23:32:11 +03:00
Denis Demchenko
39afeb5615
Replace OS version regexps by more greedy ones
2017-06-08 23:01:16 +03:00
Denis Demchenko
3cd9da66ae
Add support of rendering engines
2017-06-08 22:34:58 +03:00
Denis Demchenko
0694b30fc6
Add testem as a main test runner
2017-06-08 22:23:27 +03:00
Denis Demchenko
19646053ce
Complete Bowser's methods by call a Parser instance
2017-06-08 21:26:05 +03:00
Denis Demchenko
5a235015aa
Add jsdoc descriptions for Parser's methods
2017-06-08 20:51:04 +03:00
Denis Demchenko
622d07a3a0
Merge pull request #179 from GabLeRoux/master
...
Fixes travis badge to point to right repository owner
2017-05-24 13:16:04 +03:00
Gabriel Le Breton
08eb484109
Fixes travis badge to point to right repository owner
2017-05-23 16:51:16 -04:00
Denis Demchenko
6b5974af2e
Add more OS descriptors
2017-05-18 23:56:26 +03:00
Denis Demchenko
59fc2d639f
Add Windows OS descriptor
2017-05-18 23:14:31 +03:00
Denis Demchenko
f5be32be3b
Merge branch 'master' into v2
2017-05-18 23:01:05 +03:00
Denis Demchenko
8b37abf268
Change descriptors naming and add some information about them
2017-05-18 22:57:18 +03:00
Denis Demchenko
246880c782
Merge branch 'release/1.7.0' into production
2017-05-18 21:55:58 +03:00