Skip to content

Commit

Permalink
update Plotly.js to version 2.24.3
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Jul 23, 2023
1 parent c250ee3 commit bff16c3
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Since [Plotly.js](https://plotly.com/javascript/) is the main dependency of this
application, major version changes in Plotly.js will also trigger a major
version change in this application.

## Version 4.2.3 (2023-07-23)

* __[maintenance]__
The version of Plotly.js is bumped from 2.24.2 to 2.24.3.
The new version contains some fixes. For details on those see
[the changelog of Plotly.js](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2243----2023-07-05).

## Version 4.2.2 (2023-07-08)

* __[maintenance]__
Expand Down
4 changes: 2 additions & 2 deletions export-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion export-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plotly-node-export-server",
"version": "4.2.2",
"version": "4.2.3",
"description": "Plotly.js Node.js export server",
"repository": {
"url": "https://gitlab.com/striezel/plotly-node-export-server.git",
Expand Down
8 changes: 0 additions & 8 deletions export-server/plotly-2.24.2.min.js

This file was deleted.

8 changes: 8 additions & 0 deletions export-server/plotly-2.24.3.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion export-server/ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ exports.render = async function(jsonData, filename, width, height) {
};

await
fs.promises.readFile('./plotly-2.24.2.min.js', 'utf-8')
fs.promises.readFile('./plotly-2.24.3.min.js', 'utf-8')
.then(win.eval)
.then(() => win.Plotly.toImage({data: [data], layout: layout, config: config},
{ format: 'svg', imageDataOnly: true }))
Expand Down

0 comments on commit bff16c3

Please sign in to comment.