diff --git a/CHANGELOG.md b/CHANGELOG.md index 59775559..1a4ddf58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package-lock.json b/package-lock.json index 2caccc21..f56759d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "5.5.0", "license": "BSD-3-Clause", "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", @@ -1791,14 +1791,14 @@ "dev": true }, "node_modules/@hpcc-js/wasm": { - "version": "2.18.1", - "resolved": "https://registry.npmjs.org/@hpcc-js/wasm/-/wasm-2.18.1.tgz", - "integrity": "sha512-fT8NCOTaF0NDnT+ZwWpV2VQ6ywFEqw+fG87GSPNQemEmg7FFqUaKRQOW9MBICrkZcXaJBb7VHo1t5UF6bi/JgQ==", + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/@hpcc-js/wasm/-/wasm-2.20.0.tgz", + "integrity": "sha512-LBjTs1s0ekEp/D4skkfsxCYWt3/1eHZx6JDnV9cu5tqPOERHdbdRukhE7nr/jExBuFfkh/cTW9aGvkbfp5Hbuw==", "dependencies": { "yargs": "17.7.2" }, "bin": { - "dot-wasm": "bin/dot-wasm.js" + "dot-wasm": "node ./node_modules/@hpcc-js/wasm-graphviz-cli/bin/index.js" } }, "node_modules/@istanbuljs/schema": { diff --git a/package.json b/package.json index 1aa1c579..4b0b870f 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/@hpcc-js/wasm/dist/wrapper.js b/test/@hpcc-js/wasm/dist/wrapper.js index e22e390b..9274287b 100644 --- a/test/@hpcc-js/wasm/dist/wrapper.js +++ b/test/@hpcc-js/wasm/dist/wrapper.js @@ -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 = {};