@domorium/validator 2.2.0 → 2.2.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.
- package/CHANGELOG.md +12 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +59 -59
- package/dist/validator/calendarDays.d.ts +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@domorium/validator` are documented here.
|
|
4
4
|
|
|
5
|
+
## 2.2.1
|
|
6
|
+
|
|
7
|
+
- **A month or a calendar written as a `SCHMA` alias is read as the one it
|
|
8
|
+
stands for when a day is judged.** The date grammar resolved the alias and the
|
|
9
|
+
day-length check did not, so with `_APRX` declared as `month-APR`,
|
|
10
|
+
`31 _APRX 2000` passed and `readDate` answered it as 31 April; with `_JUL`
|
|
11
|
+
declared as `cal-JULIAN`, `_JUL 29 FEB 1900` carried `VAL014` although 1900 is
|
|
12
|
+
a Julian leap year, and read as `null`. The first now carries `VAL014`, naming
|
|
13
|
+
`31 APR`, and reads as `null`; the second carries nothing and reads as a
|
|
14
|
+
Julian date. GEDCOM 7 only: 5.5.1 has no `SCHMA`, and a document checked
|
|
15
|
+
against no dialect still resolves no alias (#448).
|
|
16
|
+
|
|
5
17
|
## 2.2.0
|
|
6
18
|
|
|
7
19
|
- **The lexer's mode stack no longer grows with the document.** Each line left
|