1162 Commits

Author SHA1 Message Date
Faisal Salman
05a98aceda Add new package: gpu-detect to obtain GPU info from user-agent 2023-09-03 11:07:09 +07:00
Faisal Salman
807dcdbded Add eslint to devDependencies to support latest ES version 2023-08-30 12:56:59 +07:00
Faisal Salman
1522691426 [ua-client-hints] Refactor UAClientHints 2023-08-27 10:53:26 +07:00
Faisal Salman
f538018f8e Update package.json/package-lock.json & remove bower.json (at last!) 2023-08-24 21:12:06 +07:00
Faisal Salman
3f105fe93b [helpers] split helpers into 2 new packages: user-agent-helpers & client-hints-helpers 2023-08-23 14:53:34 +07:00
Faisal Salman
129657673b [helpers] Add new method: UACHParser(), parse client-hints HTTP headers into its JS API equivalent 2023-08-22 23:58:04 +07:00
Faisal Salman
3dd4b60ee9 [helpers] Add new method: unfreezeUA(), construct new unfreezed user-agent string using real data from client hints 2023-08-22 01:16:09 +07:00
Faisal Salman
73a936001a Modify ua-parser-js/helpers submodule into @ua-parser-js/helpers scoped package 2023-08-21 11:28:30 +07:00
Andreas Kogler
5948060729
Implement PlayStation app WebMAF detection (#649)
* Add support for `WebMAF` detection on Playstation

* Extend `WebMAF` support for PlayStation 5

* Update changelog
2023-08-20 14:25:56 +07:00
Faisal Salman
2046b77ede Improve device.type detection using client hints "form-factor" data 2023-08-20 13:59:44 +07:00
Faisal Salman
d168b75a3a Bump version 2.0.0-alpha.3 2.0.0-alpha.3 2023-08-17 11:29:18 +07:00
Faisal Salman
6e26e38247 [extension] Add Axios, jsdom, Scrapy. Also fixes #627 #156 #217 #227
Axios: `axios/VERSION`
https://www.zenrows.com/blog/axios-user-agent#what-is-axios-user-agent

JSDOM: `Mozilla/5.0 (${process.platform || "unknown OS"}) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/${jsdomVersion}`
https://github.com/jsdom/jsdom

Scrapy: `Scrapy/VERSION (+https://scrapy.org)`
https://docs.scrapy.org/en/master/topics/settings.html
2023-08-15 11:46:31 +07:00
chenyuan-new
3cb567c154 fix: remove duplicated BRANDS input when call setProps in UACHData func (#663) 2023-08-15 11:46:31 +07:00
Runar Heggset
f76d8983ca Fix Amazon Fire TV device detection 2023-08-15 11:46:31 +07:00
chenyuan-new
420bf1066c
fix: remove duplicated BRANDS input when call setProps in UACHData func (#663) 2023-08-08 15:22:10 +07:00
Faisal Salman
22eae9f70c [extensions] Add GPTBot to Bots 2023-08-07 21:39:21 +07:00
Faisal Salman
f2e4b242ce Update sponsors section in readme 2023-08-07 21:35:46 +07:00
JBYoshi
153831d2ed Add Snapchat user agent. 2023-07-30 09:11:19 +07:00
Faisal Salman
072a82b87b Add a new submodule: ua-parser-helpers with a method: isFrozenUA() to match a string with a frozen user-agent pattern 2023-05-27 20:53:45 +07:00
Runar Heggset
b20d09655c Fix Amazon Fire TV device detection 2023-05-11 12:04:56 +07:00
Faisal Salman
15d17e97a1 Add some tests; Add new devices: Infinix, Tecno; Improve detection: Xiaomi POCO
Source: https://www.useragents.me
2023-05-06 21:21:21 +07:00
Faisal Salman
df9144b493 Modify test scripts 2023-05-06 19:53:51 +07:00
Faisal Salman
a519d2b879 Add new Action: publish to NPM 2023-04-28 08:01:18 +07:00
Faisal Salman
102dc51683 Update fuzzing test 2023-04-28 06:43:17 +07:00
Faisal Salman
1a806453f9 Merge branch 'develop' 2023-04-27 10:41:49 +07:00
Faisal Salman
3d5c70457e Fuzz testing using Jazzer.js 2023-04-27 09:34:49 +07:00
Faisal Salman
a74ebeb82e Only allow string for setUA() 2023-04-26 13:53:29 +07:00
Faisal Salman
4c77c5ef21 Revive the extensive list of MediaPlayers regexes by @leofiore as an Extension
(Original commit reference: 3fa1fe9f704d716e8f57dea46bccc5724da7b952)
2023-04-24 14:58:08 +07:00
Faisal Salman
9102871dea Rearrange the structure of src folders 2023-04-21 09:47:51 +07:00
Faisal Salman
1653d376ca
Update issue templates 2023-04-15 13:45:31 +07:00
Faisal Salman
29fb85658a Fix #643 - Improve iOS detection + detect Slack (&Slackbot) 2023-04-15 01:08:46 +07:00
Faisal Salman
c3be7326b8 Update GitHub package action - change trigger to 'published' 2023-04-15 00:01:49 +07:00
Faisal Salman
5a26ac146e Create build+test scripts 2023-04-15 00:01:49 +07:00
Faisal Salman
35c2b91534 Fix: accept empty string as input 2023-04-15 00:01:49 +07:00
dependabot[bot]
feefb81cd0 Bump shelljs and jshint
Removes [shelljs](https://github.com/shelljs/shelljs). It's no longer used after updating ancestor dependency [jshint](https://github.com/jshint/jshint). These dependencies need to be updated together.


Removes `shelljs`

Updates `jshint` from 2.12.0 to 2.13.6
- [Release notes](https://github.com/jshint/jshint/releases)
- [Changelog](https://github.com/jshint/jshint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jshint/jshint/compare/2.12.0...2.13.6)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
- dependency-name: jshint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 07:31:42 +07:00
Faisal Salman
0ac5028137 Rename workflows for clarity 2023-04-13 07:07:34 +07:00
Faisal Salman
1b17315935
Create action to review dependencies from PR 2023-04-13 06:56:27 +07:00
Faisal Salman
f92bb9ef65 Insert scorecard badge & documentation link 2023-04-13 06:38:15 +07:00
Faisal Salman
f659659500 Set CodeQL permission to read-only 2023-04-13 06:24:11 +07:00
Faisal Salman
6c58ac39cd Update security policy 2023-04-13 06:16:01 +07:00
Faisal Salman
432a2ee72d Pin dependency hash with lockfile & test with lockfile-lint 2023-04-13 06:16:01 +07:00
Faisal Salman
c2f17004b8
Add GitHub's CodeQL Action for static code analysis 2023-04-13 06:08:52 +07:00
Faisal Salman
f5af76a2b3
Create GitHub packaging workflow 2023-04-12 13:16:41 +07:00
Faisal Salman
99baf60d50
Fix #608 - Add OpenSSF Scorecard GitHub Action 2023-04-12 11:48:00 +07:00
Faisal Salman
46f38adb83 Remove deploy-docs.yml - Move docs to another repo 2023-04-11 23:06:51 +07:00
Faisal Salman
ff26813708
Update deploy-docs.yml - again 2023-04-11 11:26:11 +07:00
Faisal Salman
e62cded083
Update deploy-docs.yml 2023-04-11 11:24:11 +07:00
Faisal Salman
2fb0c72898
Create deploy-docs.yml 2023-04-11 10:59:46 +07:00
Faisal Salman
801c2409b3 Update readme & IData explanations 2023-04-09 15:54:46 +07:00
Faisal Salman
a8951ec282 Update actions to remove cache 2023-04-09 10:21:20 +07:00