mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 09:35:39 -05:00
Bump some packages (#8096)
* update packages * remove fs * fix more deps * test adding governance to ci * ignore samples for cacheing * fix save cache too * bump more packages * attempt to fix slickgrid * add more deps * use slickgrid version * bump https-proxy * bump more packages. * fix service-downloader * remove typings * fix compile * update more packages * add vscode back to the extensions that need it for testing * add fail on critical * regrab proxy agent * lock more deps * replace final high warning * revert service downloader changes * remove the deps on jquery ui and event drag
This commit is contained in:
@@ -44,9 +44,7 @@ export async function getProxyAgent(rawRequestURL: string, options: IOptions = {
|
||||
rejectUnauthorized: isBoolean(options.strictSSL) ? options.strictSSL : true
|
||||
};
|
||||
|
||||
const Ctor = requestURL.protocol === 'http:'
|
||||
? await import('http-proxy-agent')
|
||||
: await import('https-proxy-agent');
|
||||
|
||||
return new Ctor(opts);
|
||||
return requestURL.protocol === 'http:'
|
||||
? new (await import('http-proxy-agent'))(opts)
|
||||
: new (await import('https-proxy-agent'))(opts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user