Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"superjson": "2.2.2",
"tailwind-merge": "3.3.1",
"unified": "11.0.5",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@tailwindcss/postcss": "4.1.11",
Expand Down
2 changes: 1 addition & 1 deletion apps/screenshot-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@upstash/qstash": "2.6.2",
"hono": "4.5.3",
"playwright": "1.46.0",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@hono/sentry": "1.2.0",
"@hono/zod-openapi": "0.15.1",
"@hono/zod-openapi": "1.1.4",
"@hono/zod-validator": "0.2.2",
"@openstatus/analytics": "workspace:*",
"@openstatus/assertions": "workspace:*",
Expand All @@ -33,7 +33,7 @@
"nanoid": "5.0.7",
"percentile": "1.6.0",
"validator": "13.12.0",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/routes/v1/check/http/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const ResponseSchema = z.object({
.optional()
.openapi({ description: "The body of the response" }),
headers: z
.record(z.string())
.record(z.string(), z.string())
.optional()
.openapi({ description: "The headers of the response" }),
timing: TimingSchema.openapi({
Expand Down
10 changes: 7 additions & 3 deletions apps/server/src/routes/v1/monitors/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,13 @@ export const MonitorSchema = z
.openapi({
description: "The endpoint of the OpenTelemetry collector",
}),
headers: z.record(z.string()).optional().default({}).openapi({
description: "The headers to send to the OpenTelemetry collector",
}),
headers: z
.record(z.string(), z.string())
.optional()
.default({})
.openapi({
description: "The headers to send to the OpenTelemetry collector",
}),
})
.optional()
.openapi({
Expand Down
2 changes: 1 addition & 1 deletion apps/status-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"superjson": "2.2.2",
"tailwind-merge": "3.3.1",
"unified": "11.0.5",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@tailwindcss/postcss": "4.1.11",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"superjson": "1.13.3",
"tailwind-merge": "1.14.0",
"tailwindcss-animate": "1.0.7",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@content-collections/core": "0.7.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/ping-response-analysis/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const checkerSchema = z.object({
state: z.literal("success").default("success"),
status: z.number(),
latency: z.number(),
headers: z.record(z.string()),
headers: z.record(z.string(), z.string()),
timestamp: z.number(),
timing: timingSchema,
body: z.string().optional().nullable(),
Expand Down
2 changes: 1 addition & 1 deletion apps/workflows/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"drizzle-orm": "0.44.4",
"hono": "4.5.3",
"limiter": "^3.0.0",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@openpanel/sdk": "1.0.0",
"@t3-oss/env-core": "0.7.1",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"random-word-slugs": "0.1.7",
"stripe": "13.8.0",
"superjson": "1.13.3",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/router/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const httpOutput = z
type: z.literal("http").default("http"),
status: z.number(),
latency: z.number(),
headers: z.record(z.string()),
headers: z.record(z.string(), z.string()),
timestamp: z.number(),
timing: z.object({
dnsStart: z.number(),
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/router/stripe/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const webhookProcedure = publicProcedure.input(
account: z.string().nullish(),
created: z.number(),
data: z.object({
object: z.record(z.any()),
object: z.record(z.string(), z.any()),
}),
type: z.string(),
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/assertions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
"typescript": "5.7.2",
"zod": "3.24.2"
"zod": "4.1.12"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@t3-oss/env-core": "0.7.1",
"drizzle-orm": "0.44.4",
"drizzle-zod": "0.5.1",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/db/src/schema/invitations/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { z } from "zod";
import { invitation } from "./invitation";

export const insertInvitationSchema = createInsertSchema(invitation, {
email: z.string().email(),
email: z.email(),
});

export const selectInvitationSchema = createSelectSchema(invitation);
Expand Down
4 changes: 2 additions & 2 deletions packages/db/src/schema/maintenances/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { maintenance } from "./maintenance";
export const insertMaintenanceSchema = createInsertSchema(maintenance)
.extend({
// REMINDER: trick to make the react-hook-form controlled but not allow empty string
title: z.string().min(1, { message: "Required" }),
message: z.string().min(1, { message: "Required" }),
title: z.string().min(1, { error: "Required" }),
message: z.string().min(1, { error: "Required" }),

monitors: z.number().array().default([]).optional(),
})
Expand Down
2 changes: 1 addition & 1 deletion packages/db/src/schema/notifications/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const ntfyDataSchema = z.object({
});
export const webhookDataSchema = z.object({
webhook: z.object({
endpoint: z.string().url(),
endpoint: z.url(),
headers: z
.array(z.object({ key: z.string(), value: z.string() }))
.optional(),
Expand Down
2 changes: 1 addition & 1 deletion packages/db/src/schema/page_subscribers/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { z } from "zod";
import { pageSubscriber } from "./page_subscribers";

export const insertPageSubscriberSchema = createInsertSchema(pageSubscriber, {
email: z.string().email(),
email: z.email(),
});

export const selectPageSubscriberSchema = createSelectSchema(pageSubscriber);
Expand Down
2 changes: 1 addition & 1 deletion packages/emails/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@t3-oss/env-core": "0.7.1",
"react-email": "4.0.17",
"resend": "4.6.0",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.ts",
"scripts": {},
"dependencies": {
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/notifications/discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "src/index.ts",
"dependencies": {
"@openstatus/db": "workspace:*",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/notifications/email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@react-email/render": "1.0.6",
"@t3-oss/env-core": "0.7.0",
"resend": "4.0.1",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/notifications/ntfy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "src/index.ts",
"dependencies": {
"@openstatus/db": "workspace:*",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/notifications/opsgenie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@t3-oss/env-core": "0.7.1",
"@types/validator": "13.11.6",
"validator": "13.12.0",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/notifications/pagerduty/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@t3-oss/env-core": "0.7.1",
"@types/validator": "13.11.6",
"validator": "13.12.0",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/notifications/slack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "src/index.ts",
"dependencies": {
"@openstatus/db": "workspace:*",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/notifications/twillio-sms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@openstatus/db": "workspace:*",
"@t3-oss/env-core": "0.7.1",
"validator": "13.12.0",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/notifications/webhook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"@openstatus/db": "workspace:*",
"@openstatus/utils": "workspace:*",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/regions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.ts",
"scripts": {},
"dependencies": {
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/tinybird/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"dependencies": {
"@chronark/zod-bird": "0.3.6",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/tracker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"@openstatus/db": "workspace:*",
"@openstatus/tinybird": "workspace:*",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"recharts": "2.15.0",
"tailwind-merge": "2.5.5",
"tailwindcss-animate": "1.0.7",
"zod": "3.24.2"
"zod": "4.1.12"
},
"peerDependencies": {
"next-themes": "0.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const httpPayloadSchema = z.object({
otelConfig: z
.object({
endpoint: z.string(),
headers: z.record(z.string()),
headers: z.record(z.string(), z.string()),
})
.optional(),
retry: z.number().default(3),
Expand All @@ -41,7 +41,7 @@ export const tpcPayloadSchema = z.object({
otelConfig: z
.object({
endpoint: z.string(),
headers: z.record(z.string()),
headers: z.record(z.string(), z.string()),
})
.optional(),
retry: z.number().default(3),
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@openstatus/assertions": "workspace:*",
"@openstatus/db": "workspace:*",
"@openstatus/regions": "workspace:*",
"zod": "3.24.2"
"zod": "4.1.12"
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
Expand Down
Loading
Loading