Skip to content

Commit

Permalink
update core-js to 3.40.0 and minor increment
Browse files Browse the repository at this point in the history
See issue react-R#85
  • Loading branch information
jhk0530 committed Jan 31, 2025
1 parent 808b21f commit 18e12a3
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 13 deletions.
9 changes: 7 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: reactR
Type: Package
Title: React Helpers
Version: 0.6.1
Date: 2024-09-14
Version: 0.6.2
Date: 2025-01-31
Authors@R: c(
person(
"Facebook", "Inc"
Expand Down Expand Up @@ -31,6 +31,11 @@ Authors@R: c(
, role = c("aut")
, comment = "R interface"
, email = "[email protected]"
),
person(
"Jinhwan", "Kim"
, role = c("ctb")
, email = "[email protected]"
)
)
Maintainer: Kent Russell <[email protected]>
Expand Down
6 changes: 3 additions & 3 deletions R/dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ html_dependency_react <- function(offline=TRUE){
#' @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/core-js@2.5.3/
# shim/polyfill for ES5 and ES6 so react will show up in RStudio Viewer
# https://cdn.jsdelivr.net/npm/core-js[email protected]/minified.min.js
htmltools::htmlDependency(
name = "core-js",
version = "2.5.3",
version = "3.40.0",
src = c(file=system.file("www/core-js/", package="reactR")),
script = "shim.min.js"
)
Expand Down
27 changes: 19 additions & 8 deletions inst/www/core-js/shim.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions reactR.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version: 1.0
ProjectId: b42f795d-e6f7-4256-b7d6-1b4b1240a938

RestoreWorkspace: Default
SaveWorkspace: Default
Expand Down

0 comments on commit 18e12a3

Please sign in to comment.