I have a bookdown project from years ago that is published through github pages. Only recently, I discovered that Github has been warning me about some old jQuery dependencies inside the project that have security vulnerabilities.
I'm at a complete loss as to where to even start with working out where this dependency comes from and how to update it. I can see that a lot of the bookdown generated html files have the string <script src="libs/jquery-2.2.3/jquery.min.js"></script>
in it, but I'm not sure how bookdown is injecting these.
Would appreciate any help in tracking this down
My _bookdown.yml
book_filename: "book-name"
delete_merged_file: true
output_dir: "docs"
My _config.yml
theme: jekyll-theme-cayman
My _output.yml
bookdown::gitbook:
css: style.css
config:
toc:
before: |
<li><a href="./">Book Name</a></li>
after: |
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
download: ["pdf", "epub"]
bookdown::pdf_book:
includes:
in_header: preamble.tex
latex_engine: xelatex
citation_package: natbib
keep_tex: yes
bookdown::epub_book: default