Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade jquery version due to vulnerability #180

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions internal/resources/standalone/bindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// index-template.html
// grpc-bg.svg
// jquery-ui-1.12.1.min.css
// jquery-3.4.1.min.js
// jquery-3.6.0.min.js
// grpc-logo.png
// favicon.png
// jquery-ui-1.12.1.min.js
Expand Down Expand Up @@ -148,7 +148,7 @@ var _jquery341MinJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\xbd\x
func jquery341MinJsBytes() ([]byte, error) {
return bindataRead(
_jquery341MinJs,
"jquery-3.4.1.min.js",
"jquery-3.6.0.min.js",
)
}

Expand All @@ -158,7 +158,7 @@ func jquery341MinJs() (*asset, error) {
return nil, err
}

info := bindataFileInfo{name: "jquery-3.4.1.min.js", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
info := bindataFileInfo{name: "jquery-3.6.0.min.js", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
Expand Down Expand Up @@ -278,7 +278,7 @@ var _bindata = map[string]func() (*asset, error){
"index-template.html": indexTemplateHtml,
"grpc-bg.svg": grpcBgSvg,
"jquery-ui-1.12.1.min.css": jqueryUi1121MinCss,
"jquery-3.4.1.min.js": jquery341MinJs,
"jquery-3.6.0.min.js": jquery341MinJs,
"grpc-logo.png": grpcLogoPng,
"favicon.png": faviconPng,
"jquery-ui-1.12.1.min.js": jqueryUi1121MinJs,
Expand Down Expand Up @@ -329,7 +329,7 @@ var _bintree = &bintree{nil, map[string]*bintree{
"grpc-bg.svg": {grpcBgSvg, map[string]*bintree{}},
"grpc-logo.png": {grpcLogoPng, map[string]*bintree{}},
"index-template.html": {indexTemplateHtml, map[string]*bintree{}},
"jquery-3.4.1.min.js": {jquery341MinJs, map[string]*bintree{}},
"jquery-3.6.0.min.js": {jquery341MinJs, map[string]*bintree{}},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfamiliar with this code, but: this line still says jquery341MinJs?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed :)

"jquery-ui-1.12.1.min.css": {jqueryUi1121MinCss, map[string]*bintree{}},
"jquery-ui-1.12.1.min.js": {jqueryUi1121MinJs, map[string]*bintree{}},
}}
Expand Down
2 changes: 1 addition & 1 deletion internal/resources/standalone/index-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<link rel="icon" type="image/png" href="favicon.png">

<script src="jquery-3.4.1.min.js"></script>
<script src="jquery-3.6.0.min.js"></script>

<link rel="stylesheet" href="jquery-ui-1.12.1.min.css">
<script src="jquery-ui-1.12.1.min.js"></script>
Expand Down