@reportportal/client-javascript 5.5.2 → 5.5.4
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/VERSION +1 -1
- package/lib/rest.js +4 -2
- package/package.json +2 -2
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.5.
|
|
1
|
+
5.5.5-SNAPSHOT
|
package/lib/rest.js
CHANGED
|
@@ -65,10 +65,12 @@ class RestClient {
|
|
|
65
65
|
|
|
66
66
|
request(method, url, data, options = {}) {
|
|
67
67
|
// Only apply proxy agents if custom agents are not explicitly provided
|
|
68
|
-
// Priority: explicit httpsAgent/httpAgent > proxy config > default
|
|
68
|
+
// Priority: explicit httpsAgent/httpAgent/agent > proxy config > default
|
|
69
69
|
const hasCustomAgents =
|
|
70
70
|
this.restClientConfig &&
|
|
71
|
-
('httpsAgent' in this.restClientConfig ||
|
|
71
|
+
('httpsAgent' in this.restClientConfig ||
|
|
72
|
+
'httpAgent' in this.restClientConfig ||
|
|
73
|
+
'agent' in this.restClientConfig);
|
|
72
74
|
const proxyAgents = hasCustomAgents ? {} : getProxyAgentForUrl(url, this.restClientConfig);
|
|
73
75
|
const usingProxyAgent = Object.keys(proxyAgents).length > 0;
|
|
74
76
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reportportal/client-javascript",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.4",
|
|
4
4
|
"description": "ReportPortal client for Node.js",
|
|
5
5
|
"author": "ReportPortal.io",
|
|
6
6
|
"scripts": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"axios": "^1.12.2",
|
|
29
29
|
"axios-retry": "^4.5.0",
|
|
30
|
-
"glob": "^
|
|
30
|
+
"glob": "^11.0.3",
|
|
31
31
|
"http-proxy-agent": "^7.0.2",
|
|
32
32
|
"https-proxy-agent": "^7.0.6",
|
|
33
33
|
"ini": "^2.0.0",
|