@markuplint/astro-parser 4.6.2 → 4.6.3
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/CHANGELOG.md +4 -0
- package/lib/parser.js +3 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.6.3](https://github.com/markuplint/markuplint/compare/@markuplint/astro-parser@4.6.2...@markuplint/astro-parser@4.6.3) (2024-05-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @markuplint/astro-parser
|
|
9
|
+
|
|
6
10
|
## [4.6.2](https://github.com/markuplint/markuplint/compare/@markuplint/astro-parser@4.6.1...@markuplint/astro-parser@4.6.2) (2024-05-12)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @markuplint/astro-parser
|
package/lib/parser.js
CHANGED
|
@@ -40,6 +40,7 @@ class AstroParser extends Parser {
|
|
|
40
40
|
depth,
|
|
41
41
|
parentNode,
|
|
42
42
|
nodeName: 'Frontmatter',
|
|
43
|
+
isFragment: false,
|
|
43
44
|
});
|
|
44
45
|
}
|
|
45
46
|
case 'doctype': {
|
|
@@ -99,6 +100,7 @@ class AstroParser extends Parser {
|
|
|
99
100
|
depth,
|
|
100
101
|
parentNode,
|
|
101
102
|
nodeName: 'MustacheTag',
|
|
103
|
+
isFragment: false,
|
|
102
104
|
}));
|
|
103
105
|
}
|
|
104
106
|
nodes.push(...this.visitPsBlock({
|
|
@@ -109,6 +111,7 @@ class AstroParser extends Parser {
|
|
|
109
111
|
depth,
|
|
110
112
|
parentNode,
|
|
111
113
|
nodeName: 'MustacheTag',
|
|
114
|
+
isFragment: true,
|
|
112
115
|
}, originNode.children));
|
|
113
116
|
return nodes;
|
|
114
117
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/astro-parser",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.3",
|
|
4
4
|
"description": "astro parser for markuplint",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"clean": "tsc --build --clean"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@markuplint/ml-ast": "4.
|
|
25
|
-
"@markuplint/parser-utils": "4.6.
|
|
24
|
+
"@markuplint/ml-ast": "4.4.0",
|
|
25
|
+
"@markuplint/parser-utils": "4.6.3",
|
|
26
26
|
"astro-eslint-parser": "1.0.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@astrojs/compiler": "2.8.0"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "bf70c41b1d2497e85b73c9ecd5551eb522e6bdfc"
|
|
32
32
|
}
|