@textlint/markdown-to-ast
Advanced tools
Comparing version 13.0.4 to 13.0.5
@@ -38,2 +38,3 @@ "use strict"; | ||
else { | ||
// @ts-expect-error: TxtNodeType + Markdown extension type | ||
node.type = replacedType; | ||
@@ -40,0 +41,0 @@ } |
import { ASTNodeTypes } from "@textlint/ast-node-types"; | ||
export declare const SyntaxMap: { | ||
root: ASTNodeTypes; | ||
paragraph: ASTNodeTypes; | ||
blockquote: ASTNodeTypes; | ||
listItem: ASTNodeTypes; | ||
list: ASTNodeTypes; | ||
Bullet: string; | ||
heading: ASTNodeTypes; | ||
code: ASTNodeTypes; | ||
HtmlBlock: ASTNodeTypes; | ||
thematicBreak: ASTNodeTypes; | ||
text: ASTNodeTypes; | ||
break: ASTNodeTypes; | ||
emphasis: ASTNodeTypes; | ||
strong: ASTNodeTypes; | ||
html: ASTNodeTypes; | ||
link: ASTNodeTypes; | ||
image: ASTNodeTypes; | ||
inlineCode: ASTNodeTypes; | ||
delete: ASTNodeTypes; | ||
yaml: string; | ||
table: string; | ||
tableRow: string; | ||
tableCell: string; | ||
linkReference: string; | ||
imageReference: string; | ||
footnoteReference: string; | ||
definition: string; | ||
readonly root: ASTNodeTypes.Document; | ||
readonly paragraph: ASTNodeTypes.Paragraph; | ||
readonly blockquote: ASTNodeTypes.BlockQuote; | ||
readonly listItem: ASTNodeTypes.ListItem; | ||
readonly list: ASTNodeTypes.List; | ||
readonly Bullet: "Bullet"; | ||
readonly heading: ASTNodeTypes.Header; | ||
readonly code: ASTNodeTypes.CodeBlock; | ||
readonly HtmlBlock: ASTNodeTypes.HtmlBlock; | ||
readonly thematicBreak: ASTNodeTypes.HorizontalRule; | ||
readonly text: ASTNodeTypes.Str; | ||
readonly break: ASTNodeTypes.Break; | ||
readonly emphasis: ASTNodeTypes.Emphasis; | ||
readonly strong: ASTNodeTypes.Strong; | ||
readonly html: ASTNodeTypes.Html; | ||
readonly link: ASTNodeTypes.Link; | ||
readonly image: ASTNodeTypes.Image; | ||
readonly inlineCode: ASTNodeTypes.Code; | ||
readonly delete: ASTNodeTypes.Delete; | ||
readonly yaml: "Yaml"; | ||
readonly table: "Table"; | ||
readonly tableRow: "TableRow"; | ||
readonly tableCell: "TableCell"; | ||
readonly linkReference: "LinkReference"; | ||
readonly imageReference: "ImageReference"; | ||
readonly footnoteReference: "FootnoteReference"; | ||
readonly definition: "Definition"; | ||
/** | ||
* @deprecated | ||
*/ | ||
ReferenceDef: ASTNodeTypes; | ||
readonly ReferenceDef: ASTNodeTypes.ReferenceDef; | ||
}; | ||
//# sourceMappingURL=markdown-syntax-map.d.ts.map |
@@ -32,2 +32,3 @@ import { SyntaxMap } from "./mapping/markdown-syntax-map"; | ||
else { | ||
// @ts-expect-error: TxtNodeType + Markdown extension type | ||
node.type = replacedType; | ||
@@ -34,0 +35,0 @@ } |
import { ASTNodeTypes } from "@textlint/ast-node-types"; | ||
export declare const SyntaxMap: { | ||
root: ASTNodeTypes; | ||
paragraph: ASTNodeTypes; | ||
blockquote: ASTNodeTypes; | ||
listItem: ASTNodeTypes; | ||
list: ASTNodeTypes; | ||
Bullet: string; | ||
heading: ASTNodeTypes; | ||
code: ASTNodeTypes; | ||
HtmlBlock: ASTNodeTypes; | ||
thematicBreak: ASTNodeTypes; | ||
text: ASTNodeTypes; | ||
break: ASTNodeTypes; | ||
emphasis: ASTNodeTypes; | ||
strong: ASTNodeTypes; | ||
html: ASTNodeTypes; | ||
link: ASTNodeTypes; | ||
image: ASTNodeTypes; | ||
inlineCode: ASTNodeTypes; | ||
delete: ASTNodeTypes; | ||
yaml: string; | ||
table: string; | ||
tableRow: string; | ||
tableCell: string; | ||
linkReference: string; | ||
imageReference: string; | ||
footnoteReference: string; | ||
definition: string; | ||
readonly root: ASTNodeTypes.Document; | ||
readonly paragraph: ASTNodeTypes.Paragraph; | ||
readonly blockquote: ASTNodeTypes.BlockQuote; | ||
readonly listItem: ASTNodeTypes.ListItem; | ||
readonly list: ASTNodeTypes.List; | ||
readonly Bullet: "Bullet"; | ||
readonly heading: ASTNodeTypes.Header; | ||
readonly code: ASTNodeTypes.CodeBlock; | ||
readonly HtmlBlock: ASTNodeTypes.HtmlBlock; | ||
readonly thematicBreak: ASTNodeTypes.HorizontalRule; | ||
readonly text: ASTNodeTypes.Str; | ||
readonly break: ASTNodeTypes.Break; | ||
readonly emphasis: ASTNodeTypes.Emphasis; | ||
readonly strong: ASTNodeTypes.Strong; | ||
readonly html: ASTNodeTypes.Html; | ||
readonly link: ASTNodeTypes.Link; | ||
readonly image: ASTNodeTypes.Image; | ||
readonly inlineCode: ASTNodeTypes.Code; | ||
readonly delete: ASTNodeTypes.Delete; | ||
readonly yaml: "Yaml"; | ||
readonly table: "Table"; | ||
readonly tableRow: "TableRow"; | ||
readonly tableCell: "TableCell"; | ||
readonly linkReference: "LinkReference"; | ||
readonly imageReference: "ImageReference"; | ||
readonly footnoteReference: "FootnoteReference"; | ||
readonly definition: "Definition"; | ||
/** | ||
* @deprecated | ||
*/ | ||
ReferenceDef: ASTNodeTypes; | ||
readonly ReferenceDef: ASTNodeTypes.ReferenceDef; | ||
}; | ||
//# sourceMappingURL=markdown-syntax-map.d.ts.map |
{ | ||
"name": "@textlint/markdown-to-ast", | ||
"version": "13.0.4", | ||
"version": "13.0.5", | ||
"description": "Parse Markdown to AST with location info.", | ||
@@ -38,3 +38,3 @@ "homepage": "https://github.com/textlint/textlint/tree/master/packages/@textlint/markdown-to-ast/", | ||
"dependencies": { | ||
"@textlint/ast-node-types": "^13.0.4", | ||
"@textlint/ast-node-types": "^13.0.5", | ||
"debug": "^4.3.4", | ||
@@ -50,3 +50,3 @@ "mdast-util-gfm-autolink-literal": "^0.1.3", | ||
"devDependencies": { | ||
"@textlint/ast-tester": "^13.0.4", | ||
"@textlint/ast-tester": "^13.0.5", | ||
"@types/mocha": "^9.1.1", | ||
@@ -68,3 +68,3 @@ "@types/node": "^18.11.18", | ||
}, | ||
"gitHead": "3da4e6875ddacded095e934f1671707c9bcc35fb" | ||
"gitHead": "4251c9e29f84eba59ba6cba343d7552b3b9a4ed9" | ||
} |
@@ -34,2 +34,3 @@ import { SyntaxMap } from "./mapping/markdown-syntax-map"; | ||
} else { | ||
// @ts-expect-error: TxtNodeType + Markdown extension type | ||
node.type = replacedType; | ||
@@ -36,0 +37,0 @@ } |
@@ -40,2 +40,2 @@ // LICENSE : MIT | ||
ReferenceDef: ASTNodeTypes.ReferenceDef | ||
}; | ||
} as const; |
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 not supported yet
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 not supported yet
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 not supported yet
Sorry, the diff of this file is not supported yet
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
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
107712
452