@hpcc-js/wasm-graphviz 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +4 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/package.json +8 -6
- package/src/graphviz.ts +1 -1
- package/types/graphviz.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/wasm-graphviz",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "hpcc-js - WASM Graphviz",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -27,13 +27,14 @@
|
|
|
27
27
|
"build": "run-p build-types build-ts",
|
|
28
28
|
"lint-skypack": "npx -y @skypack/package-check",
|
|
29
29
|
"lint-eslint": "eslint src/**/*.ts",
|
|
30
|
-
"lint": "run-p lint-eslint
|
|
30
|
+
"lint": "run-p lint-eslint",
|
|
31
31
|
"test-chrome": "karma start --single-run --browsers ChromiumHeadless karma.conf.cjs",
|
|
32
32
|
"test-firefox": "karma start --single-run --browsers Firefox karma.conf.cjs",
|
|
33
33
|
"test-node": "mocha ./dist-test/index.node.js --reporter spec",
|
|
34
|
-
"test": "run-s test-chrome test-node"
|
|
34
|
+
"test": "run-s test-chrome test-node",
|
|
35
|
+
"update": "npx -y npm-check-updates -u -t minor",
|
|
36
|
+
"update-major": "npx -y npm-check-updates -u"
|
|
35
37
|
},
|
|
36
|
-
"dependencies": {},
|
|
37
38
|
"devDependencies": {
|
|
38
39
|
"@hpcc-js/esbuild-plugins": "1.0.7"
|
|
39
40
|
},
|
|
@@ -52,5 +53,6 @@
|
|
|
52
53
|
"url": "git+https://github.com/hpcc-systems/hpcc-js-wasm.git"
|
|
53
54
|
},
|
|
54
55
|
"homepage": "https://hpcc-systems.github.io/hpcc-js-wasm/",
|
|
55
|
-
"license": "Apache-2.0"
|
|
56
|
-
|
|
56
|
+
"license": "Apache-2.0",
|
|
57
|
+
"gitHead": "841d4713a5ccd8644024e27f929cbb63ffff0573"
|
|
58
|
+
}
|
package/src/graphviz.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type Engine = "circo" | "dot" | "fdp" | "sfdp" | "neato" | "osage" | "pat
|
|
|
14
14
|
/**
|
|
15
15
|
* Example: Passing a web hosted Image to GraphViz:
|
|
16
16
|
* ```ts
|
|
17
|
-
* import { Graphviz } from "@hpcc-js/wasm
|
|
17
|
+
* import { Graphviz } from "@hpcc-js/wasm-graphviz";
|
|
18
18
|
*
|
|
19
19
|
* const graphviz = await Graphviz.load();
|
|
20
20
|
* const svg = graphviz.layout('digraph { a[image="https://.../image.png"]; }', "svg", "dot", {
|
package/types/graphviz.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type Engine = "circo" | "dot" | "fdp" | "sfdp" | "neato" | "osage" | "pat
|
|
|
9
9
|
/**
|
|
10
10
|
* Example: Passing a web hosted Image to GraphViz:
|
|
11
11
|
* ```ts
|
|
12
|
-
* import { Graphviz } from "@hpcc-js/wasm
|
|
12
|
+
* import { Graphviz } from "@hpcc-js/wasm-graphviz";
|
|
13
13
|
*
|
|
14
14
|
* const graphviz = await Graphviz.load();
|
|
15
15
|
* const svg = graphviz.layout('digraph { a[image="https://.../image.png"]; }', "svg", "dot", {
|