@ui5/builder 3.4.0 → 3.4.1
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 +8 -1
- package/lib/lbt/bundle/Builder.js +7 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,13 @@
|
|
|
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/v3.4.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v3.4.1...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v3.4.1"></a>
|
|
8
|
+
## [v3.4.1] - 2024-05-10
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
- **bundle/Builder:** Correct bundling of resources with empty source map [`1228db7`](https://github.com/SAP/ui5-builder/commit/1228db78e7e655cea58c20517662b08dd09db87b)
|
|
11
|
+
|
|
6
12
|
|
|
7
13
|
<a name="v3.4.0"></a>
|
|
8
14
|
## [v3.4.0] - 2024-04-24
|
|
@@ -866,6 +872,7 @@ to load the custom bundle file instead.
|
|
|
866
872
|
|
|
867
873
|
### Features
|
|
868
874
|
- Add ability to configure component preloads and custom bundles [`2241e5f`](https://github.com/SAP/ui5-builder/commit/2241e5ff98fd95f1f80cc74959655ae7a9c660e7)
|
|
875
|
+
[v3.4.1]: https://github.com/SAP/ui5-builder/compare/v3.4.0...v3.4.1
|
|
869
876
|
[v3.4.0]: https://github.com/SAP/ui5-builder/compare/v3.3.1...v3.4.0
|
|
870
877
|
[v3.3.1]: https://github.com/SAP/ui5-builder/compare/v3.3.0...v3.3.1
|
|
871
878
|
[v3.3.0]: https://github.com/SAP/ui5-builder/compare/v3.2.0...v3.3.0
|
|
@@ -353,7 +353,13 @@ class BundleBuilder {
|
|
|
353
353
|
// If first column of the first line is not already mapped, add a mapping for the same reason as above.
|
|
354
354
|
// This is typical for transpiled code, where there is a bunch of generated code at the beginning that
|
|
355
355
|
// can't be mapped to the original source
|
|
356
|
-
map.mappings
|
|
356
|
+
if (map.mappings) {
|
|
357
|
+
map.mappings = "AAAA," + map.mappings;
|
|
358
|
+
} else {
|
|
359
|
+
// If there are no existing mappings (e.g. if the file is empty or only comments),
|
|
360
|
+
// make sure to still define a single mapping
|
|
361
|
+
map.mappings = "AAAA";
|
|
362
|
+
}
|
|
357
363
|
}
|
|
358
364
|
|
|
359
365
|
map.sourceRoot = path.posix.relative(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/builder",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "UI5 Tooling - Builder",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -126,12 +126,12 @@
|
|
|
126
126
|
"escope": "^4.0.0",
|
|
127
127
|
"espree": "^9.6.1",
|
|
128
128
|
"graceful-fs": "^4.2.11",
|
|
129
|
-
"jsdoc": "^4.0.
|
|
129
|
+
"jsdoc": "^4.0.3",
|
|
130
130
|
"less-openui5": "^0.11.6",
|
|
131
131
|
"pretty-data": "^0.40.0",
|
|
132
|
-
"rimraf": "^5.0.
|
|
133
|
-
"semver": "^7.6.
|
|
134
|
-
"terser": "^5.
|
|
132
|
+
"rimraf": "^5.0.6",
|
|
133
|
+
"semver": "^7.6.2",
|
|
134
|
+
"terser": "^5.31.0",
|
|
135
135
|
"workerpool": "^6.5.1",
|
|
136
136
|
"xml2js": "^0.6.2"
|
|
137
137
|
},
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"eslint-config-google": "^0.14.0",
|
|
151
151
|
"eslint-plugin-ava": "^14.0.0",
|
|
152
152
|
"eslint-plugin-jsdoc": "^46.10.1",
|
|
153
|
-
"esmock": "^2.6.
|
|
153
|
+
"esmock": "^2.6.5",
|
|
154
154
|
"line-column": "^1.0.2",
|
|
155
155
|
"nyc": "^15.1.0",
|
|
156
156
|
"open-cli": "^7.2.0",
|