@thi.ng/hiccup-html-parse 0.3.15 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/index.d.ts +1 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export interface ParseOpts {
|
|
|
74
74
|
debug: boolean;
|
|
75
75
|
}
|
|
76
76
|
export type Element = [string, Record<string, any>, ...ElementBody[]];
|
|
77
|
-
type ElementBody = string | Element;
|
|
77
|
+
export type ElementBody = string | Element;
|
|
78
78
|
export interface ParseResult {
|
|
79
79
|
type: "success" | "partial" | "fail" | "error";
|
|
80
80
|
loc?: {
|
|
@@ -107,5 +107,4 @@ export declare const parseRaw: (src: string, opts?: Partial<ContextOpts>) => {
|
|
|
107
107
|
* @param opts
|
|
108
108
|
*/
|
|
109
109
|
export declare const parseHtml: (src: string, opts?: Partial<ParseOpts>) => ParseResult;
|
|
110
|
-
export {};
|
|
111
110
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hiccup-html-parse",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16",
|
|
4
4
|
"description": "Well-formed HTML parsing and customizable transformation to nested JS arrays in @thi.ng/hiccup format",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"test": "bun test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@thi.ng/api": "^8.9.
|
|
39
|
-
"@thi.ng/defmulti": "^3.0.
|
|
40
|
-
"@thi.ng/parse": "^2.4.
|
|
41
|
-
"@thi.ng/strings": "^3.7.
|
|
38
|
+
"@thi.ng/api": "^8.9.18",
|
|
39
|
+
"@thi.ng/defmulti": "^3.0.16",
|
|
40
|
+
"@thi.ng/parse": "^2.4.16",
|
|
41
|
+
"@thi.ng/strings": "^3.7.9"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@microsoft/api-extractor": "^7.39.0",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"status": "alpha",
|
|
85
85
|
"year": 2023
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
|
|
88
88
|
}
|