@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-01-23T15:58:27Z
3
+ - **Last updated**: 2024-01-26T18:03:04Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
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.15",
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.17",
39
- "@thi.ng/defmulti": "^3.0.15",
40
- "@thi.ng/parse": "^2.4.15",
41
- "@thi.ng/strings": "^3.7.8"
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": "417b5a7ea7bd54a3b4f086fe0fc2ce8e8933c9b2\n"
87
+ "gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
88
88
  }