🚀Security Patch
Also known as Security Update, Security Fix, Vulnerability Patch
A small update that shuts a safety hole in an app. It is made to put in fast.
Think of it like
It is like a new lock on your door. You put it on before a thief comes.
Example
A library Jack uses has a hole that lets strangers read files. A patch comes out that morning, and he updates before lunch.
Why it matters
Many break-ins use holes that already had a patch. Installing it quickly closes the door.
Definition
Example code
console
$ npm audit fixCommon mistake
Key takeaways
- 1Small. Only the fix, nothing else.
- 2Fast. Install it soon after it ships.
- 3A patch version. The last number goes up.