Skip to content

Commit

Permalink
feat!: Use new sap.ui.core.Lib from v1.120.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciolauffer committed Dec 5, 2023
1 parent f3291a7 commit bf8b2e9
Show file tree
Hide file tree
Showing 11 changed files with 383 additions and 566 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
- run: concurrently --kill-others --success last "npm:start:dist" "npm:test:ci"
- uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: target/eslint.sarif
sarif_file: ./eslint.sarif
10 changes: 4 additions & 6 deletions dist/resources/openui5/validator/library-dbg.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
*/

sap.ui.define([
'sap/ui/core/Core',
'sap/ui/core/Lib',
'sap/ui/core/library'
],
/**
* Module Dependencies
* @param {sap.ui.core.Core} Core - sap.ui.core.Core
* @param {sap.ui.core.Lib} Lib - sap.ui.core.Lib
* @returns {object} openui5.validator library
*/
function(Core) {
function(Lib) {
/**
* OpenUI5 library: openui5.validator.
* @namespace
Expand All @@ -24,7 +24,7 @@ function(Core) {
* @version 0.1.19
* @public
*/
Core.initLibrary({
return Lib.init({
name: 'openui5.validator',
dependencies: [
'sap.ui.core'
Expand All @@ -33,6 +33,4 @@ function(Core) {
noLibraryCSS: true,
version: '0.1.19'
});

return openui5.validator; // eslint-disable-line
});
4 changes: 2 additions & 2 deletions dist/resources/openui5/validator/library-preload.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/resources/openui5/validator/library-preload.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/resources/openui5/validator/library.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/resources/openui5/validator/library.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/resources/openui5/validator/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"sap.ui5": {
"dependencies": {
"minUI5Version": "1.30.0",
"minUI5Version": "1.120.0",
"libs": {
"sap.ui.core": {}
}
Expand Down
Loading

0 comments on commit bf8b2e9

Please sign in to comment.