Skip to content

Commit beeaeeb

Browse files
committed
upgrade @hpcc-js/wasm to 2.20.0 (Graphviz 12.1.0)
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 `window` back to using `global` again.
1 parent cffd4cd commit beeaeeb

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
### Changed
10+
* Upgrade @hpcc-js/wasm to 2.20.0 (Graphviz 12.1.0)
11+
912
## [5.5.0] – 2024-08-17
1013

1114
### Changed

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"tiny-worker": "^2.3.0"
7878
},
7979
"dependencies": {
80-
"@hpcc-js/wasm": "^2.18.1",
80+
"@hpcc-js/wasm": "^2.20.0",
8181
"d3-dispatch": "^3.0.1",
8282
"d3-format": "^3.1.0",
8383
"d3-interpolate": "^3.0.1",

test/@hpcc-js/wasm/dist/wrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
const vizURL = 'node_modules/@hpcc-js/wasm/dist/graphviz.umd.js';
22
importScripts(vizURL);
3-
self["@hpcc-js/wasm"] = window["@hpcc-js/wasm"];
3+
self["@hpcc-js/wasm"] = global["@hpcc-js/wasm"];
44
global.document = {};

0 commit comments

Comments
 (0)