ts-graphviz
Advanced tools
Comparing version 1.5.2 to 1.5.3-dev.3abfe14cf
@@ -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, |
240
package.json
{ | ||
"name": "ts-graphviz", | ||
"version": "1.5.2", | ||
"author": "kamiazya <yuki@kamiazya.tech>", | ||
"description": "Graphviz library for TypeScript.", | ||
"homepage": "https://ts-graphviz.github.io/ts-graphviz/", | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ts-graphviz/ts-graphviz.git" | ||
}, | ||
"keywords": [ | ||
"graphviz", | ||
"dot" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/ts-graphviz/ts-graphviz/issues" | ||
}, | ||
"funding": { | ||
"type": "github", | ||
"url": "https://github.com/sponsors/kamiazya" | ||
}, | ||
"main": "./lib/index.cjs", | ||
"module": "./lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": { | ||
"types": "./lib/index.d.ts", | ||
"default": "./lib/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./lib/index.d.ts", | ||
"default": "./lib/index.js" | ||
} | ||
"name": "ts-graphviz", | ||
"version": "1.5.3-dev.3abfe14cf", | ||
"author": "kamiazya <yuki@kamiazya.tech>", | ||
"description": "Graphviz library for TypeScript.", | ||
"homepage": "https://ts-graphviz.github.io/ts-graphviz/", | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ts-graphviz/ts-graphviz.git" | ||
}, | ||
"./ast": { | ||
"require": { | ||
"types": "./lib/ast/index.d.ts", | ||
"default": "./lib/ast/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./lib/ast/index.d.ts", | ||
"default": "./lib/ast/index.js" | ||
} | ||
"keywords": [ | ||
"graphviz", | ||
"dot" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/ts-graphviz/ts-graphviz/issues" | ||
}, | ||
"./adapter": { | ||
"browser": { | ||
"require": "./lib/adapter/browser/index.cjs", | ||
"import": "./lib/adapter/browser/index.js", | ||
"types": "./lib/adapter/browser/index.d.ts" | ||
}, | ||
"deno": { | ||
"types": "./lib/adapter/deno/mod.d.ts", | ||
"default": "./lib/adapter/deno/mod.js" | ||
}, | ||
"node": { | ||
"require": "./lib/adapter/node/index.cjs", | ||
"import": "./lib/adapter/node/index.js", | ||
"types": "./lib/adapter/node/index.d.ts" | ||
}, | ||
"default": { | ||
"types": "./lib/adapter/node/index.d.ts", | ||
"require": "./lib/adapter/node/index.cjs", | ||
"import": "./lib/adapter/node/index.js" | ||
} | ||
"funding": { | ||
"type": "github", | ||
"url": "https://github.com/sponsors/kamiazya" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"ast": [ | ||
"lib/ast" | ||
], | ||
"adapter": [ | ||
"lib/adapter/node" | ||
] | ||
"main": "./lib/index.cjs", | ||
"module": "./lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": { | ||
"types": "./lib/index.d.ts", | ||
"default": "./lib/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./lib/index.d.ts", | ||
"default": "./lib/index.js" | ||
} | ||
}, | ||
"./ast": { | ||
"require": { | ||
"types": "./lib/ast/index.d.ts", | ||
"default": "./lib/ast/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./lib/ast/index.d.ts", | ||
"default": "./lib/ast/index.js" | ||
} | ||
}, | ||
"./adapter": { | ||
"browser": { | ||
"require": "./lib/adapter/browser/index.cjs", | ||
"import": "./lib/adapter/browser/index.js", | ||
"types": "./lib/adapter/browser/index.d.ts" | ||
}, | ||
"deno": { | ||
"types": "./lib/adapter/deno/mod.d.ts", | ||
"default": "./lib/adapter/deno/mod.js" | ||
}, | ||
"node": { | ||
"require": "./lib/adapter/node/index.cjs", | ||
"import": "./lib/adapter/node/index.js", | ||
"types": "./lib/adapter/node/index.d.ts" | ||
}, | ||
"default": { | ||
"types": "./lib/adapter/node/index.d.ts", | ||
"require": "./lib/adapter/node/index.cjs", | ||
"import": "./lib/adapter/node/index.js" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"ast": [ | ||
"lib/ast" | ||
], | ||
"adapter": [ | ||
"lib/adapter/node" | ||
] | ||
} | ||
}, | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=14.16" | ||
}, | ||
"runkitExampleFilename": "example/runkit.cjs", | ||
"scripts": { | ||
"build:peggy": "peggy --plugin ts-pegjs --extra-options-file src/ast/dot-shim/parser/peggy.options.json -o src/ast/dot-shim/parser/_parse.ts src/ast/dot-shim/parser/dot.peggy", | ||
"prebuild": "yarn build:peggy", | ||
"build:deno": "mkdir -p lib/adapter/deno && cp -r src/adapter/deno/* lib/adapter/deno && sed -i \"s/index.ts/index.js/g\" lib/adapter/deno/mod.js && sed -i \"s/index.ts/index.d.ts/g\" lib/adapter/deno/mod.d.ts", | ||
"build:node": "tsc -p tsconfig.build.json && rollup -c", | ||
"build": "yarn build:node && yarn build:deno", | ||
"postbuild": "prettier --write ./lib/**/*.{js,cjs,d.ts}", | ||
"pretest": "yarn build:peggy", | ||
"test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest", | ||
"format": "eslint --ext ts src --fix && prettier --write './**/*.{ts,js,json,yaml}' '!lib'", | ||
"lint": "eslint --ext ts src", | ||
"predoc": "yarn build:peggy", | ||
"doc": "typedoc" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-replace": "^5.0.2", | ||
"@types/jest": "^29.4.0", | ||
"@types/jest-specific-snapshot": "^0.5.6", | ||
"@typescript-eslint/eslint-plugin": "^5.49.0", | ||
"@typescript-eslint/parser": "^5.49.0", | ||
"eslint": "^8.32.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"jest": "^29.4.1", | ||
"jest-snapshot-serializer-raw": "^1.2.0", | ||
"jest-specific-snapshot": "^7.0.0", | ||
"peggy": "^2.0.1", | ||
"prettier": "^2.8.3", | ||
"prettier-plugin-pegjs": "^0.5.0", | ||
"rollup": "^3.11.0", | ||
"rollup-plugin-delete": "^2.0.0", | ||
"rollup-plugin-dts": "5.1.1", | ||
"svgo": "^3.0.2", | ||
"ts-jest": "^29.0.5", | ||
"ts-pegjs": "^3.0.0", | ||
"typedoc": "^0.23.15", | ||
"typescript": "^4.7.4" | ||
} | ||
}, | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=14.16" | ||
}, | ||
"runkitExampleFilename": "example/runkit.cjs", | ||
"scripts": { | ||
"build:peggy": "peggy --plugin ts-pegjs --extra-options-file src/ast/dot-shim/parser/peggy.options.json -o src/ast/dot-shim/parser/_parse.ts src/ast/dot-shim/parser/dot.peggy", | ||
"prebuild": "yarn build:peggy", | ||
"build:deno": "mkdir -p lib/adapter/deno && cp -r src/adapter/deno/* lib/adapter/deno && sed -i \"s/index.ts/index.js/g\" lib/adapter/deno/mod.js && sed -i \"s/index.ts/index.d.ts/g\" lib/adapter/deno/mod.d.ts", | ||
"build:node": "tsc -p tsconfig.build.json && rollup -c", | ||
"build": "yarn build:node && yarn build:deno", | ||
"postbuild": "prettier --write ./lib/**/*.{js,cjs,d.ts}", | ||
"pretest": "yarn build:peggy", | ||
"test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest", | ||
"format": "eslint --ext ts src --fix && prettier --write './**/*.{ts,js,json,yaml}' '!lib'", | ||
"lint": "eslint --ext ts src", | ||
"predoc": "yarn build:peggy", | ||
"doc": "typedoc" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-replace": "^5.0.2", | ||
"@types/jest": "^29.4.0", | ||
"@types/jest-specific-snapshot": "^0.5.6", | ||
"@typescript-eslint/eslint-plugin": "^5.49.0", | ||
"@typescript-eslint/parser": "^5.49.0", | ||
"eslint": "^8.32.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"jest": "^29.4.1", | ||
"jest-snapshot-serializer-raw": "^1.2.0", | ||
"jest-specific-snapshot": "^7.0.0", | ||
"peggy": "^2.0.1", | ||
"prettier": "^2.8.3", | ||
"prettier-plugin-pegjs": "^0.5.0", | ||
"rollup": "^3.11.0", | ||
"rollup-plugin-delete": "^2.0.0", | ||
"rollup-plugin-dts": "5.1.1", | ||
"svgo": "^3.0.2", | ||
"ts-jest": "^29.0.5", | ||
"ts-pegjs": "^2.1.0", | ||
"typedoc": "^0.23.15", | ||
"typescript": "^4.7.4" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
569205
1