Skip to content

chore(deps): remove unused tmp dependency and other unused packages#341

Merged
edelauna merged 3 commits into
mainfrom
renovate/npm-tmp-vulnerability
May 30, 2026
Merged

chore(deps): remove unused tmp dependency and other unused packages#341
edelauna merged 3 commits into
mainfrom
renovate/npm-tmp-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 27, 2026

Summary

Investigation of the Renovate security alert for tmp (CVE-2025-54798, CVE-2026-44705) revealed that tmp was declared as a dependency but never imported anywhere in the codebase. Rather than bumping a package we don't use, we removed it entirely.

A broader audit of unused dependencies was performed at the same time.

Changes

Removed dependencies (src/package.json):

  • tmp — never imported; was the subject of the security alerts
  • cheerio, default-shell, node-ipc — no source imports (hits were only in compiled dist/ or stale test mocks)
  • diff-match-patch, jwt-decode, pkce-challenge — no imports found
  • puppeteer-chromium-resolver, puppeteer-core — no imports found
  • sound-play, stream-json, string-similarity, strip-ansi, turndown — no imports found

Removed devDependencies:

  • @types/diff-match-patch, @types/node-ipc, @types/stream-json, @types/string-similarity, @types/turndown, @types/tmp

Test cleanup:

  • Removed stale vi.mock("default-shell", ...) from system-prompt.spec.ts and add-custom-instructions.spec.ts

Testing

  • Unit tests: 384 files passed, 5731 tests passed, 0 failures
  • E2E (mock mode): 59 passing, 1 pending (pre-existing suite.skip), 0 failures

@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@proyectoauraorg
Copy link
Copy Markdown
Contributor

Security Notice

This PR updates tmp to v0.2.6 to address a security vulnerability. All CI checks are passing and the PR is mergeable.

Recommendation: Ready for merge. Maintainers @taltas @hannesrudolph — please review when possible.

edelauna
edelauna previously approved these changes May 29, 2026
@edelauna edelauna added this pull request to the merge queue May 29, 2026
@edelauna edelauna removed this pull request from the merge queue due to a manual request May 29, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 30, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@edelauna edelauna force-pushed the renovate/npm-tmp-vulnerability branch from fb9a2e4 to 360b46a Compare May 30, 2026 02:57
@edelauna edelauna changed the title chore(deps): update dependency tmp to v0.2.6 [security] chore(deps): remove unused tmp dependency and other unused packages May 30, 2026
@edelauna edelauna force-pushed the renovate/npm-tmp-vulnerability branch from 360b46a to 0299646 Compare May 30, 2026 03:07
@edelauna edelauna force-pushed the renovate/npm-tmp-vulnerability branch from 0299646 to 2cd8601 Compare May 30, 2026 03:09
@edelauna edelauna force-pushed the renovate/npm-tmp-vulnerability branch from 2cd8601 to 94b2d81 Compare May 30, 2026 03:25
Copy link
Copy Markdown
Contributor

@edelauna edelauna left a comment

Choose a reason for hiding this comment

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

Cleaning up dependency radius

@edelauna edelauna enabled auto-merge May 30, 2026 03:29
@edelauna edelauna added this pull request to the merge queue May 30, 2026
Merged via the queue into main with commit 92cf4e9 May 30, 2026
10 checks passed
@edelauna edelauna deleted the renovate/npm-tmp-vulnerability branch May 30, 2026 03:56
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.

2 participants