mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-11-01 10:26:49 +08:00
Update README.md
Fix the markdown for a code quotation ('npm outdated' => `npm outdated`) on line 524
Add a close parenthesis for the parentheses opened but not closed on line 524.
This commit is contained in:
@ -521,7 +521,7 @@ All statements above will return false if used with `===`
|
||||
|
||||
## ![✔] 4.9 Inspect for outdated packages
|
||||
|
||||
**TL;DR:** Use your preferred tool (e.g. 'npm outdated' or [npm-check-updates](https://www.npmjs.com/package/npm-check-updates) to detect installed outdated packages, inject this check into your CI pipeline and even make a build fail in a severe scenario. For example, a severe scenario might be when an installed package is 5 patch commits behind (e.g. local version is 1.3.1 and repository version is 1.3.8) or it is tagged as deprecated by its author - kill the build and prevent deploying this version
|
||||
**TL;DR:** Use your preferred tool (e.g. `npm outdated` or [npm-check-updates](https://www.npmjs.com/package/npm-check-updates)) to detect installed outdated packages, inject this check into your CI pipeline and even make a build fail in a severe scenario. For example, a severe scenario might be when an installed package is 5 patch commits behind (e.g. local version is 1.3.1 and repository version is 1.3.8) or it is tagged as deprecated by its author - kill the build and prevent deploying this version
|
||||
|
||||
**Otherwise:** Your production will run packages that have been explicitly tagged by their author as risky
|
||||
|
||||
|
||||
Reference in New Issue
Block a user