Skip to content

Commit 7a769bd

Browse files
authored
Update devcontainers version to Node 20 (conwnet#525)
* Update devcontainers versions * Upgrade eslint-plugin-jsdoc
1 parent 1d8e2e8 commit 7a769bd

4 files changed

Lines changed: 56 additions & 30 deletions

File tree

‎.devcontainer/Dockerfile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# [Choice] Node.js version: 14, 12, 10
44
ARG VARIANT="14-buster"
5-
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
5+
FROM mcr.microsoft.com/devcontainers/typescript-node:${VARIANT}
66

77
# same package list from github1s/scripts/preinstall.sh
88
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
@@ -13,7 +13,7 @@ RUN mkdir -p /opt/dev \
1313
&& cd /opt/dev \
1414
&& git clone https://github.com/emscripten-core/emsdk.git \
1515
&& cd /opt/dev/emsdk \
16-
&& ./emsdk install 2.0.6 \
17-
&& ./emsdk activate 2.0.6
16+
&& ./emsdk install 3.1.21 \
17+
&& ./emsdk activate 3.1.21
1818

19-
ENV PATH="/opt/dev/emsdk:/opt/dev/emsdk/node/12.9.1_64bit/bin:/opt/dev/emsdk/upstream/emscripten:${PATH}"
19+
ENV PATH="/opt/dev/emsdk:/opt/dev/emsdk/node/14.18.2_64bit/bin:/opt/dev/emsdk/upstream/emscripten:${PATH}"

‎.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dockerfile": "Dockerfile",
77
// Update 'VARIANT' to pick a Node version: 10, 12, 14
88
"args": {
9-
"VARIANT": "12"
9+
"VARIANT": "20-bullseye"
1010
}
1111
},
1212

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"css-loader": "^6.7.3",
1717
"eslint": "^8.25.0",
1818
"eslint-config-prettier": "^8.5.0",
19-
"eslint-plugin-jsdoc": "^39.3.14",
19+
"eslint-plugin-jsdoc": "^46.8.2",
2020
"eslint-plugin-prettier": "^4.2.1",
2121
"file-loader": "^6.2.0",
2222
"fs-extra": "^10.1.0",

‎yarn.lock‎

Lines changed: 50 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
88
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==
99

10-
"@es-joy/jsdoccomment@~0.33.0":
11-
version "0.33.0"
12-
resolved "https://registry.yarnpkg.com/@es-joy/jsdoccomment/-/jsdoccomment-0.33.0.tgz#59416d08442d0fdbb316fc1cb491e750db80b9ad"
13-
integrity sha512-bkxMGTlHPE4vfarXt1L1fOm81O18jTRFNgh3Fm4iPKctfWxcpJw4cpth5BhLkGZy4HFzGn/KfD/zGks/J+ZIIw==
10+
"@es-joy/jsdoccomment@~0.40.1":
11+
version "0.40.1"
12+
resolved "https://registry.yarnpkg.com/@es-joy/jsdoccomment/-/jsdoccomment-0.40.1.tgz#13acd77fb372ed1c83b7355edd865a3b370c9ec4"
13+
integrity sha512-YORCdZSusAlBrFpZ77pJjc5r1bQs5caPWtAu+WWmiSo+8XaUzseapVrfAtiRFbQWnrBxxLLEwF6f6ZG/UgCQCg==
1414
dependencies:
15-
comment-parser "1.3.1"
16-
esquery "^1.4.0"
17-
jsdoc-type-pratt-parser "~3.1.0"
15+
comment-parser "1.4.0"
16+
esquery "^1.5.0"
17+
jsdoc-type-pratt-parser "~4.0.0"
1818

1919
"@eslint/eslintrc@^1.3.3":
2020
version "1.3.3"
@@ -682,6 +682,11 @@ anymatch@~3.1.2:
682682
normalize-path "^3.0.0"
683683
picomatch "^2.0.4"
684684

685+
are-docs-informative@^0.0.2:
686+
version "0.0.2"
687+
resolved "https://registry.yarnpkg.com/are-docs-informative/-/are-docs-informative-0.0.2.tgz#387f0e93f5d45280373d387a59d34c96db321963"
688+
integrity sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==
689+
685690
argparse@^2.0.1:
686691
version "2.0.1"
687692
resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
@@ -802,6 +807,11 @@ buffer-from@^1.0.0:
802807
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
803808
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
804809

810+
builtin-modules@^3.3.0:
811+
version "3.3.0"
812+
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6"
813+
integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==
814+
805815
bytes@3.0.0:
806816
version "3.0.0"
807817
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
@@ -989,10 +999,10 @@ commander@^9.3.0:
989999
resolved "https://registry.yarnpkg.com/commander/-/commander-9.3.0.tgz#f619114a5a2d2054e0d9ff1b31d5ccf89255e26b"
9901000
integrity sha512-hv95iU5uXPbK83mjrJKuZyFM/LBAoCV/XhVGkS5Je6tl7sxr6A0ITMw5WoRV46/UaJ46Nllm3Xt7IaJhXTIkzw==
9911001

992-
comment-parser@1.3.1:
993-
version "1.3.1"
994-
resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.3.1.tgz#3d7ea3adaf9345594aedee6563f422348f165c1b"
995-
integrity sha512-B52sN2VNghyq5ofvUsqZjmk6YkihBX5vMSChmSK9v4ShjKf3Vk5Xcmgpw4o+iIgtrnM/u5FiMpz9VKb8lpBveA==
1002+
comment-parser@1.4.0:
1003+
version "1.4.0"
1004+
resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.4.0.tgz#0f8c560f59698193854f12884c20c0e39a26d32c"
1005+
integrity sha512-QLyTNiZ2KDOibvFPlZ6ZngVsZ/0gYnE6uTXi5aoDg8ed3AkJAz4sEje3Y8a29hQ1s6A99MZXe47fLAXQ1rTqaw==
9961006

9971007
compressible@~2.0.16:
9981008
version "2.0.18"
@@ -1398,17 +1408,19 @@ eslint-config-prettier@^8.5.0:
13981408
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1"
13991409
integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==
14001410

1401-
eslint-plugin-jsdoc@^39.3.14:
1402-
version "39.3.14"
1403-
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-39.3.14.tgz#2591bf48907a7527a6e689fd721634364d08fe4e"
1404-
integrity sha512-kle7ot5xvzXwWzg7ElzTPM/y1IWUo0kfa5X+ZwOC/7Jw81OJaqIaNEk+2ZH+HcKkbwRUQ3RTdK9qsm4p5vbXAQ==
1411+
eslint-plugin-jsdoc@^46.8.2:
1412+
version "46.8.2"
1413+
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.8.2.tgz#3e6b1c93e91e38fe01874d45da121b56393c54a5"
1414+
integrity sha512-5TSnD018f3tUJNne4s4gDWQflbsgOycIKEUBoCLn6XtBMgNHxQFmV8vVxUtiPxAQq8lrX85OaSG/2gnctxw9uQ==
14051415
dependencies:
1406-
"@es-joy/jsdoccomment" "~0.33.0"
1407-
comment-parser "1.3.1"
1416+
"@es-joy/jsdoccomment" "~0.40.1"
1417+
are-docs-informative "^0.0.2"
1418+
comment-parser "1.4.0"
14081419
debug "^4.3.4"
14091420
escape-string-regexp "^4.0.0"
1410-
esquery "^1.4.0"
1411-
semver "^7.3.8"
1421+
esquery "^1.5.0"
1422+
is-builtin-module "^3.2.1"
1423+
semver "^7.5.4"
14121424
spdx-expression-parse "^3.0.1"
14131425

14141426
eslint-plugin-prettier@^4.2.1:
@@ -1511,6 +1523,13 @@ esquery@^1.4.0:
15111523
dependencies:
15121524
estraverse "^5.1.0"
15131525

1526+
esquery@^1.5.0:
1527+
version "1.5.0"
1528+
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b"
1529+
integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==
1530+
dependencies:
1531+
estraverse "^5.1.0"
1532+
15141533
esrecurse@^4.3.0:
15151534
version "4.3.0"
15161535
resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921"
@@ -2220,6 +2239,13 @@ is-boolean-object@^1.1.0:
22202239
call-bind "^1.0.2"
22212240
has-tostringtag "^1.0.0"
22222241

2242+
is-builtin-module@^3.2.1:
2243+
version "3.2.1"
2244+
resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.2.1.tgz#f03271717d8654cfcaf07ab0463faa3571581169"
2245+
integrity sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==
2246+
dependencies:
2247+
builtin-modules "^3.3.0"
2248+
22232249
is-callable@^1.1.4, is-callable@^1.2.4:
22242250
version "1.2.4"
22252251
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945"
@@ -2400,10 +2426,10 @@ jschardet@3.0.0:
24002426
resolved "https://registry.yarnpkg.com/jschardet/-/jschardet-3.0.0.tgz#898d2332e45ebabbdb6bf2feece9feea9a99e882"
24012427
integrity sha512-lJH6tJ77V8Nzd5QWRkFYCLc13a3vADkh3r/Fi8HupZGWk2OVVDfnZP8V/VgQgZ+lzW0kG2UGb5hFgt3V3ndotQ==
24022428

2403-
jsdoc-type-pratt-parser@~3.1.0:
2404-
version "3.1.0"
2405-
resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-3.1.0.tgz#a4a56bdc6e82e5865ffd9febc5b1a227ff28e67e"
2406-
integrity sha512-MgtD0ZiCDk9B+eI73BextfRrVQl0oyzRG8B2BjORts6jbunj4ScKPcyXGTbB6eXL4y9TzxCm6hyeLq/2ASzNdw==
2429+
jsdoc-type-pratt-parser@~4.0.0:
2430+
version "4.0.0"
2431+
resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz#136f0571a99c184d84ec84662c45c29ceff71114"
2432+
integrity sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==
24072433

24082434
json-parse-better-errors@^1.0.1:
24092435
version "1.0.2"
@@ -3445,7 +3471,7 @@ selfsigned@^2.0.1:
34453471
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
34463472
integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==
34473473

3448-
semver@^7.3.4, semver@^7.3.7, semver@^7.3.8:
3474+
semver@^7.3.4, semver@^7.3.7, semver@^7.3.8, semver@^7.5.4:
34493475
version "7.5.4"
34503476
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
34513477
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==

0 commit comments

Comments
 (0)