v0.9.0
- Fixes the way modules were exported.
Breaking Changes
-
When importing the library, the following methods can be used:
Import all components under
ICS
(e.g.ICS.VCALENDAR
,ICS.VEVENT
):import * as ICS from 'ics-js';
Import components explicitly (e.g.
VCALENDAR
,VEVENT
):import { VCALENDAR, VEVENT } from 'ics-js';
-
The previous method of importing the library is now unsupported:
// Unsupported. Don't do this! import ICS from 'ics-js';