Skip to content

Remove vulnerability warning reported from Github for VS Code extensions #49146

@egamma

Description

@egamma

Github shows a vulnerability warning against VS Code extensions that have checked in the package-lock.json.

image

This is a false positive since the module in question is a development dependency and the module is not published with the extension.

See also microsoft/vscode-extension-vscode#106.

We should still eliminate the warning:

  • In package.json in the devDependencies section, change the dependency of the vscode module to "vscode": "^1.1.17".
  • run npm install
  • check in the change.

Here are some extension that show this warning that should be fixed:

Metadata

Metadata

Labels

verifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions