Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade ua-parser-js to v0.7.33 #4

Merged
merged 212 commits into from
Feb 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
cd1bfd8
FIX: Wechat Desktop for Windows compatible with new version
crcong Jan 18, 2021
f661da9
Move to check typeof for window for different envs
annez Feb 26, 2021
d78a2e0
Fix #413 Bug resulting Motorola model O
faisalman Mar 8, 2021
ec5a864
Fix #367 #425 Detect Instagram in-app browser
faisalman Mar 8, 2021
dce8623
Add funding support links
faisalman Mar 9, 2021
6aa3ff1
Fix #450 Sony Xperia Z2 Tablet
faisalman Mar 12, 2021
46615e7
Fix #454 Improve Samsung detection
faisalman Mar 12, 2021
cdac867
Add Nintendo Switch
faisalman Mar 13, 2021
f85dc8c
Fix #366 Amazon Alexa Echo Show
faisalman Mar 13, 2021
d658ef3
Fix #339 Add Weibo
faisalman Mar 13, 2021
6c87e06
Fix #407 ZTE Nubia misidentified as Nextbook Tablet
faisalman Mar 13, 2021
1cfe34f
FIX: new wechat desktop's unsafe regex
crcong Mar 13, 2021
b1f34c1
Merge pull request #477 from crcong/fixWechatDesktop
faisalman Mar 13, 2021
6c44b3f
Merge branch 'develop' of github.com:faisalman/ua-parser-js into develop
faisalman Mar 13, 2021
9da55e9
Merge branch 'master' of github.com:faisalman/ua-parser-js
faisalman Mar 13, 2021
70a586d
Merge pull request #483 from annez/check-typeof-window
faisalman Mar 13, 2021
d1ea2f0
Fix #433 #434 Huawei devices
faisalman Mar 14, 2021
c626c01
Merge branch 'develop' of github.com:faisalman/ua-parser-js into develop
faisalman Mar 14, 2021
fc1d3b0
Fix #475 Nokia version incomplete
faisalman Mar 14, 2021
e612b44
Fix #470 Identify Android TV as SmartTV
faisalman Mar 14, 2021
e402a6a
Latest Xperia lineup
faisalman Mar 17, 2021
d1ba5f5
Fix #430 Playstation 5
faisalman Mar 17, 2021
1a8cd67
Fix #449 Lenovo Tablet
faisalman Mar 17, 2021
ebccc29
Casually save some bytes
faisalman Mar 18, 2021
fe5ca1d
Fix #401 Rearrange the order of regexes to improve hit-rate performance
faisalman Mar 18, 2021
bb16473
Fix #427 - Trying GitHub Actions
faisalman Mar 19, 2021
db381ca
Change mocha reporter for CI
faisalman Mar 19, 2021
1047576
Action doesn't work, should be under /.github/workflows folder perhaps
faisalman Mar 19, 2021
e190516
Fix #438 Add Zebra devices
faisalman Mar 20, 2021
1667f5f
Update README contents & structures
faisalman Mar 20, 2021
8c2b84f
Enforce maximum limit to user-agent input
faisalman Mar 20, 2021
c47f458
Merge branch 'refactor-experimental' of github.com:faisalman/ua-parse…
faisalman Mar 23, 2021
daeb118
Move documentation upwards and..mAkE tHe LoG0 BiG99eR!!1!1!
faisalman Mar 23, 2021
4d94c6b
Add CDN links & insert npm fund
faisalman Mar 23, 2021
effd766
Fix #422 Add ARMHF in CPU Arch detection
faisalman Mar 23, 2021
dff9746
Fix #279 Remap old Edge versions <= 44 as suggested by @mikemaccana @…
faisalman Mar 23, 2021
14e7dd3
Fix #448 Add AT&T & Vodafone devices
faisalman Mar 23, 2021
94d3550
Fix #209 Add CHANGELOG
faisalman Mar 23, 2021
73fb12b
Add Electron
faisalman Mar 23, 2021
a0b40be
Simplify Huawei detection
faisalman Mar 24, 2021
3da59ce
Release as 0.7.25
faisalman Mar 24, 2021
ef4eead
Refine some OS detection
faisalman Mar 24, 2021
afe62e9
Add new OS: Raspbian
faisalman Mar 24, 2021
cd61aef
Add Device: Surface Duo
faisalman Mar 24, 2021
62cb5a2
Add some test cases for Samsung, Huawei, Xiaomi
faisalman Mar 24, 2021
59d947d
Detect ARMEABI as ARM
faisalman Mar 24, 2021
69a568a
Casually save some bytes
faisalman Mar 25, 2021
8d56857
Refine some detection with more test cases
faisalman Mar 25, 2021
536b9e8
Add new device.vendor: Vivo
faisalman Mar 26, 2021
b406b5d
Merge branch 'refactor-experimental' into develop
faisalman Mar 26, 2021
2cfd792
Fix #342 - Enforce all regexes to comply with safe-regex as a safegua…
faisalman Mar 26, 2021
4f27489
Fix regexes that were marked as unsafe by safe-regex module
faisalman Mar 26, 2021
3b703a6
Refine device detection with more test cases
faisalman Mar 26, 2021
0e70fc4
Add new device.vendor: Realme
faisalman Mar 26, 2021
999764c
Merge branch 'old-edge-fix' into develop
faisalman Mar 26, 2021
a6b0c16
Release as 0.7.26
faisalman Mar 26, 2021
91fa6dd
Better tablet detection:
dani3l Mar 29, 2021
80fae81
Better tablet detection:
dani3l Mar 29, 2021
d72de26
Better tablet detection - Build.
dani3l Mar 29, 2021
6f2ba7f
Better tablet detection:
dani3l Mar 29, 2021
be9a066
Merge pull request #487 from kueez/kueez-develop
faisalman Mar 29, 2021
3843578
Small refactor
faisalman Apr 1, 2021
8bea5c5
Add new Engine & Browser: Flow
faisalman Apr 1, 2021
c937400
Add new browser: Firefox Reality
faisalman Apr 1, 2021
9d431cf
Add new device: Fairphone
faisalman Apr 2, 2021
0868e37
Add string check to setUA method
Apr 2, 2021
cb30756
Merge pull request #490 from SuperOleg39/fix-set-ua-limit
faisalman Apr 2, 2021
24950f9
Merge branch 'master' of github.com:faisalman/ua-parser-js into master
faisalman Apr 2, 2021
f95aced
Release as 0.7.27
faisalman Apr 2, 2021
557cc21
More test for latest phones with unique form factor (fold/flip/qwerty…
faisalman Apr 4, 2021
09aa910
Add new device & browser: Tesla
faisalman Apr 4, 2021
7c8aa43
Minor rearrangement
faisalman Apr 4, 2021
383ca58
More test for tablet devices
faisalman Apr 4, 2021
f726dcd
Merge branch 'master' into develop
faisalman Apr 5, 2021
acc0b91
Update contributor list
faisalman Apr 5, 2021
3edacdd
Merge branch 'master' into develop
faisalman Apr 5, 2021
642c039
Fix #492 LG TV WebOS detection
faisalman Apr 6, 2021
535f11b
Delete redundant code
faisalman Apr 7, 2021
6c671dd
Refactor code: saving bytes towards 15KB minified
faisalman Apr 7, 2021
9200e53
Update readme: use https for demo link
faisalman Apr 8, 2021
c39590b
Test for Firefox UAs, add new browser: Klar, add new OS: Maemo
faisalman Apr 8, 2021
1d3c98a
Revert breaking fix #279 and release as 0.7.28
faisalman Apr 10, 2021
75620c7
Merge branch 'master' into develop
faisalman Apr 12, 2021
36b2275
Improve detection rule for Mac on PowerPC
faisalman Apr 12, 2021
f715023
Improve device detection: categorize PDA as mobile
faisalman Apr 12, 2021
559ecaa
Improve browser detection: Netscape with version
faisalman Apr 12, 2021
c53a2a1
Improve os detection: Windows Mobile without version
faisalman Apr 12, 2021
c05e4e8
Add new OS: HP-UX
faisalman Apr 12, 2021
3792900
Add new browsers: Obigo, UP.Browser
faisalman Apr 12, 2021
9bed2b1
Add new device vendor: Roku
faisalman Apr 12, 2021
ca83d4c
Refine some OS detection
faisalman Apr 16, 2021
ca64431
Remove oldEdge map
faisalman Apr 16, 2021
8e55e00
Replace `\s` with space, saving ~0,3KB
faisalman Apr 16, 2021
7b3aa9f
ES3 compat-fix: remove trailing comma
faisalman Apr 18, 2021
837042a
Improve device detection: Huawei, Xiaomi, Realme, LG, OnePlus, ASUS, …
faisalman Apr 22, 2021
e5e13ad
Improve CPU detection for ARM64
faisalman Apr 24, 2021
1e7b6d2
Improve device detection: LG Android TV
faisalman Apr 24, 2021
03c9152
Add new OS: Android-x86, Deepin, elementary OS, GhostBSD, Linspire, M…
faisalman Apr 24, 2021
39e8d4a
Fix #500 Sharp devices misjudged as Huawei devices
faisalman Jun 15, 2021
299283c
Fix #506 - add test for Huawei ART-L29
faisalman Jul 22, 2021
825edbb
Fix #509 add support for Internet Explorer 8
Jul 30, 2021
47c310e
Create SECURITY.md
sartoshi-foot-dao Sep 16, 2021
20a428c
Merge pull request #523 from zidingz/patch-1
faisalman Sep 16, 2021
336ce2b
Improve regex efficiency when trimming long ua string
faisalman Sep 17, 2021
15aa73d
Add Huawei models
Sep 21, 2021
b542df1
Sony Xperia 1ii
Sep 21, 2021
62cc99d
Samsung Galaxy S20 5G
Sep 21, 2021
ffc03ac
Add different oculus browser
Sep 21, 2021
f57bd95
Oculus devices
Sep 21, 2021
ee74394
cleanup
Sep 21, 2021
79535f5
cleanup
Sep 21, 2021
ef54fd3
Merge pull request #526 from jparismorgan/sony
faisalman Sep 23, 2021
343d584
change to single line regex
Oct 4, 2021
8fe448f
Merge pull request #528 from jparismorgan/oculus
faisalman Oct 6, 2021
191fed9
Enable to detect OPPO Reno5 A correctly.
shimar Oct 22, 2021
139fbc3
Securing the 0.7.x version (issue #536)
faisalman Oct 22, 2021
051aa5d
Securing the 0.8.x version (issue #536)
faisalman Oct 22, 2021
29d5e43
Securing the 1.x version (issue #536)
faisalman Oct 22, 2021
fbd2c68
feat: require the use of `===` and `!==`
Oct 25, 2021
10c978e
Update ua-parser.js
sunny-mwx Oct 26, 2021
30648ce
✨ Use AST to verify whether regexes are safe
hansott Oct 26, 2021
95fea1c
Merge pull request #543 from catboy1006/master
faisalman Oct 26, 2021
b4cfe1b
Merge pull request #535 from shimar/fix/534-oppo-reno5-a
faisalman Oct 26, 2021
157af1e
Merge pull request #547 from sunny-mwx/patch-1
faisalman Oct 26, 2021
b86860e
Merge pull request #546 from hansott/master
faisalman Oct 26, 2021
97f3368
Bump version 0.7.31
faisalman Oct 27, 2021
23ad60e
Fix #559: Sony Xperia 1 III misidentified as Acer tablet
faisalman Dec 17, 2021
7ddb257
Fix #533: Detect Sony BRAVIA as SmartTV
faisalman Dec 18, 2021
f761a89
Fix #562 - Xiaomi Mi CC9
faisalman Jan 12, 2022
a292139
Fix #561 - Increase UA_MAX_LENGTH to 275
faisalman Jan 28, 2022
b6bddd8
pr feedback
Feb 17, 2022
f02a431
v100 tests
Feb 17, 2022
3d4ec6e
Merge pull request #525 from jparismorgan/Huawei
faisalman Feb 25, 2022
6e39c8a
Merge pull request #568 from jparismorgan/browser100
faisalman Feb 25, 2022
fe963b5
Add support for HuaweiBrowser
Mar 15, 2022
534d577
update readme
Mar 15, 2022
18a4e5a
package.json: specify the folders to include
XhmikosR Mar 24, 2022
779b5dc
add KakaoTalk App, KakaoStory App regex
KnifeLemon Apr 12, 2022
0b42307
Add Kakao App, Naver App
KnifeLemon Apr 12, 2022
534ba7d
Add iOS Naver, Kakao regex
KnifeLemon Apr 12, 2022
cd25bc1
fix browser-test typo
Dante-dan May 3, 2022
4f77fbb
Add LinkedIn app.
JBYoshi May 25, 2022
15ae12b
Merge pull request #576 from Dante-dan/patch-1
faisalman May 25, 2022
ebebf0a
Merge pull request #579 from JBYoshi/linkedin
faisalman Jun 21, 2022
061a7a6
Merge pull request #570 from jparismorgan/HuaweiBrowser
faisalman Jun 30, 2022
180846b
Rename 'HuaweiBrowser' to 'Huawei Browser'
faisalman Jun 30, 2022
a5cdc29
Fix #565 - Add new OS: HarmonyOS
faisalman Jun 30, 2022
1e82d7d
Fix #558 - WeGame mistakenly identified as WeChat
faisalman Jun 30, 2022
30ac448
Increase UA_MAX_LENGTH to 350
faisalman Jun 30, 2022
21fe767
Fix #532 - Detect Xiaomi Mi TV as smarttv
faisalman Jun 30, 2022
f54d3fa
Fix #513 - Add new browser: DuckDuckGo
faisalman Jul 2, 2022
ca417e2
Fix #516 - Add Focus into list of possible browser.name
faisalman Jul 4, 2022
dea39e1
ci: add GitHub token permissions for workflow
varunsh-coder Jul 11, 2022
ebb32d1
fixed sony bravia smart tv, added sharp AQUOS TV
Jul 27, 2022
75e5852
Safari and Mobile Safari began to include commas in the minor version…
nabetama Sep 15, 2022
384f780
Merge pull request #571 from XhmikosR/patch-1
faisalman Sep 18, 2022
238391a
Merge pull request #595 from nabetama/master
faisalman Sep 18, 2022
29b613d
Merge pull request #583 from varunsh-coder/token-perms
faisalman Sep 18, 2022
ea04d01
Merge pull request #589 from choo737/master
faisalman Sep 18, 2022
25fff62
Fix #502 #580 : Add notice for desktop device type
faisalman Sep 18, 2022
896bdd0
Merge branch 'master' of github.com:faisalman/ua-parser-js
faisalman Sep 18, 2022
8483ac0
Refine small redundancy
faisalman Sep 18, 2022
d141915
Merge branch 'develop'
faisalman Sep 18, 2022
55b5b40
Fix #596 - Detect Galaxy Tab S8 as tablet
kNoAPP Sep 20, 2022
48d930f
Add test case
kNoAPP Sep 20, 2022
8d21e34
Merge pull request #598 from kNoAPP/knoapp-tab-s8
faisalman Sep 27, 2022
b2d685d
improved documentation
moekm Oct 9, 2022
cb5da5e
Merge pull request #600 from moekm/develop
faisalman Oct 15, 2022
b490110
Merge branch 'develop' of github.com:faisalman/ua-parser-js
faisalman Oct 15, 2022
d11fc47
Bump version 0.7.32
faisalman Oct 15, 2022
8d3c2d3
Add new browser: Cobalt
obecerra3 Oct 17, 2022
c239ac5
Merge pull request #604 from obecerra3/master
faisalman Oct 23, 2022
7f71024
Fix documentation
rileyjshaw Oct 26, 2022
6fde0d9
Support Panasonic Viera Smart TVs
garritfra Nov 8, 2022
5fd47ee
Support Panasonic 2018+ smart tvs
garritfra Nov 8, 2022
98096f1
Add test for panasonic 2020 smart tv
garritfra Nov 8, 2022
8ffdf23
Add test for panasonic SAT receiver
garritfra Nov 8, 2022
2f7017b
Merge pull request #1 from garritfra/hbbtv-panasonic
garritfra Nov 8, 2022
db5567d
Support Loewe Smart TVs
garritfra Nov 8, 2022
1f6a7e2
Merge pull request #2 from garritfra/hbbtv-loewe
garritfra Nov 8, 2022
a8a4e71
Add tests for JVC smart tvs
garritfra Nov 8, 2022
5e33df3
Merge pull request #3 from garritfra/hbbtv-jvc
garritfra Nov 8, 2022
528e7ae
Support philips smart tvs
garritfra Nov 9, 2022
4ef9841
Merge pull request #4 from garritfra/hbbtv-philips
garritfra Nov 9, 2022
e5942dc
Add samsung testcases
garritfra Nov 10, 2022
94f2d60
Merge pull request #5 from garritfra/hbbtv-samsung
garritfra Nov 10, 2022
df7551c
Add support for TechniSAT TVs and SATs
garritfra Nov 10, 2022
b814bcd
Merge pull request #606 from rileyjshaw/patch-1
faisalman Dec 6, 2022
a886604
Fix #605 - Identify Macintosh as Apple device
faisalman Dec 6, 2022
2033eb4
Merge branch 'faisalman:master' into smarttv
garritfra Dec 9, 2022
a6140a1
Remove unsafe regex in trim() function
faisalman Jan 20, 2023
f2d0db0
Bump version 0.7.33
faisalman Jan 22, 2023
cf09322
Fix #557 #612 #629 - Update the changelog
faisalman Jan 23, 2023
5d4ca2b
Fix #621 - Detect Oculus Quest Pro
faisalman Jan 24, 2023
1a521b8
Utilize navigator.userAgentData as a fallback #588
faisalman Jan 24, 2023
97e4a89
Merge pull request #510 from L15018105103/ie8-fix
faisalman Jan 26, 2023
4d3048a
Merge pull request #573 from KnifeLemon/patch-1
faisalman Jan 26, 2023
ba0f25c
Improve Kakao/Naver detection + add test
faisalman Jan 26, 2023
5b2e80b
Merge pull request #527 from jparismorgan/samsung
faisalman Jan 26, 2023
0b0c7ff
Fix #619 - Move Sharp up to be checked before Huawei
faisalman Jan 26, 2023
68447d8
Merge branch 'develop' of github.com:faisalman/ua-parser-js into develop
faisalman Jan 26, 2023
bf4fb91
Merge pull request #618 from garritfra/smarttv
faisalman Jan 26, 2023
0cbeb7a
Rearrange the recently added smarttv detection
faisalman Jan 26, 2023
f815ca6
Fix #620 - Add new Device: Kobo
faisalman Jan 26, 2023
c9d1ab9
Merge branch 'develop'
faisalman Jan 28, 2023
f8e5a1f
Fix #601 - Detect Chrome OS without version
faisalman Jan 31, 2023
a163893
Update ua-parser-js browser support
Feb 3, 2023
07c0435
Update manifest
spencerwilson-optimizely May 3, 2018
e01a8b5
fix: Don't act as a jQuery plugin
spencerwilson-optimizely May 3, 2018
c2683ba
build: 0.7.24 custom version
luisrivas Mar 1, 2021
7a3570d
Merge branch 'sergey/rebase-new-ua-parser-js' of https://github.com/o…
Feb 3, 2023
bc5c7cf
Rebuilt min versions
Feb 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: ua-parser-js
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['https://www.paypal.me/faisalman/']
20 changes: 20 additions & 0 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: ua-parser-js-run-test

on: [push, pull_request]

permissions:
contents: read

jobs:
run-test:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64, ppc64le]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Run the test
run: |
npm install
npm run test-ci
3 changes: 3 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"esversion": 3
}
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ cache:
- node_modules

sudo: false

script: npm run test-ci
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ua-parser-js",
"version": "0.7.24",
"version": "0.7.33",
"authors": [
"Faisal Salman <[email protected]>"
],
Expand Down
49 changes: 49 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# UAParser.js Changelog

# Version 0.7 / 1.0

Version 1.0.x is basically the equivalent of version 0.7.x. See [#536](https://github.com/faisalman/ua-parser-js/issues/536) for the reason behind this confusion.

## Version 0.7.30 / 1.0.1

- Add new browser : Obigo, UP.Browser, Klar
- Add new device : Oculus, Roku
- Add new OS: Maemo, HP-UX, Android-x86, Deepin, elementary OS, GhostBSD, Linspire, Manjaro, Sabayon
- Improve detection for Sony Xperia 1ii, LG Android TV, and some more devices
- Improve detection for ARM64 CPU
- Improve detection for Windows Mobile, Netscape, Mac on PowerPC
- Categorize PDA as mobile
- Fix Sharp devices misjudged as Huawei
- Fix trailing comma for ES3 compatibility
- Some code refactor

## Version 0.7.31 / 1.0.2

- Fix OPPO Reno A5 incorrect detection
- Fix TypeError Bug
- Use AST to extract regexes and verify them with safe-regex

## Version 0.7.32 / 1.0.32

- Add new browser : DuckDuckGo, Huawei Browser, LinkedIn
- Add new OS : HarmonyOS
- Add some Huawei models
- Add Sharp Aquos TV
- Improve detection Xiaomi Mi CC9
- Fix Sony Xperia 1 III misidentified as Acer tablet
- Fix Detect Sony BRAVIA as SmartTV
- Fix Detect Xiaomi Mi TV as SmartTV
- Fix Detect Galaxy Tab S8 as tablet
- Fix WeGame mistakenly identified as WeChat
- Fix included commas in Safari / Mobile Safari version
- Increase UA_MAX_LENGTH to 350

## Version 0.7.33 / 1.0.33

- Add new browser : Cobalt
- Identify Macintosh as an Apple device
- Fix ReDoS vulnerability

# Version 0.8

Version 0.8 was created by accident. This version is now deprecated and no longer maintained, please update to version 0.7 / 1.0.
13 changes: 4 additions & 9 deletions dist/ua-parser.min.js

Large diffs are not rendered by default.

13 changes: 4 additions & 9 deletions dist/ua-parser.pack.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'faisalman:ua-parser-js',
version: '0.7.24',
version: '0.7.33',
summary: 'Lightweight JavaScript-based user-agent string parser',
git: 'https://github.com/faisalman/ua-parser-js.git',
documentation: 'readme.md'
Expand Down
83 changes: 72 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"title": "UAParser.js",
"name": "@optimizely/ua-parser-js",
"version": "0.7.24",
"version": "0.7.33",
"author": "Faisal Salman <[email protected]> (http://faisalman.com)",
"description": "Lightweight JavaScript-based user-agent string parser",
"description": "Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data. Supports browser & node.js environment",
"keywords": [
"user-agent",
"parser",
Expand All @@ -20,87 +20,135 @@
"Aamir Poonawalla <[email protected]>",
"Admas <[email protected]>",
"algenon <[email protected]>",
"Alvin Portillo <[email protected]>",
"Alvin Portillo <[email protected]>",
"Amumu <[email protected]>",
"Andrea Vaghi <[email protected]>",
"Anton Zhiyanov <[email protected]>",
"Arturo Mejia <[email protected]>",
"Arun Rama Reddy <[email protected]>",
"Austin Pray <[email protected]>",
"Bendeguz <[email protected]>",
"Benjamin Bertrand <[email protected]>",
"Benjamin Urban <[email protected]>",
"boneyao <[email protected]>",
"Carl C Von Lewin <[email protected]>",
"CESAR RAMOS <[email protected]>",
"Chad Killingsworth <[email protected]>",
"Christopher De Cairos <[email protected]>",
"Cyrille David <[email protected]>",
"Dario Vladovic <[email protected]>",
"David Annez <[email protected]>",
"Davit Barbakadze <[email protected]>",
"ddivernois <[email protected]>",
"Deliaz <[email protected]>",
"Demis Palma <[email protected]>",
"dhoko <[email protected]>",
"dianhe <[email protected]>",
"dineshks1 <[email protected]@outlook.com>",
"Dmitry Tyschenko <[email protected]>",
"Douglas Li <[email protected]>",
"Dumitru Uzun <[email protected]>",
"Dustin <[email protected]>",
"Elchin Valiyev <[email protected]>",
"Emil Hesslow <[email protected]>",
"Eric Redon <[email protected]>",
"Eric Schrenker <[email protected]>",
"Erik Hesselink <[email protected]>",
"Fabian Becker <[email protected]>",
"Faisal Salman <fyzlman@gmail.com>",
"Faisal Salman <f@faisalman.com>",
"Frédéric Camblor <[email protected]>",
"Frederik Ring <[email protected]>",
"Gerald Host <[email protected]>",
"Germán M. Bravo <[email protected]>",
"Grigory Dmitrenko <[email protected]>",
"gulpin <[email protected]>",
"Hendrik Helwich <[email protected]>",
"Hermann Ebert <[email protected]>",
"hr6r <[email protected]>",
"Igor Topal <[email protected]>",
"Ildar Kamalov <[email protected]>",
"insanehong <[email protected]>",
"jackpoll <[email protected]>",
"Jake Mc <[email protected]>",
"JBYoshi <[email protected]>",
"Joey Parrish <[email protected]>",
"John Tantalo <[email protected]>",
"John Yanarella <[email protected]>",
"Jon Buckley <[email protected]>",
"Josh Goldberg <[email protected]>",
"Junki-Ishida <[email protected]>",
"Kendall Buchanan <[email protected]>",
"Lee Treveil <[email protected]>",
"leonardo <[email protected]>",
"Levente Balogh <[email protected]>",
"Liam Quinn <[email protected]>",
"Lithin <[email protected]>",
"ll-syber <[email protected]>",
"Loris Guignard <[email protected]>",
"Lukas Drgon <[email protected]>",
"Lukas Eipert <[email protected]>",
"Malash <[email protected]>",
"Martynas <[email protected]>",
"Masahiko Sato <[email protected]>",
"Matt Brophy <[email protected]>",
"Max Maurer <maxemanuel.maurer@gmail.com>",
"Matthew Origer <karatecowboy@gmail.com>",
"Maximilian Haupt <[email protected]>",
"Max Maurer <[email protected]>",
"Max Nordlund <[email protected]>",
"Michael Hess <[email protected]>",
"MimyyK <[email protected]>",
"naoh <[email protected]>",
"Nicholas Ionata <[email protected]>",
"Nikhil Motiani <[email protected]>",
"Nik Rolls <[email protected]>",
"Nikhil Motiani <nikhil.m@247-inc.com>",
"nionata <n.ionata129@gmail.com>",
"niris <[email protected]>",
"Nobuo Okada <[email protected]>",
"o.drapeza <[email protected]>",
"otakuSiD <[email protected]>",
"patrick-nurt <[email protected]>",
"Pavel Studeny <[email protected]>",
"Peter Dave Hello <[email protected]>",
"philippsimon <[email protected]>",
"Pieter Hendrickx <[email protected]>",
"Piper Chester <[email protected]>",
"Queen Vinyl Darkscratch <[email protected]>",
"Raine Makelainen <[email protected]>",
"Raman Savaryn <[email protected]>",
"Robert Tod <[email protected]>",
"roman.savarin <[email protected]>",
"Ron Korland <[email protected]>",
"Ross Noble <[email protected]>",
"ruicong <[email protected]>",
"Sandro Sonntag <[email protected]>",
"sgautrea <[email protected]>",
"Shane Gautreau <[email protected]>",
"Shane Thacker <[email protected]>",
"shchotse <[email protected]>",
"Shreedhar <[email protected]>",
"Simon Eisenmann <[email protected]>",
"Simon Lang <[email protected]>",
"Stiekel <[email protected]>",
"sUP <[email protected]>",
"Sylvain Gizard <[email protected]>",
"szchenghuang <[email protected]>",
"Tanguy Krotoff <[email protected]>",
"Tony Tomarchio <[email protected]>",
"Ulrich Schmidt <[email protected]>",
"Vadim Kurachevsky <[email protected]>",
"Yılmaz <[email protected]>",
"yuanyang <[email protected]>",
"Yun Young-jin <[email protected]>",
"Insanehong <insae.hong@navercorp.com>"
"Zach Bjornson <zbbjornson@gmail.com>"
],
"main": "src/ua-parser.js",
"files": [
"dist",
"src"
],
"scripts": {
"build": "uglifyjs src/ua-parser.js -o dist/ua-parser.min.js --comments '/UAParser\\.js/' && uglifyjs src/ua-parser.js -o dist/ua-parser.pack.js --comments '/UAParser\\.js/' --compress --mangle",
"build": "uglifyjs src/ua-parser.js -o dist/ua-parser.min.js --comments '/^ UA/' && uglifyjs src/ua-parser.js -o dist/ua-parser.pack.js --comments '/^ UA/' --compress --mangle",
"test": "jshint src/ua-parser.js && mocha -R nyan test/test.js",
"test-ci": "jshint src/ua-parser.js && mocha -R spec test/test.js",
"verup": "node ./node_modules/verup",
"version": "node ./node_modules/verup 0"
},
Expand All @@ -112,13 +160,16 @@
],
"regs": [
"^((?:\\$|(\\s*\\*\\s*@)|(\\s*(?:var|,)?\\s+))(?:LIBVERSION|version)[\\s\\:='\"]+)([0-9]+(?:\\.[0-9]+){2,2})",
"^(\\s?\\*.*v)([0-9]+(?:\\.[0-9]+){2,2})"
"^(\\/?\\s?\\*.*v)([0-9]+(?:\\.[0-9]+){2,2})"
]
},
"devDependencies": {
"@babel/parser": "7.15.8",
"@babel/traverse": "7.15.4",
"jshint": "~2.12.0",
"mocha": "~8.2.0",
"requirejs": "^2.3.2",
"safe-regex": "^2.1.1",
"uglify-js": "~3.12.0",
"verup": "^1.3.x"
},
Expand All @@ -137,5 +188,15 @@
},
"bugs": "https://github.com/faisalman/ua-parser-js/issues",
"demo": "https://faisalman.github.io/ua-parser-js",
"download": "https://raw.github.com/faisalman/ua-parser-js/master/dist/ua-parser.min.js"
"download": "https://raw.github.com/faisalman/ua-parser-js/master/dist/ua-parser.min.js",
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/ua-parser-js"
},
{
"type": "paypal",
"url": "https://paypal.me/faisalman"
}
]
}
Loading