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

cozy-ical

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cozy-ical - npm Package Compare versions

Comparing version 1.0.9 to 1.1.0

11

lib/event.js

@@ -11,6 +11,8 @@ // Generated by CoffeeScript 1.8.0

_ref = require('./index'), VCalendar = _ref.VCalendar, VEvent = _ref.VEvent, VAlarm = _ref.VAlarm;
Event.prototype.toIcal = function() {
var allDay, created, e, event, lastModification, mappedAttendees, rrule, stampDate, timezone, _ref1, _ref2;
Event.prototype.toIcal = function(timezone) {
var allDay, created, e, event, lastModification, mappedAttendees, rrule, stampDate, _ref1, _ref2;
if (timezone == null) {
timezone = 'UTC';
}
allDay = this.start.length === 10;
timezone = 'UTC';
if (this.rrule) {

@@ -24,2 +26,3 @@ if (this.timezone != null) {

}
timezone = this.timezone || timezone;
rrule = this.rrule != null ? RRule.parseString(this.rrule) : null;

@@ -48,3 +51,3 @@ mappedAttendees = (_ref1 = this.attendees) != null ? _ref1.map(function(attendee) {

attendees: mappedAttendees,
timezone: this.timezone,
timezone: timezone,
created: created,

@@ -51,0 +54,0 @@ lastModification: lastModification

@@ -26,4 +26,2 @@ // Generated by CoffeeScript 1.8.0

module.exports.decorateAlarm = require('./alarm');
module.exports.decorateEvent = require('./event');

@@ -30,0 +28,0 @@

{
"name": "cozy-ical",
"version": "1.0.9",
"version": "1.1.0",
"description": "Cozy-Ical provides ICal Parser, generators and helpers",

@@ -5,0 +5,0 @@ "main": "lib/index",

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