@contentstack/utils
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -338,2 +338,3 @@ 'use strict'; | ||
NodeType["LIST_ITEM"] = "li"; | ||
NodeType["FRAGMENT"] = "fragment"; | ||
NodeType["HR"] = "hr"; | ||
@@ -435,2 +436,5 @@ NodeType["TABLE"] = "table"; | ||
}, | ||
_a[NodeType$1.FRAGMENT] = function (node, next) { | ||
return "<fragment>".concat(next(node.children), "</fragment>"); | ||
}, | ||
_a[NodeType$1.UNORDER_LIST] = function (node, next) { | ||
@@ -437,0 +441,0 @@ return "<ul".concat(node.attrs.style ? " style=\"".concat(node.attrs.style, "\"") : "").concat(node.attrs.class ? " class=\"".concat(node.attrs.class, "\"") : "").concat(node.attrs.id ? " id=\"".concat(node.attrs.id, "\"") : "", ">").concat(next(node.children), "</ul>"); |
@@ -17,2 +17,3 @@ var NodeType; | ||
NodeType["LIST_ITEM"] = "li"; | ||
NodeType["FRAGMENT"] = "fragment"; | ||
NodeType["HR"] = "hr"; | ||
@@ -19,0 +20,0 @@ NodeType["TABLE"] = "table"; |
@@ -44,2 +44,5 @@ var _a; | ||
}, | ||
_a[NodeType.FRAGMENT] = function (node, next) { | ||
return "<fragment>".concat(next(node.children), "</fragment>"); | ||
}, | ||
_a[NodeType.UNORDER_LIST] = function (node, next) { | ||
@@ -46,0 +49,0 @@ return "<ul".concat(node.attrs.style ? " style=\"".concat(node.attrs.style, "\"") : "").concat(node.attrs.class ? " class=\"".concat(node.attrs.class, "\"") : "").concat(node.attrs.id ? " id=\"".concat(node.attrs.id, "\"") : "", ">").concat(next(node.children), "</ul>"); |
@@ -16,2 +16,3 @@ declare enum NodeType { | ||
LIST_ITEM = "li", | ||
FRAGMENT = "fragment", | ||
HR = "hr", | ||
@@ -18,0 +19,0 @@ TABLE = "table", |
{ | ||
"name": "@contentstack/utils", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Contentstack utilities for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.es.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
208629
1900