@domorium/validator 1.7.0 → 1.8.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.
@@ -32,6 +32,8 @@ export declare enum GedcomErrorCode {
32
32
  SubstitutedVersion = "VAL013",
33
33
  /** A date naming a day its calendar does not have, such as 31 FEB. */
34
34
  ImpossibleDay = "VAL014",
35
+ /** A header naming HEAD.SYST before HEAD.GEDC: the file is PAF. */
36
+ PersonalAncestralFile = "VAL015",
35
37
  /** A pointer whose xref names no record of the required type. */
36
38
  UnresolvedXref = "unresolved-xref",
37
39
  /** A line whose level cannot follow the line above it. */
@@ -20,6 +20,12 @@ export type VersionResolution = ({
20
20
  kind: "unsupported";
21
21
  version: string;
22
22
  range: Range;
23
+ }
24
+ /** The payload of HEAD.SYST, which is the program that wrote the file. */
25
+ | {
26
+ kind: "paf";
27
+ system: string;
28
+ range: Range;
23
29
  } | ({
24
30
  kind: "undetermined";
25
31
  range: Range;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domorium/validator",
3
- "version": "1.7.0",
3
+ "version": "1.8.1",
4
4
  "description": "GEDCOM 5.5.1 and 7.0 parser and validator",
5
5
  "keywords": [
6
6
  "gedcom",
@@ -61,6 +61,6 @@
61
61
  "ts-brand": "^0.2.0"
62
62
  },
63
63
  "devDependencies": {
64
- "tsx": "^4.23.1"
64
+ "tsx": "^4.23.12"
65
65
  }
66
66
  }