161 Commits

Author SHA1 Message Date
Faisal Salman
d6d8ac7cb4 Fix #692 - Improve TS module resolution (#702) 2024-01-24 09:56:23 +07:00
Faisal Salman
e4f2463849 Create declaration file .d.ts for extensions submodule 2023-11-30 11:27:54 +07:00
dependabot[bot]
2046fe5209
Bump @babel/traverse from 7.15.4 to 7.23.2 (#684)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.15.4 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 10:46:31 +07:00
Danila Rodichkin
26f7e7d59e
Add "types" inside "exports" of package.json, fix ./helpers import typo (#688) 2023-11-06 14:05:06 +07:00
Faisal Salman
f8f71c65d4 Add new helpers submodule 2023-10-24 11:17:32 +07:00
Faisal Salman
46ff3df974 Update readme 2023-10-19 23:22:31 +07:00
Faisal Salman
ac282df13e Update version to 2.0.0-beta.1 2023-10-02 15:11:31 +07:00
Faisal Salman
5a0d9cc3d0 Fix #655 - Provide in-package type definitions 2023-10-02 14:54:32 +07:00
Faisal Salman
954ce35755 Add CONTRIBUTING.md - general instruction for contributors 2023-09-29 08:26:40 +07:00
Faisal Salman
b5546ee39f Breaking change: switch license to AGPLv3 2023-09-26 11:35:14 +07:00
Faisal Salman
bf1d7267f6 Update contributors 2023-09-16 17:56:50 +07:00
Faisal Salman
5226361348 Remove sub-packages since they've been moved to their own dedicated repo
https://github.com/faisalman/ua-client-hints-js
https://github.com/faisalman/gpu-detect-js
https://github.com/faisalman/ua-is-frozen
https://github.com/faisalman/re-parse-js
2023-09-09 19:35:52 +07:00
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
73a936001a Modify ua-parser-js/helpers submodule into @ua-parser-js/helpers scoped package 2023-08-21 11:28:30 +07:00
Faisal Salman
d168b75a3a Bump version 2.0.0-alpha.3 2023-08-17 11:29:18 +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
Faisal Salman
df9144b493 Modify test scripts 2023-05-06 19:53:51 +07:00
Faisal Salman
3d5c70457e Fuzz testing using Jazzer.js 2023-04-27 09:34:49 +07:00
Faisal Salman
9102871dea Rearrange the structure of src folders 2023-04-21 09:47:51 +07:00
Faisal Salman
5a26ac146e Create build+test scripts 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
432a2ee72d Pin dependency hash with lockfile & test with lockfile-lint 2023-04-13 06:16:01 +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
59d8d836c2 Clean up: remove travis, verup; move jshint config to inline 2023-04-06 05:48:14 +07:00
Faisal Salman
5d2acd8fe7 Bump version 2.0.0-alpha.2 2023-04-02 18:00:48 +07:00
Faisal Salman
30de983043 Alpha release of v2.0 2023-03-29 10:44:37 +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
6b3fc3e0f1 Small refactor 2023-03-20 11:05:42 +07:00
Faisal Salman
31f94f3a51 Fix #441 #591 - Generate ESM version of main CJS file at build time 2023-03-18 17:41:42 +07:00
Faisal Salman
9ee128ae2b Fix failing CI test, update funding & license year 2023-02-28 12:26:21 +07:00
Faisal Salman
f2d0db001d Bump version 0.7.33 2023-01-22 22:26:12 +07:00
Faisal Salman
d11fc47dc9 Bump version 0.7.32 2022-10-15 16:15:14 +07:00
XhmikosR
18a4e5ade2
package.json: specify the folders to include 2022-03-24 08:07:30 +02:00
Faisal Salman
97f3368ef0 Bump version 0.7.31 2021-10-27 14:00:19 +07:00
Hans Ott
30648cef1d Use AST to verify whether regexes are safe 2021-10-26 11:36:19 +02:00
Faisal Salman
29d5e43342 Securing the 1.x version (issue #536) 2021-10-22 23:25:44 +07:00
Faisal Salman
051aa5d284 Securing the 0.8.x version (issue #536) 2021-10-22 23:23:12 +07:00
Faisal Salman
139fbc321a Securing the 0.7.x version (issue #536) 2021-10-22 23:14:37 +07:00
Faisal Salman
75620c7b6c Merge branch 'master' into develop 2021-04-12 12:12:10 +07:00
Faisal Salman
1d3c98a10c Revert breaking fix #279 and release as 0.7.28 2021-04-10 21:39:40 +07:00
Faisal Salman
6c671dd246 Refactor code: saving bytes towards 15KB minified 2021-04-08 20:44:13 +07:00
Faisal Salman
acc0b91ff5 Update contributor list 2021-04-05 23:32:15 +07:00
Faisal Salman
f95aced43b Release as 0.7.27 2021-04-02 18:18:49 +07:00
Faisal Salman
a6b0c165c4 Release as 0.7.26 2021-03-27 02:43:24 +07:00