Commit Graph

  • 1a806453f9 Merge branch 'develop' Faisal Salman 2023-04-27 10:41:49 +07:00
  • 3d5c70457e Fuzz testing using Jazzer.js Faisal Salman 2023-04-27 07:04:51 +07:00
  • a74ebeb82e Only allow string for setUA() Faisal Salman 2023-04-26 13:53:29 +07:00
  • 4c77c5ef21 Revive the extensive list of MediaPlayers regexes by @leofiore as an Extension Faisal Salman 2023-04-24 13:49:47 +07:00
  • 9102871dea Rearrange the structure of src folders Faisal Salman 2023-04-21 09:47:51 +07:00
  • 1653d376ca Update issue templates Faisal Salman 2023-04-15 13:45:31 +07:00
  • 29fb85658a Fix #643 - Improve iOS detection + detect Slack (&Slackbot) Faisal Salman 2023-04-15 01:08:46 +07:00
  • c3be7326b8 Update GitHub package action - change trigger to 'published' Faisal Salman 2023-04-15 00:01:15 +07:00
  • 5a26ac146e Create build+test scripts Faisal Salman 2023-04-14 23:43:09 +07:00
  • 35c2b91534 Fix: accept empty string as input Faisal Salman 2023-04-14 15:36:37 +07:00
  • feefb81cd0 Bump shelljs and jshint dependabot[bot] 2023-04-13 00:20:02 +00:00
  • 0ac5028137 Rename workflows for clarity Faisal Salman 2023-04-13 07:07:34 +07:00
  • 1b17315935 Create action to review dependencies from PR Faisal Salman 2023-04-13 06:56:27 +07:00
  • f92bb9ef65 Insert scorecard badge & documentation link Faisal Salman 2023-04-13 06:37:59 +07:00
  • f659659500 Set CodeQL permission to read-only Faisal Salman 2023-04-13 06:24:11 +07:00
  • 6c58ac39cd Update security policy Faisal Salman 2023-04-13 05:58:06 +07:00
  • 432a2ee72d Pin dependency hash with lockfile & test with lockfile-lint Faisal Salman 2023-04-13 05:04:16 +07:00
  • c2f17004b8 Add GitHub's CodeQL Action for static code analysis Faisal Salman 2023-04-13 06:08:52 +07:00
  • f5af76a2b3 Create GitHub packaging workflow Faisal Salman 2023-04-12 13:16:41 +07:00
  • 99baf60d50 Fix #608 - Add OpenSSF Scorecard GitHub Action Faisal Salman 2023-04-12 11:48:00 +07:00
  • 47c87992e0 Add tiny analytics Faisal Salman 2023-04-12 01:30:44 +07:00
  • 41a254bfe4 Move docs to another repo Faisal Salman 2023-04-11 23:11:19 +07:00
  • 46f38adb83 Remove deploy-docs.yml - Move docs to another repo Faisal Salman 2023-04-11 23:06:26 +07:00
  • ff26813708 Update deploy-docs.yml - again Faisal Salman 2023-04-11 11:26:11 +07:00
  • e62cded083 Update deploy-docs.yml Faisal Salman 2023-04-11 11:24:11 +07:00
  • 2fb0c72898 Create deploy-docs.yml Faisal Salman 2023-04-11 10:59:46 +07:00
  • 9170c67964 Initial work for docs using VitePress Faisal Salman 2023-04-09 22:04:18 +07:00
  • 801c2409b3 Update readme & IData explanations Faisal Salman 2023-04-09 15:54:46 +07:00
  • a8951ec282 Update actions to remove cache Faisal Salman 2023-04-09 10:21:20 +07:00
  • 07c9e36ebe Update actions to install playwright & run build before test Faisal Salman 2023-04-09 10:13:08 +07:00
  • 407b23262c Update actions to v3 Faisal Salman 2023-04-09 09:04:48 +07:00
  • 16b416d9ea Move feature detection into its own method: withFeatureCheck Faisal Salman 2023-04-09 05:34:02 +07:00
  • 05747dba37 Install @playwright/test to perform test in real browser Faisal Salman 2023-04-08 09:26:07 +07:00
  • 625ece73e2 Rearrange test files & config Faisal Salman 2023-04-08 06:44:30 +07:00
  • e01663b48f Rearrange internal class & remove old Safari map Faisal Salman 2023-04-08 04:40:59 +07:00
  • 59d8d836c2 Clean up: remove travis, verup; move jshint config to inline Faisal Salman 2023-04-06 05:48:14 +07:00
  • 38a6b53883 Update to version 2.0.0-alpha.2 Faisal Salman 2023-03-29 22:44:48 +07:00
  • b385a73340 Move feature detection to its own dedicated method Faisal Salman 2023-04-05 23:29:27 +07:00
  • 4711805a1c Re-use previous result instead of re-parse it all over again Faisal Salman 2023-04-05 22:28:35 +07:00
  • 5d2acd8fe7 Bump version 2.0.0-alpha.2 2.0.0-alpha.2 Faisal Salman 2023-04-02 17:55:18 +07:00
  • d810feb844 Bump version 1.0.35 (mirror of v0.7.35) 1.0.35 Faisal Salman 2023-04-02 06:07:38 +07:00
  • 32d326b35b Update readme 0.7.35 Faisal Salman 2023-04-02 06:03:31 +07:00
  • 359cbecd32 Fix #640 - Self-return thenable causing infinite-loop when awaited Faisal Salman 2023-04-02 05:53:45 +07:00
  • 786d502b01 Bump version 0.7.35 Faisal Salman 2023-03-31 17:56:50 +07:00
  • 5b8adfef7b Backport - Prevent altering the result when supplied user-agent is different from current user-agent Faisal Salman 2023-03-31 15:54:22 +07:00
  • 2e06a34062 Backport - Add new browser: TikTok Faisal Salman 2023-03-29 05:51:35 +07:00
  • bf9ac43328 Backport - Add new engine: LibWeb + Add new OS: SerenityOS Faisal Salman 2023-03-29 04:52:26 +07:00
  • 3f8b5ba9cf Backport - Add new browser: Heytap Faisal Salman 2023-03-31 15:44:08 +07:00
  • 1747707be6 Backport - Fix #678 - Improve Yandex detection Faisal Salman 2023-03-22 11:18:52 +07:00
  • d41404551f Backport - Fix #519 #521 #616 - Improve iPhone & iOS detection Faisal Salman 2023-03-20 23:36:51 +07:00
  • ba067bd351 Backport - Fix #624 - Detect Amazon Echo Faisal Salman 2023-03-18 18:50:42 +07:00
  • 1e80cf3533 Only set browser as Chromium if no other brand was found Faisal Salman 2023-03-29 23:42:30 +07:00
  • b09878934f Prevent altering the result when supplied user-agent is different from current user-agent Faisal Salman 2023-03-29 22:52:56 +07:00
  • 30de983043 Alpha release of v2.0 Faisal Salman 2023-03-29 10:44:37 +07:00
  • 894512c72f Move some low-usage devices to extension as ExtraDevices Faisal Salman 2023-03-29 10:02:56 +07:00
  • 4af26c7a5e Add new browser: TikTok Faisal Salman 2023-03-29 05:51:35 +07:00
  • a6c85d0148 Add new engine: LibWeb + Add new OS: SerenityOS Faisal Salman 2023-03-29 04:52:26 +07:00
  • 7a4fe6f454 Fix #227 #237 #488 : Provide extensions - initial work Faisal Salman 2023-03-28 10:41:59 +07:00
  • af65fd6960 Fix #300 : Provide enums - initial work Faisal Salman 2023-03-28 06:23:19 +07:00
  • ba28d33d51 Move generated .mjs file to /src Faisal Salman 2023-03-27 22:25:17 +07:00
  • 82567c28ab Fix #639: Only check for Brave properties if given userAgent match the current userAgent Faisal Salman 2023-03-26 11:57:17 +07:00
  • e70d09a1f8 Fix #489: ARM arch detection & create test that simulates HTTP headers sent from an Apple silicon Faisal Salman 2023-03-25 07:21:17 +07:00
  • 3af8e1e272 Upon creating new item, only pass regex map thats relevant with its itemType Faisal Salman 2023-03-23 21:43:19 +07:00
  • 172f57ffea Fix #636 - Add new browser: HeyTap | Fix #248 - Add 'Mobile' prefix for mobile version of Chrome, Firefox, Safari Faisal Salman 2023-03-22 11:51:28 +07:00
  • 33f02099d1 Fix #678 - Improve Yandex detection Faisal Salman 2023-03-22 11:18:52 +07:00
  • 33df5dc698 Fix #637 - Detect Safari on iPhone as Safari Mobile Faisal Salman 2023-03-22 11:02:26 +07:00
  • 49d6422ebd Mistype in iPad detection Faisal Salman 2023-03-22 10:53:15 +07:00
  • a1d816ae21 Fix #519 #521 #616 - Improve iPhone & iOS detection Faisal Salman 2023-03-20 23:36:51 +07:00
  • 0097b211db Merge branch 'shaharmor-mobile-browsers' into develop Faisal Salman 2023-03-20 11:08:31 +07:00
  • 6b3fc3e0f1 Small refactor Faisal Salman 2023-03-20 01:17:04 +07:00
  • 08436ce4f5 Merge branch 'mobile-browsers' of https://github.com/shaharmor/ua-parser-js Faisal Salman 2023-03-19 11:05:25 +07:00
  • df1a1c7bb4 Fix #624 - Detect Amazon Echo Faisal Salman 2023-03-18 18:50:42 +07:00
  • 31f94f3a51 Fix #441 #591 - Generate ESM version of main CJS file at build time Faisal Salman 2023-03-18 17:04:43 +07:00
  • 6821276669 Fix #218 #491 #517 #518 - introduce breaking changes: "Mac OS" => "macOS", "Chromium OS" => "Chrome OS" Faisal Salman 2023-03-18 10:41:54 +07:00
  • 41f8d76968 Remove is() & toString() prototype from getResult() data Faisal Salman 2023-03-18 10:38:03 +07:00
  • c78346d3b4 Returns withClientHints() as Thenable in nodejs / non-client-hints browsers Faisal Salman 2023-03-15 23:22:34 +07:00
  • f8dde65d54 Only use user-agent data by default. Must explicitly call withClientHints() to also use client-hints data Faisal Salman 2023-03-14 23:22:08 +07:00
  • 6e98b2e975 Update to latest version 0.7.34 + display the getResult() data in user-agent playground Faisal Salman 2023-03-13 22:03:57 +07:00
  • 93a11d3c9b Create a simple test page in /test Faisal Salman 2023-03-13 21:18:07 +07:00
  • 60d3a2fbbc Create test for client hints in browser context Faisal Salman 2023-03-12 16:24:38 +07:00
  • aff5a209f8 Add new method: withClientHints() #408 #566 #588 Faisal Salman 2023-03-11 02:08:15 +07:00
  • 5672a2e15c Expose UA-CH data in getResult() Faisal Salman 2023-03-09 23:51:23 +07:00
  • bf31a2c89a Revert "Sponsorship content revision in gh-pages" Faisal Salman 2023-03-08 22:45:53 +07:00
  • 3c3c03ceeb Add new feature: read Client Hints data from HTTP Headers #408 #566 #588 Faisal Salman 2023-03-04 22:33:13 +07:00
  • a486f28732 Bump version 1.0.34 (mirror of v0.7.34) 1.0.34 Faisal Salman 2023-03-05 20:52:38 +07:00
  • 3218051f07 Bump version 0.7.34 0.7.34 Faisal Salman 2023-03-05 20:46:16 +07:00
  • 551ad88474 Add new device: Apple Watch, new os: watchOS Faisal Salman 2023-02-25 11:41:19 +07:00
  • 097f736c4d Fix #387 #554 - Detect iPadOS 13 Faisal Salman 2023-02-24 14:25:30 +07:00
  • 73c25771dc Fix #498 - Detect Brave Browser by checking navigator.brave Faisal Salman 2023-02-22 20:52:27 +07:00
  • d99ff741f4 Add new feature: ability to pass req.headers object directly into UAParser Faisal Salman 2023-02-28 14:03:09 +07:00
  • 9ee128ae2b Fix failing CI test, update funding & license year Faisal Salman 2023-02-28 12:25:57 +07:00
  • c6b4c867d5 Sponsorship content revision Faisal Salman 2023-02-28 00:10:56 +07:00
  • 707313ce39 Sponsorship content revision in gh-pages Faisal Salman 2023-02-28 00:38:12 +07:00
  • f1449a8202 Refactor Faisal Salman 2023-02-26 18:27:55 +07:00
  • 18730452f2 Add new device: Apple Watch, new os: watchOS Faisal Salman 2023-02-25 11:41:19 +07:00
  • 5ea9f0ec16 Fix #387 #554 - Detect iPadOS 13 Faisal Salman 2023-02-24 14:25:30 +07:00
  • 03b0a5afa6 Fix #498 - Detect Brave Browser by checking navigator.brave Faisal Salman 2023-02-22 20:52:27 +07:00
  • a04a77149e Card view must be fluid in mobile browser Faisal Salman 2023-02-22 19:09:20 +07:00
  • b442c0401f Insert sponsorship content from 51degrees in demo page Faisal Salman 2023-02-22 00:12:12 +07:00
  • d03c74d6b7 Insert sponsorship content from 51degrees Faisal Salman 2023-02-21 22:12:30 +07:00