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

259 Commits

Author SHA1 Message Date
Denis Demchenko
181eb40357
Merge pull request #338 from joergleis/master
Update OS version names
2019-07-31 23:36:41 +03:00
Jörg Leis
496136fd83 Fixes, refactor, new test cases 2019-07-17 17:33:48 +02:00
Jörg Leis
b298e8d866 Add detection of macOS version names 2019-07-17 13:53:31 +02:00
Jörg Leis
72b59a9208 Add Android Pie to version names 2019-07-17 12:54:43 +02:00
Denis Demchenko
1515ecaa22 fix(bowser): remove custom error due to the bug (#335) 2019-07-17 13:47:55 +03:00
Denis Demchenko
dcadd16ed7 docs(bowser): improve some JSDocs and Error class 2019-07-16 22:19:07 +03:00
Denis Demchenko
41b66d5450 refactor(bowser): replace static properties with getters 2019-07-16 22:00:28 +03:00
Oz Weiss
82cd6a82de adding detection for Roku OS: https://en.wikipedia.org/wiki/Roku#Software
examples: http://www.webapps-online.com/online-tools/user-agent-strings/dv/brand798903/roku-dvp

note: The reason I added the test for Roku before all other tests is that Roku user agents might contain other tokens (like Windows), but Roku is still Roku.
2019-07-07 12:55:53 +03:00
王涛
fbc32e6736 Add constant output so that users can quickly get all types 2019-05-20 15:33:10 +08:00
Denis Demchenko
86152dac82 Fixes docs
fixes #320
2019-05-03 21:40:55 +03:00
Denis Demchenko
e1a37ef4fa
Merge pull request #310 from ricardorauber/master
Update the regexp for generic browsers
2019-04-24 21:28:27 +03:00
Ricardo Rauber Pereira
b8d60f7593 fix regexp selection order 2019-04-23 10:40:04 +01:00
Ricardo Rauber Pereira
2dcfca1388 remove tabs 2019-04-23 10:28:11 +01:00
Ricardo Rauber Pereira
d0959a43c4 update the constant names 2019-04-23 10:15:02 +01:00
Ricardo Rauber Pereira
8e49696d02 update the comment 2019-04-23 10:13:52 +01:00
Ricardo Rauber Pereira
4d8c781369 updated the code to be more clear 2019-04-23 10:11:04 +01:00
Marco Starker
23c640f65f 🙄 2019-04-21 08:21:00 +02:00
Marco Starker
98f348ebd3 switching from default export to named export 2019-04-18 16:09:16 +02:00
Marco Starker
7075f6c4d7 adding useless semicolon 2019-04-18 13:50:17 +02:00
Marco Starker
0f20a43f0a fixing ES6 Module import for BROWSER_ALIAS_MAP 2019-04-18 13:46:30 +02:00
Denis Demchenko
d596a43f6b Add support of the new Blink-based MS Edge
fixes #311
2019-04-14 13:39:35 +03:00
Denis Demchenko
328852aa0e Add an alias for Samsung Internet
related to #313
2019-04-12 21:43:09 +03:00
Denis Demchenko
4b658441ca Add docs for Parser#isBrowser 2019-04-12 21:06:09 +03:00
Denis Demchenko
69972820c8 Fix the bug with unset alias for a browser
fix #313
2019-04-12 21:05:14 +03:00
Denis Demchenko
428dadc503 Fix Yandex Browser version detection
fixes #308
2019-04-07 11:28:03 +03:00
Ricardo Rauber Pereira
cfe2b493bb Remove missing space at the end 2019-04-05 18:33:15 +01:00
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