21 Commits

Author SHA1 Message Date
Faisal Salman
f1449a8202 Refactor 2023-02-27 23:14:43 +07:00
Faisal Salman
f18516c9c8 Make sure all properties are "undefined" for is("undefined") to be true 2023-02-19 16:43:59 +07:00
Faisal Salman
96fb3a5ed5 Merge branch 'is-utility' 2023-02-19 09:30:07 +07:00
Faisal Salman
6c34c3d4fa Add new utility methods: is() & toString() 2023-02-18 20:46:28 +07:00
Faisal Salman
30ac448a0c Increase UA_MAX_LENGTH to 350 2022-07-01 00:39:36 +07:00
Faisal Salman
a29213960c Fix #561 - Increase UA_MAX_LENGTH to 275 2022-01-28 22:16:51 +07:00
Hans Ott
30648cef1d Use AST to verify whether regexes are safe 2021-10-26 11:36:19 +02:00
o.drapeza
0868e372e0 Add string check to setUA method 2021-04-02 12:52:30 +03:00
Faisal Salman
2cfd792d24 Fix #342 - Enforce all regexes to comply with safe-regex as a safeguard against possible ReDoS vulnerability 2021-03-26 19:54:32 +07:00
Faisal Salman
8c2b84fc31 Enforce maximum limit to user-agent input 2021-03-23 20:10:09 +07:00
Faisal Salman
459f3d34f5 Issue #258 0.7.15rc 2017-08-06 08:27:02 +07:00
Faisal Salman
5ae468a3d3 uastring is optional when using extensions 2017-07-01 20:28:03 +07:00
Faisal Salman
34848e8ec2 Fix #187 #171 #92 Require.js 2016-11-11 18:40:26 +07:00
Faisal Salman
97b52b2cfd Test unit for extension 2016-11-11 13:58:15 +07:00
Faisal Salman
2d885aef26 Increment patch version to 0.7.1 2014-10-15 07:09:25 +07:00
Max Maurer
d4229ed33b extended to be able to pass in own regexes 2014-10-06 17:30:52 +02:00
Davit Barbakadze
7da36bad0b Make sure that we check for all requested properties.
Only ‘version’ was checked, because of plain for loop. Switch to
forEach() and closure.
2014-05-23 21:12:26 +04:00
Faisal Salman
dc20c12b63 Add CPU test & increment minor version 2013-04-04 13:46:09 +07:00
Faisal Salman
4f2ee98dae Fix issue #14 2013-03-22 13:23:24 +07:00
Faisal Salman
acfce61942 Modularize test data 2013-03-16 03:16:34 +07:00
Faisal Salman
d063e532e3 Reorder files 2013-03-15 21:25:16 +07:00