Skip to content

Open-source status page, incident response and uptime monitoring

🔥 Add rum (#777)

Thibault Le Ouay6a7212b10531
diff --git a/apps/ingest-worker/package.json b/apps/ingest-worker/package.json
index 8d2811aac..ee9678832 100644
--- a/apps/ingest-worker/package.json
+++ b/apps/ingest-worker/package.json
@@ -13,8 +13,8 @@
},
"devDependencies": {
"@biomejs/biome": "1.6.3",
- "@cloudflare/workers-types": "^4.20240320.1",
+ "@cloudflare/workers-types": "4.20240405.0",
"typescript": "5.4.3",
- "wrangler": "3.37.0"
+ "wrangler": "3.51.2"
}
}
diff --git a/apps/ingest-worker/src/index.ts b/apps/ingest-worker/src/index.ts
index a5ffe1462..b25119cb9 100644
--- a/apps/ingest-worker/src/index.ts
+++ b/apps/ingest-worker/src/index.ts
@@ -1,6 +1,6 @@
-import { zValidator } from "@hono/zod-validator";
import { browserName, detectOS } from "detect-browser";
import { Hono } from "hono";
+import { env } from "hono/adapter";
import { z } from "zod";
type Bindings = {
@@ -11,12 +11,14 @@ const app = new Hono<{ Bindings: Bindings }>();
const schema = z.object({
dsn: z.string(),
- event_name: z.string(),
+ name: z.string(),
href: z.string(),
id: z.string(),
speed: z.string(),
path: z.string(),
+ rating: z.string().optional(),
value: z.number(),
+ screen: z.string(),
});
const chSchema = schema.extend({
@@ -27,35 +29,39 @@ const chSchema = schema.extend({
device: z.string().default(""),
region_code: z.string().default(""),
timezone: z.string().default(""),
- language: z.string(),
os: z.string(),
- page: z.string(),
+ path: z.string(),
screen: z.string(),
+ event_name: z.string(),
});
app.get("/", (c) => {
return c.text("Hello OpenStatus!");
});
-app.post("/", zValidator("json", z.array(schema)), async (c) => {
- const data = c.req.valid("json");
+app.post("/", async (c) => {
+ const rawText = await c.req.text();
+ const data = z.array(schema).parse(JSON.parse(rawText));
const userAgent = c.req.header("user-agent") || "";
const country = c.req.header("cf-ipcountry") || "";
- const city = c.req.header("cf-ipcity") || "";
- const region_code = c.req.header("cf-region-code") || "";
- const timezone = c.req.header("cf-timezone") || "";
+ const city = c.req.raw?.cf?.city || "";
+ const region_code = c.req.raw.cf?.regionCode || "";
+ const timezone = c.req.raw.cf?.timezone || "";
const browser = browserName(userAgent) || "";
+ const continent = c.req.raw.cf?.continent || "";
const os = detectOS(userAgent) || "";
const payload = data.map((d) => {
return chSchema.parse({
...d,
+ event_name: d.name,
browser,
country,
city,
timezone,
region_code,
+ continent,
os,
});
});
@@ -63,16 +69,23 @@ app.post("/", zValidator("json", z.array(schema)), async (c) => {
const insert = async () => {
const res = [];
for (const p of payload) {
- const r = fetch(c.env.API_ENDPOINT, {
+ const { API_ENDPOINT } = env(c);
+ console.log();
+
+ console.log(" data :" + JSON.stringify(p));
+ const r = fetch(API_ENDPOINT, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify(p),
});
+
res.push(r);
}
await Promise.allSettled(res);
+ // console.log(pro);
+ console.log("Inserted");
};
c.executionCtx.waitUntil(insert());
return c.json({ status: "ok" }, 200);
diff --git a/apps/ingest-worker/wrangler.toml b/apps/ingest-worker/wrangler.toml
index b6d53a3a1..ea4afd94c 100644
--- a/apps/ingest-worker/wrangler.toml
+++ b/apps/ingest-worker/wrangler.toml
@@ -1,10 +1,9 @@
name = "ingest-workers"
-compatibility_date = "2023-12-01"
+compatibility_date = "2024-04-03"
+[env.dev.vars]
+API_ENDPOINT = "http://localhost:8080/vitals"
-[env.dev]
-vars = { API_ENDPOINT = "http://localhost:8080/vitals" }
-
-[env.production]
-vars = { API_ENDPOINT = "https://vitals.openstatus.dev/vitals" }
+[env.production.vars]
+API_ENDPOINT = "https://vitals.openstatus.dev/v1/proxy/cloudflare"
diff --git a/apps/rum-server/cmd/main.go b/apps/rum-server/cmd/main.go
index d08381a21..56bcded76 100644
--- a/apps/rum-server/cmd/main.go
+++ b/apps/rum-server/cmd/main.go
@@ -54,11 +54,11 @@ func main() {
v1 := router.Group("/v1")
router.GET("/health", func(c *gin.Context) {
- err := chClient.Ping(c.Request.Context())
- if err != nil {
- c.JSON(http.StatusInternalServerError, gin.H{"message": "error"})
- return
- }
+ // err := chClient.Ping(c.Request.Context())
+ // if err != nil {
+ // c.JSON(http.StatusInternalServerError, gin.H{"message": "error"})
+ // return
+ // }
c.JSON(http.StatusOK, gin.H{"message": "pong", "fly_region": flyRegion})
})
v1.POST("/vitals", func(c *gin.Context) {
@@ -102,7 +102,6 @@ func main() {
c.JSON(http.StatusBadRequest, gin.H{"error": "invalid request"})
return
}
-
// Check if dsn exists
_, err := turso.GetCurrentWorkspace(sqlClient, req.DSN)
if err != nil {
@@ -111,11 +110,10 @@ func main() {
}
value := fmt.Sprintf(`INSERT INTO cwv VALUES (
- now('Etc/UTC'), '%s','%s', '%s', '%s','%s','%s','%s','%s','%s','%s','%s','%s', '%s','%s','%s','%s', %f
- )`, req.Browser, req.City, req.Continent, req.Country, req.DSN, req.Device, req.EventName, req.Href, req.ID, req.Language, req.OS, req.Path, req.RegionCode, req.Screen, req.Speed, req.Timezone, req.Value)
+ now('Etc/UTC'), '%s','%s', '%s', '%s','%s','%s','%s','%s','%s', '%s','%s','%s','%s', '%s','%s','%s','%s', %f
+ )`, req.Browser, req.City, req.Continent, req.Country, req.DSN, req.Device, req.EventName, req.Href, req.ID, req.Language, req.OS, req.Path, req.Rating, req.RegionCode, req.Screen, req.Speed, req.Timezone, req.Value)
fmt.Println(value)
err = chClient.AsyncInsert(ctx, value, true)
-
if err != nil {
log.Ctx(ctx).Error().Err(err).Msg("failed to decode checker request")
c.JSON(http.StatusBadRequest, gin.H{"error": "invalid request"})
diff --git a/apps/rum-server/request/request.go b/apps/rum-server/request/request.go
index 4ad001c74..4b8df7cbe 100644
--- a/apps/rum-server/request/request.go
+++ b/apps/rum-server/request/request.go
@@ -6,6 +6,7 @@ type WebVitalsRequest struct {
Href string `json:"href"`
ID string `json:"id"`
Path string `json:"path"`
+ Rating string `json:"rating"`
Speed string `json:"speed"`
Value float64 `json:"value"`
}
@@ -16,6 +17,7 @@ type CloudflareRequestProxy struct {
Href string `json:"href"`
ID string `json:"id"`
Path string `json:"path"`
+ Rating string `json:"rating"`
Speed string `json:"speed"`
Value float64 `json:"value"`
Language string `json:"language"`
diff --git a/apps/web/package.json b/apps/web/package.json
index 6d7b9fa10..82634c851 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -22,6 +22,7 @@
"@openstatus/notification-discord": "workspace:*",
"@openstatus/notification-emails": "workspace:*",
"@openstatus/notification-slack": "workspace:*",
+ "@openstatus/next-monitoring": "0.0.2",
"@openstatus/plans": "workspace:*",
"@openstatus/react": "workspace:*",
"@openstatus/tinybird": "workspace:*",
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx
index 0ec6036a9..e74c809cf 100644
--- a/apps/web/src/app/layout.tsx
+++ b/apps/web/src/app/layout.tsx
@@ -4,6 +4,7 @@ import type { Metadata } from "next";
import { Inter } from "next/font/google";
import LocalFont from "next/font/local";
+import { OpenStatusProvider } from "@openstatus/next-monitoring";
import { Toaster } from "@openstatus/ui";
import {
@@ -41,6 +42,7 @@ export default function RootLayout({
return (
<html lang="en">
<body className={`${inter.className} ${calSans.variable}`}>
+ <OpenStatusProvider dsn="openstatus" />
<ThemeProvider attribute="class" defaultTheme="light" enableSystem>
<Background>{children}</Background>
<Toaster richColors />
diff --git a/packages/db/clickhouse/schema.sql b/packages/db/clickhouse/schema.sql
index bf6c7b0a9..6d7a06967 100644
--- a/packages/db/clickhouse/schema.sql
+++ b/packages/db/clickhouse/schema.sql
@@ -1,4 +1,4 @@
CREATE OR REPLACE TABLE cwv
-(event_date datetime, browser String, city String, continent String, country String, dsn String, device String, event_name String, href String, id String, language String, os String, path String, region_code String, screen String, speed String, timezone String, value Float64)
+(event_date datetime, browser String, city String, continent String, country String, dsn String, device String, event_name String, href String, id String, language String, os String, path String, rating String, region_code String, screen String, speed String, timezone String, value Float64)
ENGINE MergeTree()
ORDER BY (id)
\ No newline at end of file
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 02c26966f..d887edc50 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -57,14 +57,14 @@ importers:
specifier: 1.6.3
version: 1.6.3
'@cloudflare/workers-types':
- specifier: ^4.20240320.1
- version: 4.20240403.0
+ specifier: 4.20240405.0
+ version: 4.20240405.0
typescript:
specifier: 5.4.3
version: 5.4.3
wrangler:
- specifier: 3.37.0
+ specifier: 3.51.2
apps/screenshot-service:
dependencies:
@@ -88,7 +88,7 @@ importers:
drizzle-orm:
specifier: 0.30.7
hono:
specifier: 4.2.2
version: 4.2.2
@@ -254,6 +254,9 @@ importers:
'@openstatus/emails':
specifier: workspace:*
version: link:../../packages/emails
+ '@openstatus/next-monitoring':
+ specifier: 0.0.2
'@openstatus/notification-discord':
specifier: workspace:*
version: link:../../packages/notifications/discord
@@ -626,10 +629,10 @@ importers:
version: 16.3.1
drizzle-orm:
specifier: 0.30.7
drizzle-zod:
specifier: 0.5.1
zod:
specifier: 3.22.4
version: 3.22.4
@@ -1497,22 +1500,16 @@ packages:
resolution: {integrity: sha512-HwIdiGs3ls2mKVDm3hoobEYnH4p4K5UrxeFGklDzKALR3cHBWv6zryNCVkK4i/LYCbaCZCnQx+3vtBUqynii4Q==}
engines: {node: '>=14.1.0'}
- '@cloudflare/[email protected]':
- resolution: {integrity: sha512-ioG5k2M17xyiAlK/k3L21NZLMVeSHMjwlmGtZyCyzSLL5/zGINcgZ5yPLV0UuWiysw07/6Jjzm5Sx94hzMVybg==}
- engines: {node: '>=16'}
- cpu: [x64]
- os: [darwin]
-
'@cloudflare/[email protected]':
resolution: {integrity: sha512-gBsoGFHCkC3tfAmr/jr6UEKEyIIeNEvfbRSIJrrkkuJ8wqqkWGZB6pmKx5lfQDvQO8R+8PgcI4pduP0NY35s/Q==}
engines: {node: '>=16'}
cpu: [x64]
os: [darwin]
- '@cloudflare/[email protected]':
- resolution: {integrity: sha512-Ga6RDdnFEIsN4WuWsaP9bLGvK9K7pEIVoSIgmw6vweVlD8UK/a2MPGrsF1ogwdeCTCOMY8wUh9poL/Yu48IPpg==}
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-ut8kwpHmlz9dNSjoov6v1b6jS50J46Mj9QcMA0t1Hne36InaQk/qqPSd12fN5p2GesZ9OOBJvBdDsTblVdyJ1w==}
engines: {node: '>=16'}
- cpu: [arm64]
+ cpu: [x64]
os: [darwin]
'@cloudflare/[email protected]':
@@ -1521,11 +1518,11 @@ packages:
cpu: [arm64]
os: [darwin]
- '@cloudflare/[email protected]':
- resolution: {integrity: sha512-KFof5H8eU0NXv+pUAU7Lk/OLtOmfsioTJqu0v6kPL7QsTGsgzj5sEQNcQ8DONSze549Yflu5W00qpA2cPz9eWQ==}
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-x3A3Ym+J2DH1uYnw0aedeKOTnUebEo312+Aladv7bFri97pjRJcqVbYhMtOHLkHjwYn7bpKSY2eL5iM+0XT29A==}
engines: {node: '>=16'}
- cpu: [x64]
- os: [linux]
+ cpu: [arm64]
+ os: [darwin]
'@cloudflare/[email protected]':
resolution: {integrity: sha512-MS+Mg7MtXEH6ZFJcrGreSqDe+vU9hRZt8AZdhIVkQKDOCS6AjmBTEz6r6tj1iGLMLei4pEZegyXwf06clSR9Og==}
@@ -1533,10 +1530,10 @@ packages:
cpu: [x64]
os: [linux]
- '@cloudflare/[email protected]':
- resolution: {integrity: sha512-t+kGc6dGdkKvVMGcHCPhlCsUZF5dj8xbAFvLB7DAJ8T79ys30rmY2Lu/C8vKlhjH9TJhbzgKmPaJ0wC/K4euvw==}
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-3tYpfjtxEQ0R30Pna7OF3Bz0CTx30hc0QNtH61KnkvXtaeYMkWutSKQKXIuVlPa/7v1MHp+8ViBXMflmS7HquA==}
engines: {node: '>=16'}
- cpu: [arm64]
+ cpu: [x64]
os: [linux]
'@cloudflare/[email protected]':
@@ -1545,11 +1542,11 @@ packages:
cpu: [arm64]
os: [linux]
- '@cloudflare/[email protected]':
- resolution: {integrity: sha512-9xDylCOsuzWqGuANkuUByiJ5RHeMqgw37FiI7rn8I6zdGAc/alOB9B4Bh7B73WC2uEpFL+XCEjcHZ6NmsO4NaQ==}
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-NpKZlvmdgcX/m4tP5zM91AfJpZrue2/GRA+Sl3szxAivu2uE5jDVf5SS9dzqzCVfPrdhylqH7yeL4U/cafFNOg==}
engines: {node: '>=16'}
- cpu: [x64]
- os: [win32]
+ cpu: [arm64]
+ os: [linux]
'@cloudflare/[email protected]':
resolution: {integrity: sha512-5FGyjzDAoUaU15GhUAGXWzOOlbCLdiDHatnjl6XY0Mbiu3ik5lz592L15QkFnNVc9a3lZGGCIsfYW2sq2R01VQ==}
@@ -1557,9 +1554,18 @@ packages:
cpu: [x64]
os: [win32]
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-REBeJMxvUCjwuEVzSSIBtzAyM69QjToab8qBst0S9vdih+9DObym4dw8CevdBQhDbFrHiyL9E6pAZpLPNHVgCw==}
+ engines: {node: '>=16'}
+ cpu: [x64]
+ os: [win32]
+
'@cloudflare/[email protected]':
resolution: {integrity: sha512-j2GRddQ5oMF/Y7JWn333JYyMKGla+gV9hFp0nQMm6a+BQccmslkF1keYOrE+dpvsa1pDu11rjC06t9LbJ2uwcQ==}
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-sEVOhyOgXUwfLkgHqbLZa/sfkSYrh7/zLmI6EZNibPaVPvAnAcItbNNl3SAlLyLKuwf8m4wAIAgu9meKWCvXjg==}
+
'@commander-js/[email protected]':
resolution: {integrity: sha512-v0BqORYamk1koxDon6femDGLWSL7P78vYTyOU5nFaALnmNALL+ktgdHvWbxzzBBJIKS7kv3XvM/DqNwiLcgFTA==}
peerDependencies:
@@ -2577,6 +2583,12 @@ packages:
'@one-ini/[email protected]':
resolution: {integrity: sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==}
+ '@openstatus/[email protected]':
+ resolution: {integrity: sha512-w5xuvAM2UfLPEIoGqhh9hgXF4ChHhbF6J+gDZz3vZOYHPmFfUpMxq597kJ0e/hxNC3rQ8bRbhOtpUNXD2Rnnug==}
+ peerDependencies:
+ next: '>=14.0.0'
+ react: '>=18.2.0'
+
'@opentelemetry/[email protected]':
resolution: {integrity: sha512-9BJ8lMcOzEN0lu+Qji801y707oFO4xT3db6cosPvl+k7ItUHKN5ofWqtSbM9gbt1H4JJ/4/2TVrqI9Rq7hNv6Q==}
engines: {node: '>=14'}
@@ -4001,6 +4013,9 @@ packages:
resolution: {integrity: sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
+
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
@@ -4679,6 +4694,10 @@ packages:
resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==}
engines: {node: '>=14'}
+ resolution: {integrity: sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
engines: {node: '>= 6'}
@@ -6686,13 +6705,13 @@ packages:
resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==}
engines: {node: '>=4'}
- resolution: {integrity: sha512-4M2QRxs+J5sUsybBzKT++tlbrjjjGZdtWxKmj2sqLsT26dGaKDz7DxjAeF5XIhKa5cADcffygjxx4EvfWocMmw==}
+ resolution: {integrity: sha512-4xoBRu60+7iCKRn6zZ/SiqP+U2FQ74LZymoZHhEcY3y62zHNRNKf8s9jsL/ooDtyQoAOKx9W5TjTGqDmOS5vfQ==}
engines: {node: '>=16.13'}
hasBin: true
- resolution: {integrity: sha512-4xoBRu60+7iCKRn6zZ/SiqP+U2FQ74LZymoZHhEcY3y62zHNRNKf8s9jsL/ooDtyQoAOKx9W5TjTGqDmOS5vfQ==}
+ resolution: {integrity: sha512-n/V5m9GVMN37U5gWdrNXKx2d1icLXtcIKcxWtLslH4RTaebZJdSRmp12UHyuQsKlaSpTkNqyzLVtCEgt2bhRSA==}
engines: {node: '>=16.13'}
hasBin: true
@@ -7645,6 +7664,10 @@ packages:
resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==}
+ resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
@@ -8123,6 +8146,11 @@ packages:
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
+ resolution: {integrity: sha512-apX5qG2+NA66j7b4AJm8q/DpdTeOsjfh7A3LpKsUiil0FepkNwtN28zYgjrsiiya2/OPhsr/PSjX5FUYg79rCg==}
+ engines: {node: '>=10.0.0'}
+ hasBin: true
+
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true
@@ -8566,32 +8594,32 @@ packages:
resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==}
- resolution: {integrity: sha512-nuavAGGjh0qqM6RF5zxTHyUwEqdLCHchodbrpbh/xlJpFGnJVY5C1YgSi2S9aLkJJoa0/25Ta/+EzXEbApA/3w==}
+ resolution: {integrity: sha512-OcUPNNIUn4dC3dyRc/W6sTPjgFjJQVpbqpMCx7RmAzVrEzB+nJlz25FZr5alxIG5769UmzvMB1wlK/hMddHk0w==}
engines: {node: '>=16'}
hasBin: true
- resolution: {integrity: sha512-OcUPNNIUn4dC3dyRc/W6sTPjgFjJQVpbqpMCx7RmAzVrEzB+nJlz25FZr5alxIG5769UmzvMB1wlK/hMddHk0w==}
+ resolution: {integrity: sha512-AWrOSBh4Ll7sBWHuh0aywm8hDkKqsZmcwnDB0PVGszWZM5mndNBI5iJ/8haXVpdoyqkJQEVdhET9JDi4yU8tRg==}
engines: {node: '>=16'}
hasBin: true
- resolution: {integrity: sha512-dffPF92EApW77lIYXxz0DMoMm2LPMlFNlgrQ0jNj7g7Mm/AaogtSuY7jXNLSeoniYNHL/57V7wlVBn82aYIqyg==}
+ resolution: {integrity: sha512-aptr+g+ohgJLemIEoAVejcqnfnQWk248nkIyYxGDh8ohlDjQlo1vO0/mWiyqPUsmWOxl0Yr3jdZMtfi7iukayg==}
engines: {node: '>=16.17.0'}
hasBin: true
peerDependencies:
- '@cloudflare/workers-types': ^4.20240320.1
+ '@cloudflare/workers-types': ^4.20240402.0
peerDependenciesMeta:
'@cloudflare/workers-types':
optional: true
- resolution: {integrity: sha512-aptr+g+ohgJLemIEoAVejcqnfnQWk248nkIyYxGDh8ohlDjQlo1vO0/mWiyqPUsmWOxl0Yr3jdZMtfi7iukayg==}
+ resolution: {integrity: sha512-8TRUwzPHj6+uPDzY0hBJ9/YwniEF9pqMGe5qbqLP/XsHTCWxIFib5go374zyCkmuVh23AwV7NuTA6gUtSqZ8pQ==}
engines: {node: '>=16.17.0'}
hasBin: true
peerDependencies:
- '@cloudflare/workers-types': ^4.20240402.0
+ '@cloudflare/workers-types': ^4.20240405.0
peerDependenciesMeta:
'@cloudflare/workers-types':
optional: true
@@ -9496,38 +9524,40 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@cloudflare/[email protected]':
- optional: true
-
'@cloudflare/[email protected]':
optional: true
- '@cloudflare/[email protected]':
+ '@cloudflare/[email protected]':
optional: true
'@cloudflare/[email protected]':
optional: true
- '@cloudflare/[email protected]':
+ '@cloudflare/[email protected]':
optional: true
'@cloudflare/[email protected]':
optional: true
- '@cloudflare/[email protected]':
+ '@cloudflare/[email protected]':
optional: true
'@cloudflare/[email protected]':
optional: true
- '@cloudflare/[email protected]':
+ '@cloudflare/[email protected]':
optional: true
'@cloudflare/[email protected]':
optional: true
+ '@cloudflare/[email protected]':
+ optional: true
+
'@cloudflare/[email protected]': {}
+ '@cloudflare/[email protected]': {}
+
dependencies:
commander: 9.4.1
@@ -10419,6 +10449,11 @@ snapshots:
'@one-ini/[email protected]': {}
+ dependencies:
+ react: 18.2.0
+
'@opentelemetry/[email protected]':
dependencies:
'@opentelemetry/api': 1.4.1
@@ -12202,6 +12237,8 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -12939,6 +12976,8 @@ snapshots:
+
@@ -13286,9 +13325,19 @@ snapshots:
bun-types: 1.0.11
react: 18.2.0
+ optionalDependencies:
+ '@cloudflare/workers-types': 4.20240405.0
+ '@libsql/client': 0.6.0([email protected])([email protected])
+ '@opentelemetry/api': 1.4.1
+ '@types/react': 18.2.64
+ better-sqlite3: 9.4.1
+ bun-types: 1.0.11
+ react: 18.2.0
+
dependencies:
zod: 3.22.4
@@ -15570,7 +15619,7 @@ snapshots:
dependencies:
'@cspotcode/source-map-support': 0.8.1
acorn: 8.10.0
@@ -15580,7 +15629,7 @@ snapshots:
glob-to-regexp: 0.4.1
stoppable: 1.1.0
undici: 5.28.4
- workerd: 1.20240320.1
+ workerd: 1.20240403.0
youch: 3.3.3
zod: 3.22.4
@@ -15589,7 +15638,7 @@ snapshots:
- supports-color
- utf-8-validate
dependencies:
'@cspotcode/source-map-support': 0.8.1
acorn: 8.10.0
@@ -15599,7 +15648,7 @@ snapshots:
glob-to-regexp: 0.4.1
stoppable: 1.1.0
undici: 5.28.4
- workerd: 1.20240403.0
+ workerd: 1.20240405.0
youch: 3.3.3
zod: 3.22.4
@@ -16649,6 +16698,8 @@ snapshots:
get-intrinsic: 1.2.1
is-regex: 1.1.4
+
@@ -17211,6 +17262,16 @@ snapshots:
+ dependencies:
+ '@types/json-schema': 7.0.15
+ commander: 12.0.0
+ glob: 8.1.0
+ json5: 2.2.3
+ normalize-path: 3.0.0
+ safe-stable-stringify: 2.4.3
+ typescript: 5.4.5
+
dependencies:
'@cspotcode/source-map-support': 0.8.1
@@ -17715,14 +17776,6 @@ snapshots:
- optionalDependencies:
- '@cloudflare/workerd-darwin-64': 1.20240320.1
- '@cloudflare/workerd-darwin-arm64': 1.20240320.1
- '@cloudflare/workerd-linux-64': 1.20240320.1
- '@cloudflare/workerd-linux-arm64': 1.20240320.1
- '@cloudflare/workerd-windows-64': 1.20240320.1
-
optionalDependencies:
'@cloudflare/workerd-darwin-64': 1.20240403.0
@@ -17731,7 +17784,15 @@ snapshots:
'@cloudflare/workerd-linux-arm64': 1.20240403.0
'@cloudflare/workerd-windows-64': 1.20240403.0
+ optionalDependencies:
+ '@cloudflare/workerd-darwin-64': 1.20240405.0
+ '@cloudflare/workerd-darwin-arm64': 1.20240405.0
+ '@cloudflare/workerd-linux-64': 1.20240405.0
+ '@cloudflare/workerd-linux-arm64': 1.20240405.0
+ '@cloudflare/workerd-windows-64': 1.20240405.0
+
dependencies:
'@cloudflare/kv-asset-handler': 0.3.1
'@esbuild-plugins/node-globals-polyfill': 0.2.3([email protected])
@@ -17739,7 +17800,7 @@ snapshots:
blake3-wasm: 2.1.5
chokidar: 3.5.3
esbuild: 0.17.19
- miniflare: 3.20240320.0([email protected])([email protected])
+ miniflare: 3.20240403.0([email protected])([email protected])
nanoid: 3.3.6
path-to-regexp: 6.2.1
resolve: 1.22.8
@@ -17755,7 +17816,7 @@ snapshots:
- supports-color
- utf-8-validate
dependencies:
'@cloudflare/kv-asset-handler': 0.3.1
'@esbuild-plugins/node-globals-polyfill': 0.2.3([email protected])
@@ -17763,16 +17824,17 @@ snapshots:
blake3-wasm: 2.1.5
chokidar: 3.5.3
esbuild: 0.17.19
- miniflare: 3.20240403.0([email protected])([email protected])
+ miniflare: 3.20240405.2([email protected])([email protected])
nanoid: 3.3.6
path-to-regexp: 6.2.1
resolve: 1.22.8
resolve.exports: 2.0.2
selfsigned: 2.4.1
source-map: 0.6.1
+ ts-json-schema-generator: 1.5.1
xxhash-wasm: 1.0.2
optionalDependencies:
- '@cloudflare/workers-types': 4.20240403.0
+ '@cloudflare/workers-types': 4.20240405.0
fsevents: 2.3.3
transitivePeerDependencies:
- bufferutil