@sap-ux/preview-middleware 1.0.24 → 1.0.25
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/flp.js +0 -2
- package/package.json +3 -3
package/dist/base/flp.js
CHANGED
|
@@ -341,7 +341,6 @@ export class FlpSandbox {
|
|
|
341
341
|
await this.setApplicationDependencies();
|
|
342
342
|
// get filepath from request. Use dummy url to extract it from originalUrl if needed
|
|
343
343
|
const filePath = 'query' in req ? req.path : new URL('http://dummyHost' + req.originalUrl).pathname; //NOSONAR
|
|
344
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
345
344
|
const file = await this.project.byPath(filePath);
|
|
346
345
|
if (file) {
|
|
347
346
|
this.logger.info(`HTML file returned at ${filePath} is loaded from the file system.`);
|
|
@@ -734,7 +733,6 @@ export class FlpSandbox {
|
|
|
734
733
|
*/
|
|
735
734
|
async testRunnerHtmlGetHandler(res, next, config, htmlTemplate, id) {
|
|
736
735
|
this.logger.debug(`Serving test route: ${config.path}`);
|
|
737
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
738
736
|
const file = await this.project.byPath(config.path);
|
|
739
737
|
if (file) {
|
|
740
738
|
this.logger.warn(`HTML file returned at ${config.path} is loaded from the file system.`);
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Apreview-middleware"
|
|
12
12
|
},
|
|
13
|
-
"version": "1.0.
|
|
13
|
+
"version": "1.0.25",
|
|
14
14
|
"license": "Apache-2.0",
|
|
15
15
|
"author": "@SAP/ux-tools-team",
|
|
16
16
|
"main": "dist/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"mem-fs-editor": "9.4.0",
|
|
29
29
|
"qrcode": "1.5.4",
|
|
30
30
|
"@sap/bas-sdk": "3.13.7",
|
|
31
|
-
"@sap-ux/adp-tooling": "1.0.
|
|
31
|
+
"@sap-ux/adp-tooling": "1.0.18",
|
|
32
32
|
"@sap-ux/btp-utils": "2.0.2",
|
|
33
33
|
"@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@1.0.5",
|
|
34
34
|
"@sap-ux/feature-toggle": "1.0.2",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"nock": "14.0.11",
|
|
55
55
|
"npm-run-all2": "8.0.4",
|
|
56
56
|
"supertest": "7.2.2",
|
|
57
|
-
"@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@1.0.
|
|
57
|
+
"@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@1.0.25",
|
|
58
58
|
"@sap-ux-private/playwright": "1.0.2",
|
|
59
59
|
"@sap-ux/axios-extension": "2.0.3",
|
|
60
60
|
"@sap-ux/store": "2.0.1",
|