Skip to content

Commit c5d4fce

Browse files
committed
Update dependencies (incl. UI5 1.116.0 / DT Types 1.116.1)
1 parent 22c61f5 commit c5d4fce

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
"url": "https://github.com/SAP-samples/ui5-typescript-helloworld.git"
1818
},
1919
"devDependencies": {
20-
"@types/openui5": "1.112.0",
21-
"@typescript-eslint/eslint-plugin": "^5.57.1",
22-
"@typescript-eslint/parser": "^5.57.1",
23-
"@ui5/cli": "^3.0.6",
24-
"eslint": "^8.37.0",
25-
"typescript": "^5.0.3",
26-
"ui5-middleware-livereload": "^0.8.2",
27-
"ui5-middleware-simpleproxy": "^0.9.5",
28-
"ui5-tooling-transpile": "^0.7.0"
20+
"@types/openui5": "1.116.1",
21+
"@typescript-eslint/eslint-plugin": "^6.3.0",
22+
"@typescript-eslint/parser": "^6.3.0",
23+
"@ui5/cli": "^3.4.0",
24+
"eslint": "^8.46.0",
25+
"typescript": "^5.1.6",
26+
"ui5-middleware-livereload": "^3.0.0",
27+
"ui5-middleware-simpleproxy": "^3.0.0",
28+
"ui5-tooling-transpile": "^3.0.1"
2929
}
3030
}

ui5-dist.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resources:
88
webapp: dist
99
framework:
1010
name: OpenUI5
11-
version: "1.112.0"
11+
version: "1.116.0"
1212
libraries:
1313
- name: sap.m
1414
- name: sap.ui.core

ui5.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
type: application
55
framework:
66
name: OpenUI5
7-
version: "1.112.0"
7+
version: "1.116.0"
88
libraries:
99
- name: sap.m
1010
- name: sap.ui.core

webapp/Component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import UIComponent from "sap/ui/core/UIComponent";
2-
import { support } from "sap/ui/Device";
2+
import Device from "sap/ui/Device";
33

44

55
/**
@@ -30,7 +30,7 @@ export default class Component extends UIComponent {
3030
// check whether FLP has already set the content density class; do nothing in this case
3131
if (document.body.classList.contains("sapUiSizeCozy") || document.body.classList.contains("sapUiSizeCompact")) {
3232
this.contentDensityClass = "";
33-
} else if (!support.touch) { // apply "compact" mode if touch is not supported
33+
} else if (!Device.support.touch) { // apply "compact" mode if touch is not supported
3434
this.contentDensityClass = "sapUiSizeCompact";
3535
} else {
3636
// "cozy" in case of touch support; default for most sap.m controls, but needed for desktop-first controls like sap.ui.table.Table

0 commit comments

Comments
 (0)