Skip to content

chore(docs): bump Blume to 1.4.2 - #48

Merged
SutuSebastian merged 2 commits into
mainfrom
chore/blume-1.4.2
Aug 10, 2026
Merged

chore(docs): bump Blume to 1.4.2#48
SutuSebastian merged 2 commits into
mainfrom
chore/blume-1.4.2

Conversation

@SutuSebastian

@SutuSebastian SutuSebastian commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin blume 1.3.1 → 1.4.2 in apps/docs.
  • Drop obsolete audit overrides (including postcss); keep product pins + path-to-regexp; add nanoid + js-yaml for remaining highs.
  • CI bun audit ignores Blume's unpatched image-size GHSAs until a release ships.

Test plan

  • bun run validate / check / build / audit in apps/docs (0 errors)
  • bun audit --ignore=… — no high/critical

Pin Blume 1.4.2, refresh bun audit overrides from the hub canary
(drop brace-expansion/fast-uri/ip-address/postcss; add nanoid/js-yaml),
and ignore unfixed image-size highs in CI until a patched release exists.
@SutuSebastian SutuSebastian added the docs Public docs site (apps/docs) — merge deploys /persist via FTP label Aug 10, 2026
@changeset-bot

changeset-bot Bot commented Aug 10, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 33ebac6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The pull request updates the blume dependency, changes root dependency overrides, and excludes two unfixed advisories from the CI audit command.

Changes

Dependency and audit maintenance

Layer / File(s) Summary
Dependency version and override updates
apps/docs/package.json, package.json
The documentation app updates blume from 1.3.1 to 1.4.2. The root package adds js-yaml and nanoid overrides and removes three existing overrides.
CI audit exclusions
.github/workflows/ci.yml
The bun audit command ignores two specified unfixed advisories. High and critical findings still fail CI.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the Blume dependency update, which is a significant part of the pull request changes.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/blume-1.4.2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Around line 241-245: The Bun audit step currently searches for unsupported
severity-prefix output, so high or critical findings may bypass the CI gate.
Update the audit logic in the workflow step to use Bun’s documented
--audit-level=high behavior or parse --json findings, while preserving the
existing ignored advisories and ensuring high-severity vulnerabilities cause the
CI check to fail.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c5b0259a-2d1a-48e0-a71f-6c8ce000b074

📥 Commits

Reviewing files that changed from the base of the PR and between b3b35ec and da94384.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • .github/workflows/ci.yml
  • apps/docs/package.json
  • package.json

Comment thread .github/workflows/ci.yml Outdated
Comment on lines +241 to +245
# Ignore unfixed image-size highs from Blume (no patched release yet).
run: |
set +e
# bun emits ANSI color even when piped — strip it or the severity grep misses it.
NO_COLOR=1 bun audit 2>&1 | sed -E 's/\x1b\[[0-9;]*m//g' > /tmp/bun-audit.log
NO_COLOR=1 bun audit --ignore=GHSA-w3rx-r6r6-pgpr --ignore=GHSA-5p2g-fcmc-qvqq 2>&1 | sed -E 's/\x1b\[[0-9;]*m//g' > /tmp/bun-audit.log

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

summary='3 vulnerabilities (1 high, 2 moderate)'
pattern='(^|[[:space:]])(high|critical):[[:space:]]'

if printf '%s\n' "$summary" | grep -Eq "$pattern"; then
  echo "The current detector matched unexpectedly"
  exit 1
fi

echo "Confirmed: the current detector misses Bun's documented high-severity summary"

Repository: stainless-code/persist

Length of output: 1959


🌐 Web query:

Bun audit high critical vulnerabilities summary format

💡 Result:

The bun audit command provides a security scan of dependencies defined in bun.lock by checking them against the npm security advisory database [1][2][3]. Formatted Summary Format When vulnerabilities are detected, Bun displays a list of affected packages, each including the severity, a short description, and a link to the advisory [1][4]. At the end of the report, it provides a cumulative summary of the vulnerabilities found [1][5]. The summary format follows this pattern [5]: {total_count} vulnerabilities ({count} critical, {count} high, {count} moderate, {count} low) Example output: 3 vulnerabilities (1 high, 2 moderate) Following the summary, the report provides standard advice for remediation: - To update all dependencies to the latest compatible versions: bun update - To update all dependencies to the latest versions (including breaking changes): bun update --latest [1][5] Filtering You can filter the output by severity using the --audit-level flag [1][2]. For example, to view only high and critical vulnerabilities, you can run: bun audit --audit-level=high Supported levels from lowest to highest are low, moderate, high, and critical [2]. JSON Output Using the --json flag provides the raw security report as a JSON object [2][4]. Recent updates ensure that the --json flag correctly respects --audit-level and --ignore filters, returning a filtered JSON response that reflects only the relevant vulnerabilities [6][7]. Bun exits with code 0 if no vulnerabilities are found, and 1 if any vulnerabilities are reported (regardless of whether --json is used) [2][4].

Citations:


🌐 Web query:

site:github.com/oven-sh/bun src/cli/audit_command.zig vulnerabilities summary

💡 Result:

The file src/cli/audit_command.zig is a source code component of the Bun runtime, specifically responsible for the implementation of the bun audit command [1][2][3]. This command is used to check installed project dependencies for known security vulnerabilities [4]. Key aspects of this module include: Functionality: It interacts with the project's lockfile, builds a dependency tree, and collects packages to audit [2][5]. It then communicates with a package registry or security service to identify vulnerabilities [1][2]. Exit Codes: By design, the audit command returns 0 if no vulnerabilities are found and 1 if vulnerabilities are detected [1][2]. When the --json flag is used, it typically returns 0 as it is treated as a successful request for audit information regardless of the presence of vulnerabilities [1][2]. Development: The module has been subject to ongoing development, including efforts to implement automated vulnerability remediation through features like bun audit --fix [6]. It is important to note that src/cli/audit_command.zig itself is not a vulnerability; rather, it is the programmatic implementation of the security scanning tool within the Bun CLI [1][2]. Users should rely on standard security practices and the official Bun documentation for managing project dependencies and responding to security advisories [4][7].

Citations:


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

if [ ! -d .git ]; then
  echo "Repository is not available in the sandbox"
  exit 0
fi

printf '\n--- candidate workflow lines ---\n'
if [ -f .github/workflows/ci.yml ]; then
  sed -n '220,260p' .github/workflows/ci.yml | nl -ba -v220
else
  fd -a 'ci.yml|workflows' .github 2>/dev/null || true
fi

printf '\n--- relevant detector pattern matches ---\n'
rg -n 'high|critical|bun audit|grep -E' .github/workflows/ci.yml || true

printf '\n--- static detector behavior probe ---\n'
python3 - <<'PY'
import re
lines = [
    '3 vulnerabilities (1 high, 2 moderate)',
    '3 vulnerabilities (1 critical, 2 moderate)',
    '1 high: some advisory',
    '1 critical: some advisory',
]
pat = re.compile(r'(^|[ \t])high:|[ \t]critical:|[ \t]high:\s|critical:')
for line in lines:
    print(f"{'PASS' if bool(pat.search(line)) else 'FAIL'}: {line!r}")
PY

Repository: stainless-code/persist

Length of output: 1930


Use a Bun audit output format that actually reports high/critical vulnerabilities.

bun audit documents summary lines such as 3 vulnerabilities (1 high, 2 moderate) and JSON output, but not severity-prefix output like high: or critical:. Run bun audit --audit-level=high or parse bun audit --json so high-severity findings cannot pass the CI gate.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml around lines 241 - 245, The Bun audit step
currently searches for unsupported severity-prefix output, so high or critical
findings may bypass the CI gate. Update the audit logic in the workflow step to
use Bun’s documented --audit-level=high behavior or parse --json findings, while
preserving the existing ignored advisories and ensuring high-severity
vulnerabilities cause the CI check to fail.

Source: MCP tools

@SutuSebastian
SutuSebastian merged commit 95ad361 into main Aug 10, 2026
13 checks passed
@SutuSebastian
SutuSebastian deleted the chore/blume-1.4.2 branch August 10, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Public docs site (apps/docs) — merge deploys /persist via FTP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant