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

780 Commits

Author SHA1 Message Date
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
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