Skip to content

Commit 3beef77

Browse files
committed
fix: switch to Bundler module resolution for proxy-agent compatibility
proxy-agent v7 uses the `exports` field in package.json, which requires moduleResolution "Bundler" or "NodeNext". Since esbuild handles bundling to CJS, "Bundler" + "ESNext" is the correct TypeScript configuration for type-checking only. Also update test type casts for the new ProxyAgentOptions union type.
1 parent 837df11 commit 3beef77

File tree

5 files changed

+947
-1034
lines changed

5 files changed

+947
-1034
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@
478478
"openpgp": "^6.3.0",
479479
"pretty-bytes": "^7.1.0",
480480
"proper-lockfile": "^4.1.2",
481-
"proxy-agent": "^6.5.0",
481+
"proxy-agent": "^7.0.0",
482482
"semver": "^7.7.4",
483483
"strip-ansi": "^7.2.0",
484484
"ua-parser-js": "^1.0.41",
@@ -502,42 +502,42 @@
502502
"@types/ua-parser-js": "0.7.39",
503503
"@types/vscode": "^1.95.0",
504504
"@types/ws": "^8.18.1",
505-
"@typescript-eslint/eslint-plugin": "^8.56.1",
506-
"@typescript-eslint/parser": "^8.56.1",
505+
"@typescript-eslint/eslint-plugin": "^8.57.0",
506+
"@typescript-eslint/parser": "^8.57.0",
507507
"@vitejs/plugin-react": "catalog:",
508-
"@vitest/coverage-v8": "^4.0.18",
508+
"@vitest/coverage-v8": "^4.1.0",
509509
"@vscode/test-cli": "^0.0.12",
510510
"@vscode/test-electron": "^2.5.2",
511511
"@vscode/vsce": "^3.7.1",
512512
"babel-plugin-react-compiler": "catalog:",
513513
"bufferutil": "^4.1.0",
514514
"coder": "catalog:",
515515
"concurrently": "^9.2.1",
516-
"dayjs": "^1.11.19",
517-
"electron": "^40.6.1",
518-
"esbuild": "^0.27.3",
519-
"eslint": "^10.0.2",
516+
"dayjs": "^1.11.20",
517+
"electron": "^41.0.0",
518+
"esbuild": "^0.27.4",
519+
"eslint": "^10.0.3",
520520
"eslint-config-prettier": "^10.1.8",
521521
"eslint-import-resolver-typescript": "^4.4.4",
522-
"eslint-plugin-import-x": "^4.16.1",
523-
"eslint-plugin-package-json": "^0.89.2",
522+
"eslint-plugin-import-x": "^4.16.2",
523+
"eslint-plugin-package-json": "^0.90.1",
524524
"globals": "^17.4.0",
525525
"jsdom": "^28.1.0",
526526
"jsonc-eslint-parser": "^3.1.0",
527-
"memfs": "^4.56.10",
527+
"memfs": "^4.56.11",
528528
"prettier": "^3.8.1",
529529
"react": "catalog:",
530530
"react-dom": "catalog:",
531531
"typescript": "catalog:",
532-
"typescript-eslint": "^8.56.1",
532+
"typescript-eslint": "^8.57.0",
533533
"utf-8-validate": "^6.0.6",
534534
"vite": "catalog:",
535-
"vitest": "^4.0.18"
535+
"vitest": "^4.1.0"
536536
},
537537
"extensionPack": [
538538
"ms-vscode-remote.remote-ssh"
539539
],
540-
"packageManager": "pnpm@10.30.3",
540+
"packageManager": "pnpm@10.32.1",
541541
"engines": {
542542
"vscode": "^1.95.0",
543543
"node": ">= 20"

0 commit comments

Comments
 (0)