Openstatus www.openstatus.dev

๐Ÿš€ Add missing verbs (#1260)

* ๐Ÿš€ Add missing verbs

* ci: apply automated fixes

* ๐Ÿš€ fix build

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

authored by

Thibault Le Ouay
autofix-ci[bot]
and committed by
GitHub
08b86df5 9442e1f0

+93 -26
+2 -1
apps/checker/http.go
··· 78 78 } 79 79 } 80 80 81 - if inputData.Method != http.MethodGet { 81 + // Maybe we should remove the default post to application JSON 82 + if inputData.Method == http.MethodPost { 82 83 head := req.Header 83 84 _, ok := head["Content-Type"] 84 85
+2 -2
apps/web/package.json
··· 12 12 }, 13 13 "dependencies": { 14 14 "@auth/core": "0.34.1", 15 - "@auth/drizzle-adapter": "1.7.0", 15 + "@auth/drizzle-adapter": "1.9.1", 16 16 "@google-cloud/tasks": "4.0.1", 17 17 "@hookform/resolvers": "3.9.1", 18 18 "@libsql/client": "0.14.0", ··· 64 64 "lucide-react": "0.468.0", 65 65 "nanoid": "5.0.7", 66 66 "next": "15.2.4", 67 - "next-auth": "5.0.0-beta.25", 67 + "next-auth": "5.0.0-beta.28", 68 68 "next-plausible": "3.12.4", 69 69 "next-themes": "0.2.1", 70 70 "nuqs": "2.2.3",
+4 -1
apps/web/src/components/forms/monitor/section-request-http.tsx
··· 208 208 </Button> 209 209 </div> 210 210 </div> 211 - {watchMethod === "POST" && ( 211 + {(watchMethod === "POST" || 212 + watchMethod === "PUT" || 213 + watchMethod === "PATCH" || 214 + watchMethod === "DELETE") && ( 212 215 <div className="sm:col-span-full"> 213 216 <FormField 214 217 control={form.control}
+10 -1
apps/web/src/components/ping-response-analysis/utils.ts
··· 124 124 export type Checker = z.infer<typeof checkerSchema>; 125 125 // FIXME: does not include TCP! 126 126 export type RegionChecker = z.infer<typeof regionCheckerSchema>; 127 - export type Method = "GET" | "POST" | "PUT" | "DELETE" | "HEAD"; 127 + export type Method = 128 + | "GET" 129 + | "HEAD" 130 + | "OPTIONS" 131 + | "POST" 132 + | "PUT" 133 + | "DELETE" 134 + | "PATCH" 135 + | "CONNECT" 136 + | "TRACE"; 128 137 export type CachedRegionChecker = z.infer<typeof cachedCheckerSchema>; 129 138 130 139 export async function checkRegion(
+11 -1
packages/db/src/schema/monitors/constants.ts
··· 1 - export const monitorMethods = ["GET", "POST", "HEAD"] as const; 1 + export const monitorMethods = [ 2 + "GET", 3 + "POST", 4 + "HEAD", 5 + "PUT", 6 + "DELETE", 7 + "CONNECT", 8 + "OPTIONS", 9 + "TRACE", 10 + "PATCH", 11 + ] as const; 2 12 export const monitorStatus = ["active", "error", "degraded"] as const; 3 13 4 14 export const monitorJobTypes = [
+64 -20
pnpm-lock.yaml
··· 201 201 specifier: 0.34.1 202 202 version: 0.34.1 203 203 '@auth/drizzle-adapter': 204 - specifier: 1.7.0 205 - version: 1.7.0 204 + specifier: 1.9.1 205 + version: 1.9.1 206 206 '@google-cloud/tasks': 207 207 specifier: 4.0.1 208 208 version: 4.0.1(encoding@0.1.13) ··· 357 357 specifier: 15.2.4 358 358 version: 15.2.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) 359 359 next-auth: 360 - specifier: 5.0.0-beta.25 361 - version: 5.0.0-beta.25(next@15.2.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0) 360 + specifier: 5.0.0-beta.28 361 + version: 5.0.0-beta.28(next@15.2.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0) 362 362 next-plausible: 363 363 specifier: 3.12.4 364 364 version: 3.12.4(next@15.2.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react-dom@19.1.0(react@19.1.0))(react@19.1.0) ··· 1375 1375 nodemailer: 1376 1376 optional: true 1377 1377 1378 - '@auth/core@0.37.0': 1379 - resolution: {integrity: sha512-LybAgfFC5dta3Mu3al0UbnzMGVBpZRqLMvvXupQOfETtPNlL7rXgTO13EVRTCdvPqMQrVYjODUDvgVfQM1M3Qg==} 1378 + '@auth/core@0.37.2': 1379 + resolution: {integrity: sha512-kUvzyvkcd6h1vpeMAojK2y7+PAV5H+0Cc9+ZlKYDFhDY31AlvsB+GW5vNO4qE3Y07KeQgvNO9U0QUx/fN62kBw==} 1380 1380 peerDependencies: 1381 1381 '@simplewebauthn/browser': ^9.0.1 1382 1382 '@simplewebauthn/server': ^9.0.2 ··· 1389 1389 nodemailer: 1390 1390 optional: true 1391 1391 1392 - '@auth/core@0.37.2': 1393 - resolution: {integrity: sha512-kUvzyvkcd6h1vpeMAojK2y7+PAV5H+0Cc9+ZlKYDFhDY31AlvsB+GW5vNO4qE3Y07KeQgvNO9U0QUx/fN62kBw==} 1392 + '@auth/core@0.39.1': 1393 + resolution: {integrity: sha512-McD8slui0oOA1pjR5sPjLPl5Zm//nLP/8T3kr8hxIsvNLvsiudYvPHhDFPjh1KcZ2nFxCkZmP6bRxaaPd/AnLA==} 1394 1394 peerDependencies: 1395 1395 '@simplewebauthn/browser': ^9.0.1 1396 1396 '@simplewebauthn/server': ^9.0.2 ··· 1403 1403 nodemailer: 1404 1404 optional: true 1405 1405 1406 - '@auth/drizzle-adapter@1.7.0': 1407 - resolution: {integrity: sha512-hijoZnkCf9UxiTiNgm0rw3t2JhzFyJSFRGugv9kT9zgdlUtVy7TzyW8/6Me3TPNuLXCzXW1PkPIc3zqZ/1JLdA==} 1406 + '@auth/drizzle-adapter@1.9.1': 1407 + resolution: {integrity: sha512-WQ4vtDxpo3jAPfSLJbrjFx++/lMO1HJbV7ZwzCUBEkhqYMTrqQBJhLb+vcusDu95wiekVOUCPe1y6QSNbMeeYA==} 1408 1408 1409 1409 '@aws-crypto/crc32@3.0.0': 1410 1410 resolution: {integrity: sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==} ··· 6809 6809 jose@5.9.4: 6810 6810 resolution: {integrity: sha512-WBBl6au1qg6OHj67yCffCgFR3BADJBXN8MdRvCgJDuMv3driV2nHr7jdGvaKX9IolosAsn+M0XRArqLXUhyJHQ==} 6811 6811 6812 + jose@6.0.11: 6813 + resolution: {integrity: sha512-QxG7EaliDARm1O1S8BGakqncGT9s25bKL1WSf6/oa17Tkqwi8D2ZNglqCF+DsYF88/rV66Q/Q2mFAy697E1DUg==} 6814 + 6812 6815 joycon@3.1.1: 6813 6816 resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} 6814 6817 engines: {node: '>=10'} ··· 7473 7476 nodemailer: 7474 7477 optional: true 7475 7478 7479 + next-auth@5.0.0-beta.28: 7480 + resolution: {integrity: sha512-2RDR1h3DJb4nizcd5UBBwC2gtyP7j/jTvVLvEtDaFSKUWNfou3Gek2uTNHSga/Q4I/GF+OJobA4mFbRaWJgIDQ==} 7481 + peerDependencies: 7482 + '@simplewebauthn/browser': ^9.0.1 7483 + '@simplewebauthn/server': ^9.0.2 7484 + next: ^14.0.0-0 || ^15.0.0-0 7485 + nodemailer: ^6.6.5 7486 + react: ^18.2.0 || ^19.0.0-0 7487 + peerDependenciesMeta: 7488 + '@simplewebauthn/browser': 7489 + optional: true 7490 + '@simplewebauthn/server': 7491 + optional: true 7492 + nodemailer: 7493 + optional: true 7494 + 7476 7495 next-plausible@3.12.4: 7477 7496 resolution: {integrity: sha512-cD3+ixJxf8yBYvsideTxqli3fvrB7R4BXcvsNJz8Sm2X1QN039WfiXjCyNWkub4h5++rRs6fHhchUMnOuJokcg==} 7478 7497 peerDependencies: ··· 7609 7628 7610 7629 oauth4webapi@3.1.1: 7611 7630 resolution: {integrity: sha512-0h4FZjsntbKQ5IHGM9mFT7uOwQCRdcTG7YhC0xXlWIcCch24wUa6Vggaipa3Sw6Ab7nEnmO4rctROmyuHBfP7Q==} 7631 + 7632 + oauth4webapi@3.5.1: 7633 + resolution: {integrity: sha512-txg/jZQwcbaF7PMJgY7aoxc9QuCxHVFMiEkDIJ60DwDz3PbtXPQnrzo+3X4IRYGChIwWLabRBRpf1k9hO9+xrQ==} 7612 7634 7613 7635 object-assign@4.1.1: 7614 7636 resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} ··· 7957 7979 peerDependencies: 7958 7980 preact: '>=10' 7959 7981 7982 + preact-render-to-string@6.5.11: 7983 + resolution: {integrity: sha512-ubnauqoGczeGISiOh6RjX0/cdaF8v/oDXIjO85XALCQjwQP+SB4RDXXtvZ6yTYSjG+PC1QRP2AhPgCEsM2EvUw==} 7984 + peerDependencies: 7985 + preact: '>=10' 7986 + 7960 7987 preact@10.11.3: 7961 7988 resolution: {integrity: sha512-eY93IVpod/zG3uMF22Unl8h9KkrcKIRs2EGar8hwLZZDU1lkjph303V9HZBwufh2s736U6VXuhD109LYqPoffg==} 7989 + 7990 + preact@10.24.3: 7991 + resolution: {integrity: sha512-Z2dPnBnMUfyQfSQ+GBdsGa16hz35YmLmtTLhM169uW944hYL6xzTYkJjC07j+Wosz733pMWx0fgON3JNw1jJQA==} 7962 7992 7963 7993 prebuild-install@7.1.1: 7964 7994 resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} ··· 9910 9940 preact: 10.11.3 9911 9941 preact-render-to-string: 5.2.3(preact@10.11.3) 9912 9942 9913 - '@auth/core@0.37.0': 9943 + '@auth/core@0.37.2': 9914 9944 dependencies: 9915 9945 '@panva/hkdf': 1.2.1 9916 9946 '@types/cookie': 0.6.0 ··· 9920 9950 preact: 10.11.3 9921 9951 preact-render-to-string: 5.2.3(preact@10.11.3) 9922 9952 9923 - '@auth/core@0.37.2': 9953 + '@auth/core@0.39.1': 9924 9954 dependencies: 9925 9955 '@panva/hkdf': 1.2.1 9926 - '@types/cookie': 0.6.0 9927 - cookie: 0.7.1 9928 - jose: 5.9.4 9929 - oauth4webapi: 3.1.1 9930 - preact: 10.11.3 9931 - preact-render-to-string: 5.2.3(preact@10.11.3) 9956 + jose: 6.0.11 9957 + oauth4webapi: 3.5.1 9958 + preact: 10.24.3 9959 + preact-render-to-string: 6.5.11(preact@10.24.3) 9932 9960 9933 - '@auth/drizzle-adapter@1.7.0': 9961 + '@auth/drizzle-adapter@1.9.1': 9934 9962 dependencies: 9935 - '@auth/core': 0.37.0 9963 + '@auth/core': 0.39.1 9936 9964 transitivePeerDependencies: 9937 9965 - '@simplewebauthn/browser' 9938 9966 - '@simplewebauthn/server' ··· 16121 16149 16122 16150 jose@5.9.4: {} 16123 16151 16152 + jose@6.0.11: {} 16153 + 16124 16154 joycon@3.1.1: {} 16125 16155 16126 16156 js-base64@3.7.5: {} ··· 17140 17170 next: 15.2.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) 17141 17171 react: 19.1.0 17142 17172 17173 + next-auth@5.0.0-beta.28(next@15.2.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0): 17174 + dependencies: 17175 + '@auth/core': 0.39.1 17176 + next: 15.2.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) 17177 + react: 19.1.0 17178 + 17143 17179 next-plausible@3.12.4(next@15.2.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react-dom@19.1.0(react@19.1.0))(react@19.1.0): 17144 17180 dependencies: 17145 17181 next: 15.2.4(@opentelemetry/api@1.9.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) ··· 17265 17301 oauth4webapi@2.10.4: {} 17266 17302 17267 17303 oauth4webapi@3.1.1: {} 17304 + 17305 + oauth4webapi@3.5.1: {} 17268 17306 17269 17307 object-assign@4.1.1: {} 17270 17308 ··· 17688 17726 preact: 10.11.3 17689 17727 pretty-format: 3.8.0 17690 17728 17729 + preact-render-to-string@6.5.11(preact@10.24.3): 17730 + dependencies: 17731 + preact: 10.24.3 17732 + 17691 17733 preact@10.11.3: {} 17734 + 17735 + preact@10.24.3: {} 17692 17736 17693 17737 prebuild-install@7.1.1: 17694 17738 dependencies: