@sap-ux/axios-extension 1.25.32 → 1.25.34
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.
|
@@ -104,7 +104,7 @@ class TransportChecksService extends adt_service_1.AdtService {
|
|
|
104
104
|
this.log.warn(`Invalid XML: ${xml}`);
|
|
105
105
|
return [];
|
|
106
106
|
}
|
|
107
|
-
const doc = new xmldom_1.DOMParser().parseFromString(xml);
|
|
107
|
+
const doc = new xmldom_1.DOMParser().parseFromString(xml, 'text/xml');
|
|
108
108
|
const status = xpath.select1('//RESULT/text()', doc)?.toString();
|
|
109
109
|
switch (status) {
|
|
110
110
|
case 'S':
|
package/dist/factory.js
CHANGED
|
@@ -181,9 +181,10 @@ function createForAbapOnCloud(options) {
|
|
|
181
181
|
}
|
|
182
182
|
break;
|
|
183
183
|
}
|
|
184
|
-
default:
|
|
184
|
+
default: {
|
|
185
185
|
const opts = options;
|
|
186
186
|
throw new Error(`Unknown environment type supplied: ${(0, node_util_1.inspect)(opts)}`);
|
|
187
|
+
}
|
|
187
188
|
}
|
|
188
189
|
return provider;
|
|
189
190
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/axios-extension",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.34",
|
|
4
4
|
"description": "Extension of the Axios module adding convenience methods to interact with SAP systems especially with OData services.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"axios": "1.15.0",
|
|
18
18
|
"detect-content-type": "1.2.0",
|
|
19
|
-
"fast-xml-parser": "5.
|
|
19
|
+
"fast-xml-parser": "5.7.2",
|
|
20
20
|
"lodash": "4.18.1",
|
|
21
21
|
"open": "8.4.2",
|
|
22
22
|
"qs": "6.15.0",
|
|
23
23
|
"xpath": "0.0.34",
|
|
24
|
-
"@xmldom/xmldom": "0.8.
|
|
24
|
+
"@xmldom/xmldom": "0.8.13",
|
|
25
25
|
"https-proxy-agent": "7.0.6",
|
|
26
26
|
"http-proxy-agent": "7.0.2",
|
|
27
27
|
"proxy-from-env": "1.1.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"nock": "14.0.11",
|
|
36
36
|
"supertest": "7.2.2",
|
|
37
37
|
"@types/proxy-from-env": "1.0.4",
|
|
38
|
-
"@sap-ux/project-access": "1.
|
|
38
|
+
"@sap-ux/project-access": "1.36.2"
|
|
39
39
|
},
|
|
40
40
|
"files": [
|
|
41
41
|
"dist",
|