The Tech Meta

An inside look at tech's evolving playbook

Patched dependencies

Code observed

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

MonthPro scene
June 202512%
July 202512%
August 202512%
September 202512%
October 202512%
November 202512%
December 202512%
January 202612%
February 202613%
March 202613%
April 202614%
May 202615%
June 202615%
July 202614%
August 202614%
September 202617%
October 202618%
November 202619%
today21%

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.

Levels of evidence