@sap-ux/preview-middleware 0.19.5 → 0.19.7
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.d.ts +3 -3
- package/dist/base/flp.js +4 -4
- package/package.json +2 -2
package/dist/base/flp.d.ts
CHANGED
|
@@ -26,9 +26,6 @@ type OnChangeRequestHandler = (type: OperationType, change: CommonChangeProperti
|
|
|
26
26
|
* Class handling preview of a sandbox FLP.
|
|
27
27
|
*/
|
|
28
28
|
export declare class FlpSandbox {
|
|
29
|
-
private readonly project;
|
|
30
|
-
private readonly utils;
|
|
31
|
-
private readonly logger;
|
|
32
29
|
private adp?;
|
|
33
30
|
private manifest;
|
|
34
31
|
protected onChangeRequest: OnChangeRequestHandler | undefined;
|
|
@@ -38,6 +35,9 @@ export declare class FlpSandbox {
|
|
|
38
35
|
readonly test?: TestConfig[];
|
|
39
36
|
readonly router: EnhancedRouter;
|
|
40
37
|
private fs;
|
|
38
|
+
private readonly logger;
|
|
39
|
+
private readonly utils;
|
|
40
|
+
private readonly project;
|
|
41
41
|
/**
|
|
42
42
|
* Constructor setting defaults and keeping reference to workspace resources.
|
|
43
43
|
*
|
package/dist/base/flp.js
CHANGED
|
@@ -21,9 +21,6 @@ const DEFAULT_LIVERELOAD_PORT = 35729;
|
|
|
21
21
|
* Class handling preview of a sandbox FLP.
|
|
22
22
|
*/
|
|
23
23
|
class FlpSandbox {
|
|
24
|
-
project;
|
|
25
|
-
utils;
|
|
26
|
-
logger;
|
|
27
24
|
adp;
|
|
28
25
|
manifest;
|
|
29
26
|
onChangeRequest;
|
|
@@ -33,6 +30,9 @@ class FlpSandbox {
|
|
|
33
30
|
test;
|
|
34
31
|
router;
|
|
35
32
|
fs;
|
|
33
|
+
logger;
|
|
34
|
+
utils;
|
|
35
|
+
project;
|
|
36
36
|
/**
|
|
37
37
|
* Constructor setting defaults and keeping reference to workspace resources.
|
|
38
38
|
*
|
|
@@ -42,9 +42,9 @@ class FlpSandbox {
|
|
|
42
42
|
* @param logger logger instance
|
|
43
43
|
*/
|
|
44
44
|
constructor(config, project, utils, logger) {
|
|
45
|
+
this.logger = logger;
|
|
45
46
|
this.project = project;
|
|
46
47
|
this.utils = utils;
|
|
47
|
-
this.logger = logger;
|
|
48
48
|
this.flpConfig = (0, config_1.getFlpConfigWithDefaults)(config.flp);
|
|
49
49
|
this.test = config.test;
|
|
50
50
|
this.rta = config.editors?.rta ?? (0, config_1.sanitizeRtaConfig)(config.rta, logger); //NOSONAR
|
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%3Apreview-middleware"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.19.
|
|
12
|
+
"version": "0.19.7",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"ejs": "3.1.10",
|
|
26
26
|
"mem-fs": "2.1.0",
|
|
27
27
|
"mem-fs-editor": "9.4.0",
|
|
28
|
-
"@sap-ux/adp-tooling": "0.13.
|
|
28
|
+
"@sap-ux/adp-tooling": "0.13.22",
|
|
29
29
|
"@sap-ux/btp-utils": "1.0.2",
|
|
30
30
|
"@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.6.1",
|
|
31
31
|
"@sap-ux/feature-toggle": "0.2.3",
|