Socket
Socket
Sign inDemoInstall

@textlint/ast-node-types

Package Overview
Dependencies
Maintainers
3
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint/ast-node-types - npm Package Compare versions

Comparing version 13.0.0 to 13.0.1

2

lib/src/index.d.ts
export { ASTNodeTypes } from "./ASTNodeTypes";
export type { AnyTxtNode, TxtNode, TxtParentNode, TxtTextNode, TxtBlockQuoteNode, TxtBreakNode, TxtCodeBlockNode, TxtCommentNode, TxtDeleteNode, TxtDocumentNode, TxtEmphasisNode, TxtHeaderNode, TxtHorizontalRuleNode, TxtHtmlNode, TxtImageNode, TxtLinkNode, TxtListItemNode, TxtListNode, TxtParagraphNode, TxtCodeNode, TxtStrNode, TxtStrongNode, TxtTableNode, TxtTableRowNode, TxtTableCellNode } from "./NodeType";
export type { AnyTxtNode, TxtNode, TxtParentNode, TxtTextNode, TxtNodeRange, TxtNodeLocation, TxtNodePosition, TxtBlockQuoteNode, TxtBreakNode, TxtCodeBlockNode, TxtCommentNode, TxtDeleteNode, TxtDocumentNode, TxtEmphasisNode, TxtHeaderNode, TxtHorizontalRuleNode, TxtHtmlNode, TxtImageNode, TxtLinkNode, TxtListItemNode, TxtListNode, TxtParagraphNode, TxtCodeNode, TxtStrNode, TxtStrongNode, TxtTableNode, TxtTableRowNode, TxtTableCellNode } from "./NodeType";
export type { TypeofTxtNode } from "./TypeofTxtNode";
//# sourceMappingURL=index.d.ts.map

@@ -29,3 +29,3 @@ /**

*/
export type TxtNodeLineLocation = {
export type TxtNodeLocation = {
start: TxtNodePosition;

@@ -37,3 +37,3 @@ end: TxtNodePosition;

*/
export type TextNodeRange = readonly [startIndex: number, endIndex: number];
export type TxtNodeRange = readonly [startIndex: number, endIndex: number];
/**

@@ -46,4 +46,4 @@ * TxtNode is abstract interface of AST Node.

raw: string;
range: TextNodeRange;
loc: TxtNodeLineLocation;
range: TxtNodeRange;
loc: TxtNodeLocation;
parent?: TxtParentNode;

@@ -50,0 +50,0 @@ [index: string]: any;

export { ASTNodeTypes } from "./ASTNodeTypes";
export type { AnyTxtNode, TxtNode, TxtParentNode, TxtTextNode, TxtBlockQuoteNode, TxtBreakNode, TxtCodeBlockNode, TxtCommentNode, TxtDeleteNode, TxtDocumentNode, TxtEmphasisNode, TxtHeaderNode, TxtHorizontalRuleNode, TxtHtmlNode, TxtImageNode, TxtLinkNode, TxtListItemNode, TxtListNode, TxtParagraphNode, TxtCodeNode, TxtStrNode, TxtStrongNode, TxtTableNode, TxtTableRowNode, TxtTableCellNode } from "./NodeType";
export type { AnyTxtNode, TxtNode, TxtParentNode, TxtTextNode, TxtNodeRange, TxtNodeLocation, TxtNodePosition, TxtBlockQuoteNode, TxtBreakNode, TxtCodeBlockNode, TxtCommentNode, TxtDeleteNode, TxtDocumentNode, TxtEmphasisNode, TxtHeaderNode, TxtHorizontalRuleNode, TxtHtmlNode, TxtImageNode, TxtLinkNode, TxtListItemNode, TxtListNode, TxtParagraphNode, TxtCodeNode, TxtStrNode, TxtStrongNode, TxtTableNode, TxtTableRowNode, TxtTableCellNode } from "./NodeType";
export type { TypeofTxtNode } from "./TypeofTxtNode";
//# sourceMappingURL=index.d.ts.map

@@ -29,3 +29,3 @@ /**

*/
export type TxtNodeLineLocation = {
export type TxtNodeLocation = {
start: TxtNodePosition;

@@ -37,3 +37,3 @@ end: TxtNodePosition;

*/
export type TextNodeRange = readonly [startIndex: number, endIndex: number];
export type TxtNodeRange = readonly [startIndex: number, endIndex: number];
/**

@@ -46,4 +46,4 @@ * TxtNode is abstract interface of AST Node.

raw: string;
range: TextNodeRange;
loc: TxtNodeLineLocation;
range: TxtNodeRange;
loc: TxtNodeLocation;
parent?: TxtParentNode;

@@ -50,0 +50,0 @@ [index: string]: any;

{
"name": "@textlint/ast-node-types",
"version": "13.0.0",
"version": "13.0.1",
"description": "textlint AST node type definition.",

@@ -38,3 +38,3 @@ "keywords": [

},
"gitHead": "5ab6892e6c3f100751542f2c84bc91e78c584f7f"
"gitHead": "0eaa531c9e854b7df6a02fd750cdcc16d2ad26a4"
}

@@ -8,2 +8,6 @@ export { ASTNodeTypes } from "./ASTNodeTypes";

TxtTextNode,
// properties
TxtNodeRange,
TxtNodeLocation,
TxtNodePosition,
// node types

@@ -10,0 +14,0 @@ TxtBlockQuoteNode,

@@ -36,3 +36,3 @@ // ================================================================================

*/
export type TxtNodeLineLocation = {
export type TxtNodeLocation = {
start: TxtNodePosition;

@@ -45,3 +45,3 @@ end: TxtNodePosition;

*/
export type TextNodeRange = readonly [startIndex: number, endIndex: number];
export type TxtNodeRange = readonly [startIndex: number, endIndex: number];

@@ -55,4 +55,4 @@ /**

raw: string;
range: TextNodeRange;
loc: TxtNodeLineLocation;
range: TxtNodeRange;
loc: TxtNodeLocation;
// `parent` is created by runtime

@@ -59,0 +59,0 @@ parent?: TxtParentNode;

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

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