Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit c6ad3f2

Browse files
authored
Merge pull request #1026 from dotnet-architecture/fix/github-reported-jquery-vulnerabilities
Fix GitHub reported vulnerabilities
2 parents cfcbe62 + 38f5518 commit c6ad3f2

File tree

10 files changed

+435
-201
lines changed

10 files changed

+435
-201
lines changed

scripts/restore-packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
for f in /src/csproj-files/*.csproj; do dotnet restore $f; done
1+
echo RESTORING ALL PACKAGES...; for f in /src/csproj-files/*.csproj; do dotnet restore $f; done

src/Web/WebMVC/Views/Shared/_Layout.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@
7474
<script src="~/js/site.js" asp-append-version="true"></script>
7575
</environment>
7676
<environment names="Staging,Production">
77-
<script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js"
77+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"
7878
asp-fallback-src="~/lib/jquery/jquery.min.js"
7979
asp-fallback-test="window.jQuery">
8080
</script>
81-
<script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/bootstrap.min.js"
81+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"
8282
asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.min.js"
8383
asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal">
8484
</script>

src/Web/WebMVC/libman.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"defaultProvider": "cdnjs",
44
"libraries": [
55
{
6-
"library": "jquery@3.3.1",
6+
"library": "jquery@3.4.1",
77
"destination": "wwwroot/lib/jquery/"
88
},
99
{

src/Web/WebSPA/package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Web/WebSPA/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"file-loader": "2.0.0",
4545
"font-awesome": "4.7.0",
4646
"isomorphic-fetch": "2.2.1",
47-
"jquery": "^3.3.1",
47+
"jquery": "3.4.1",
4848
"ngx-toastr": "^9.0.2",
4949
"normalize.css": "8.0.0",
5050
"popper.js": "^1.14.4",

src/Web/WebStatus/libman.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"defaultProvider": "cdnjs",
44
"libraries": [
55
{
6-
"library": "jquery@3.3.1",
6+
"library": "jquery@3.4.1",
77
"destination": "wwwroot/lib/jquery/"
88
},
99
{

src/Web/WebhookClient/Pages/Shared/_Layout.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@
5959
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.js"></script>
6060
</environment>
6161
<environment exclude="Development">
62-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"
62+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"
6363
asp-fallback-src="~/lib/jquery/dist/jquery.min.js"
6464
asp-fallback-test="window.jQuery"
6565
crossorigin="anonymous"
66-
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=">
66+
integrity="sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw==">
6767
</script>
6868
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"
6969
asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"

0 commit comments

Comments
 (0)