Skip to content

Commit

Permalink
upgrade @hpcc-js/wasm to 2.20.0 (Graphviz 12.1.0)
Browse files Browse the repository at this point in the history
Performed by:

npm upgrade @hpcc-js/wasm --save

Also revert the change to wrapper.js added in
761aeec which was an adaptation to a
@hpcc-js/wasm change in version 2.17.0 that no longer is correct. It's
unclear what change caused "@hpcc-js/wasm" to move from using `global`
back to using `window` again.
  • Loading branch information
magjac committed Aug 17, 2024
1 parent cffd4cd commit 77346d8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
* Upgrade @hpcc-js/wasm to 2.20.0 (Graphviz 12.1.0)

## [5.5.0] – 2024-08-17

### Changed
Expand Down
10 changes: 5 additions & 5 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"tiny-worker": "^2.3.0"
},
"dependencies": {
"@hpcc-js/wasm": "^2.18.1",
"@hpcc-js/wasm": "^2.20.0",
"d3-dispatch": "^3.0.1",
"d3-format": "^3.1.0",
"d3-interpolate": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion test/@hpcc-js/wasm/dist/wrapper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const vizURL = 'node_modules/@hpcc-js/wasm/dist/graphviz.umd.js';
importScripts(vizURL);
self["@hpcc-js/wasm"] = window["@hpcc-js/wasm"];
self["@hpcc-js/wasm"] = global["@hpcc-js/wasm"];
global.document = {};

0 comments on commit 77346d8

Please sign in to comment.