From c5e5c1e0675342513a202f422d79d379ece1c421 Mon Sep 17 00:00:00 2001 From: Rafal Chlodnicki Date: Sat, 19 Oct 2024 19:21:24 +0200 Subject: [PATCH 1/2] fix: update node to 20.18.0 --- st3/lsp_utils/node_runtime.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/st3/lsp_utils/node_runtime.py b/st3/lsp_utils/node_runtime.py index 824c916..b3a6d4c 100755 --- a/st3/lsp_utils/node_runtime.py +++ b/st3/lsp_utils/node_runtime.py @@ -26,10 +26,10 @@ NODE_RUNTIME_VERSION = '18.18.1' NODE_DIST_URL = 'https://nodejs.org/dist/v{version}/{filename}' -ELECTRON_RUNTIME_VERSION = '27.0.0' # includes Node.js v18.17.1 -ELECTRON_NODE_VERSION = '18.17.1' +ELECTRON_RUNTIME_VERSION = '33.0.0' # includes Node.js v20.18.0 +ELECTRON_NODE_VERSION = '20.18.0' ELECTRON_DIST_URL = 'https://github.com/electron/electron/releases/download/v{version}/{filename}' -YARN_URL = 'https://github.com/yarnpkg/yarn/releases/download/v1.22.21/yarn-1.22.21.js' +YARN_URL = 'https://github.com/yarnpkg/yarn/releases/download/v1.22.22/yarn-1.22.22.js' NO_NODE_FOUND_MESSAGE = 'Could not start {package_name} due to not being able to resolve suitable Node.js \ runtime on the PATH. Press the "Download Node.js" button to get required Node.js version \ From 60ce170f5aeb7df2f8443753557f679dae6679e0 Mon Sep 17 00:00:00 2001 From: Rafal Chlodnicki Date: Sat, 19 Oct 2024 19:36:57 +0200 Subject: [PATCH 2/2] match nodejs --- st3/lsp_utils/node_runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st3/lsp_utils/node_runtime.py b/st3/lsp_utils/node_runtime.py index b3a6d4c..f1cc8dc 100755 --- a/st3/lsp_utils/node_runtime.py +++ b/st3/lsp_utils/node_runtime.py @@ -23,7 +23,7 @@ IS_WINDOWS_7_OR_LOWER = sys.platform == 'win32' and sys.getwindowsversion()[:2] <= (6, 1) # type: ignore -NODE_RUNTIME_VERSION = '18.18.1' +NODE_RUNTIME_VERSION = '20.18.0' NODE_DIST_URL = 'https://nodejs.org/dist/v{version}/{filename}' ELECTRON_RUNTIME_VERSION = '33.0.0' # includes Node.js v20.18.0