File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
.devcontainer/local-features/setup-user Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,16 @@ jar cf ${MAVEN_PATH}/commons-io-2.11.jar /tmp/commons-io-commons-io-2.11.0-RC1
5252rm -rf /tmp/commons-io-commons-io-2.11.0-RC1
5353
5454# Temporary: Upgrade NPM packages due to mentioned CVEs.
55- # decode-uri-component: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38900
5655# ansi-regex: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3807
57- # minimatch : https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3517
56+ # decode-uri-component : https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38900
5857# got: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-33987
59- NPM_PACKAGES_LIST=" decode-uri-component
60- ansi-regex
58+ # minimatch: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3517
59+ # qs: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24999
60+ NPM_PACKAGES_LIST=" ansi-regex
61+ decode-uri-component
62+ got
6163 minimatch
62- got "
64+ qs "
6365
6466cd /usr/local/share/nvm/versions/node/v14* /lib/node_modules/npm
6567npm install ${NPM_PACKAGES_LIST}
Original file line number Diff line number Diff line change @@ -193,6 +193,9 @@ check-version-ge "minimatch" "${minimatchVersion}" "3.0.5"
193193gotVersion=$( npm ls --depth 1 --json | jq -r ' .dependencies.got.version' )
194194check-version-ge " got" " ${gotVersion} " " 12.1.0"
195195
196+ qsVersion=$( npm ls --depth 1 --json | jq -r ' .dependencies.qs.version' )
197+ check-version-ge " qs" " ${qsVersion} " " 6.10"
198+
196199ls -la /home/codespace
197200
198201# Report result
You can’t perform that action at this time.
0 commit comments