Skip to content

Commit be92f74

Browse files
committed
Added StatusCake monitor.
Added test. Updated dependencies.
1 parent 2aee39d commit be92f74

File tree

4 files changed

+36
-18
lines changed

4 files changed

+36
-18
lines changed

composer.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/mappings/crawlers.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ public static function get() : array {
351351
'Site24x7' => new props('exact', $fn['monitor']),
352352
'StatusCake' => new props('exact', $fn['monitor']),
353353
'AWS Network Health' => new props('start', $fn['monitor']),
354+
'StatusCake' => new props('exact', $fn['monitor']),
354355
'adbeat.com' => new props('start', fn (string $value) : array => [
355356
'type' => 'robot',
356357
'category' => 'ads',

tests/browsersTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ public function testBrave() : void {
500500
'engineversion' => '601.1.46',
501501
'browser' => 'Brave',
502502
'browserversion' => '1.2.11',
503-
'browserreleased' => '2025-05-15'
503+
'browserreleased' => '2025-07-16'
504504
],
505505
'Mozilla/5.0 (Macintosh; Intel Mac OS X 13_4_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Brave/115.0.0.0 Safari/605.1.15' => [
506506
'string' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 13_4_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Brave/115.0.0.0 Safari/605.1.15',

tests/crawlersTest.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,6 +1441,23 @@ public function testMonitors() : void {
14411441
'appname' => 'CensysInspect',
14421442
'appversion' => '1.1',
14431443
'url' => 'https://about.censys.io/'
1444+
],
1445+
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 (StatusCake)' => [
1446+
'string' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 (StatusCake)',
1447+
'type' => 'robot',
1448+
'category' => 'monitor',
1449+
'architecture' => 'x86',
1450+
'bits' => 64,
1451+
'kernel' => 'Windows NT',
1452+
'platform' => 'Windows',
1453+
'platformversion' => '10',
1454+
'engine' => 'Blink',
1455+
'engineversion' => '129.0.0.0',
1456+
'browser' => 'Chrome',
1457+
'browserversion' => '129.0.0.0',
1458+
'browserreleased' => '2024-10-15',
1459+
'app' => 'Status Cake',
1460+
'appname' => 'StatusCake'
14441461
]
14451462
];
14461463
foreach ($strings AS $ua => $item) {

0 commit comments

Comments
 (0)