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:
andrewjbarbour
2021-02-09 10:18:48 -08:00
committed by GitHub
parent 65e67725d9
commit 8e8ca375f9

View File

@ -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