├── .github └── FUNDING.yml ├── .gitignore ├── .vscode └── launch.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── jest.config.cjs ├── package.json ├── scripts └── bumper.js ├── src ├── Cache.ts ├── ColorUtils.ts ├── ParsingContext.ts ├── Types.ts ├── dateRange │ ├── checkRecurrence.ts │ ├── getDateRangeFromBCEDateRegexMatch.ts │ ├── getDateRangeFromCasualRegexMatch.ts │ ├── getDateRangeFromEDTFRegexMatch.ts │ └── utils.ts ├── ical.d.ts ├── ical.ts ├── incremental.ts ├── index.ts ├── lineChecks │ ├── checkComments.ts │ ├── checkDescription.ts │ ├── checkEvent.ts │ ├── checkGroupEnd.ts │ ├── checkGroupStart.ts │ ├── checkListItems.ts │ ├── checkNonEvents.ts │ ├── checkTagColors.ts │ ├── checkTags.ts │ └── checkTitle.ts ├── lines.ts ├── parse.ts ├── parseHeader.ts ├── regex.ts ├── utilities │ ├── dateRangeToString.ts │ ├── header.ts │ ├── html.ts │ ├── properties.ts │ ├── recurrence.ts │ ├── urls.ts │ └── yaml.ts └── zones │ └── parseZone.ts ├── tests ├── dates.test.ts ├── entryProperties.test.ts ├── foldables.test.ts ├── header.test.ts ├── ical.test.ts ├── ids.test.ts ├── incremental.test.ts ├── main.test.ts ├── recurrence.test.ts ├── regex.test.ts ├── relative.test.ts ├── small.mw ├── testStrings.ts ├── testUtilities.ts ├── timezones.test.ts ├── urls.test.ts └── zones.test.ts ├── tsconfig.json └── vite.config.mjs /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | 2 | github: kochrt -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/jest.config.cjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/package.json -------------------------------------------------------------------------------- /scripts/bumper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/scripts/bumper.js -------------------------------------------------------------------------------- /src/Cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/Cache.ts -------------------------------------------------------------------------------- /src/ColorUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/ColorUtils.ts -------------------------------------------------------------------------------- /src/ParsingContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/ParsingContext.ts -------------------------------------------------------------------------------- /src/Types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/Types.ts -------------------------------------------------------------------------------- /src/dateRange/checkRecurrence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/dateRange/checkRecurrence.ts -------------------------------------------------------------------------------- /src/dateRange/getDateRangeFromBCEDateRegexMatch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/dateRange/getDateRangeFromBCEDateRegexMatch.ts -------------------------------------------------------------------------------- /src/dateRange/getDateRangeFromCasualRegexMatch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/dateRange/getDateRangeFromCasualRegexMatch.ts -------------------------------------------------------------------------------- /src/dateRange/getDateRangeFromEDTFRegexMatch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/dateRange/getDateRangeFromEDTFRegexMatch.ts -------------------------------------------------------------------------------- /src/dateRange/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/dateRange/utils.ts -------------------------------------------------------------------------------- /src/ical.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/ical.d.ts -------------------------------------------------------------------------------- /src/ical.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/ical.ts -------------------------------------------------------------------------------- /src/incremental.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/incremental.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lineChecks/checkComments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lineChecks/checkComments.ts -------------------------------------------------------------------------------- /src/lineChecks/checkDescription.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lineChecks/checkDescription.ts -------------------------------------------------------------------------------- /src/lineChecks/checkEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lineChecks/checkEvent.ts -------------------------------------------------------------------------------- /src/lineChecks/checkGroupEnd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lineChecks/checkGroupEnd.ts -------------------------------------------------------------------------------- /src/lineChecks/checkGroupStart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lineChecks/checkGroupStart.ts -------------------------------------------------------------------------------- /src/lineChecks/checkListItems.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lineChecks/checkListItems.ts -------------------------------------------------------------------------------- /src/lineChecks/checkNonEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lineChecks/checkNonEvents.ts -------------------------------------------------------------------------------- /src/lineChecks/checkTagColors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lineChecks/checkTagColors.ts -------------------------------------------------------------------------------- /src/lineChecks/checkTags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lineChecks/checkTags.ts -------------------------------------------------------------------------------- /src/lineChecks/checkTitle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lineChecks/checkTitle.ts -------------------------------------------------------------------------------- /src/lines.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/lines.ts -------------------------------------------------------------------------------- /src/parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/parse.ts -------------------------------------------------------------------------------- /src/parseHeader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/parseHeader.ts -------------------------------------------------------------------------------- /src/regex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/regex.ts -------------------------------------------------------------------------------- /src/utilities/dateRangeToString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/utilities/dateRangeToString.ts -------------------------------------------------------------------------------- /src/utilities/header.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/utilities/header.ts -------------------------------------------------------------------------------- /src/utilities/html.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/utilities/html.ts -------------------------------------------------------------------------------- /src/utilities/properties.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/utilities/properties.ts -------------------------------------------------------------------------------- /src/utilities/recurrence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/utilities/recurrence.ts -------------------------------------------------------------------------------- /src/utilities/urls.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/utilities/urls.ts -------------------------------------------------------------------------------- /src/utilities/yaml.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/utilities/yaml.ts -------------------------------------------------------------------------------- /src/zones/parseZone.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/src/zones/parseZone.ts -------------------------------------------------------------------------------- /tests/dates.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/dates.test.ts -------------------------------------------------------------------------------- /tests/entryProperties.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/entryProperties.test.ts -------------------------------------------------------------------------------- /tests/foldables.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/foldables.test.ts -------------------------------------------------------------------------------- /tests/header.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/header.test.ts -------------------------------------------------------------------------------- /tests/ical.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/ical.test.ts -------------------------------------------------------------------------------- /tests/ids.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/ids.test.ts -------------------------------------------------------------------------------- /tests/incremental.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/incremental.test.ts -------------------------------------------------------------------------------- /tests/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/main.test.ts -------------------------------------------------------------------------------- /tests/recurrence.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/recurrence.test.ts -------------------------------------------------------------------------------- /tests/regex.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/regex.test.ts -------------------------------------------------------------------------------- /tests/relative.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/relative.test.ts -------------------------------------------------------------------------------- /tests/small.mw: -------------------------------------------------------------------------------- 1 | 2 | title: Hello world 3 | author: 4 | name: Rob Koch 5 | -------------------------------------------------------------------------------- /tests/testStrings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/testStrings.ts -------------------------------------------------------------------------------- /tests/testUtilities.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/testUtilities.ts -------------------------------------------------------------------------------- /tests/timezones.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/timezones.test.ts -------------------------------------------------------------------------------- /tests/urls.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/urls.test.ts -------------------------------------------------------------------------------- /tests/zones.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tests/zones.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mark-when/parser/HEAD/vite.config.mjs --------------------------------------------------------------------------------