Skip to content

Commit 136441b

Browse files
hyangahgopherbot
authored andcommitted
extension/tsconfig.json: target es2022
Regexp capturing group used in extesion/src/goTest/utils.ts `moduleNameRegex` is available from es2018 Originally targetted to switch to es2018, but Ethan Reesor pointed out the current vscode-go targets vscode 1.75.0+ and according to https://github.com/ewanharris/vscode-versions, it must be able to support node 16.14.2+. node.green shows 16.14.2 supports up through es2022. From https://compat-table.github.io/compat-table/es2016plus/ es2022 is widely supported. So, bump up to es2022. Fixes #3540 Change-Id: I033ef645f77b06ca1c9cf5415f3c7c95887be409 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/606695 Reviewed-by: Ethan Reesor <[email protected]> Commit-Queue: Hyang-Ah Hana Kim <[email protected]> kokoro-CI: kokoro <[email protected]> Auto-Submit: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Hongxiang Jiang <[email protected]>
1 parent 91e723a commit 136441b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

extension/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
},
9393
"engines": {
9494
"vscode": "^1.75.0",
95-
"node": ">=12.0.0"
95+
"node": ">=16.14.2"
9696
},
9797
"activationEvents": [
9898
"onLanguage:go",

extension/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"module": "commonjs",
44
"outDir": "out",
55
"sourceMap": true,
6-
"target": "es2017",
6+
"target": "es2022",
77
"lib": [
8-
"es2017"
8+
"es2022"
99
],
1010
"strict": true,
1111
"esModuleInterop": true,

0 commit comments

Comments
 (0)