Skip to content

build(deps-dev): bump oxfmt from 0.58.0 to 0.61.0 - #150

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/oxfmt-0.61.0
Closed

build(deps-dev): bump oxfmt from 0.58.0 to 0.61.0#150
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/oxfmt-0.61.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor

Bumps oxfmt from 0.58.0 to 0.61.0.

Commits
  • 65fe65d release(apps): oxlint v1.76.0 && oxfmt v0.61.0 (#24976)
  • 83abe3b release(apps): oxlint v1.75.0 && oxfmt v0.60.0 (#24713)
  • e2e0f94 chore(docs): update sponsor section (#24588)
  • 2d4e8d2 release(apps): oxlint v1.74.0 && oxfmt v0.59.0 (#24454)
  • 415fe1e fix(oxfmt): error on ignorePatterns that cannot match files outside the confi...
  • See full diff in compare view

Summary by CodeRabbit

  • Chores
    • Updated the development tooling version for improved formatting support.

@dependabot @github

dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, javascript. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@changeset-bot

changeset-bot Bot commented Aug 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f5d31bf

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

@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blume Ready Ready Preview Aug 2, 2026 1:11am

Request Review

@haydenbleasel

Copy link
Copy Markdown
Owner

Holding off on this one: oxfmt is patched locally (patches/oxfmt@0.58.0.patch via patchedDependencies) to preserve fenced code blocks in titled directives. Bumping to 0.61.0 requires re-authoring that patch against the new version (or confirming upstream fixed the directive handling), so it can't merge as-is.

Bumps [oxfmt](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxfmt) from 0.58.0 to 0.61.0.
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxfmt/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxfmt_v0.61.0/npm/oxfmt)

---
updated-dependencies:
- dependency-name: oxfmt
  dependency-version: 0.61.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/oxfmt-0.61.0 branch from 6da5108 to f5d31bf Compare August 2, 2026 01:10
@coderabbitai

coderabbitai Bot commented Aug 2, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The oxfmt development dependency constraint in package.json changed from ^0.58.0 to ^0.61.0.

Changes

Formatter dependency update

Layer / File(s) Summary
Update formatter dependency
package.json
The oxfmt development dependency constraint changed from ^0.58.0 to ^0.61.0.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: haydenbleasel

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the dependency update but omits the required template sections, checklist, issue reference, and notes about the blocked patch. Add the required sections and checklist, and document that the oxfmt patch must be re-authored or confirmed compatible before merging.
✅ Passed checks (4 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.
Title check ✅ Passed The title clearly identifies the development dependency and the version change from 0.58.0 to 0.61.0.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/oxfmt-0.61.0

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 `@package.json`:
- Line 49: Synchronize the lockfile with the oxfmt dependency declared in
package.json: regenerate bun.lock so it resolves oxfmt ^0.61.0 instead of
0.58.0, and update or remove the existing version-specific patch depending on
whether 0.61.0 already includes that behavior. Ensure frozen Bun installs no
longer detect dependency drift.
🪄 Autofix (Beta)

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: afe96a03-f0b5-4622-b76a-d7cfa71c59fa

📥 Commits

Reviewing files that changed from the base of the PR and between a4f4a62 and f5d31bf.

📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"husky": "^9.1.7",
"katex": "^0.18.1",
"oxfmt": "^0.58.0",
"oxfmt": "^0.61.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

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

jq -r '.devDependencies.oxfmt' package.json
rg -n -C2 '"oxfmt"|patchedDependencies' bun.lock
fd -i 'oxfmt.*patch' patches

Repository: haydenbleasel/blume

Length of output: 3989


🏁 Script executed:

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

printf '%s\n' '--- package.json ---'
cat -n package.json | sed -n '40,55p'

printf '%s\n' '--- bun.lock metadata and oxfmt entries ---'
cat -n bun.lock | sed -n '1,45p;170,190p;2128,2145p'

printf '%s\n' '--- patch ---'
cat -n patches/oxfmt@0.58.0.patch

printf '%s\n' '--- repository change summary ---'
git diff --stat
git diff -- package.json bun.lock 'patches/oxfmt@0.58.0.patch'

Repository: haydenbleasel/blume

Length of output: 12236


🏁 Script executed:

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

python3 - <<'PY'
import json
import urllib.request

url = "https://registry.npmjs.org/oxfmt"
with urllib.request.urlopen(url, timeout=20) as response:
    data = json.load(response)

for version in ("0.58.0", "0.61.0"):
    entry = data["versions"].get(version)
    if entry is None:
        print(f"{version}: not published")
        continue
    print(f"{version}: tarball={entry['dist']['tarball']}")
    print(f"{version}: integrity={entry['dist'].get('integrity')}")
PY

for version in 0.58.0 0.61.0; do
  url="https://registry.npmjs.org/oxfmt/-/oxfmt-${version}.tgz"
  printf '%s\n' "--- oxfmt ${version} markdown bundle matches ---"
  curl -fsSL "$url" |
    tar -xzOf - "package/dist/markdown-"*.js 2>/dev/null |
    rg -n -m3 'Preserve line breaks|oxfmtPrevIsTitledFence|case "whitespace"|proseWrap' || true
done

Repository: haydenbleasel/blume

Length of output: 2443


🌐 Web query:

Bun lockfile frozen install behavior package.json bun.lock dependency spec mismatch patchedDependencies

💡 Result:

In Bun, the --frozen-lockfile flag is intended to enforce reproducible installs by ensuring that bun install exits with an error if the package.json and bun.lock file are out of sync [1]. Behavioral Summary and Known Issues: 1. Consistency Enforcement: When --frozen-lockfile is used, Bun installs exact versions recorded in the lockfile [1]. Historically, there have been identified cases where the check failed to detect certain types of drift—such as when adding new direct dependencies or divergence in workspace dependency maps—but recent updates (notably up to mid-2026) have improved this to ensure any divergence in package.json dependency maps results in a non-zero exit code [2][3]. 2. Error Scenarios: If Bun detects that the lockfile would need to be updated to match package.json, it exits with an error message: "error: lockfile had changes, but lockfile is frozen" [4][3]. This is designed to prevent CI/CD pipelines from silently proceeding with outdated dependencies [5][1]. 3. Patched Dependencies: - Behavior: Bun uses the patchedDependencies field in the root package.json to manage and apply .patch files to dependencies in node_modules [6]. - Scope: By design, Bun expects patchedDependencies to be defined at the install root [7]. If workspace members contain their own patchedDependencies, it can cause issues or errors during installation because Bun may try to resolve those paths relative to the root rather than the member's directory [7][8]. - Missing Patches: If a declared patch file is missing, the installation will fail [9]. This is particularly common in pruned monorepo environments (e.g., using turbo prune), where patch files might be omitted from the output [9]. Fixes have been implemented to allow skipping missing patch files if the corresponding package is not part of the active dependency graph [9]. 4. Troubleshooting Drift: If you encounter the "lockfile had changes" error when you believe your state is consistent, it often points to: - Transitive resolution differences or inconsistencies in overrides/self-referencing overrides [10]. - Differences in how workspaces resolve dependencies versus the root lockfile [2]. - Temporary caching or migration issues (e.g., transitioning from binary bun.lockb to text-based bun.lock) [11][4]. For CI/CD environments, it is recommended to use bun ci, which is explicitly optimized for reproducible builds and enforces the frozen lockfile check by default [1].

Citations:


Synchronize bun.lock with the oxfmt upgrade.

package.json declares ^0.61.0, but bun.lock still resolves oxfmt@0.58.0 and its version-specific patch. Bun frozen installs reject this drift. Regenerate bun.lock and port the patch to 0.61.0, or remove it if the new version includes the required behavior.

🤖 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 `@package.json` at line 49, Synchronize the lockfile with the oxfmt dependency
declared in package.json: regenerate bun.lock so it resolves oxfmt ^0.61.0
instead of 0.58.0, and update or remove the existing version-specific patch
depending on whether 0.61.0 already includes that behavior. Ensure frozen Bun
installs no longer detect dependency drift.

@dependabot @github

dependabot Bot commented on behalf of github Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

Looks like oxfmt is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Aug 2, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/oxfmt-0.61.0 branch August 2, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant