@ui5/builder 2.11.4 → 2.11.5
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,7 +2,10 @@
|
|
|
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.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v2.11.5...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v2.11.5"></a>
|
|
8
|
+
## [v2.11.5] - 2022-05-04
|
|
6
9
|
|
|
7
10
|
<a name="v2.11.4"></a>
|
|
8
11
|
## [v2.11.4] - 2022-02-21
|
|
@@ -645,6 +648,7 @@ to load the custom bundle file instead.
|
|
|
645
648
|
- Add ability to configure component preloads and custom bundles [`2241e5f`](https://github.com/SAP/ui5-builder/commit/2241e5ff98fd95f1f80cc74959655ae7a9c660e7)
|
|
646
649
|
|
|
647
650
|
|
|
651
|
+
[v2.11.5]: https://github.com/SAP/ui5-builder/compare/v2.11.4...v2.11.5
|
|
648
652
|
[v2.11.4]: https://github.com/SAP/ui5-builder/compare/v2.11.3...v2.11.4
|
|
649
653
|
[v2.11.3]: https://github.com/SAP/ui5-builder/compare/v2.11.2...v2.11.3
|
|
650
654
|
[v2.11.2]: https://github.com/SAP/ui5-builder/compare/v2.11.1...v2.11.2
|
|
@@ -1386,13 +1386,16 @@ function transformer(sInputFile, sOutputFile, sLibraryFile, vDependencyAPIFiles,
|
|
|
1386
1386
|
|
|
1387
1387
|
},
|
|
1388
1388
|
|
|
1389
|
+
formatUrlToLink: function(sTarget, sText, bSAPHosted){
|
|
1390
|
+
return `<a target="_blank" rel="noopener noreferrer" href="${sTarget}">${sText}</a>
|
|
1391
|
+
<img src="./resources/sap/ui/documentation/sdk/images/${bSAPHosted ? 'link-sap' : 'link-external'}.png"
|
|
1392
|
+
title="Information published on ${bSAPHosted ? '' : 'non '}SAP site" class="sapUISDKExternalLink"/>`;
|
|
1393
|
+
},
|
|
1394
|
+
|
|
1389
1395
|
handleExternalUrl: function (sTarget, sText) {
|
|
1390
1396
|
// Check if the external domain is SAP hosted
|
|
1391
1397
|
let bSAPHosted = /^https?:\/\/([\w.]*\.)?(?:sap|hana\.ondemand|sapfioritrial)\.com/.test(sTarget);
|
|
1392
|
-
|
|
1393
|
-
return `<a target="_blank" rel="noopener noreferrer" href="${sTarget}">${sText}</a>
|
|
1394
|
-
<img src="./resources/sap/ui/documentation/sdk/images/${bSAPHosted ? 'link-sap' : 'link-external'}.png"
|
|
1395
|
-
title="Information published on ${bSAPHosted ? '' : 'non '}SAP site" class="sapUISDKExternalLink"/>`;
|
|
1398
|
+
return this.formatUrlToLink(sTarget, sText, bSAPHosted);
|
|
1396
1399
|
},
|
|
1397
1400
|
|
|
1398
1401
|
/**
|
|
@@ -1599,6 +1602,12 @@ title="Information published on ${bSAPHosted ? '' : 'non '}SAP site" class="sapU
|
|
|
1599
1602
|
return '<a target="_self" href="topic/' + aMatch[1] + '">' + sText + '</a>';
|
|
1600
1603
|
}
|
|
1601
1604
|
|
|
1605
|
+
// demo:xxx Demo, open the demonstration page in a new window
|
|
1606
|
+
aMatch = sTarget.match(/^demo:([a-zA-Z0-9\/.]*)$/);
|
|
1607
|
+
if (aMatch) {
|
|
1608
|
+
return this.formatUrlToLink("test-resources/" + aMatch[1], sText, true);
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1602
1611
|
// sap.x.Xxx.prototype.xxx - In case of prototype we have a link to method
|
|
1603
1612
|
aMatch = sTarget.match(/([a-zA-Z0-9.$_]+?)\.prototype\.([a-zA-Z0-9.$_]+)$/);
|
|
1604
1613
|
if (aMatch) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/builder",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.5",
|
|
4
4
|
"description": "UI5 Tooling - Builder",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"escope": "^3.6.0",
|
|
112
112
|
"espree": "^6.2.1",
|
|
113
113
|
"globby": "^11.1.0",
|
|
114
|
-
"graceful-fs": "^4.2.
|
|
114
|
+
"graceful-fs": "^4.2.10",
|
|
115
115
|
"jsdoc": "^3.6.10",
|
|
116
116
|
"less-openui5": "^0.11.2",
|
|
117
117
|
"make-dir": "^3.1.0",
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
"pretty-hrtime": "^1.0.3",
|
|
120
120
|
"replacestream": "^4.0.3",
|
|
121
121
|
"rimraf": "^3.0.2",
|
|
122
|
-
"semver": "^7.3.
|
|
123
|
-
"terser": "^5.
|
|
122
|
+
"semver": "^7.3.7",
|
|
123
|
+
"terser": "^5.13.1",
|
|
124
124
|
"xml2js": "^0.4.23",
|
|
125
125
|
"yazl": "^2.5.1"
|
|
126
126
|
},
|
|
@@ -134,7 +134,7 @@
|
|
|
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.9.
|
|
137
|
+
"eslint-plugin-jsdoc": "^37.9.7",
|
|
138
138
|
"extract-zip": "^2.0.1",
|
|
139
139
|
"mock-require": "^3.0.3",
|
|
140
140
|
"nyc": "^15.1.0",
|