@sap-ux/backend-proxy-middleware 0.6.57 → 0.6.59
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/dist/base/proxy.js +1 -0
- package/dist/middleware.js +1 -0
- package/package.json +6 -6
package/dist/base/proxy.js
CHANGED
|
@@ -96,6 +96,7 @@ exports.proxyErrorHandler = proxyErrorHandler;
|
|
|
96
96
|
* not found or error while extracting the key.
|
|
97
97
|
*
|
|
98
98
|
* @param logger - logger to report errors
|
|
99
|
+
* @returns {*} {(Promise<string | undefined>)} - ApiHubKey
|
|
99
100
|
*/
|
|
100
101
|
function getApiHubKey(logger) {
|
|
101
102
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist/middleware.js
CHANGED
|
@@ -37,6 +37,7 @@ function formatProxyForLogging(proxy) {
|
|
|
37
37
|
*
|
|
38
38
|
* @param params input parameters for UI5 middleware
|
|
39
39
|
* @param params.options configuration options
|
|
40
|
+
* @returns {*} {(Promise<RequestHandler>)}
|
|
40
41
|
*/
|
|
41
42
|
module.exports = ({ options }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42
43
|
var _a;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Abackend-proxy-middleware"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.6.
|
|
12
|
+
"version": "0.6.59",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"i18next": "20.3.2",
|
|
29
29
|
"prompts": "2.4.2",
|
|
30
30
|
"proxy-from-env": "1.1.0",
|
|
31
|
-
"@sap-ux/axios-extension": "1.3.
|
|
32
|
-
"@sap-ux/btp-utils": "0.11.
|
|
33
|
-
"@sap-ux/logger": "0.3.
|
|
34
|
-
"@sap-ux/store": "0.3.
|
|
31
|
+
"@sap-ux/axios-extension": "1.3.2",
|
|
32
|
+
"@sap-ux/btp-utils": "0.11.7",
|
|
33
|
+
"@sap-ux/logger": "0.3.7",
|
|
34
|
+
"@sap-ux/store": "0.3.12"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/express": "4.17.13",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "tsc --build",
|
|
56
56
|
"watch": "tsc --watch",
|
|
57
|
-
"clean": "rimraf dist test/test-output coverage *.tsbuildinfo",
|
|
57
|
+
"clean": "rimraf --glob dist test/test-output coverage *.tsbuildinfo",
|
|
58
58
|
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
|
|
59
59
|
"lint": "eslint . --ext .ts",
|
|
60
60
|
"lint:fix": "eslint . --ext .ts --fix",
|