idea-toolbox
Advanced tools
Comparing version 6.2.3 to 6.2.4
@@ -32,3 +32,3 @@ "use strict"; | ||
this.fixAllDayTime(); | ||
this.timezone = this.clean(x.timezone, String); | ||
this.timezone = this.clean(x.timezone, String, Intl.DateTimeFormat().resolvedOptions().timeZone); | ||
if (x.linkToOrigin) | ||
@@ -35,0 +35,0 @@ this.linkToOrigin = this.clean(x.linkToOrigin, String); |
@@ -31,3 +31,3 @@ "use strict"; | ||
this.color = this.clean(x.color, String); | ||
this.timezone = this.clean(x.timezone, String); | ||
this.timezone = this.clean(x.timezone, String, Intl.DateTimeFormat().resolvedOptions().timeZone); | ||
if (x.external) | ||
@@ -34,0 +34,0 @@ this.external = new ExternalCalendarInfo(x.external); |
@@ -0,1 +1,2 @@ | ||
import { markdown } from './markdown'; | ||
/** | ||
@@ -77,2 +78,2 @@ * Utilities (static) functions, to support IDEA's projects. | ||
*/ | ||
export declare function mdToHtml(str: string): string; | ||
export declare function mdToHtml(mdString: markdown | string): string; |
@@ -188,5 +188,7 @@ "use strict"; | ||
*/ | ||
function mdToHtml(str) { | ||
return Marked(str); | ||
function mdToHtml(mdString) { | ||
if (!mdString) | ||
return ''; | ||
return Marked(mdString); | ||
} | ||
exports.mdToHtml = mdToHtml; |
{ | ||
"name": "idea-toolbox", | ||
"version": "6.2.3", | ||
"version": "6.2.4", | ||
"description": "IDEA's utility functions", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
235995
6914