Skip to content

chore(deps): bump semantic-release to v25 (clears sigstore advisory, 16→15) - #3408

Merged
Marfuen merged 3 commits into
mainfrom
mariano/security-dep-bumps
Jul 15, 2026
Merged

chore(deps): bump semantic-release to v25 (clears sigstore advisory, 16→15)#3408
Marfuen merged 3 commits into
mainfrom
mariano/security-dep-bumps

Conversation

@Marfuen

@Marfuen Marfuen commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Safe, in-range dependency bumps to release tooling. Clears the remaining sigstore advisory that survived #3406, taking bun audit from 16 → 15. Single clean commit off main.

Package Why
semantic-release ^24.2.9 → ^25.0.7 v25 bundles patched sigstore/@sigstore/* (clears the dev/CI advisory)
@semantic-release/github ^11.0.6 → ^12.0.9 Matching major for sr@25

Both are dev-only, CI-only deps (they run in release.yml, never ship in any app). release.yml already runs Node 22, which satisfies semantic-release@25's engines (^22.14 || >=24.10).

Deliberately NOT bumped: syncpack

syncpack@15 was evaluated and reverted to ^13.0.4. v15 silently ignores two things in our .syncpackrc.json:

  • lintRules.forbiddenDependencies — the guard that blocks adding npm packages which shadow Node builtins (crypto, fs, path, …). Losing this in a security PR is the wrong trade.
  • dependencyTypes — deprecated in v15 (needs the --dependency-types CLI flag).

It would clear a minimatch (dev-only ReDoS) advisory, but not without a config migration that weakens a supply-chain lint rule — so it's not a "safe" drop-in. Left for a separate, deliberate migration if we want it.

Verification

  • bun audit 16 → 15 (sigstore cleared)
  • syncpack lint clean on v13 (no deprecation warnings)
  • ✅ Lockfile is a clean reconcile; no app/runtime deps touched

Test plan

  • CI green
  • Confirm a release dry-run still works with semantic-release@25 (Node 22)

🤖 Generated with Claude Code


Summary by cubic

Bumps semantic-release to v25 and @semantic-release/github to v12 to clear the dev/CI sigstore advisory (bun audit 16→15). Removes glob from the UI build and matches glob semantics in export generation to fix the framework-editor build crash.

  • Dependencies

    • Updated semantic-release to ^25.0.7 and @semantic-release/github to ^12.0.9; dev-only tooling, Node 22 in release.yml meets engines.
    • Kept syncpack at ^13.0.4 since v15 ignores lintRules.forbiddenDependencies and deprecates dependencyTypes.
  • Bug Fixes

    • UI build: removed glob from tsup.config.ts and scripts/generate-exports.cjs (tsup expands globs; exports via a recursive FS walk) and now skip dotfiles to match glob semantics, eliminating hoisting-sensitive glob→minimatch→brace-expansion issues and restoring Vercel builds.

Written for commit e07be46. Summary will update on new commits.

Review in cubic

…o v12

Clears the sigstore dev/CI-only advisory (16→15). Both are dev-only
release-tooling deps; release.yml already runs Node 22 (satisfies
semantic-release@25 engines). syncpack intentionally left at ^13.0.4 —
v15 silently ignores .syncpackrc.json's lintRules.forbiddenDependencies
(supply-chain guard) and dependencyTypes, so it is not a safe drop-in.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
comp-framework-editor Ready Ready Preview, Comment Jul 15, 2026 2:42pm
portal Ready Ready Preview, Comment Jul 15, 2026 2:42pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
app Skipped Skipped Jul 15, 2026 2:42pm

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

The semantic-release bump perturbed the dependency graph enough to shift
bun's hoisting so that packages/ui's tsup build loaded an ESM
brace-expansion@5 against a CJS balanced-match@1.0.2 (no named 'balanced'
export), crashing @trycompai/ui#build on Vercel (framework-editor).

Root cause is a latent fragility: packages/ui pulled 'glob' into its build
in two places — tsup.config.ts (ESM import evaluated by bundle-require) and
scripts/generate-exports.cjs. glob→minimatch→brace-expansion's balanced-match
resolution is hoisting-dependent, so any dep-graph change can trip it.

Remove glob from the ui build entirely:
- tsup.config.ts: pass entry globs directly; tsup expands them via tinyglobby
  (picomatch/fdir), no brace-expansion.
- generate-exports.cjs: manual recursive fs.readdirSync walk (withFileTypes,
  Node>=10; sorted for deterministic output).

Verified: turbo build 20/20; dist file list + generated exports content
unchanged (exports now alphabetical, deterministic across rebuilds).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread packages/ui/scripts/generate-exports.cjs
The manual readdirSync walk enumerated every entry, whereas the previous
glob.sync('**/*.js') excluded dotfiles/dot-directories by default (dot:false).
Skip dot-prefixed entries so a stray .something.js or .hidden/ in dist/ can't
leak into package.exports. No change to current output (dist has no dotfiles).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel
vercel Bot temporarily deployed to Preview – app July 15, 2026 14:36 Inactive
@Marfuen
Marfuen merged commit 029e899 into main Jul 15, 2026
9 of 10 checks passed
@Marfuen
Marfuen deleted the mariano/security-dep-bumps branch July 15, 2026 14:41
@claudfuen

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.102.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants