@markuplint/astro-parser 4.6.2 → 4.6.4-alpha.0

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 CHANGED
@@ -3,6 +3,18 @@
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.4-alpha.0](https://github.com/markuplint/markuplint/compare/@markuplint/astro-parser@4.6.3...@markuplint/astro-parser@4.6.4-alpha.0) (2024-06-02)
7
+
8
+ **Note:** Version bump only for package @markuplint/astro-parser
9
+
10
+
11
+
12
+
13
+
14
+ ## [4.6.3](https://github.com/markuplint/markuplint/compare/@markuplint/astro-parser@4.6.2...@markuplint/astro-parser@4.6.3) (2024-05-28)
15
+
16
+ **Note:** Version bump only for package @markuplint/astro-parser
17
+
6
18
  ## [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
19
 
8
20
  **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.2",
3
+ "version": "4.6.4-alpha.0",
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.3.1",
25
- "@markuplint/parser-utils": "4.6.2",
24
+ "@markuplint/ml-ast": "4.4.1-alpha.0",
25
+ "@markuplint/parser-utils": "4.6.4-alpha.0",
26
26
  "astro-eslint-parser": "1.0.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@astrojs/compiler": "2.8.0"
30
30
  },
31
- "gitHead": "ca7dc6bf40eac4f2813e492878f889eb77751a70"
31
+ "gitHead": "b1cabc178e3553fd66c7ed4357b4124eb2585327"
32
32
  }