@markuplint/ml-ast 4.3.1-alpha.0 → 4.4.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,16 @@
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.4.0](https://github.com/markuplint/markuplint/compare/@markuplint/ml-ast@4.3.1...@markuplint/ml-ast@4.4.0) (2024-05-28)
7
+
8
+ ### Features
9
+
10
+ - **ml-ast:** add `isFragment` to Element and PSBlock ([2d4dada](https://github.com/markuplint/markuplint/commit/2d4dada477be20a799e05fdebb6ad570234d4a00))
11
+
12
+ ## [4.3.1](https://github.com/markuplint/markuplint/compare/@markuplint/ml-ast@4.3.1-alpha.0...@markuplint/ml-ast@4.3.1) (2024-05-04)
13
+
14
+ **Note:** Version bump only for package @markuplint/ml-ast
15
+
6
16
  ## [4.3.1-alpha.0](https://github.com/markuplint/markuplint/compare/@markuplint/ml-ast@4.3.0...@markuplint/ml-ast@4.3.1-alpha.0) (2024-05-04)
7
17
 
8
18
  **Note:** Version bump only for package @markuplint/ml-ast
package/lib/types.d.ts CHANGED
@@ -40,6 +40,7 @@ export interface MLASTElement extends MLASTAbstractNode {
40
40
  readonly depth: number;
41
41
  readonly namespace: string;
42
42
  readonly elementType: ElementType;
43
+ readonly isFragment: boolean;
43
44
  readonly attributes: readonly MLASTAttr[];
44
45
  readonly hasSpreadAttr?: boolean;
45
46
  readonly childNodes: readonly MLASTChildNode[];
@@ -62,6 +63,7 @@ export interface MLASTPreprocessorSpecificBlock extends MLASTAbstractNode {
62
63
  readonly conditionalType: MLASTPreprocessorSpecificBlockConditionalType;
63
64
  readonly depth: number;
64
65
  readonly nodeName: string;
66
+ readonly isFragment: boolean;
65
67
  readonly childNodes: readonly MLASTChildNode[];
66
68
  readonly isBogus: boolean;
67
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/ml-ast",
3
- "version": "4.3.1-alpha.0",
3
+ "version": "4.4.0",
4
4
  "description": "The markuplint AST types.",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -23,5 +23,5 @@
23
23
  "build": "tsc",
24
24
  "clean": "tsc --build --clean"
25
25
  },
26
- "gitHead": "d091e2199e3dc6757c2c8edbf01fd19e8b072015"
26
+ "gitHead": "bf70c41b1d2497e85b73c9ecd5551eb522e6bdfc"
27
27
  }