mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-21 15:11:22 -05:00
[PR #290] [MERGED] chore: prune npm overrides that are no longer load-bearing #2922
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/290
Author: @arunavo4
Created: 5/16/2026
Status: ✅ Merged
Merged: 5/16/2026
Merged by: @arunavo4
Base:
main← Head:chore/audit-npm-overrides📝 Commits (1)
6c7b617chore: prune npm overrides that are no longer load-bearing📊 Changes
2 files changed (+1 additions, -11 deletions)
View changed files
📝
bun.lock(+0 -5)📝
package.json(+1 -6)📄 Description
Summary
Follow-up to #289. Audited every entry in
package.jsonoverridesto see which still affect the dep tree, and removed 5 that don't.Method
For each candidate override I:
bun pm ls --all | grep <pkg>bun installRemoved (5)
defu^6.1.76.1.76.1.7fast-xml-parser^5.5.65.5.65.5.6node-forge^1.3.3rollup>=4.59.04.59.04.59.0svgo^4.0.14.0.14.0.1Kept
@esbuild-kit/esm-loader→npm:tsx@^4.21.0— deliberate replacement shim, not a pin@xmldom/xmldom,devalue,fast-uri,fast-xml-builder,kysely— active CVE pins just landed in #289lodash ^4.18.1— load-bearing; pins the newer 4.18.x line over legacy 4.17.x that several transitives still ask forpicomatch ^4.0.4— load-bearing; without it,picomatch@2.3.2reappears as a duplicate copy via a transitive that asks for 2.xSafety net
Future drift (a transitive bump asking for a lower or vulnerable version) is caught by:
0 0 * * 0)If any of those flag a regression on one of the removed overrides, restoring it is one line.
Test plan
bun install— lockfile in sync, no changes after removalbun pm ls --all— verified resolved versions identical to pre-removal baselinebun test— 243 pass, 4 skip, 0 failbunx --bun astro build— completes cleanly🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.