PatchBot/modules/Deno.php
Steffen Lange 11ebe569d3 Add Deno
2025-11-16 18:48:56 +01:00

14 lines
317 B
PHP

<?php
class Deno extends PatchBase {
function __construct() {
parent::__construct('Deno Land Inc.', 'Deno', 'https://deno.com/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/denoland/deno/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>