@syntaxtree/html
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -20,7 +20,10 @@ declare namespace html { | ||
tag: string; | ||
attributes: Map<string, string>; | ||
attributes: NodeAttribute[]; | ||
children: Node[]; | ||
options: NodeElementOptions; | ||
constructor(tag: string, attributes: Map<string, string>, children: Node[], options: NodeElementOptions); | ||
constructor(tag: string, attributes: NodeAttribute[], children: Node[], options?: NodeElementOptions); | ||
} | ||
type NodeAttribute = { | ||
[key: string]: string | string[]; | ||
}; | ||
type NodeElementOptions = { | ||
@@ -27,0 +30,0 @@ selfClosing: boolean; |
{ | ||
"name": "@syntaxtree/html", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "HTML Concrete Syntax Tree", | ||
@@ -23,3 +23,3 @@ "author": "Fumio Furukawa", | ||
}, | ||
"gitHead": "65c684cea17a19011be12eb579adb2b06e31d1ca" | ||
"gitHead": "2d560da5ede5634d14cad0a0af6e9af76b069055" | ||
} |
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
3010
85