Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore: bump bun to 1.4.4 for security fixes

Richie McIlroye2e14ffee0c3
diff --git a/.github/actions/setup-js/action.yml b/.github/actions/setup-js/action.yml
index 668db7eba..1c29394cf 100644
--- a/.github/actions/setup-js/action.yml
+++ b/.github/actions/setup-js/action.yml
@@ -1,5 +1,5 @@
name: Setup JS (Bun & Node)
-description: Sets up Bun 1.4.0 and Node with frozen dependencies and caching
+description: Sets up Bun 1.4.4 and Node with frozen dependencies and caching
runs:
using: "composite"
steps:
@@ -11,7 +11,7 @@ runs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
with:
- bun-version: 1.4.0
+ bun-version: 1.4.4
# Saved from main only: a cache saved on a PR ref is invisible to every
# other PR and still counts against the repository cache quota.
@@ -20,9 +20,9 @@ runs:
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: ${{ runner.temp }}/bun-cache
- key: ${{ runner.os }}-${{ runner.arch }}-bun-1.4.0-${{ hashFiles('bun.lock') }}
+ key: ${{ runner.os }}-${{ runner.arch }}-bun-1.4.4-${{ hashFiles('bun.lock') }}
restore-keys: |
- ${{ runner.os }}-${{ runner.arch }}-bun-1.4.0-
+ ${{ runner.os }}-${{ runner.arch }}-bun-1.4.4-
- name: Install frontend dependencies
shell: bash
diff --git a/.github/workflows/status.yml b/.github/workflows/status.yml
index a22fc67fc..0877f46d8 100644
--- a/.github/workflows/status.yml
+++ b/.github/workflows/status.yml
@@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
- bun-version: "1.4.0"
+ bun-version: "1.4.4"
- run: bun install --frozen-lockfile
- run: bun run --cwd apps/status test
- run: bun run --cwd apps/status build
diff --git a/AGENTS.md b/AGENTS.md
index af1f3b7fe..fc21fcb5f 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -68,7 +68,7 @@ Additionally, `unused_must_use = "deny"` applies to all Rust code: every `Result
- TypeScript / JS / JSON / CSS: **tab indent** and **double-quoted** strings, enforced by Biome (see `biome.json`). Do not configure per-file overrides.
- Rust: `rustfmt` default style + the denied clippy lints in the Pre-Generation Invariants above.
- Naming: files kebab‑case (`user-menu.tsx`); React/Solid components PascalCase; hooks `useX`; Rust modules snake_case; crates kebab‑case.
-- Runtime: Node 20, Bun 1.4.0, Rust 1.88+, Docker for MySQL/MinIO.
+- Runtime: Node 20, Bun 1.4.4, Rust 1.88+, Docker for MySQL/MinIO.
(See **Pre-Generation Invariants** at the top of this file for the comments policy and the denied clippy/Biome patterns. Those are the source of truth — do not duplicate or weaken them here.)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4237220a0..18940e60e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -28,7 +28,7 @@ Before anything else, make sure you have the following installed:
- Node Version 20+
- Rust 1.88.0+
-- Bun 1.4.0
+- Bun 1.4.4
- Docker ([OrbStack](https://orbstack.dev/) recommended)
### General Setup
diff --git a/README.md b/README.md
index 389a250fb..4aad1e240 100644
--- a/README.md
+++ b/README.md
@@ -121,7 +121,7 @@ Cap is a Turborepo monorepo with Rust, TypeScript, Tauri, SolidStart, Next.js, D
Requirements:
- Node.js 20 or newer
-- Bun 1.4.0
+- Bun 1.4.4
- Rust 1.88 or newer
- Docker for MySQL, MinIO, and local services
diff --git a/apps/media-server/Dockerfile b/apps/media-server/Dockerfile
index 64b89c176..697c354cb 100644
--- a/apps/media-server/Dockerfile
+++ b/apps/media-server/Dockerfile
@@ -1,4 +1,4 @@
-FROM oven/bun:1.4.0
+FROM oven/bun:1.4.4
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
diff --git a/apps/media-server/Dockerfile.standalone b/apps/media-server/Dockerfile.standalone
index cd413a925..06d1e8837 100644
--- a/apps/media-server/Dockerfile.standalone
+++ b/apps/media-server/Dockerfile.standalone
@@ -1,4 +1,4 @@
-FROM oven/bun:1.4.0
+FROM oven/bun:1.4.4
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
diff --git a/apps/mobile/eas.json b/apps/mobile/eas.json
index eb974ea1b..35f4e17f9 100644
--- a/apps/mobile/eas.json
+++ b/apps/mobile/eas.json
@@ -15,13 +15,13 @@
"ios": {
"simulator": true
},
- "bun": "1.4.0"
+ "bun": "1.4.4"
},
"preview": {
"channel": "preview",
"distribution": "internal",
"environment": "preview",
- "bun": "1.4.0"
+ "bun": "1.4.4"
},
"production": {
"autoIncrement": true,
@@ -29,7 +29,7 @@
"credentialsSource": "remote",
"distribution": "store",
"environment": "production",
- "bun": "1.4.0"
+ "bun": "1.4.4"
}
},
"submit": {
diff --git a/apps/render-farm/Dockerfile b/apps/render-farm/Dockerfile
index 0d9562c88..bdcfde27a 100644
--- a/apps/render-farm/Dockerfile
+++ b/apps/render-farm/Dockerfile
@@ -22,7 +22,7 @@ ENV CARGO_PROFILE_RELEASE_LTO=false \
RUN cargo build --release --locked -p cap-render-farm \
&& install -Dm755 target/release/cap-render-farm /out/cap-render-farm
-FROM oven/bun:1.4.0 AS bun
+FROM oven/bun:1.4.4 AS bun
FROM debian:trixie-slim
RUN apt-get update \
diff --git a/apps/status/README.md b/apps/status/README.md
index b67159b35..72d6f5a3e 100644
--- a/apps/status/README.md
+++ b/apps/status/README.md
@@ -4,7 +4,7 @@ An independent Next.js app for `status.cap.so`. It reuses the current landing pa
## Deploy on Vercel
-1. Import this repository into a **separate Vercel project**, with root directory **`apps/status`**, framework **Next.js**, and build command **`bun run build`**. Keep access to the repository root enabled so Vercel uses the existing Bun workspace and lockfile. Use Bun 1.4.0. Do not attach the main site’s environment variables.
+1. Import this repository into a **separate Vercel project**, with root directory **`apps/status`**, framework **Next.js**, and build command **`bun run build`**. Keep access to the repository root enabled so Vercel uses the existing Bun workspace and lockfile. Use Bun 1.4.4. Do not attach the main site’s environment variables.
2. Attach a dedicated Upstash Redis database through the Vercel Marketplace. Set `UPSTASH_REDIS_REST_URL` and `UPSTASH_REDIS_REST_TOKEN` on the production environment. Keep preview data in a separate database, or leave preview storage unconfigured.
3. Set a random `CRON_SECRET` of at least 32 bytes on production. Vercel sends it as the cron’s Bearer token. Do not prefix any of these variables with `NEXT_PUBLIC_`.
4. Configure the production service URLs below. Deploy on a plan supporting **five-minute cron jobs** (Vercel Pro or higher), then add `status.cap.so` to this project and point its DNS at Vercel. The page starts with honest “no data” states until checks run.
diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile
index 62a0507cb..1dc27a9d3 100644
--- a/apps/web/Dockerfile
+++ b/apps/web/Dockerfile
@@ -1,6 +1,6 @@
# syntax=docker.io/docker/dockerfile:1
-FROM oven/bun:1.4.0-alpine AS bun
+FROM oven/bun:1.4.4-alpine AS bun
FROM node:24.22.1-alpine AS base
@@ -9,7 +9,7 @@ WORKDIR /app
COPY --from=bun /usr/local/bin/bun /usr/local/bin/bun
COPY . .
-RUN --mount=type=cache,id=bun-1.4.0,target=/root/.bun/install/cache bun install --frozen-lockfile
+RUN --mount=type=cache,id=bun-1.4.4,target=/root/.bun/install/cache bun install --frozen-lockfile
ARG NEXT_PUBLIC_DOCKER_BUILD=true
ENV NEXT_PUBLIC_WEB_URL=http://localhost:3000
diff --git a/apps/web/public/llms-full.txt b/apps/web/public/llms-full.txt
index dae751a68..5a042524a 100644
--- a/apps/web/public/llms-full.txt
+++ b/apps/web/public/llms-full.txt
@@ -201,7 +201,7 @@ Early-adopter pricing is locked in for the lifetime of the subscription. Trusted
- Web: Next.js 16, React 19, TypeScript; Effect (`@effect/platform` HttpApi) and `@ts-rest/core` (no tRPC); Drizzle ORM on MySQL (PlanetScale); NextAuth + WorkOS auth; TanStack Query.
- Media: native hardware encoders, FFmpeg, WGPU compositor, WebCodecs; HLS playback via Mux.
- Infrastructure: AWS S3 + CloudFront + MediaConvert, Mux, PlanetScale, Vercel, Stripe, OpenPanel (self-hosted), Resend; AssemblyAI + Groq/OpenAI for AI.
-- Runtime: Node 20, Bun 1.4.0, Rust 1.88+, Turborepo monorepo.
+- Runtime: Node 20, Bun 1.4.4, Rust 1.88+, Turborepo monorepo.
## Free Web Tools
diff --git a/apps/web/vercel.json b/apps/web/vercel.json
index 8b04012a8..7771b76dc 100644
--- a/apps/web/vercel.json
+++ b/apps/web/vercel.json
@@ -20,6 +20,6 @@
"memory": 3009
}
},
- "installCommand": "cd ../.. && bunx [email protected] install --frozen-lockfile",
- "buildCommand": "cd ../.. && bunx [email protected] run build --filter=@cap/web"
+ "installCommand": "cd ../.. && bunx [email protected] install --frozen-lockfile",
+ "buildCommand": "cd ../.. && bunx [email protected] run build --filter=@cap/web"
}
diff --git a/package.json b/package.json
index 13fabcc35..3609e07ce 100644
--- a/package.json
+++ b/package.json
@@ -67,11 +67,11 @@
"turbo": "^2.3.4",
"typescript": "^5.8.3"
},
- "packageManager": "[email protected]",
+ "packageManager": "[email protected]",
"name": "cap",
"engines": {
"node": ">=20",
- "bun": "1.4.0"
+ "bun": "1.4.4"
},
"overrides": {
"react-native-worklets": "0.7.4"