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.4.15 to 2.4.16

12

dist/index.js

@@ -143,8 +143,7 @@ "use strict";

event.summary = title;
// event.description = description;
// Set the description with ALTREP parameter (base64 encoded HTML)
// Set the description with ALTREP parameter (HTML)
const descriptionProperty = new ICAL.Property('description');
descriptionProperty.setValue(description);
descriptionProperty.setParameter('ALTREP', 'data:text/html,' + description);
descriptionProperty.setParameter('ALTREP', 'data:text/html,' + (description || ''));
event.component.addProperty(descriptionProperty);

@@ -396,6 +395,11 @@ event.location = location;

event.summary = title;
event.description = description || '';
event.location = location || '';
event.startDate = new ICAL.Time(startDate);
event.endDate = new ICAL.Time(endDate);
// Set the description with ALTREP parameter (HTML)
const descriptionProperty = new ICAL.Property('description');
descriptionProperty.setValue(description);
descriptionProperty.setParameter('ALTREP', 'data:text/html,' + (description || ''));
event.component.addProperty(descriptionProperty);
if (alarms !== null && alarms !== void 0 && alarms.length) {

@@ -402,0 +406,0 @@ for (const alarm of alarms) {

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

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

@@ -214,8 +214,7 @@ import * as ICAL from 'ical.js';

event.summary = title;
// event.description = description;
// Set the description with ALTREP parameter (base64 encoded HTML)
// Set the description with ALTREP parameter (HTML)
const descriptionProperty = new ICAL.Property('description');
descriptionProperty.setValue(description);
descriptionProperty.setParameter('ALTREP', 'data:text/html,' +description);
descriptionProperty.setParameter('ALTREP', 'data:text/html,' + (description || ''));
event.component.addProperty(descriptionProperty);

@@ -503,3 +502,2 @@

event.summary = title;
event.description = description || '';
event.location = location || '';

@@ -509,2 +507,8 @@ event.startDate = new ICAL.Time(startDate);

// Set the description with ALTREP parameter (HTML)
const descriptionProperty = new ICAL.Property('description');
descriptionProperty.setValue(description);
descriptionProperty.setParameter('ALTREP', 'data:text/html,' +( description || ''));
event.component.addProperty(descriptionProperty);
if (alarms?.length) {

@@ -511,0 +515,0 @@ for (const alarm of alarms) {

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