@domorium/validator 0.1.1 → 0.1.2

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
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to `@domorium/validator` are documented here.
4
4
 
5
+ ## 0.1.2 - 2026-07-23
6
+
7
+ - Expose schema-aware pointer target metadata for editor features.
8
+ - Distinguish valid GEDCOM record declarations from nested structures and header/trailer lines.
9
+ - Expose the AST-detected GEDCOM version to downstream language tooling.
10
+
5
11
  ## 0.1.1 - 2026-07-21
6
12
 
7
13
  - Upgrade to Chevrotain 12 to remove vulnerable `lodash-es` runtime dependencies.
@@ -10,7 +10,11 @@ export declare class GedcomDocument {
10
10
  private scheme;
11
11
  private parseGedcom;
12
12
  createDocument(text: string): GedcomDocument;
13
+ private validateLevels;
13
14
  getLabel(node: ASTNode): string | undefined;
15
+ getPointerTargetTag(node: ASTNode): string | undefined;
16
+ isRecordDeclaration(node: ASTNode): boolean;
17
+ getVersion(): string | undefined;
14
18
  getCompletions(position: Position, lineText: string): GedcomCompletion[];
15
19
  updateDocument(_text: string, _range: Range): GedcomDocument;
16
20
  getErrors(_lang?: string): GedcomError[];