@hebcal/icalendar
Advanced tools
Comparing version 4.3.0 to 4.4.0
@@ -1,2 +0,2 @@ | ||
/*! @hebcal/icalendar v4.3.0 */ | ||
/*! @hebcal/icalendar v4.4.0 */ | ||
'use strict'; | ||
@@ -402,3 +402,3 @@ | ||
var version="4.3.0"; | ||
var version="4.4.0"; | ||
@@ -587,5 +587,3 @@ const VTIMEZONE = {}; | ||
getLines() { | ||
return this.getLongLines().map(line => { | ||
return line.length <= 74 ? line : line.match(char74re).join('\r\n '); | ||
}); | ||
return this.getLongLines().map(IcalEvent.fold); | ||
} | ||
@@ -601,2 +599,12 @@ /** | ||
/** | ||
* fold line to 75 characters | ||
* @param {string} line | ||
* @return {string} | ||
*/ | ||
static fold(line) { | ||
return line.length <= 74 ? line : line.match(char74re).join('\r\n '); | ||
} | ||
/** | ||
* @param {string} str | ||
@@ -603,0 +611,0 @@ * @return {string} |
@@ -29,3 +29,4 @@ /// <reference types="node"/> | ||
static version(): string; | ||
static fold(line: string): string; | ||
} | ||
} |
{ | ||
"name": "@hebcal/icalendar", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"author": "Michael J. Radwin (https://github.com/mjradwin)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
57108
1302