diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d92fbcf8..af2c0009 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: pull_request: env: - BUN_VERSION: "1.4.0" + BUN_VERSION: "1.4.1" jobs: verify: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32be1f88..7a1a2561 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ permissions: contents: write env: - BUN_VERSION: "1.4.0" + BUN_VERSION: "1.4.1" jobs: build: diff --git a/bun.lock b/bun.lock index c14cfb3f..8801f166 100644 --- a/bun.lock +++ b/bun.lock @@ -47,7 +47,7 @@ "@testcontainers/postgresql": "^11.12.0", "@testcontainers/rabbitmq": "^10.28.0", "@types/bootstrap": "~5.1.13", - "@types/bun": "^1.3.14", + "@types/bun": "^1.4.0", "@types/node": "^20.19.33", "@types/web-push": "^3.6.4", "@vitejs/plugin-vue": "~5.0.5", @@ -522,7 +522,7 @@ "@types/bootstrap": ["@types/bootstrap@5.1.13", "", { "dependencies": { "@popperjs/core": "^2.9.2" } }, "sha512-1hIIOgfkMlyQCQz/3ae53xr6ZN2d6EDj/n3G+Sh/LBsBUVigyDmnCbLwsaXJJ1GBGlkjgfXVoyIvEPowQw25xQ=="], - "@types/bun": ["@types/bun@1.3.14", "", { "dependencies": { "bun-types": "1.3.14" } }, "sha512-h1hFqFVcvAvD9j9K7ZW7vd82aSA+rTdznZa+5bwvCwqSB1jmmfLcbIWhOLx1/+boy/xmjgCs/OMUL8hRJSmnPw=="], + "@types/bun": ["@types/bun@1.4.0", "", { "dependencies": { "bun-types": "1.4.0" } }, "sha512-K+lZULY23vRgK/CfTjFIV+tyifaNdSMlPh9j+6mQ/cLfpOznLyAuzgV/JQysyECpkBQLVMSyvjlr2fBUSA9wFQ=="], "@types/docker-modem": ["@types/docker-modem@3.0.6", "", { "dependencies": { "@types/node": "*", "@types/ssh2": "*" } }, "sha512-yKpAGEuKRSS8wwx0joknWxsmLha78wNMe9R2S3UNsVOkZded8UqOrV8KoeDXoXsjndxwyF3eIhyClGbO1SEhEg=="], @@ -686,7 +686,7 @@ "buildcheck": ["buildcheck@0.0.7", "", {}, "sha512-lHblz4ahamxpTmnsk+MNTRWsjYKv965MwOrSJyeD588rR3Jcu7swE+0wN5F+PbL5cjgu/9ObkhfzEPuofEMwLA=="], - "bun-types": ["bun-types@1.3.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-4N0ig0fEomHt5R0KCFWjovxow98rIoRwKolrYdCcknNwMekCXRnWEUvgu5soYV8QXtVsrUD8B95MBOZGPvr6KQ=="], + "bun-types": ["bun-types@1.4.0", "", { "dependencies": { "@types/node": "*" } }, "sha512-iIKw23BspnQQYd3prITOBxeUsxBHnwzX6YJfGMuNOZzeNcMmVqzIIVGRm1l69ogaPQmb4wB6BN8mA5bE9YuC5Q=="], "bundle-name": ["bundle-name@4.1.0", "", { "dependencies": { "run-applescript": "^7.0.0" } }, "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q=="], diff --git a/package.json b/package.json index b7d53719..d119d171 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/Igloczek/uptime-maku.git" }, "engines": { - "bun": ">= 1.4.0" + "bun": ">= 1.4.1" }, "scripts": { "dev": "bun run --parallel dev:frontend dev:server", @@ -96,7 +96,7 @@ "@testcontainers/postgresql": "^11.12.0", "@testcontainers/rabbitmq": "^10.28.0", "@types/bootstrap": "~5.1.13", - "@types/bun": "^1.3.14", + "@types/bun": "^1.4.0", "@types/node": "^20.19.33", "@types/web-push": "^3.6.4", "@vitejs/plugin-vue": "~5.0.5", diff --git a/src/server/jobs.ts b/src/server/jobs.ts index b44740f7..44e110b4 100644 --- a/src/server/jobs.ts +++ b/src/server/jobs.ts @@ -21,7 +21,7 @@ function scheduleInProcessCron(interval: string, callback: JobCallback, timezone return Bun.cron(interval, callback); } - // @types/bun 1.3.x does not yet declare the 1.4 `{ tz }` overload. + // The published @types/bun definitions do not yet declare the 1.4 `{ tz }` overload. return (Bun.cron as (schedule: string, handler: JobCallback, options: { tz: string }) => Bun.CronJob)( interval, callback,