@ui5/builder 4.0.1 → 4.0.3
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/CHANGELOG.md +13 -2
- package/lib/lbt/analyzer/XMLTemplateAnalyzer.js +1 -1
- package/lib/lbt/bundle/Builder.js +1 -1
- package/lib/lbt/resources/ResourceCollector.js +1 -1
- package/lib/processors/bootstrapHtmlTransformer.js +1 -1
- package/lib/processors/manifestEnhancer.js +1 -1
- package/lib/tasks/bundlers/generateFlexChangesBundle.js +1 -0
- package/package.json +10 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,19 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
-
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v4.0.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v4.0.3...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v4.0.3"></a>
|
|
8
|
+
## [v4.0.3] - 2024-08-27
|
|
9
|
+
|
|
10
|
+
<a name="v4.0.2"></a>
|
|
11
|
+
## [v4.0.2] - 2024-08-20
|
|
12
|
+
### Dependency Updates
|
|
13
|
+
- Bump cheerio from 1.0.0-rc.12 to 1.0.0 ([#1078](https://github.com/SAP/ui5-builder/issues/1078)) [`d80c79d`](https://github.com/SAP/ui5-builder/commit/d80c79d5578516cf533e649e73d55602afa8b908)
|
|
14
|
+
|
|
6
15
|
|
|
7
16
|
<a name="v4.0.1"></a>
|
|
8
|
-
## [v4.0.1] - 2024-07-
|
|
17
|
+
## [v4.0.1] - 2024-07-29
|
|
9
18
|
### Bug Fixes
|
|
10
19
|
- **manifestEnhancer:** Improve error handling [`16a4e78`](https://github.com/SAP/ui5-builder/commit/16a4e785ab71f8714b3926aa0bb8573f8da4dd08)
|
|
11
20
|
- **manifestEnhancer:** Fix fallbackLocale handling [`421a375`](https://github.com/SAP/ui5-builder/commit/421a37577c11c50d938bc59f3b8fca371a703cd3)
|
|
@@ -926,6 +935,8 @@ to load the custom bundle file instead.
|
|
|
926
935
|
|
|
927
936
|
### Features
|
|
928
937
|
- Add ability to configure component preloads and custom bundles [`2241e5f`](https://github.com/SAP/ui5-builder/commit/2241e5ff98fd95f1f80cc74959655ae7a9c660e7)
|
|
938
|
+
[v4.0.3]: https://github.com/SAP/ui5-builder/compare/v4.0.2...v4.0.3
|
|
939
|
+
[v4.0.2]: https://github.com/SAP/ui5-builder/compare/v4.0.1...v4.0.2
|
|
929
940
|
[v4.0.1]: https://github.com/SAP/ui5-builder/compare/v4.0.0...v4.0.1
|
|
930
941
|
[v4.0.0]: https://github.com/SAP/ui5-builder/compare/v3.3.0...v4.0.0
|
|
931
942
|
[v3.5.1]: https://github.com/SAP/ui5-builder/compare/v3.5.0...v3.5.1
|
|
@@ -140,7 +140,7 @@ class ResourceCollector {
|
|
|
140
140
|
let subModuleInfo;
|
|
141
141
|
try {
|
|
142
142
|
subModuleInfo = await this._pool.getModuleInfo(subModule);
|
|
143
|
-
} catch
|
|
143
|
+
} catch {
|
|
144
144
|
log.verbose(` Missing submodule ${subModule} included by ${moduleInfo.name}`);
|
|
145
145
|
}
|
|
146
146
|
if (subModuleInfo) {
|
|
@@ -15,7 +15,7 @@ function isAbsoluteUrl(url) {
|
|
|
15
15
|
const parsedUrl = new URL(url);
|
|
16
16
|
// URL with ui5 protocol shouldn't be treated as absolute URL and will be handled separately
|
|
17
17
|
return parsedUrl.protocol !== "ui5:";
|
|
18
|
-
} catch
|
|
18
|
+
} catch {
|
|
19
19
|
// URL constructor without base requires absolute URL and throws an error for relative URLs
|
|
20
20
|
return false;
|
|
21
21
|
}
|
|
@@ -74,6 +74,7 @@ export default async function({workspace, taskUtil, options = {}}) {
|
|
|
74
74
|
manifestContent["sap.ui5"].dependencies = manifestContent["sap.ui5"].dependencies || {};
|
|
75
75
|
if (!Array.isArray(manifestContent["sap.ui5"].dependencies.minUI5Version)) {
|
|
76
76
|
manifestContent["sap.ui5"].dependencies.minUI5Version =
|
|
77
|
+
// eslint-disable-next-line no-constant-binary-expression
|
|
77
78
|
[manifestContent["sap.ui5"].dependencies.minUI5Version] || [""];
|
|
78
79
|
}
|
|
79
80
|
return manifestContent["sap.ui5"].dependencies.minUI5Version;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/builder",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "UI5 Tooling - Builder",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -122,9 +122,9 @@
|
|
|
122
122
|
},
|
|
123
123
|
"dependencies": {
|
|
124
124
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
|
125
|
-
"@ui5/fs": "^4.0.
|
|
125
|
+
"@ui5/fs": "^4.0.1",
|
|
126
126
|
"@ui5/logger": "^4.0.1",
|
|
127
|
-
"cheerio": "1.0.0
|
|
127
|
+
"cheerio": "1.0.0",
|
|
128
128
|
"escape-unicode": "^0.2.0",
|
|
129
129
|
"escope": "^4.0.0",
|
|
130
130
|
"espree": "^10.1.0",
|
|
@@ -134,24 +134,26 @@
|
|
|
134
134
|
"pretty-data": "^0.40.0",
|
|
135
135
|
"rimraf": "^6.0.1",
|
|
136
136
|
"semver": "^7.6.3",
|
|
137
|
-
"terser": "^5.31.
|
|
137
|
+
"terser": "^5.31.6",
|
|
138
138
|
"workerpool": "^9.1.3",
|
|
139
139
|
"xml2js": "^0.6.2"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
|
+
"@eslint/js": "^9.8.0",
|
|
142
143
|
"@istanbuljs/esm-loader-hook": "^0.2.0",
|
|
143
144
|
"@jridgewell/trace-mapping": "^0.3.25",
|
|
144
|
-
"@ui5/project": "^4.0.
|
|
145
|
+
"@ui5/project": "^4.0.2",
|
|
145
146
|
"ava": "^6.1.3",
|
|
146
147
|
"chokidar-cli": "^3.0.0",
|
|
147
148
|
"cross-env": "^7.0.3",
|
|
148
149
|
"depcheck": "^1.4.7",
|
|
149
150
|
"docdash": "^2.0.2",
|
|
150
|
-
"eslint": "^
|
|
151
|
+
"eslint": "^9.9.1",
|
|
151
152
|
"eslint-config-google": "^0.14.0",
|
|
152
|
-
"eslint-plugin-ava": "^
|
|
153
|
-
"eslint-plugin-jsdoc": "^
|
|
153
|
+
"eslint-plugin-ava": "^15.0.1",
|
|
154
|
+
"eslint-plugin-jsdoc": "^50.2.2",
|
|
154
155
|
"esmock": "^2.6.7",
|
|
156
|
+
"globals": "^15.9.0",
|
|
155
157
|
"line-column": "^1.0.2",
|
|
156
158
|
"nyc": "^17.0.0",
|
|
157
159
|
"open-cli": "^8.0.0",
|