Patched dependencies
Third-party packages are patched inside the repo, the patch files committed.
Fixes to third-party packages kept inside the repo as patch files, applied each time the dependencies are installed: through patch-package, pnpm's patchedDependencies or Yarn's patch protocol. Teams do it when a library has a bug or lacks something they need and they cannot wait for a release, or do not want to fork it; the patch shows exactly what was changed. The site counts a repo when a .patch or .diff file sits in a root patches folder or in .yarn/patches, or when patch-package or patchedDependencies is in the root package.json. Those file names are counted, never stored.
- Pro scene today: 21%, 46 of 221 pro repos
- In three months: +4 pts (9 pro repos added it, 1 removed it)
- Kept: 86%, 38 of 44 that had it 3 months ago or before
Pro 21% · Ladder 3%
In the pro repos
The 6 most starred of the 46 pro repos that have it today.
By month
| Month | Pro scene |
|---|---|
| June 2025 | 12% |
| July 2025 | 12% |
| August 2025 | 12% |
| September 2025 | 12% |
| October 2025 | 12% |
| November 2025 | 12% |
| December 2025 | 12% |
| January 2026 | 12% |
| February 2026 | 13% |
| March 2026 | 13% |
| April 2026 | 14% |
| May 2026 | 15% |
| June 2026 | 15% |
| July 2026 | 14% |
| August 2026 | 14% |
| September 2026 | 17% |
| October 2026 | 18% |
| November 2026 | 19% |
| today | 21% |
Evidence
Observed in the repos only: no published study is quoted for it yet.
How it is detected
Looks for a .patch or .diff file in a root patches/ folder or in .yarn/patches/, or patch-package or patchedDependencies in the root package.json. Read in repo files. How the method counts
Related practices
More in Code, the most adopted first.