Skip to content

Commit 11fd7e7

Browse files
authored
fix: Graphviz not including html table support (#252)
fix: UMD files were not backward compatible Signed-off-by: Gordon Smith <[email protected]>
1 parent ca67fa1 commit 11fd7e7

File tree

16 files changed

+566
-255
lines changed

16 files changed

+566
-255
lines changed

.github/workflows/test-and-publish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,12 @@ jobs:
6767
run: |
6868
npm run coverage
6969
npm run coverage-report
70+
71+
- name: Upload error logs
72+
if: ${{ failure() || cancelled() }}
73+
uses: actions/upload-artifact@v4
74+
with:
75+
name: ${{ matrix.node }}-logs
76+
path: |
77+
./vcpkg/buildtrees/**/*.log
78+
./build/**/*.log
File renamed without changes.

packages/wasm/index.html renamed to index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h3>ESM</h3>
5858
<div id="ESM"></div>
5959
<script type="module">
6060
import { Graphviz } from "https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist/index.js";
61-
// import { Graphviz } from "./dist/index.js";
61+
// import { Graphviz } from "./packages/wasm/dist/index.js";
6262
if (Graphviz) {
6363
const graphviz = await Graphviz.load();
6464
const svg = graphviz.layout(dot, "svg", "dot");
@@ -69,7 +69,7 @@ <h3>ESM</h3>
6969
<h3>UMD 1</h3>
7070
<div id="UMD1"></div>
7171
<script src="https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist/graphviz.umd.js"></script>
72-
<!-- <script src="./dist/graphviz.umd.js"></script> -->
72+
<!-- <script src="./packages/wasm/dist/graphviz.umd.js"></script> -->
7373
<script>
7474
var hpccWasm = window["@hpcc-js/wasm"];
7575
hpccWasm.Graphviz.load().then(graphviz => {
@@ -81,7 +81,7 @@ <h3>UMD 1</h3>
8181
<h3>UMD 2</h3>
8282
<div id="UMD2"></div>
8383
<script src="https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist/index.umd.js"></script>
84-
<!-- <script src="./dist/index.umd.js"></script> -->
84+
<!-- <script src="./packages/wasm/dist/index.umd.js"></script> -->
8585
<script>
8686
var hpccWasm = window["@hpcc-js/wasm"];
8787
hpccWasm.Graphviz.load().then(graphviz => {

package-lock.json

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
},
7171
"dependencies": {},
7272
"devDependencies": {
73-
"@eslint/js": "^9.9.0",
73+
"@eslint/js": "9.9.0",
7474
"@istanbuljs/nyc-config-typescript": "1.0.2",
7575
"@types/chai": "4.3.17",
7676
"@types/emscripten": "1.39.13",
@@ -83,6 +83,7 @@
8383
"chai": "5.1.1",
8484
"coveralls": "3.1.1",
8585
"c8": "10.1.2",
86+
"@hpcc-js/esbuild-plugins": "1.0.10",
8687
"eslint": "9.9.0",
8788
"globals": "15.9.0",
8889
"karma": "6.4.4",

packages/base91/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
"update-major": "npx -y npm-check-updates -u"
3737
},
3838
"dependencies": {},
39-
"devDependencies": {
40-
"@hpcc-js/esbuild-plugins": "1.0.7"
41-
},
39+
"devDependencies": {},
4240
"keywords": [
4341
"graphviz",
4442
"typescript",

packages/duckdb/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
},
4141
"dependencies": {},
4242
"devDependencies": {
43-
"@duckdb/duckdb-wasm": "1.28.1-dev99.0",
44-
"@hpcc-js/esbuild-plugins": "1.0.7"
43+
"@duckdb/duckdb-wasm": "1.28.1-dev106.0"
4544
},
4645
"keywords": [
4746
"graphviz",

packages/expat/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@
3535
"update": "npx -y npm-check-updates -u -t minor",
3636
"update-major": "npx -y npm-check-updates -u"
3737
},
38-
"devDependencies": {
39-
"@hpcc-js/esbuild-plugins": "1.0.7"
40-
},
38+
"devDependencies": {},
4139
"keywords": [
4240
"graphviz",
4341
"typescript",

packages/graphviz-cli/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
"@hpcc-js/wasm-graphviz": "1.1.0",
3939
"yargs": "17.7.2"
4040
},
41-
"devDependencies": {
42-
"@hpcc-js/esbuild-plugins": "1.0.7"
43-
},
41+
"devDependencies": {},
4442
"keywords": [
4543
"graphviz",
4644
"typescript",

packages/graphviz/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
"update-major": "npx -y npm-check-updates -u"
3737
},
3838
"dependencies": {},
39-
"devDependencies": {
40-
"@hpcc-js/esbuild-plugins": "1.0.7"
41-
},
39+
"devDependencies": {},
4240
"keywords": [
4341
"graphviz",
4442
"typescript",

0 commit comments

Comments
 (0)