@sap-ux/preview-middleware 0.20.34 → 0.20.36

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.
@@ -51,7 +51,8 @@ sap.ui.define([
51
51
  rta.setPlugins(defaultPlugins);
52
52
  if (isLowerThanMinimalUi5Version(ui5VersionInfo, {
53
53
  major: 1,
54
- minor: 136
54
+ minor: 136,
55
+ patch: 2
55
56
  })) {
56
57
  await initDialogs(rta, syncViewsIds, ui5VersionInfo);
57
58
  } else {
@@ -28,7 +28,7 @@ export default async function (rta: RuntimeAuthoring) {
28
28
  const defaultPlugins = rta.getDefaultPlugins();
29
29
  rta.setPlugins(defaultPlugins);
30
30
 
31
- if (isLowerThanMinimalUi5Version(ui5VersionInfo, { major: 1, minor: 136 })) {
31
+ if (isLowerThanMinimalUi5Version(ui5VersionInfo, { major: 1, minor: 136, patch: 2 })) {
32
32
  await initDialogs(rta, syncViewsIds, ui5VersionInfo);
33
33
  } else {
34
34
  (await import('open/ux/preview/client/adp/add-fragment')).initAddXMLPlugin(rta);
@@ -146,7 +146,8 @@ sap.ui.define(["sap/m/MessageToast", "sap/ui/core/Element", "sap/base/Log", "sap
146
146
  try {
147
147
  if (isLowerThanMinimalUi5Version(ui5VersionInfo, {
148
148
  major: 1,
149
- minor: 120
149
+ minor: 120,
150
+ patch: 2
150
151
  })) {
151
152
  const elements = Element.registry.filter(() => true);
152
153
  elements.forEach(ui5Element => {
@@ -155,7 +155,7 @@ function isSyncView(element: DTElement): boolean {
155
155
  export async function getAllSyncViewsIds(ui5VersionInfo: Ui5VersionInfo): Promise<string[]> {
156
156
  const syncViewIds: string[] = [];
157
157
  try {
158
- if (isLowerThanMinimalUi5Version(ui5VersionInfo, { major: 1, minor: 120 })) {
158
+ if (isLowerThanMinimalUi5Version(ui5VersionInfo, { major: 1, minor: 120, patch: 2 })) {
159
159
  const elements = Element.registry.filter(() => true) as DTElement[];
160
160
  elements.forEach((ui5Element) => {
161
161
  if (isSyncView(ui5Element)) {
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.20.34",
12
+ "version": "0.20.36",
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.14.23",
28
+ "@sap-ux/adp-tooling": "0.14.24",
29
29
  "@sap-ux/btp-utils": "1.1.0",
30
30
  "@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.6.6",
31
31
  "@sap-ux/feature-toggle": "0.3.0",
@@ -49,7 +49,7 @@
49
49
  "nock": "13.4.0",
50
50
  "npm-run-all2": "6.2.0",
51
51
  "supertest": "6.3.3",
52
- "@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.14.7",
52
+ "@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.14.8",
53
53
  "@sap-ux/axios-extension": "1.21.4",
54
54
  "@sap-ux/i18n": "0.3.0",
55
55
  "@sap-ux/store": "1.1.0",