1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00
Commit Graph

650 Commits

Author SHA1 Message Date
Denis Demchenko
a1f1af1e36 Merge branch 'hotfix/1.9.1' 2017-12-22 17:33:31 +02:00
Denis Demchenko
ad822b5038 Bump version, write changelog 2017-12-22 17:32:42 +02:00
Ville Kentta
1975a501f3 Add chromium to browser flag interface 2017-12-22 17:30:54 +02:00
Denis Demchenko
898d8e32dd Remove old files 2017-12-22 17:24:38 +02:00
Denis Demchenko
ad2589f699 Add eslint support 2017-12-20 23:29:06 +02:00
Denis Demchenko
b1170af9d8 TYPES → TYPES_LABELS 2017-12-20 22:48:23 +02:00
Denis Demchenko
bee21ea5c3 Fix small mistypos 2017-12-20 22:48:05 +02:00
Denis Demchenko
b15544770a Remove old useragents list 2017-12-20 22:47:50 +02:00
Denis Demchenko
778fdb6004 Add Microsoft Edge cases 2017-12-20 22:34:29 +02:00
Denis Demchenko
aec02c2c1b Update deps, add package-lock 2017-12-20 22:14:39 +02:00
Denis Demchenko
f51676da56 Merge branch 'release/1.9.0' into production 2017-12-20 21:54:06 +02:00
Denis Demchenko
d657769e44 Merge branch 'release/1.9.0' 2017-12-20 21:54:06 +02:00
Denis Demchenko
9d9abce6e2 Bump version, fix changelog 2017-12-20 21:53:52 +02:00
Denis Demchenko
efa5e02a70 Add chromium to the list of flags in docs
closes #206
2017-12-20 21:47:56 +02:00
Joan Claret
5b4a89b42a Add a public .detect() method 2017-12-20 21:47:56 +02:00
Denis Demchenko
c82cf347d2 Merge branch 'hotfix/1.8.1' into production 2017-10-20 15:07:35 +03:00
Denis Demchenko
4eaa50b7b0 Merge branch 'hotfix/1.8.1' 2017-10-20 15:07:35 +03:00
Denis Demchenko
8855d5ecd1 Write changelog 2017-10-20 15:07:31 +03:00
Denis Demchenko
be99337484 Bump version 2017-10-20 15:06:30 +03:00
everget
04ece2212d Correct Microsoft Edge' detection on iOS and Android 2017-10-20 15:05:55 +03:00
Denis Demchenko
85cf8f8bbb Add some future usage examples 2017-10-18 11:47:53 +03:00
Denis Demchenko
d3fec85440 Fix integration tests
Provided more details for the testing thing
2017-10-17 21:56:09 +03:00
Denis Demchenko
1df2712eb6 Merge branch 'release/1.8.0' into production 2017-10-07 11:49:58 +03:00
Denis Demchenko
6c71fe2c38 Merge branch 'release/1.8.0' 2017-10-07 11:49:58 +03:00
Denis Demchenko
3b8b0d6e04 chore: bump the version, update the changelog 2017-10-07 11:49:51 +03:00
Denis Demchenko
449f926e01 Merge branch 'janka102-feature/osname' 2017-10-07 11:38:57 +03:00
Jesse Smick
9dcb3aeb46 Update readme for osname 2017-10-07 11:37:44 +03:00
Jesse Smick
5d314dfb2f Update useragent test for osname 2017-10-07 11:37:21 +03:00
Jesse Smick
f980192ef3 Add osname to result 2017-09-28 09:33:33 -07:00
Denis Demchenko
3ce77e9ed4 Add one more test for Bowser.isUnsupportedBrowser 2017-09-25 16:48:45 +03:00
Denis Demchenko
9f8ad07aa4 Merge branch 'hotfix/1.7.3'
# Conflicts:
#	CHANGELOG.md
2017-08-30 08:54:25 +03:00
Denis Demchenko
64f1ac148f Merge branch 'hotfix/1.7.3' into production 2017-08-30 08:53:51 +03:00
Denis Demchenko
76cff33b34 chore: bump versions, write changelogs 2017-08-30 08:53:42 +03:00
Michael Hsu
c6b56893dd docs(CHANGELOG): typo 1.7.2 2017-08-30 08:52:16 +03:00
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