New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-graphviz

Package Overview
Dependencies
Maintainers
1
Versions
186
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

to
1.5.3-dev.c5af75171

2

lib/adapter/node/index.js

@@ -30,3 +30,5 @@ import { pipeline as pipeline$1, PassThrough, Readable } from 'node:stream';

const stderrChunks = [];
p.stdout.on('pause', () => p.stdout.resume());
p.stderr.on('data', (chunk) => stderrChunks.push(chunk));
p.stderr.on('pause', () => p.stderr.resume());
const dist = p.stdout.pipe(new PassThrough());

@@ -33,0 +35,0 @@ p.on('close', async (code, signal) => {

50

lib/ast/index.d.ts

@@ -16,3 +16,3 @@ import {

*/
interface FilePosition {
interface FilePosition$1 {
offset: number;

@@ -25,5 +25,5 @@ line: number;

*/
interface FileRange {
start: FilePosition;
end: FilePosition;
interface FileRange$1 {
start: FilePosition$1;
end: FilePosition$1;
}

@@ -35,3 +35,3 @@ /**

interface ASTCommonPropaties {
location?: FileRange;
location?: FileRange$1;
}

@@ -248,3 +248,3 @@ /**

interface BuilderOptions {
locationFunction: () => FileRange;
locationFunction: () => FileRange$1;
}

@@ -358,3 +358,3 @@ /**

interface IFilePosition {
interface FilePosition {
offset: number;

@@ -364,8 +364,8 @@ line: number;

}
interface IFileRange {
start: IFilePosition;
end: IFilePosition;
interface FileRange {
start: FilePosition;
end: FilePosition;
source: string;
}
interface ILiteralExpectation {
interface LiteralExpectation {
type: 'literal';

@@ -375,21 +375,21 @@ text: string;

}
interface IClassParts extends Array<string | IClassParts> {}
interface IClassExpectation {
interface ClassParts extends Array<string | ClassParts> {}
interface ClassExpectation {
type: 'class';
parts: IClassParts;
parts: ClassParts;
inverted: boolean;
ignoreCase: boolean;
}
interface IAnyExpectation {
interface AnyExpectation {
type: 'any';
}
interface IEndExpectation {
interface EndExpectation {
type: 'end';
}
interface IOtherExpectation {
interface OtherExpectation {
type: 'other';
description: string;
}
type Expectation = ILiteralExpectation | IClassExpectation | IAnyExpectation | IEndExpectation | IOtherExpectation;
declare class SyntaxError$1 extends Error {
type Expectation = LiteralExpectation | ClassExpectation | AnyExpectation | EndExpectation | OtherExpectation;
declare class DotSyntaxError$1 extends Error {
static buildMessage(expected: Expectation[], found: string | null): string;

@@ -399,5 +399,5 @@ message: string;

found: string | null;
location: IFileRange;
location: FileRange;
name: string;
constructor(message: string, expected: Expectation[], found: string | null, location: IFileRange);
constructor(message: string, expected: Expectation[], found: string | null, location: FileRange);
format(

@@ -444,3 +444,3 @@ sources: {

*/
declare const SyntaxError: typeof SyntaxError$1;
declare const DotSyntaxError: typeof DotSyntaxError$1;

@@ -602,2 +602,3 @@ /**

DotASTPropaties,
DotSyntaxError,
EdgeASTNode,

@@ -607,4 +608,4 @@ EdgeASTPropaties,

EndOfLine,
FilePosition,
FileRange,
FilePosition$1 as FilePosition,
FileRange$1 as FileRange,
FromModelConverter,

@@ -633,3 +634,2 @@ GraphASTNode,

SubgraphASTPropaties,
SyntaxError,
ToModelConvertableASTNode,

@@ -636,0 +636,0 @@ ToModelConverter,

{
"name": "ts-graphviz",
"version": "1.5.3-dev.7e8cbd7ab",
"version": "1.5.3-dev.c5af75171",
"author": "kamiazya <yuki@kamiazya.tech>",

@@ -121,3 +121,3 @@ "description": "Graphviz library for TypeScript.",

"ts-jest": "^29.0.5",
"ts-pegjs": "^2.1.0",
"ts-pegjs": "^3.0.0",
"typedoc": "^0.23.15",

@@ -124,0 +124,0 @@ "typescript": "^4.7.4"

@@ -544,2 +544,6 @@ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/d6485f9858ed4b3e8ef76611a2896bc4)](https://app.codacy.com/gh/ts-graphviz/ts-graphviz?utm_source=github.com&utm_medium=referral&utm_content=ts-graphviz/ts-graphviz&utm_campaign=Badge_Grade_Settings)

<td align="center" valign="top" width="14.28%"><a href="https://blake-regalia.net"><img src="https://avatars.githubusercontent.com/u/1456400?v=4?s=100" width="100px;" alt="Blake Regalia"/><br /><sub><b>Blake Regalia</b></sub></a><br /><a href="https://github.com/ts-graphviz/ts-graphviz/issues?q=author%3Ablake-regalia" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/bigbug"><img src="https://avatars.githubusercontent.com/u/27259?v=4?s=100" width="100px;" alt="bigbug"/><br /><sub><b>bigbug</b></sub></a><br /><a href="#question-bigbug" title="Answering Questions">💬</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/murawakimitsuhiro"><img src="https://avatars.githubusercontent.com/u/13833242?v=4?s=100" width="100px;" alt="mrwk"/><br /><sub><b>mrwk</b></sub></a><br /><a href="#question-murawakimitsuhiro" title="Answering Questions">💬</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/svdvonde"><img src="https://avatars.githubusercontent.com/u/2751783?v=4?s=100" width="100px;" alt="svdvonde"/><br /><sub><b>svdvonde</b></sub></a><br /><a href="#question-svdvonde" title="Answering Questions">💬</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/seethroughdev"><img src="https://avatars.githubusercontent.com/u/203779?v=4?s=100" width="100px;" alt="Adam"/><br /><sub><b>Adam</b></sub></a><br /><a href="#question-seethroughdev" title="Answering Questions">💬</a></td>
</tr>

@@ -546,0 +550,0 @@ </tbody>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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