You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update jquery-ui to latest version to mitigate vulnerabilities #2405
Verifying if floating TOC works with a higher version of jQuery UI may be easy. I think the much worse thing is that tocify.js is no longer maintained, and we are still using a version from 7 years ago...
Maybe we should move from tocify.js and recreate using Lua filter + HTML / JS / CSS. Not trivial work but could be worth doing since unmaintained anyway
Activity
cderv commentedon Aug 26, 2022
Thanks.
We can probably download latest stable version from https://jqueryui.com/download/
@yihui FWIW shiny uses already one version above the one in rmarkdown
https://github.com/rstudio/shiny/tree/main/inst/www/shared/jqueryui
Upgrading to latest should be ok, or we could sync to the Shiny one.
Do you know what the UI used for ? It goes with JQuery feature right ?
cderv commentedon Aug 26, 2022
Also most of the CVE linked here are under reassessment from what I can see opening the link.
yihui commentedon Aug 26, 2022
AFAIK, we use jQuery UI only for floating TOC in
html_document. It was added by JJ several years ago: bbdcc64 (becausetocify.jsrequires it).cderv commentedon Aug 26, 2022
Ok so updating would require to check that tocify.js still works as expected without any updating also. Always tricky to update JS dependencies 😅
yihui commentedon Aug 26, 2022
Verifying if floating TOC works with a higher version of jQuery UI may be easy. I think the much worse thing is that
tocify.jsis no longer maintained, and we are still using a version from 7 years ago...cderv commentedon Aug 26, 2022
Oh that is a bummer. Rules of Open Source world.
Maybe we should move from tocify.js and recreate using Lua filter + HTML / JS / CSS. Not trivial work but could be worth doing since unmaintained anyway
yihui commentedon Aug 26, 2022
Yes, if possible and time permits.
github-actions commentedon Nov 22, 2023
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.