@thi.ng/hiccup
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -14,2 +14,3 @@ export declare const SVG_NS = "http://www.w3.org/2000/svg"; | ||
export declare const NO_SPANS: { | ||
button: number; | ||
option: number; | ||
@@ -16,0 +17,0 @@ text: number; |
@@ -22,2 +22,3 @@ "use strict"; | ||
exports.NO_SPANS = { | ||
button: 1, | ||
option: 1, | ||
@@ -24,0 +25,0 @@ text: 1, |
{ | ||
"name": "@thi.ng/hiccup", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"description": "HTML/SVG/XML serialization of nested data structures, iterables & closures", | ||
@@ -32,3 +32,3 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@thi.ng/checks": "^1.5.8", | ||
"@thi.ng/checks": "^1.5.9", | ||
"@thi.ng/errors": "^0.1.7" | ||
@@ -35,0 +35,0 @@ }, |
@@ -162,2 +162,5 @@ "use strict"; | ||
} | ||
if (implements_function_1.implementsFunction(tree, "toHiccup")) { | ||
return _serialize(tree.toHiccup(ctx), ctx, esc, span, keys, path); | ||
} | ||
if (implements_function_1.implementsFunction(tree, "deref")) { | ||
@@ -164,0 +167,0 @@ return _serialize(tree.deref(), ctx, esc, span, keys, path); |
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
54060
380
Updated@thi.ng/checks@^1.5.9