@hpcc-js/wasm-graphviz 1.3.0 → 1.6.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/dist/index.js +2 -2
- package/package.json +15 -15
- 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.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "hpcc-js - WASM Graphviz",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -17,21 +17,21 @@
|
|
|
17
17
|
"types/**/*"
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
|
-
"clean": "rimraf
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"build-dev": "run-p
|
|
27
|
-
"build": "run-p
|
|
20
|
+
"clean": "rimraf coverage dist dist-test types .nyc_output",
|
|
21
|
+
"gen-types": "tsc --project tsconfig.json --emitDeclarationOnly",
|
|
22
|
+
"gen-types-watch": "npm run gen-types -- --watch",
|
|
23
|
+
"bundle": "node esbuild.js",
|
|
24
|
+
"bundle-dev": "npm run bundle -- --development",
|
|
25
|
+
"bundle-watch": "npm run bundle-dev -- --watch",
|
|
26
|
+
"build-dev": "run-p gen-types bundle-dev",
|
|
27
|
+
"build": "run-p gen-types bundle",
|
|
28
28
|
"lint-skypack": "npx -y @skypack/package-check",
|
|
29
|
-
"lint-eslint": "eslint src/**/*.ts",
|
|
29
|
+
"lint-eslint": "eslint src/**/*.ts tests/**/*.ts",
|
|
30
30
|
"lint": "run-p lint-eslint",
|
|
31
|
-
"test-
|
|
32
|
-
"test-
|
|
33
|
-
"test
|
|
34
|
-
"
|
|
31
|
+
"test-browser": "vitest run --project browser",
|
|
32
|
+
"test-node": "vitest run --project node",
|
|
33
|
+
"test": "vitest run",
|
|
34
|
+
"coverage": "vitest run --coverage",
|
|
35
35
|
"update": "npx -y npm-check-updates -u -t minor",
|
|
36
36
|
"update-major": "npx -y npm-check-updates -u"
|
|
37
37
|
},
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://hpcc-systems.github.io/hpcc-js-wasm/",
|
|
53
53
|
"license": "Apache-2.0",
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "4b279928d3cbcbb2cebc5c33226d15c1d6043966"
|
|
55
55
|
}
|
package/src/graphviz.ts
CHANGED
|
@@ -4,7 +4,7 @@ import load, { reset } from "../../../build/packages/graphviz/src-cpp/graphvizli
|
|
|
4
4
|
/**
|
|
5
5
|
* Various graphic and data formats for end user, web, documents and other applications. See [Output Formats](https://graphviz.gitlab.io/docs/outputs/) for more information.
|
|
6
6
|
*/
|
|
7
|
-
export type Format = "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext";
|
|
7
|
+
export type Format = "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext" | "canon";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Various algorithms for projecting abstract graphs into a space for visualization. See [Layout Engines](https://graphviz.gitlab.io/docs/layouts/) for more details.
|
package/types/graphviz.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Various graphic and data formats for end user, web, documents and other applications. See [Output Formats](https://graphviz.gitlab.io/docs/outputs/) for more information.
|
|
3
3
|
*/
|
|
4
|
-
export type Format = "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext";
|
|
4
|
+
export type Format = "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext" | "canon";
|
|
5
5
|
/**
|
|
6
6
|
* Various algorithms for projecting abstract graphs into a space for visualization. See [Layout Engines](https://graphviz.gitlab.io/docs/layouts/) for more details.
|
|
7
7
|
*/
|