r-rmarkdown contains minified JavaScript

  • Open
  • quality assurance status badge
Details
2 participants
  • (
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Ricardo Wurmus
Severity
normal
R
R
Ricardo Wurmus wrote on 9 Aug 2022 22:38
(address . bug-guix@gnu.org)
87lerxup5y.fsf@elephly.net
r-rmarkdown contains a lot of minified JavaScript. It is not
immediately obvious, where the corresponding source code could be found:

Toggle snippet (18 lines)
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/prettify/prettify.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/prettify/lang-yaml.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/require-1.0.8.min.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/polyfills/history.min.js: exported SGML document, ASCII text, with very long lines, with no line terminators
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/polyfills/classList.min.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/polyfills/dataset.min.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/order.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/modernizr.custom.45394.js: HTML document, ASCII text, with very long lines
rmarkdown/inst/rmd/h/tocify/jquery.tocify.js: ASCII text, with very long lines
rmarkdown/inst/rmd/h/jqueryui/jquery-ui.min.js: ASCII text, with very long lines
rmarkdown/inst/rmd/h/jqueryui/jquery-ui.js: ASCII text, with very long lines
rmarkdown/inst/rmd/h/bootstrap/shim/respond.min.js: HTML document, ASCII text, with very long lines
rmarkdown/inst/rmd/h/bootstrap/shim/html5shiv.min.js: HTML document, ASCII text, with very long lines
rmarkdown/inst/rmd/h/bootstrap/js/bootstrap.min.js: ASCII text, with very long lines
rmarkdown/inst/rmd/h/highlightjs/highlight.js: UTF-8 Unicode text, with very long lines


--
Ricardo
(
CM1SLD7C1PF2.2JLMERUU6YQ46@guix-aspire
On Tue Aug 9, 2022 at 9:38 PM BST, Ricardo Wurmus wrote:
Toggle quote (3 lines)
> It is not immediately obvious, where the corresponding source code could be
> found:

They seem to come from various NPM packages; looks like these ones:


We could try to package them and then unvendor them from r-markdown,
but given the horrific state of JS packaging, we'd better expect a
tedious process.

-- (
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 57089@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 57089
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch