Skip to content

Commit

Permalink
update Plotly.js to version 2.35.1
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Sep 10, 2024
1 parent 21d7220 commit d105825
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
7 changes: 6 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ 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 5.8.1-pre (2024-09-10)
## Version 5.8.1 (2024-09-10)

* __[maintenance]__
The version of Plotly.js is bumped from 2.35.0 to 2.35.1.
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#2351----2024-09-09).

* __[maintenance]__
Update dependency `cssstyle` to 4.1.0.
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": "5.8.1-pre",
"version": "5.8.1",
"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.35.0.min.js

This file was deleted.

8 changes: 8 additions & 0 deletions export-server/plotly-2.35.1.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.35.0.min.js', 'utf-8')
fs.promises.readFile('./plotly-2.35.1.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 d105825

Please sign in to comment.