@coozzy/cal-dav
Advanced tools
Comparing version 2.6.22 to 2.6.23
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@coozzy/cal-dav", | ||
"version": "2.6.22", | ||
"version": "2.6.23", | ||
"description": "Simple cal dav client.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -708,8 +708,8 @@ import * as ICAL from 'ical.js'; | ||
static parseEvent = (eventData: string): ICAL.Event => { | ||
static parseEvent = (eventData: string): ICAL.EventOccurrence => { | ||
const calData = ICAL.parse(eventData); | ||
const comp = new ICAL.Component(calData); | ||
const vevent = comp.getFirstSubcomponent('vevent'); | ||
const event = new ICAL.Event(vevent); | ||
DefaultCalDavClient.extendEventWithProperties(event, event.startDate, event.endDate); | ||
let event = new ICAL.EventOccurrence(vevent); | ||
event = DefaultCalDavClient.extendEventWithProperties(event, event.startDate, event.endDate); | ||
logger.info(`CalDavClient.parseEvent: Successfully parsed event ${event.uid}. `); | ||
@@ -716,0 +716,0 @@ return event; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143972