Skip to content

[Snyk] Security upgrade vscode-languageclient from 8.1.0 to 10.0.0#1028

Closed
posit-snyk-bot wants to merge 1 commit into
mainfrom
snyk-fix-0cb157a398f72c7387a8f947e1018d8c
Closed

[Snyk] Security upgrade vscode-languageclient from 8.1.0 to 10.0.0#1028
posit-snyk-bot wants to merge 1 commit into
mainfrom
snyk-fix-0cb157a398f72c7387a8f947e1018d8c

Conversation

@posit-snyk-bot

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • packages/core-node/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Inefficient Algorithmic Complexity
SNYK-JS-BRACEEXPANSION-17706650
  124  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@posit-snyk-bot

Copy link
Copy Markdown
Contributor Author

Merge Risk: High

The upgrade from vscode-languageclient v8.1.0 to v10.0.0 is a major transition spanning two major versions (v9 and v10). It introduces significant breaking changes that require code and configuration modifications.

Key Breaking Changes:

  • Build System & Module Loading: Version 9.0.0 transitioned to using the "exports" field in package.json instead of main. This requires updating your tsconfig.json to use a modern module and moduleResolution strategy, such as "NodeNext".
  • Logging API Change: Version 10.0.0 requires the use of the new vscode.LogOutputChannel for logging instead of the previous vscode.OutputChannel. You will need to update how you create and provide the output channel in your LanguageClientOptions.
  • VS Code Engine Requirement: This upgrade requires a newer version of the VS Code engine. Your extension's package.json will need its engines.vscode field updated to a more recent version (e.g., ^1.82.0 or higher).
  • Node.js Runtime: The underlying libraries now target modern Node.js versions and the es2022 specification, which may require you to update your development and CI environments.

Recommendation:

  1. Update tsconfig.json: Set "module": "NodeNext" and "moduleResolution": "NodeNext".
  2. Update LanguageClientOptions: Replace the use of vscode.OutputChannel with vscode.LogOutputChannel for the outputChannel property.
  3. Update package.json: Increase the engines.vscode value to a compatible version (e.g., ^1.82.0).
  4. Verify Node.js Version: Ensure your build environment uses a Node.js version compatible with the es2022 target.

Source: vscode-languageserver-node changelog.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@posit-snyk-bot

posit-snyk-bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants