Skip to content

Commit 255c3c1

Browse files
committed
update to plotly.js v2.5.1
1 parent 5b83c64 commit 255c3c1

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Breaking changes in JavaScript API
44

5-
* This version of the R package upgrades the version of the underlying plotly.js library from v1.57.1 to v2.2.1. This includes many breaking changes, bug fixes, and improvements to the underlying JavaScript library. The [plotly.js release page](https://github.com/plotly/plotly.js/releases) has the full list of changes.
5+
* This version of the R package upgrades the version of the underlying plotly.js library from v1.57.1 to v2.5.1. This includes many breaking changes, bug fixes, and improvements to the underlying JavaScript library. The [plotly.js release page](https://github.com/plotly/plotly.js/releases) has the full list of changes.
66

77
## Breaking changes in R API
88

R/plotly.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ typedArrayPolyfill <- function() {
479479
plotlyMainBundle <- function() {
480480
htmltools::htmlDependency(
481481
name = "plotly-main",
482-
version = "2.2.1",
482+
version = "2.5.1",
483483
package = "plotly",
484484
src = dependency_dir("plotlyjs"),
485485
script = "plotly-latest.min.js",

R/sysdata.rda

6.04 KB
Binary file not shown.

inst/htmlwidgets/lib/plotlyjs/plotly-latest.min.js

+14-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/update_plotlyjs.R

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ withr::with_dir(tmpdir, {
4343

4444
# build just the main bundle
4545
# (also builds schema and locales)
46+
system("npm update")
4647
system("npm install")
4748
system("npm run bundle")
4849

0 commit comments

Comments
 (0)