@markuplint/astro-parser 3.6.0 → 3.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/astro-parser.d.ts +1 -9
- package/lib/attr-tokenizer.d.ts +1 -7
- package/package.json +4 -4
package/lib/astro-parser.d.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
import type { RootNode } from '@astrojs/compiler/shared/ast';
|
|
2
|
-
export type {
|
|
3
|
-
RootNode,
|
|
4
|
-
ElementNode,
|
|
5
|
-
CustomElementNode,
|
|
6
|
-
ComponentNode,
|
|
7
|
-
FragmentNode,
|
|
8
|
-
AttributeNode,
|
|
9
|
-
Node,
|
|
10
|
-
} from '@astrojs/compiler/shared/ast';
|
|
2
|
+
export type { RootNode, ElementNode, CustomElementNode, ComponentNode, FragmentNode, AttributeNode, Node, } from '@astrojs/compiler/shared/ast';
|
|
11
3
|
export declare function astroParse(code: string): RootNode;
|
package/lib/attr-tokenizer.d.ts
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import type { AttributeNode } from './astro-parser';
|
|
2
2
|
import type { MLASTHTMLAttr } from '@markuplint/ml-ast';
|
|
3
|
-
export declare function attrTokenizer(
|
|
4
|
-
attr: AttributeNode,
|
|
5
|
-
nextAttr: AttributeNode | null,
|
|
6
|
-
rawHtml: string,
|
|
7
|
-
startTag: string,
|
|
8
|
-
startTagEndOffset: number,
|
|
9
|
-
): MLASTHTMLAttr;
|
|
3
|
+
export declare function attrTokenizer(attr: AttributeNode, nextAttr: AttributeNode | null, rawHtml: string, startTag: string, startTagEndOffset: number): MLASTHTMLAttr;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/astro-parser",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.1",
|
|
4
4
|
"description": "astro parser for markuplint",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@astrojs/parser": "0.20",
|
|
23
|
-
"@markuplint/html-parser": "3.6.
|
|
23
|
+
"@markuplint/html-parser": "3.6.1",
|
|
24
24
|
"@markuplint/ml-ast": "3.1.0",
|
|
25
|
-
"@markuplint/parser-utils": "3.6.
|
|
25
|
+
"@markuplint/parser-utils": "3.6.1",
|
|
26
26
|
"astro-eslint-parser": "^0.13.2",
|
|
27
27
|
"tslib": "^2.4.1"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "3cdf5a088b2da03773d5d4461d0e65ec32290a00"
|
|
30
30
|
}
|