From 6f495095fa76bf612de820bb2cc1c92aab7bb3d4 Mon Sep 17 00:00:00 2001 From: Michel Kaporin Date: Fri, 10 Feb 2023 13:21:16 +0100 Subject: [PATCH] fix: reduce load on Snyk Code API (#333) --- CHANGELOG.md | 6 ++++++ src/snyk/common/constants/languageServer.ts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d1c15c73..c0497d6ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Snyk Security - Code and Open Source Dependencies Changelog +## [1.15.2] + +### Fixed + +- Reduce load on Snyk Code API. + ## [1.15.1] ### Fixed diff --git a/src/snyk/common/constants/languageServer.ts b/src/snyk/common/constants/languageServer.ts index 314bb4c6f..9cb16820f 100644 --- a/src/snyk/common/constants/languageServer.ts +++ b/src/snyk/common/constants/languageServer.ts @@ -2,7 +2,7 @@ // Language Server name, used e.g. for the output channel export const SNYK_LANGUAGE_SERVER_NAME = 'Snyk Language Server'; // The internal language server protocol version for custom messages and configuration -export const PROTOCOL_VERSION = 6; +export const PROTOCOL_VERSION = 7; // LS protocol methods (needed for not having to rely on vscode dependencies in testing) export const DID_CHANGE_CONFIGURATION_METHOD = 'workspace/didChangeConfiguration';