ts-graphviz 0.0.0-next-20240316100427 → 0.0.0-next-20240317133942
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/CHANGELOG.md +6 -6
- package/lib/attribute.d.ts +1 -1
- package/lib/from-dot.d.ts +2 -2
- package/lib/model-factory-builder.d.ts +2 -2
- package/lib/model-factory.d.ts +2 -2
- package/lib/to-dot.d.ts +2 -2
- package/lib/types.d.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ts-graphviz
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-20240317133942
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
|
|
19
19
|
- [#986](https://github.com/ts-graphviz/ts-graphviz/pull/986) [`81a50ff`](https://github.com/ts-graphviz/ts-graphviz/commit/81a50ff94b461f44256f2eea5b86af5eb26afd94) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump actions/dependency-review-action from 2.5.1 to 4.1.3
|
|
20
20
|
|
|
21
|
-
- Updated dependencies [[`cb5517a`](https://github.com/ts-graphviz/ts-graphviz/commit/cb5517a0236ce33527d200df9770390f4eb40064), [`0589b4f`](https://github.com/ts-graphviz/ts-graphviz/commit/0589b4f8849290d2c4a39beceb9b633f059f2e3f), [`5ce6b59`](https://github.com/ts-graphviz/ts-graphviz/commit/5ce6b59fa395bc344de2bfb15061b158a9ea5586), [`122336b`](https://github.com/ts-graphviz/ts-graphviz/commit/122336bede1033f73a2a94c82d499fda238f6b2e), [`b5f36fa`](https://github.com/ts-graphviz/ts-graphviz/commit/b5f36faf9cf70dfc263130c4480dc21770475c5a), [`c55f2d0`](https://github.com/ts-graphviz/ts-graphviz/commit/c55f2d0dfa851d318cc16a36499c69c0a34f1588), [`81a50ff`](https://github.com/ts-graphviz/ts-graphviz/commit/81a50ff94b461f44256f2eea5b86af5eb26afd94)]:
|
|
22
|
-
- @ts-graphviz/core@0.0.0-next-
|
|
23
|
-
- @ts-graphviz/common@0.0.0-next-
|
|
24
|
-
- @ts-graphviz/ast@0.0.0-next-
|
|
25
|
-
- @ts-graphviz/adapter@0.0.0-next-
|
|
21
|
+
- Updated dependencies [[`cb5517a`](https://github.com/ts-graphviz/ts-graphviz/commit/cb5517a0236ce33527d200df9770390f4eb40064), [`0589b4f`](https://github.com/ts-graphviz/ts-graphviz/commit/0589b4f8849290d2c4a39beceb9b633f059f2e3f), [`5ce6b59`](https://github.com/ts-graphviz/ts-graphviz/commit/5ce6b59fa395bc344de2bfb15061b158a9ea5586), [`122336b`](https://github.com/ts-graphviz/ts-graphviz/commit/122336bede1033f73a2a94c82d499fda238f6b2e), [`b5f36fa`](https://github.com/ts-graphviz/ts-graphviz/commit/b5f36faf9cf70dfc263130c4480dc21770475c5a), [`c55f2d0`](https://github.com/ts-graphviz/ts-graphviz/commit/c55f2d0dfa851d318cc16a36499c69c0a34f1588), [`81a50ff`](https://github.com/ts-graphviz/ts-graphviz/commit/81a50ff94b461f44256f2eea5b86af5eb26afd94), [`391e98e`](https://github.com/ts-graphviz/ts-graphviz/commit/391e98edf70bb43c1feb4a00f832fa9d96dd9d39)]:
|
|
22
|
+
- @ts-graphviz/core@0.0.0-next-20240317133942
|
|
23
|
+
- @ts-graphviz/common@0.0.0-next-20240317133942
|
|
24
|
+
- @ts-graphviz/ast@0.0.0-next-20240317133942
|
|
25
|
+
- @ts-graphviz/adapter@0.0.0-next-20240317133942
|
|
26
26
|
|
|
27
27
|
## 2.0.0
|
|
28
28
|
|
package/lib/attribute.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Attribute } from '@ts-graphviz/common';
|
|
1
|
+
import type { Attribute } from '@ts-graphviz/common';
|
|
2
2
|
export declare const attribute: Attribute.keys;
|
package/lib/from-dot.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConvertToModelOptions, ParseOptions } from '@ts-graphviz/ast';
|
|
2
|
-
import { EdgeModel, NodeModel, RootGraphModel, SubgraphModel } from '@ts-graphviz/common';
|
|
1
|
+
import { type ConvertToModelOptions, type ParseOptions } from '@ts-graphviz/ast';
|
|
2
|
+
import type { EdgeModel, NodeModel, RootGraphModel, SubgraphModel } from '@ts-graphviz/common';
|
|
3
3
|
export interface FromDotOptions<T extends 'Dot' | 'Graph' | 'Node' | 'Edge' | 'Subgraph'> {
|
|
4
4
|
parse?: ParseOptions<T>;
|
|
5
5
|
convert?: ConvertToModelOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModelsContext } from '@ts-graphviz/common';
|
|
2
|
-
import { ModelFactory } from './types.js';
|
|
1
|
+
import { type ModelsContext } from '@ts-graphviz/common';
|
|
2
|
+
import type { ModelFactory } from './types.js';
|
|
3
3
|
export declare function ModelFactoryBuilder(this: ModelsContext, directed: boolean, strictMode: boolean): ModelFactory;
|
|
4
4
|
export declare function createModelFactories(strict: boolean, context?: ModelsContext): Readonly<{
|
|
5
5
|
digraph: ModelFactory;
|
package/lib/model-factory.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModelsContext } from '@ts-graphviz/common';
|
|
2
|
-
import { ModelFactories, ModelFactoriesWithStrict } from './types.js';
|
|
1
|
+
import { type ModelsContext } from '@ts-graphviz/common';
|
|
2
|
+
import type { ModelFactories, ModelFactoriesWithStrict } from './types.js';
|
|
3
3
|
export declare const digraph: import("./types.js").ModelFactory;
|
|
4
4
|
export declare const graph: import("./types.js").ModelFactory;
|
|
5
5
|
export declare const strict: ModelFactories;
|
package/lib/to-dot.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConvertFromModelOptions, PrintOptions } from '@ts-graphviz/ast';
|
|
2
|
-
import { DotObjectModel } from '@ts-graphviz/common';
|
|
1
|
+
import { type ConvertFromModelOptions, type PrintOptions } from '@ts-graphviz/ast';
|
|
2
|
+
import type { DotObjectModel } from '@ts-graphviz/common';
|
|
3
3
|
export interface ToDotOptions {
|
|
4
4
|
convert?: ConvertFromModelOptions;
|
|
5
5
|
print?: PrintOptions;
|
package/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GraphAttributesObject, RootGraphModel } from '@ts-graphviz/common';
|
|
1
|
+
import type { GraphAttributesObject, RootGraphModel } from '@ts-graphviz/common';
|
|
2
2
|
export interface ModelFactory {
|
|
3
3
|
(id?: string, attributes?: GraphAttributesObject, callback?: (g: RootGraphModel) => void): RootGraphModel;
|
|
4
4
|
(attributes?: GraphAttributesObject, callback?: (g: RootGraphModel) => void): RootGraphModel;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-graphviz",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20240317133942",
|
|
4
4
|
"description": "Graphviz library for TypeScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphviz",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"module": "./lib/ts-graphviz.js",
|
|
57
57
|
"types": "lib/ts-graphviz.d.ts",
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@ts-graphviz/adapter": "^0.0.0-next-
|
|
60
|
-
"@ts-graphviz/ast": "^0.0.0-next-
|
|
61
|
-
"@ts-graphviz/common": "^0.0.0-next-
|
|
62
|
-
"@ts-graphviz/core": "^0.0.0-next-
|
|
59
|
+
"@ts-graphviz/adapter": "^0.0.0-next-20240317133942",
|
|
60
|
+
"@ts-graphviz/ast": "^0.0.0-next-20240317133942",
|
|
61
|
+
"@ts-graphviz/common": "^0.0.0-next-20240317133942",
|
|
62
|
+
"@ts-graphviz/core": "^0.0.0-next-20240317133942"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"peggy": "^3.0.2",
|