monaco-web-component
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -19,6 +19,7 @@ class MonacoEditor extends HTMLElement { | ||
* Parse JSON safely | ||
* @param {string} rawValue | ||
* @param {string | object} rawValue | ||
* @returns {object} | ||
*/ | ||
safeParseJSON(rawValue) { | ||
safeParseIfJSON(rawValue) { | ||
if (typeof rawValue !== "string") return; | ||
if (!rawValue) null; | ||
@@ -25,0 +26,0 @@ try { |
{ | ||
"name": "monaco-web-component", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "WebComponent version of Monaco Editor. Fully compatible with HTML Forms", | ||
@@ -5,0 +5,0 @@ "repository": { |
45855
91