GNU bug report logs - #57089
r-rmarkdown contains minified JavaScript

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Tue, 9 Aug 2022 20:41:01 UTC

Severity: normal

To reply to this bug, email your comments to 57089 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#57089; Package guix. (Tue, 09 Aug 2022 20:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 09 Aug 2022 20:41:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: r-rmarkdown contains minified JavaScript
Date: Tue, 09 Aug 2022 22:38:30 +0200
r-rmarkdown contains a lot of minified JavaScript.  It is not
immediately obvious, where the corresponding source code could be found:

--8<---------------cut here---------------start------------->8---
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
--8<---------------cut here---------------end--------------->8---


-- 
Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#57089; Package guix. (Tue, 09 Aug 2022 20:50:01 GMT) Full text and rfc822 format available.

Message #8 received at 57089 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "Ricardo Wurmus" <rekado <at> elephly.net>, <57089 <at> debbugs.gnu.org>
Subject: Re: bug#57089: r-rmarkdown contains minified JavaScript
Date: Tue, 09 Aug 2022 21:49:17 +0100
On Tue Aug 9, 2022 at 9:38 PM BST, Ricardo Wurmus wrote:
> 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:

* https://www.npmjs.com/package/bootstrap
* https://www.npmjs.com/package/highlightjs
* https://www.npmjs.com/package/jquery-ui
* https://www.npmjs.com/package/prettify
* https://www.npmjs.com/package/tocify

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.

    -- (




This bug report was last modified 2 years and 307 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.