Skip to content

Commit cfa2cfc

Browse files
committed
feat: add vulnerability warning image in json code intelligence doc
1 parent 7f1321a commit cfa2cfc

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

docs/07-Code Intelligence/03-json.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ When you edit the dependencies in `package.json`:
1313
- Typing a version shows the package's real versions, newest first, with `^` and `~` shortcuts at the top.
1414
- Hovering over a dependency shows the package's description, latest version, license, and links to its homepage and docs.
1515

16-
<!-- TODO: PLUTO - add image here showing npm package hints in package.json -->
17-
1816
Your dependencies are also checked against npm's security advisories, the same data `npm audit` uses. If a dependency has a known vulnerability, it is underlined in the editor and listed in the [Problems panel](/docs/Features/Problems%20Panel/ESLint) with its severity.
1917

20-
<!-- TODO: PLUTO - add image here showing a vulnerability warning -->
18+
![Vulnerability warning in package.json](../images/codeIntelligence/json-vulnerability.png "A vulnerable dependency, underlined, with its advisories shown on hover")
2119

2220
:::info Desktop Only
2321
The security check runs in the desktop app. The package name, version, and hover hints work everywhere.
77.8 KB
Loading

0 commit comments

Comments
 (0)