@thi.ng/hiccup-html-parse 0.3.15 → 0.3.18

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-29T21:04:46Z
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/README.md CHANGED
@@ -7,9 +7,13 @@
7
7
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/hiccup-html-parse.svg)
8
8
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
9
9
 
10
- This is a standalone project, maintained as part of the
11
- [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo and
12
- anti-framework.
10
+ > [!NOTE]
11
+ > This is one of 189 standalone projects, maintained as part
12
+ > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
13
+ > and anti-framework.
14
+ >
15
+ > 🚀 Help me to work full-time on these projects by [sponsoring me on
16
+ > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
13
17
 
14
18
  - [About](#about)
15
19
  - [Basic usage](#basic-usage)
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.18",
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.20",
39
+ "@thi.ng/defmulti": "^3.0.18",
40
+ "@thi.ng/parse": "^2.4.18",
41
+ "@thi.ng/strings": "^3.7.11"
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": "3fa30b2dc2de762f24fd64b881b68d4da33d4c38\n"
88
88
  }