Skip to content

Conversation

@glennsarti
Copy link
Contributor

@glennsarti glennsarti commented Oct 10, 2018

This commit updates the vscode-languageclient node module to 5.1.0. This is
needed for more recent LSP features.

This is in two commits so you can see the progression as the extension takes on major version bumps in the node module.

This also updates the vscode dev dependency to remove security vulnerabilities and to get any bug fixes.

Fixes #337

@glennsarti glennsarti changed the title (maint) Update vscode-languageclient to 5.1.0 {WIP} (maint) Update vscode-languageclient and vscode modules Oct 11, 2018
@glennsarti
Copy link
Contributor Author

glennsarti commented Oct 11, 2018

Testing:

  • Lang Server starts
  • Autocomplete and Hover
  • Node Graph
  • Inline linting
  • Format Document
  • Debug
  • PDK Commands

@glennsarti glennsarti changed the title {WIP} (maint) Update vscode-languageclient and vscode modules (maint) Update vscode-languageclient and vscode modules Oct 11, 2018
@jpogran
Copy link
Contributor

jpogran commented Oct 11, 2018

This is technically #337 not a maint commit...

@jpogran jpogran added this to the 0.13.0 milestone Oct 11, 2018
Copy link
Contributor

@jpogran jpogran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Retarget to #337

This commit updates the vscode-languageclient node module to 4.4.0.  This is
needed for more recent LSP features.
This commit updates the vscode-languageclient node module to 5.1.0.  This is
needed for more recent LSP features.
Previously the vscode module was only using an older vscode npm module however
this had some security vulnerabilites.  This commit forces npm to use the
latest module in the 1.x series.
@glennsarti glennsarti force-pushed the spike-update-lang-client branch from f3eeee9 to 4a61a9a Compare October 12, 2018 04:53
@glennsarti
Copy link
Contributor Author

@jpogran Commit messages modified.

@glennsarti glennsarti changed the title (maint) Update vscode-languageclient and vscode modules (GH-337) Update vscode-languageclient and vscode modules Oct 12, 2018
import { PuppetStatusBar } from "./PuppetStatusBar";
import { ILogger } from "./logging";
import { ServerOptions, LanguageClientOptions } from "vscode-languageclient/lib/client";
import { LanguageClientOptions } from "vscode-languageclient/lib/client";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this can be one line if you remove lib/client. This can be done in a new PR

@jpogran jpogran merged commit 8ddb982 into puppetlabs:master Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update node dependencies

2 participants