@hahnpro/flow-cli 2.16.5 → 2.16.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/auth.mjs +2 -2
- package/package.json +2 -2
package/lib/auth.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-check
|
|
2
2
|
import express from 'express';
|
|
3
3
|
import getPort from 'get-port';
|
|
4
|
-
import HttpsProxyAgent from 'https-proxy-agent';
|
|
4
|
+
import { HttpsProxyAgent } from 'https-proxy-agent';
|
|
5
5
|
import nconf from 'nconf';
|
|
6
6
|
import open from 'open';
|
|
7
7
|
import openidClient, { custom } from 'openid-client';
|
|
@@ -24,7 +24,7 @@ nconf.file({ file: join(__dirname, 'config') });
|
|
|
24
24
|
|
|
25
25
|
if (process.env.https_proxy || process.env.http_proxy) {
|
|
26
26
|
custom.setHttpOptionsDefaults({
|
|
27
|
-
agent: HttpsProxyAgent(process.env.https_proxy || process.env.http_proxy),
|
|
27
|
+
agent: new HttpsProxyAgent(process.env.https_proxy || process.env.http_proxy),
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hahnpro/flow-cli",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.6",
|
|
4
4
|
"description": "CLI for managing Flow Modules",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"express": "^4.18.2",
|
|
41
41
|
"form-data": "^4.0.0",
|
|
42
42
|
"get-port": "^7.0.0",
|
|
43
|
-
"glob": "^10.
|
|
43
|
+
"glob": "^10.3.0",
|
|
44
44
|
"https-proxy-agent": "^7.0.0",
|
|
45
45
|
"nconf": "^0.12.0",
|
|
46
46
|
"open": "^9.1.0",
|