mongodb-js / devtools-shared

Shared dependencies of Compass, the MongoDB extension for VSCode and mongosh
Other
14 stars 5 forks source link

fix(devtools-proxy-support): lazily load expensive dependencies MONGOSH-1853 #446

Closed addaleax closed 2 months ago

addaleax commented 2 months ago

Notably, this is referring to pac-proxy-agent and ssh2, which both involve somewhat complex setups.

Also, since ssh2 includes a WebAssembly implementation of a cryptographic algorithm, we should make sure not to load it in FIPS mode.

(This does not fully remove the need for loading this package lazily, since it still relies on the http package directly.)

Description

Open Questions

Checklist