Skip to content

Commit

Permalink
[SPARK-32723][WEBUI] Upgrade to jQuery 3.5.1
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
Upgrade to the latest available version of jQuery (3.5.1).

### Why are the changes needed?
There are some CVE-s reported (CVE-2020-11022, CVE-2020-11023) affecting older versions of jQuery. Although Spark UI is read-only and those CVEs doesn't seem to affect Spark, using the latest version of this library can help to handle vulnerability reports of security scans.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Manual tests and checked the jQuery 3.5 upgrade guide.

Closes apache#29902 from peter-toth/SPARK-32723-upgrade-to-jquery-3.5.1.

Authored-by: Peter Toth <peter.toth@gmail.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
  • Loading branch information
peter-toth authored and dongjoon-hyun committed Oct 1, 2020
1 parent 0b5a379 commit 28ed3a5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.

This file was deleted.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/ui/UIUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ private[spark] object UIUtils extends Logging {
<link rel="stylesheet"
href={prependBaseUri(request, "/static/timeline-view.css")} type="text/css"/>
<script src={prependBaseUri(request, "/static/sorttable.js")} ></script>
<script src={prependBaseUri(request, "/static/jquery-3.4.1.min.js")}></script>
<script src={prependBaseUri(request, "/static/jquery-3.5.1.min.js")}></script>
<script src={prependBaseUri(request, "/static/vis-timeline-graph2d.min.js")}></script>
<script src={prependBaseUri(request, "/static/bootstrap.bundle.min.js")}></script>
<script src={prependBaseUri(request, "/static/initialize-tooltips.js")}></script>
Expand Down
2 changes: 1 addition & 1 deletion dev/.rat-excludes
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bootstrap.bundle.min.js
bootstrap.bundle.min.js.map
bootstrap.min.css
bootstrap.min.css.map
jquery-3.4.1.min.js
jquery-3.5.1.min.js
d3.min.js
dagre-d3.min.js
graphlib-dot.min.js
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h1 class="title">{{ page.title }}</h1>
<!-- /container -->
</div>

<script src="js/vendor/jquery-3.4.1.min.js"></script>
<script src="js/vendor/jquery-3.5.1.min.js"></script>
<script src="js/vendor/bootstrap.bundle.min.js"></script>
<script src="js/vendor/anchor.min.js"></script>
<script src="js/main.js"></script>
Expand Down
2 changes: 0 additions & 2 deletions docs/js/vendor/jquery-3.4.1.min.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/js/vendor/jquery-3.5.1.min.js

Large diffs are not rendered by default.

0 comments on commit 28ed3a5

Please sign in to comment.