@sap-ux/odata-service-inquirer 2.2.26 → 2.2.27
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.
|
@@ -479,7 +479,7 @@ class ConnectionValidator {
|
|
|
479
479
|
this.resetConnectionState();
|
|
480
480
|
this.resetValidity();
|
|
481
481
|
// Get the destination URL in the BAS specific form <protocol>://<destinationName>.dest. This function lowercases the origin.
|
|
482
|
-
const destUrl = (0, btp_utils_1.getDestinationUrlForAppStudio)(destination.Name, servicePath)
|
|
482
|
+
const destUrl = (0, btp_utils_1.getDestinationUrlForAppStudio)(destination.Name.toLowerCase(), servicePath);
|
|
483
483
|
// Get the destination URL in the portable form <protocol>://<host>:<port>.
|
|
484
484
|
// We remove trailing slashes (up to 10, infinite would allow DOS attack) from the host to avoid double slashes when appending the service path.
|
|
485
485
|
this._destinationUrl = servicePath
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
const logger_1 = require("@sap-ux/logger");
|
|
27
37
|
const AxiosLogger = __importStar(require("axios-logger"));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/odata-service-inquirer",
|
|
3
3
|
"description": "Prompts module that can prompt users for inputs required for odata service writing",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.27",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"i18next": "23.5.1",
|
|
29
29
|
"inquirer-autocomplete-prompt": "2.0.1",
|
|
30
30
|
"os-name": "4.0.1",
|
|
31
|
-
"@sap-ux/axios-extension": "1.19.2",
|
|
32
31
|
"@sap-ux/btp-utils": "1.0.2",
|
|
33
32
|
"@sap-ux/fiori-generator-shared": "0.9.11",
|
|
33
|
+
"@sap-ux/axios-extension": "1.19.2",
|
|
34
34
|
"@sap-ux/guided-answers-helper": "0.2.1",
|
|
35
35
|
"@sap-ux/telemetry": "0.5.72",
|
|
36
36
|
"@sap-ux/inquirer-common": "0.6.32",
|