Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-graphviz

Package Overview
Dependencies
Maintainers
1
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-graphviz - npm Package Compare versions

Comparing version 1.6.1-dev.9b20eb739 to 1.6.2-dev.4ac9642c5

31

lib/ast/index.d.ts

@@ -354,3 +354,3 @@ import {

props: LiteralASTPropaties<T>,
children: ASTChildNode<LiteralASTNode>[],
children?: ASTChildNode<LiteralASTNode>[],
): LiteralASTNode<T>;

@@ -365,3 +365,3 @@ /**

*/
(type: 'Literal', props: LiteralASTPropaties, children: ASTChildNode<LiteralASTNode>[]): LiteralASTNode;
(type: 'Literal', props: LiteralASTPropaties, children?: ASTChildNode<LiteralASTNode>[]): LiteralASTNode;
/**

@@ -375,3 +375,3 @@ * Creates a {@link DotASTNode} with the given type, properties, and children.

*/
(type: 'Dot', props: DotASTPropaties, children: ASTChildNode<DotASTNode>[]): DotASTNode;
(type: 'Dot', props: DotASTPropaties, children?: ASTChildNode<DotASTNode>[]): DotASTNode;
/**

@@ -385,3 +385,3 @@ * Creates a {@link GraphASTNode} with the given type, properties, and children.

*/
(type: 'Graph', props: GraphASTPropaties, children: ASTChildNode<GraphASTNode>[]): GraphASTNode;
(type: 'Graph', props: GraphASTPropaties, children?: ASTChildNode<GraphASTNode>[]): GraphASTNode;
/**

@@ -395,3 +395,8 @@ * Creates an {@link AttributeASTNode} with the given type, properties, and children.

*/
(type: 'Attribute', props: AttributeASTPropaties, children: ASTChildNode<AttributeASTNode>[]): AttributeASTNode;
<T extends AttributeKey>(
type: 'Attribute',
props: AttributeASTPropaties<T>,
children?: ASTChildNode<AttributeASTNode>[],
): AttributeASTNode<T>;
(type: 'Attribute', props: AttributeASTPropaties, children?: ASTChildNode<AttributeASTNode>[]): AttributeASTNode;
/**

@@ -405,3 +410,3 @@ * Creates a {@link CommentASTNode} with the given type, properties, and children.

*/
(type: 'Comment', props: CommentASTPropaties, children: ASTChildNode<CommentASTNode>[]): CommentASTNode;
(type: 'Comment', props: CommentASTPropaties, children?: ASTChildNode<CommentASTNode>[]): CommentASTNode;
/**

@@ -418,3 +423,3 @@ * Creates an {@link AttributeListASTNode} with the given type, properties, and children.

props: AttributeListASTPropaties,
children: ASTChildNode<AttributeListASTNode>[],
children?: ASTChildNode<AttributeListASTNode>[],
): AttributeListASTNode;

@@ -429,3 +434,3 @@ /**

*/
(type: 'NodeRef', props: NodeRefASTPropaties, children: ASTChildNode<NodeRefASTNode>[]): NodeRefASTNode;
(type: 'NodeRef', props: NodeRefASTPropaties, children?: ASTChildNode<NodeRefASTNode>[]): NodeRefASTNode;
/**

@@ -442,3 +447,3 @@ * Creates a {@link NodeRefGroupASTNode} with the given type, properties, and children.

props: NodeRefGroupASTPropaties,
children: ASTChildNode<NodeRefGroupASTNode>[],
children?: ASTChildNode<NodeRefGroupASTNode>[],
): NodeRefGroupASTNode;

@@ -453,3 +458,3 @@ /**

*/
(type: 'Edge', props: EdgeASTPropaties, children: ASTChildNode<EdgeASTNode>[]): EdgeASTNode;
(type: 'Edge', props: EdgeASTPropaties, children?: ASTChildNode<EdgeASTNode>[]): EdgeASTNode;
/**

@@ -463,3 +468,3 @@ * Creates a {@link NodeASTNode} with the given type, properties, and children.

*/
(type: 'Node', props: NodeASTPropaties, children: ASTChildNode<NodeASTNode>[]): NodeASTNode;
(type: 'Node', props: NodeASTPropaties, children?: ASTChildNode<NodeASTNode>[]): NodeASTNode;
/**

@@ -473,3 +478,3 @@ * Creates a {@link SubgraphASTNode} with the given type, properties, and children.

*/
(type: 'Subgraph', props: SubgraphASTPropaties, children: ASTChildNode<SubgraphASTNode>[]): SubgraphASTNode;
(type: 'Subgraph', props: SubgraphASTPropaties, children?: ASTChildNode<SubgraphASTNode>[]): SubgraphASTNode;
}

@@ -510,3 +515,3 @@ /**

*/
createElement<T extends ASTNode>(type: T['type'], props: any, children: ASTChildNode<T>[]): T;
createElement<T extends ASTNode>(type: T['type'], props: any, children?: ASTChildNode<T>[]): T;
}

@@ -513,0 +518,0 @@

{
"name": "ts-graphviz",
"version": "1.6.1-dev.9b20eb739",
"version": "1.6.2-dev.4ac9642c5",
"author": "kamiazya <yuki@kamiazya.tech>",

@@ -5,0 +5,0 @@ "description": "Graphviz library for TypeScript.",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc