@ui5/server 3.1.4 → 3.1.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,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-server/compare/v3.1.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-server/compare/v3.1.5...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v3.1.5"></a>
|
|
8
|
+
## [v3.1.5] - 2023-12-12
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
- Unsafe jQuery plugin ([#618](https://github.com/SAP/ui5-server/issues/618)) [`ff1dc29`](https://github.com/SAP/ui5-server/commit/ff1dc297a9221f534173ec44e38e5a6eec6b9ba5)
|
|
11
|
+
|
|
6
12
|
|
|
7
13
|
<a name="v3.1.4"></a>
|
|
8
14
|
## [v3.1.4] - 2023-11-20
|
|
@@ -323,6 +329,7 @@ Only Node.js v10 or higher is supported.
|
|
|
323
329
|
|
|
324
330
|
<a name="v0.0.1"></a>
|
|
325
331
|
## v0.0.1 - 2018-06-06
|
|
332
|
+
[v3.1.5]: https://github.com/SAP/ui5-server/compare/v3.1.4...v3.1.5
|
|
326
333
|
[v3.1.4]: https://github.com/SAP/ui5-server/compare/v3.1.3...v3.1.4
|
|
327
334
|
[v3.1.3]: https://github.com/SAP/ui5-server/compare/v3.1.2...v3.1.3
|
|
328
335
|
[v3.1.2]: https://github.com/SAP/ui5-server/compare/v3.1.1...v3.1.2
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</script>
|
|
24
24
|
|
|
25
25
|
<script>
|
|
26
|
-
jQuery.fn.filterByText = function(textbox) {
|
|
26
|
+
jQuery.fn.filterByText = function($textbox) {
|
|
27
27
|
return this.each(function() {
|
|
28
28
|
var selectbox = this;
|
|
29
29
|
var options = [];
|
|
@@ -32,7 +32,10 @@
|
|
|
32
32
|
});
|
|
33
33
|
jQuery(selectbox).data("options", options);
|
|
34
34
|
|
|
35
|
-
jQuery
|
|
35
|
+
// jQuery object or a selector
|
|
36
|
+
// (https://codeql.github.com/codeql-query-help/javascript/js-unsafe-jquery-plugin/)
|
|
37
|
+
$textbox = ($textbox instanceof jQuery) ? $textbox : jQuery(jQuery.find($textbox));
|
|
38
|
+
$textbox.on("change keyup", function() {
|
|
36
39
|
var options = jQuery(selectbox).empty().data("options");
|
|
37
40
|
var search = jQuery(this).val().trim();
|
|
38
41
|
var regex = new RegExp(search, "gi");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/server",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.5",
|
|
4
4
|
"description": "UI5 Tooling - Server",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"jsdoc-watch": "npm run jsdoc && chokidar \"./lib/**/*.js\" -c \"npm run jsdoc-generate\"",
|
|
45
45
|
"preversion": "npm test",
|
|
46
46
|
"version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md v3.0.0.. && git add CHANGELOG.md",
|
|
47
|
-
"
|
|
47
|
+
"prepublishOnly": "git push --follow-tags",
|
|
48
48
|
"release-note": "git-chglog --sort semver -c .chglog/release-config.yml v$npm_package_version",
|
|
49
49
|
"depcheck": "depcheck --ignores @ui5/server,docdash,compression,cors,@istanbuljs/esm-loader-hook --parsers='**/*.js:es6,**/*.cjs:es6'"
|
|
50
50
|
},
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"url": "git@github.com:SAP/ui5-server.git"
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@ui5/builder": "^3.
|
|
118
|
+
"@ui5/builder": "^3.2.0",
|
|
119
119
|
"@ui5/fs": "^3.0.5",
|
|
120
120
|
"@ui5/logger": "^3.0.0",
|
|
121
121
|
"body-parser": "^1.20.2",
|
|
@@ -137,13 +137,13 @@
|
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
139
|
"@istanbuljs/esm-loader-hook": "^0.2.0",
|
|
140
|
-
"@ui5/project": "^3.
|
|
140
|
+
"@ui5/project": "^3.8.0",
|
|
141
141
|
"ava": "^5.3.1",
|
|
142
142
|
"chokidar-cli": "^3.0.0",
|
|
143
143
|
"cross-env": "^7.0.3",
|
|
144
144
|
"depcheck": "^1.4.7",
|
|
145
145
|
"docdash": "^2.0.2",
|
|
146
|
-
"eslint": "^8.
|
|
146
|
+
"eslint": "^8.55.0",
|
|
147
147
|
"eslint-config-google": "^0.14.0",
|
|
148
148
|
"eslint-plugin-ava": "^14.0.0",
|
|
149
149
|
"eslint-plugin-jsdoc": "^46.9.0",
|