Skip to content

Latest @vscode/vsce install emits deprecated prebuild-install and whatwg-encoding warnings #1290

Description

@konard

Environment

  • @vscode/vsce: 3.9.2 (latest when tested)
  • npm on GitHub-hosted Node 22 runners

Reproduction

npm install --no-audit --no-fund

with @vscode/vsce in devDependencies emits deprecation warnings for prebuild-install@7.1.3 and whatwg-encoding@3.1.1. npm ls traces these through the optional keytar path and the cheerio/encoding-sniffer path respectively. Public CI reproduction: https://github.com/link-assistant/formal-ai/actions/runs/29465138404.

Expected

Installing the current packaging CLI on its supported Node release should be warning-free.

Suggested fix

Update or remove the optional keytar/prebuild-install path and update the HTML/encoding dependency chain; add a Node 22/24 install smoke test that rejects npm deprecation diagnostics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions