
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@yarnpkg/plugin-patch
Advanced tools
@yarnpkg/plugin-patchThis plugin adds support for the patch: protocol.
This plugin is included by default in Yarn.
Run yarn patch <package name> and edit the resulting folder.
Once you're ready, run yarn patch-commit -s <patch folder> to store the result inside a .patch file.
Add the patch: protocol to your dependencies as such:
{
"dependencies": {
"lodash": "patch:lodash@1.0.0#./my-patch-file.patch"
}
}
You cannot add dependencies through the patch: protocol. Check this FAQ entry for more details.
FAQs
Unknown package
The npm package @yarnpkg/plugin-patch receives a total of 35,503 weekly downloads. As such, @yarnpkg/plugin-patch popularity was classified as popular.
We found that @yarnpkg/plugin-patch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.