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

283 Commits

Author SHA1 Message Date
Ricardo Rauber Pereira
3bfb24c8cb Updated the check for generic browsers 2019-04-05 18:18:39 +01:00
Ricardo Rauber Pereira
ba4783868d Update the regex for custom browsers 2019-04-05 17:43:04 +01:00
Will Soares
ace7a8899b Fix eslint errors 2019-03-09 19:29:34 -03:00
Will Soares
b111862cce Update rules for creating browser aliases 2019-03-09 19:27:28 -03:00
Will Soares
064aa812fc Use snake case for alias names 2019-03-09 19:14:03 -03:00
Will Soares
a307533f74 Add support for using short version for browser name in satisfies 2019-03-09 19:14:03 -03:00
Denis Demchenko
134ef3c186 Fix bugs with Utils 2019-03-06 14:27:35 +02:00
rcohen-unext
383c627fc0 Add PlayStation 4 browser support 2019-03-06 14:19:34 +02:00
Nick Tipping
bf067ec992 Add file extensions to imports
Add ES6 style export to utils and change related utils imports
Update eslint rule for import extensions
2019-02-14 16:06:14 +00:00
Denis Demchenko
747059a49d
Merge pull request #288 from ffaubert/add-engine-api
Add getEngineName and isEngine API calls
2019-01-24 22:44:29 +02:00
Frank Faubert
83e8f61109 Add getEngineName and isEngine API calls 2019-01-24 09:04:37 -05:00
Frank Faubert
65988ac79c Add operating system detection for Chrome OS 2019-01-24 08:37:59 -05:00
Denis Demchenko
a87ccad88a Fix the docs 2019-01-19 15:44:08 +02:00
Denis Demchenko
cab0d0d946 Fix an issue with returning a reference instead of a new object 2019-01-19 15:43:29 +02:00
Robert Sandell
1535c62b74 Added support for Googlebot recognition 2019-01-16 13:30:38 +02:00
Denis Demchenko
cd72625e2c
Merge pull request #276 from rcsandell/master
Support Android version names, Recognise Huawei devices
2019-01-06 22:40:40 +02:00
Denis Demchenko
d39f2fe125
Merge pull request #275 from deployed/master
Support non strict equality in satisfies method
2019-01-06 22:38:11 +02:00
Denis Demchenko
7b8ea93d22
Merge pull request #260 from ycjcl868/feat-wechat-browser
feat: wechat browser support
2019-01-06 22:27:08 +02:00
Robert Sandell
cce6430647 Mention running lint rules, conform commit to lint rules 2018-12-30 10:31:13 +02:00
Robert Sandell
97d877f9c2 Fix Travis Tests 2018-12-30 10:18:58 +02:00
Robert Sandell
d9693088cc Fix tests 2018-12-30 10:10:33 +02:00
Robert Sandell
f338045df7 Support Android version names, Recognise Huawei devices 2018-12-30 09:03:08 +02:00
Dariusz Rzepka
3729f6f92e Support non strict equality in satisfies method 2018-12-28 08:36:32 +01:00
Arve Knudsen
316399d6e9 Improve documentation language, fix an example 2018-10-19 19:32:59 +02:00
ycjcl868
1ce9916b35 feat: wechat browser 2018-10-14 23:25:45 +08:00
Denis Demchenko
0a149bca7b Fix Chrome mobile detection
fixes #253
2018-09-14 17:44:17 +03:00
Denis Demchenko
3489f9d374 Support Swing browser
fixes #248
2018-09-09 15:07:40 +03:00
Denis Demchenko
ace0ce17ea Fix the issue with undefined browser version string
fixes #243
2018-09-09 15:02:29 +03:00
Denis Demchenko
c04942947e Fix no-else-return issue 2018-09-09 13:52:41 +03:00
Julian Doucette
343b748986 Added maxthon desktop support 2018-08-29 22:44:50 +01:00
udivankin
6204d9f417 Adds loose comparison support 2018-08-16 19:04:10 +03:00
Denis Demchenko
2b6a63d088 Fix code style problem 2018-08-02 21:26:47 +03:00
Matías Lescano
0224f26bfc Add parser.some function 2018-07-22 19:41:48 +03:00
Denis Demchenko
8d7ef744ac Fix detection of Nexus devices
fixes #233
2018-07-17 21:21:56 +03:00
Denis Demchenko
8676817177 Catch up with last browsers in 1.9 version 2018-07-09 21:26:43 +03:00
Denis Demchenko
31b9240aec Fix docs 2018-07-08 12:31:23 +03:00
Denis Demchenko
d12a988d7c Rewrite Parser.satisfies and fix some related methods 2018-07-08 12:08:49 +03:00
Denis Demchenko
a175f7c8bd Rename Parser.compare to Parser.satisfies 2018-07-07 18:35:18 +03:00
Denis Demchenko
c79b71736e Fix tests after changes 2018-07-05 22:58:14 +03:00
Denis Demchenko
1f572ed8f4 Add a bit of docs 2018-07-05 22:44:43 +03:00
Denis Demchenko
e759592884 Fix getPlatformType, write tests 2018-07-04 23:09:33 +03:00
Denis Demchenko
48638e7363 Change Parser.check to Parser.compare 2018-07-04 22:43:57 +03:00
Denis Demchenko
0c1564f1cd Fix comments for Bowser class 2018-07-04 22:39:46 +03:00
Denis Demchenko
4ab0d9dfd3 Get rid of semver and use old comparison which is more applicable 2018-07-02 23:30:48 +03:00
Denis Demchenko
6030eb9e5d Add semverCheck and related methods 2018-07-02 22:24:02 +03:00
Denis Demchenko
560ec06eeb Add Parser.check and related things 2018-07-02 16:51:40 +03:00
Denis Demchenko
9cb04fcbae Move getWindowsVersionName to utils 2018-06-30 19:40:10 +03:00
Denis Demchenko
3530ca1c70 Fix nyc misconfiguration 2018-06-30 19:21:09 +03:00
Denis Demchenko
0ea3fe16a4 Add coveralls integration
fixes #225
2018-06-30 17:35:12 +03:00
Denis Demchenko
e7e6abff8b Fix Bowser constructor, add some tests 2018-06-30 17:25:47 +03:00
Denis Demchenko
98007768b4 Make Parser.parse-anything methods public 2018-06-30 15:58:34 +03:00
Denis Demchenko
f202c1cd30 Eslint fixes 2018-06-27 23:11:52 +03:00
Denis Demchenko
45ac881a5e Fix credits 2018-06-27 23:04:46 +03:00
Denis Demchenko
6f3b13f9fd Replace the main bowser file 2018-06-27 22:52:43 +03: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
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
5c753edb75 Fix macOS version parsing 2017-08-17 23:55:21 +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
efce17881f Fix iPhone and iPod detection 2017-06-09 23:49:08 +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
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
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
rkurbatov
b066f9bdeb adds MacOS support 2017-05-18 00:41:09 +03:00
rkurbatov
98538362b3 adds windows version detection 2017-05-18 00:28:51 +03:00
Denis Demchenko
b057077b68 Add OS parsing 2017-04-15 22:50:07 +03:00
Denis Demchenko
c50d0449d3 Add Parser#getBrowserName and Parser#getBrowserVersion 2017-04-09 22:46:23 +03:00
Denis Demchenko
ce885847ce Fix version matching 2017-04-09 22:30:19 +03:00
Denis Demchenko
d57094d857 Finish Parser#_parseBrowser function 2017-04-09 22:09:47 +03:00
Denis Demchenko
9e46db26ed make public getBrowser and private parseBrowser 2017-04-09 19:16:38 +03:00
Denis Demchenko
3bb6654320 Continue writing 2017-04-09 17:13:00 +03:00
Denis Demchenko
575ba8076e fist commit 2017-04-04 23:03:47 +03:00
Dmitri Voronianski
29bb872ab2 fix global exports 2016-11-29 15:22:28 +01:00
Denis Demchenko
c7d663a7b5 Add tests for some devices on Windows
related to #89
2016-11-03 17:37:36 +02:00
Denis Demchenko
8b92707e7b Throw an error when minVersion map has not a string as a browser version
fixes #165
2016-10-31 11:07:53 +02:00
Benoit de La Forest
9f31efa62f Fix WindowsPhone flagged as iOS
Related to !168
2016-10-28 13:03:07 +02:00
Benoit de La Forest
e44ca1de6e fix windowsphone flagged as android
Closes #167
2016-10-27 17:52:03 +02:00
Denis Demchenko
27c7f5b294 Fix mobile Opera's version detection
refers to #158
2016-09-19 22:58:37 +03:00
Denis Demchenko
21b9e617a1 Merge branch 'eb_samsungBrowser' of https://github.com/eriben/bowser into eriben-eb_samsungBrowser 2016-08-30 00:17:37 +03:00
Erik Bengtsson
b9d0ed6fd8 Added support for Samsung Internet for Android 2016-08-27 12:22:38 -04:00
devel-pa
c7778c550e Act safe in case navigator doesn't have a userAgent. 2016-08-24 18:30:09 +02:00