Skip to content

Commit 10e24ca

Browse files
committed
Update dependencies and force-update qs
This is mainly an attempt to get rid of as many resolutions as possible since it seems they are unnecessary except for qs (according to yarn/npm audit). For qs use 6.9.7 since Express is using 6.9.6 and that matches the most closely. Also add overrides since this is npm's version of yarn's resolutions and we need it for the shrinkwrap to generate with the right dependencies. Decided to keep pinning @types/node as well although I am not sure it is necessary. Express is pulling in v20 types. Since this is development-only we only need it in resolutions.
1 parent 70d0c60 commit 10e24ca

File tree

3 files changed

+1065
-1251
lines changed

3 files changed

+1065
-1251
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/checkout@v3
3232

3333
- name: Run prettier with actionsx/prettier
34-
uses: actionsx/prettier@v2
34+
uses: actionsx/prettier@v3
3535
with:
3636
args: --check --loglevel=warn .
3737

package.json

Lines changed: 46 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -38,74 +38,61 @@
3838
},
3939
"main": "out/node/entry.js",
4040
"devDependencies": {
41-
"@schemastore/package": "^0.0.6",
42-
"@types/compression": "^1.7.0",
43-
"@types/cookie-parser": "^1.4.2",
44-
"@types/express": "^4.17.8",
45-
"@types/http-proxy": "^1.17.4",
46-
"@types/js-yaml": "^4.0.0",
41+
"@schemastore/package": "^0.0.10",
42+
"@types/compression": "^1.7.3",
43+
"@types/cookie-parser": "^1.4.4",
44+
"@types/express": "^4.17.17",
45+
"@types/http-proxy": "^1.17.12",
46+
"@types/js-yaml": "^4.0.6",
4747
"@types/node": "^18.0.0",
48-
"@types/pem": "^1.9.5",
48+
"@types/pem": "^1.14.1",
4949
"@types/proxy-from-env": "^1.0.1",
5050
"@types/safe-compare": "^1.1.0",
51-
"@types/semver": "^7.1.0",
52-
"@types/trusted-types": "^2.0.2",
53-
"@types/ws": "^8.5.3",
54-
"@typescript-eslint/eslint-plugin": "^5.41.0",
55-
"@typescript-eslint/parser": "^5.41.0",
56-
"audit-ci": "^6.0.0",
57-
"doctoc": "2.2.1",
58-
"eslint": "^8.26.0",
59-
"eslint-config-prettier": "^8.5.0",
60-
"eslint-import-resolver-typescript": "^3.5.2",
61-
"eslint-plugin-import": "^2.26.0",
62-
"eslint-plugin-prettier": "^4.2.1",
63-
"prettier": "2.8.0",
64-
"prettier-plugin-sh": "^0.12.8",
65-
"ts-node": "^10.0.0",
66-
"typescript": "^5.0.4"
67-
},
68-
"resolutions": {
69-
"ansi-regex": "^5.0.1",
70-
"normalize-package-data": "^5.0.0",
71-
"doctoc/underscore": "^1.13.1",
72-
"doctoc/**/trim": "^1.0.0",
73-
"postcss": "^8.2.1",
74-
"browserslist": "^4.16.5",
75-
"safe-buffer": "^5.1.1",
76-
"vfile-message": "^2.0.2",
77-
"tar": "^6.1.9",
78-
"path-parse": "^1.0.7",
79-
"vm2": "^3.9.11",
80-
"follow-redirects": "^1.14.8",
81-
"node-fetch": "^2.6.7",
82-
"nanoid": "^3.1.31",
83-
"minimist": "npm:minimist-lite@2.2.1",
84-
"glob-parent": "^6.0.1",
85-
"@types/node": "^18.0.0",
86-
"qs": "^6.7.3"
51+
"@types/semver": "^7.5.2",
52+
"@types/trusted-types": "^2.0.4",
53+
"@types/ws": "^8.5.5",
54+
"@typescript-eslint/eslint-plugin": "^6.7.2",
55+
"@typescript-eslint/parser": "^6.7.2",
56+
"audit-ci": "^6.6.1",
57+
"doctoc": "^2.2.1",
58+
"eslint": "^8.49.0",
59+
"eslint-config-prettier": "^9.0.0",
60+
"eslint-import-resolver-typescript": "^3.6.0",
61+
"eslint-plugin-import": "^2.28.1",
62+
"eslint-plugin-prettier": "^5.0.0",
63+
"prettier": "^3.0.3",
64+
"prettier-plugin-sh": "^0.13.1",
65+
"ts-node": "^10.9.1",
66+
"typescript": "^5.2.2"
8767
},
8868
"dependencies": {
89-
"@coder/logger": "^3.0.0",
90-
"argon2": "0.31.0",
69+
"@coder/logger": "^3.0.1",
70+
"argon2": "^0.31.1",
9171
"compression": "^1.7.4",
92-
"cookie-parser": "^1.4.5",
93-
"env-paths": "^2.2.0",
94-
"express": "5.0.0-alpha.8",
95-
"http-proxy": "^1.18.0",
72+
"cookie-parser": "^1.4.6",
73+
"env-paths": "^2.2.1",
74+
"express": "5.0.0-beta.1",
75+
"http-proxy": "^1.18.1",
9676
"httpolyglot": "^0.1.2",
97-
"i18next": "^23.2.11",
98-
"js-yaml": "^4.0.0",
77+
"i18next": "^23.5.1",
78+
"js-yaml": "^4.1.0",
9979
"limiter": "^2.1.0",
100-
"pem": "^1.14.2",
101-
"proxy-agent": "^6.2.1",
102-
"qs": "6.11.0",
103-
"rotating-file-stream": "^3.0.0",
104-
"safe-buffer": "^5.1.1",
80+
"pem": "^1.14.8",
81+
"proxy-agent": "^6.3.1",
82+
"qs": "6.9.7",
83+
"rotating-file-stream": "^3.1.1",
84+
"safe-buffer": "^5.2.1",
10585
"safe-compare": "^1.1.4",
106-
"semver": "^7.1.3",
107-
"ws": "^8.0.0",
108-
"xdg-basedir": "^4.0.0"
86+
"semver": "^7.5.4",
87+
"ws": "^8.14.2",
88+
"xdg-basedir": "^5.1.0"
89+
},
90+
"resolutions": {
91+
"@types/node": "^18.0.0",
92+
"qs": "6.9.7"
93+
},
94+
"overrides": {
95+
"qs": "6.9.7"
10996
},
11097
"bin": {
11198
"code-server": "out/node/entry.js"

0 commit comments

Comments
 (0)