Comparing version 1.1.14 to 1.1.15
@@ -1,5 +0,5 @@ | ||
// Generated by CoffeeScript 1.9.0 | ||
// Generated by CoffeeScript 1.8.0 | ||
var FieldConflictError, FieldDependencyError, InvalidValueError, MissingFieldError, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
@@ -6,0 +6,0 @@ module.exports.MissingFieldError = MissingFieldError = (function(_super) { |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.0 | ||
// Generated by CoffeeScript 1.8.0 | ||
var RRule, moment; | ||
@@ -23,2 +23,8 @@ | ||
} | ||
this.rrule = this.rrule.split(';').filter(function(rule) { | ||
return rule !== '' && rule.substr(0, 5) !== 'TZID='; | ||
}).join(';'); | ||
if (this.rrule.length === 0) { | ||
this.rrule = null; | ||
} | ||
} | ||
@@ -25,0 +31,0 @@ timezone = this.timezone || timezone; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.0 | ||
// Generated by CoffeeScript 1.8.0 | ||
module.exports.iCalDurationToUnitValue = function(string, unit) { | ||
@@ -3,0 +3,0 @@ var match, regex; |
@@ -1,5 +0,5 @@ | ||
// Generated by CoffeeScript 1.9.0 | ||
// Generated by CoffeeScript 1.8.0 | ||
var FieldConflictError, FieldDependencyError, ICalParser, InvalidValueError, MissingFieldError, RRule, VALID_TZ_LIST, VAlarm, VCalendar, VComponent, VDaylight, VEvent, VFreeBusy, VJournal, VStandard, VTimezone, VTodo, byline, extend, fs, helpers, iCalBuffer, moment, stream, uuid, _ref, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty, | ||
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }, | ||
@@ -50,3 +50,3 @@ __slice = [].slice; | ||
iCalBuffer.prototype.addLine = function(text) { | ||
return this.addString(text + "\r\n"); | ||
return this.addString("" + text + "\r\n"); | ||
}; | ||
@@ -760,4 +760,8 @@ | ||
return part; | ||
}).join(';'); | ||
rruleOptions = RRule.parseString(rrule); | ||
}).filter(function(rule) { | ||
return rule !== '' && rule.substr(0, 5) !== 'TZID='; | ||
}); | ||
if (rrule.length > 0) { | ||
rruleOptions = RRule.parseString(rrule.join(';')); | ||
} | ||
} catch (_error) { | ||
@@ -1010,3 +1014,3 @@ error = _error; | ||
if (noerror) { | ||
callback(new Error(msg + " (line " + lineNumber + ")")); | ||
callback(new Error("" + msg + " (line " + lineNumber + ")")); | ||
} | ||
@@ -1013,0 +1017,0 @@ return noerror = false; |
{ | ||
"name": "cozy-ical", | ||
"version": "1.1.14", | ||
"version": "1.1.15", | ||
"description": "Cozy-Ical provides ICal Parser, generators and helpers", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
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
66544
1249