@ui5/builder 2.11.3 → 2.11.4

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 CHANGED
@@ -2,10 +2,16 @@
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/v2.11.3...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v2.11.4...HEAD).
6
+
7
+ <a name="v2.11.4"></a>
8
+ ## [v2.11.4] - 2022-02-21
9
+ ### Bug Fixes
10
+ - **generateFlexChangesBundle:** Fix minUI5Version check for UI5 v1.100.0+ ([#706](https://github.com/SAP/ui5-builder/issues/706)) [`fb1217a`](https://github.com/SAP/ui5-builder/commit/fb1217ac536c20da81526f82f2ecb03686815942)
11
+
6
12
 
7
13
  <a name="v2.11.3"></a>
8
- ## [v2.11.3] - 2021-12-12
14
+ ## [v2.11.3] - 2021-12-14
9
15
  ### Bug Fixes
10
16
  - Enable buildThemes for libraries without .library [`7b941a7`](https://github.com/SAP/ui5-builder/commit/7b941a797210463a9fa8ca50753662c5db373aa6)
11
17
 
@@ -639,6 +645,7 @@ to load the custom bundle file instead.
639
645
  - Add ability to configure component preloads and custom bundles [`2241e5f`](https://github.com/SAP/ui5-builder/commit/2241e5ff98fd95f1f80cc74959655ae7a9c660e7)
640
646
 
641
647
 
648
+ [v2.11.4]: https://github.com/SAP/ui5-builder/compare/v2.11.3...v2.11.4
642
649
  [v2.11.3]: https://github.com/SAP/ui5-builder/compare/v2.11.2...v2.11.3
643
650
  [v2.11.2]: https://github.com/SAP/ui5-builder/compare/v2.11.1...v2.11.2
644
651
  [v2.11.1]: https://github.com/SAP/ui5-builder/compare/v2.11.0...v2.11.1
@@ -1,5 +1,6 @@
1
1
  const log = require("@ui5/logger").getLogger("builder:tasks:bundlers:generateFlexChangesBundle");
2
2
  const flexChangesBundler = require("../../processors/bundlers/flexChangesBundler");
3
+ const semver = require("semver");
3
4
 
4
5
  /**
5
6
  * Task to create changesBundle.json file containing all changes stored in the /changes folder for easier consumption
@@ -68,9 +69,9 @@ module.exports = async function({workspace, taskUtil, options: {namespace}}) {
68
69
  const allResources = await workspace.byGlob(
69
70
  `${pathPrefix}/changes/*.{change,variant,ctrl_variant,ctrl_variant_change,ctrl_variant_management_change}`);
70
71
  if (allResources.length > 0) {
71
- const version = await readManifestMinUI5Version();
72
+ const version = semver.coerce(await readManifestMinUI5Version());
72
73
  let hasFlexBundleVersion = false;
73
- if (parseFloat(version) >= 1.73) {
74
+ if (semver.compare(version, "1.73.0") >= 0) {
74
75
  hasFlexBundleVersion = true;
75
76
  }
76
77
  const processedResources = await flexChangesBundler({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/builder",
3
- "version": "2.11.3",
3
+ "version": "2.11.4",
4
4
  "description": "UI5 Tooling - Builder",
5
5
  "author": {
6
6
  "name": "SAP SE",
@@ -110,9 +110,9 @@
110
110
  "escape-unicode": "^0.2.0",
111
111
  "escope": "^3.6.0",
112
112
  "espree": "^6.2.1",
113
- "globby": "^11.0.4",
114
- "graceful-fs": "^4.2.8",
115
- "jsdoc": "^3.6.7",
113
+ "globby": "^11.1.0",
114
+ "graceful-fs": "^4.2.9",
115
+ "jsdoc": "^3.6.10",
116
116
  "less-openui5": "^0.11.2",
117
117
  "make-dir": "^3.1.0",
118
118
  "pretty-data": "^0.40.0",
@@ -126,15 +126,15 @@
126
126
  },
127
127
  "devDependencies": {
128
128
  "ava": "^3.15.0",
129
- "chai": "^4.3.4",
129
+ "chai": "^4.3.6",
130
130
  "chai-fs": "^2.0.0",
131
131
  "chokidar-cli": "^3.0.0",
132
132
  "cross-env": "^7.0.3",
133
- "depcheck": "^1.4.2",
133
+ "depcheck": "^1.4.3",
134
134
  "docdash": "^1.2.0",
135
135
  "eslint": "^7.32.0",
136
136
  "eslint-config-google": "^0.14.0",
137
- "eslint-plugin-jsdoc": "^37.2.0",
137
+ "eslint-plugin-jsdoc": "^37.9.4",
138
138
  "extract-zip": "^2.0.1",
139
139
  "mock-require": "^3.0.3",
140
140
  "nyc": "^15.1.0",