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

@ts-graphviz/ast

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-graphviz/ast - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6-next-d7ff421ec861ca8fdede1a6bdf256f3455fb9797

9

CHANGELOG.md
# @ts-graphviz/ast
## 2.0.6-next-d7ff421ec861ca8fdede1a6bdf256f3455fb9797
### Patch Changes
- [#1218](https://github.com/ts-graphviz/ts-graphviz/pull/1218) [`d7ff421`](https://github.com/ts-graphviz/ts-graphviz/commit/d7ff421ec861ca8fdede1a6bdf256f3455fb9797) Thanks [@kamiazya](https://github.com/kamiazya)! - Fix AST printing not to be destroyed during stringify even in HTML-Like format
- Updated dependencies [[`d7ff421`](https://github.com/ts-graphviz/ts-graphviz/commit/d7ff421ec861ca8fdede1a6bdf256f3455fb9797)]:
- @ts-graphviz/common@2.1.5-next-d7ff421ec861ca8fdede1a6bdf256f3455fb9797
## 2.0.5

@@ -4,0 +13,0 @@

10

lib/ast.d.ts

@@ -739,3 +739,3 @@ import { ASTType } from '@ts-graphviz/common';

*/
export declare interface PrintContext extends Required<PrintOptions> {
export declare interface PrintContext {
/**

@@ -745,6 +745,9 @@ * Indicates if the AST should be printed in a directed graph.

directed: boolean;
readonly EOL: string;
/**
* A function to print an ASTNode, taking in an ASTNode as an argument. Returns a string.
*/
print(ast: ASTNode): string;
print(ast: ASTNode): Iterable<string>;
printChildren(children: ASTNode[]): Iterable<string>;
join(children: ASTNode[], separator: string): Iterable<string>;
}

@@ -769,2 +772,3 @@

print(ast: ASTNode): string;
private toChunks;
}

@@ -815,3 +819,3 @@

*/
print(context: PrintContext, ast: T): string;
print(context: PrintContext, ast: T): Generator<string>;
}

@@ -818,0 +822,0 @@

{
"name": "@ts-graphviz/ast",
"version": "2.0.5",
"version": "2.0.6-next-d7ff421ec861ca8fdede1a6bdf256f3455fb9797",
"description": "Graphviz AST(Abstract Syntax Tree) Utilities",

@@ -40,3 +40,3 @@ "keywords": [],

"dependencies": {
"@ts-graphviz/common": "^2.1.4"
"@ts-graphviz/common": "^2.1.5-next-d7ff421ec861ca8fdede1a6bdf256f3455fb9797"
},

@@ -43,0 +43,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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