Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@coozzy/cal-dav

Package Overview
Dependencies
Maintainers
3
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coozzy/cal-dav - npm Package Compare versions

Comparing version 2.6.13 to 2.6.14

16

dist/index.js

@@ -402,10 +402,16 @@ "use strict";

const xPropbaseRecurrenceId = event.component.getFirstProperty('x-propbase-recurrence-id');
if (recurrenceId && !xPropbaseRecurrenceId) {
let recurrenceIdString = '';
if (recurrenceId) {
recurrenceId.convertToZone(ICAL.Timezone.utcTimezone);
recurrenceIdString = recurrenceId.toICALString();
if (!recurrenceIdString.includes('T')) {
recurrenceIdString += 'T000000';
}
}
if (recurrenceIdString && !xPropbaseRecurrenceId) {
event.component.removeAllProperties('recurrence-id');
event.component.addPropertyWithValue('RECURRENCE-ID', recurrenceId.toICALString());
} else if (recurrenceId) {
recurrenceId.convertToZone(ICAL.Timezone.utcTimezone);
event.component.addPropertyWithValue('RECURRENCE-ID', recurrenceIdString);
} else if (recurrenceIdString) {
event.component.removeAllProperties('x-propbase-recurrence-id');
event.component.addPropertyWithValue('X-PROPBASE-RECURRENCE-ID', recurrenceId.toICALString());
event.component.addPropertyWithValue('X-PROPBASE-RECURRENCE-ID', recurrenceIdString);
}

@@ -412,0 +418,0 @@ if (attendees.length) {

{
"name": "@coozzy/cal-dav",
"version": "2.6.13",
"version": "2.6.14",
"description": "Simple cal dav client.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -511,10 +511,17 @@ import * as ICAL from 'ical.js';

const xPropbaseRecurrenceId = event.component.getFirstProperty('x-propbase-recurrence-id');
if (recurrenceId && !xPropbaseRecurrenceId) {
let recurrenceIdString = '';
if (recurrenceId) {
recurrenceId.convertToZone(ICAL.Timezone.utcTimezone);
recurrenceIdString = recurrenceId.toICALString();
if (!recurrenceIdString.includes('T')) {
recurrenceIdString += 'T000000';
}
}
if (recurrenceIdString && !xPropbaseRecurrenceId) {
event.component.removeAllProperties('recurrence-id');
event.component.addPropertyWithValue('RECURRENCE-ID', recurrenceId.toICALString());
} else if (recurrenceId) {
recurrenceId.convertToZone(ICAL.Timezone.utcTimezone);
event.component.addPropertyWithValue('RECURRENCE-ID', recurrenceIdString);
} else if (recurrenceIdString) {
event.component.removeAllProperties('x-propbase-recurrence-id');
event.component.addPropertyWithValue('X-PROPBASE-RECURRENCE-ID', recurrenceId.toICALString());
event.component.addPropertyWithValue('X-PROPBASE-RECURRENCE-ID', recurrenceIdString);
}

@@ -521,0 +528,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc