1282 Commits

Author SHA1 Message Date
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
Faisal Salman
07c9e36ebe Update actions to install playwright & run build before test 2023-04-09 10:13:08 +07:00
Faisal Salman
407b23262c Update actions to v3 2023-04-09 09:04:48 +07:00
Faisal Salman
16b416d9ea Move feature detection into its own method: withFeatureCheck 2023-04-09 07:40:21 +07:00
Faisal Salman
05747dba37 Install @playwright/test to perform test in real browser 2023-04-08 09:33:17 +07:00
Faisal Salman
625ece73e2 Rearrange test files & config 2023-04-08 07:12:18 +07:00
Faisal Salman
e01663b48f Rearrange internal class & remove old Safari map 2023-04-08 04:40:59 +07:00
Faisal Salman
59d8d836c2 Clean up: remove travis, verup; move jshint config to inline 2023-04-06 05:48:14 +07:00
Faisal Salman
b385a73340 Move feature detection to its own dedicated method 2023-04-05 23:29:27 +07:00
Faisal Salman
4711805a1c Re-use previous result instead of re-parse it all over again 2023-04-05 22:28:35 +07:00
Faisal Salman
5d2acd8fe7 Bump version 2.0.0-alpha.2 2.0.0-alpha.2 2023-04-02 18:00:48 +07:00
Faisal Salman
359cbecd32 Fix #640 - Self-return thenable causing infinite-loop when awaited 2023-04-02 05:55:33 +07:00
Faisal Salman
1e80cf3533 Only set browser as Chromium if no other brand was found 2023-03-29 23:42:30 +07:00
Faisal Salman
b09878934f Prevent altering the result when supplied user-agent is different from current user-agent 2023-03-29 22:53:07 +07:00
Faisal Salman
30de983043 Alpha release of v2.0 2023-03-29 10:44:37 +07:00
Faisal Salman
894512c72f Move some low-usage devices to extension as ExtraDevices 2023-03-29 10:14:20 +07:00
Faisal Salman
4af26c7a5e Add new browser: TikTok
User-agent example:
- https://user-agents.net/s/o2A0qRAZIN
- https://explore.whatismybrowser.com/useragents/parse/241240920-android-webview-android-jny-l22-blink
2023-03-29 05:58:44 +07:00
Faisal Salman
a6c85d0148 Add new engine: LibWeb + Add new OS: SerenityOS 2023-03-29 04:52:26 +07:00
Faisal Salman
7a4fe6f454 Fix #227 #237 #488 : Provide extensions - initial work 2023-03-28 10:41:59 +07:00
Faisal Salman
af65fd6960 Fix #300 : Provide enums - initial work 2023-03-28 08:36:48 +07:00
Faisal Salman
ba28d33d51 Move generated .mjs file to /src 2023-03-27 22:37:42 +07:00
Faisal Salman
82567c28ab Fix #639: Only check for Brave properties if given userAgent match the current userAgent 2023-03-26 12:46:04 +07:00
Faisal Salman
e70d09a1f8 Fix #489: ARM arch detection & create test that simulates HTTP headers sent from an Apple silicon 2023-03-25 07:21:17 +07:00
Faisal Salman
3af8e1e272 Upon creating new item, only pass regex map thats relevant with its itemType 2023-03-23 21:43:19 +07:00
Faisal Salman
172f57ffea Fix #636 - Add new browser: HeyTap | Fix #248 - Add 'Mobile' prefix for mobile version of Chrome, Firefox, Safari 2023-03-22 11:51:28 +07:00
Faisal Salman
33f02099d1 Fix #678 - Improve Yandex detection 2023-03-22 11:18:52 +07:00
Faisal Salman
33df5dc698 Fix #637 - Detect Safari on iPhone as Safari Mobile 2023-03-22 11:02:26 +07:00
Faisal Salman
49d6422ebd Mistype in iPad detection 2023-03-22 10:53:15 +07:00
Faisal Salman
a1d816ae21 Fix #519 #521 #616 - Improve iPhone & iOS detection 2023-03-20 23:37:19 +07:00
Faisal Salman
0097b211db Merge branch 'shaharmor-mobile-browsers' into develop 2023-03-20 11:08:31 +07:00
Faisal Salman
6b3fc3e0f1 Small refactor 2023-03-20 11:05:42 +07:00