-
Notifications
You must be signed in to change notification settings - Fork 35
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
update core-js version in html_dependency_corejs() #85
Comments
@jhk0530 Thanks so much. You are correct that
@glin any thoughts or concerns? |
@timelyportfolio No concerns, I doubt Removing it by default but leaving it in the package to opt into sounds like a good idea. |
Hi! I'm encountering the same issue with #' Shim Dependency for React in RStudio Viewer
#'
#' Add this first for 'React' to work in RStudio Viewer.
#'
#' @return \code{\link[htmltools]{htmlDependency}}
#' @importFrom htmltools htmlDependency
#' @export
html_dependency_corejs <- function() {
#shim/polyfill for ES5 and ES6 so react will show up in RStudio Viewer
#https://unpkg.com/[email protected]/
htmltools::htmlDependency(
name = "core-js",
version = "2.5.3",
src = c(file=system.file("www/core-js/", package="reactR")),
script = "shim.min.js"
)
} In my case, the vulnerabilities arise when using the Would it be possible to update this dependency to Thanks for your work on this package! |
Hi, thanks for awesome work.
When
reactR
used in Quarto HTML page and commited to github.This will cause security problem like below.
*note, above image says that issue closed (since I changed to not use
reactR
in that code)To reproduce this, use below as contents of
index.qmd
and render with quarto. (Which is example from readme)Actually, used the
core-js-2.5.3
version of the javascript library will cause this problem.and the code
which is actually works as below
cause this.
to solve this. updating version from 2.5.3 to further version which is not use
grunt-karma
as <=4.0.1 or latest(3.37.1) can be considered.Note
I don't think
core-js
is required any more o to work in Rstudio viewer at now (2024)Thanks.
The text was updated successfully, but these errors were encountered: