@thi.ng/hiccup-html-parse 0.3.37 → 0.3.38

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-03-27T09:53:45Z
3
+ - **Last updated**: 2024-04-08T14:59:29Z
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,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 190 standalone projects, maintained as part
10
+ > This is one of 191 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -115,7 +115,13 @@ transformation functions:
115
115
  yarn add @thi.ng/hiccup-html-parse
116
116
  ```
117
117
 
118
- ES module import:
118
+ ESM import:
119
+
120
+ ```ts
121
+ import * as hp from "@thi.ng/hiccup-html-parse";
122
+ ```
123
+
124
+ Browser ESM import:
119
125
 
120
126
  ```html
121
127
  <script type="module" src="https://cdn.skypack.dev/@thi.ng/hiccup-html-parse"></script>
@@ -126,7 +132,7 @@ ES module import:
126
132
  For Node.js REPL:
127
133
 
128
134
  ```js
129
- const hiccupHtmlParse = await import("@thi.ng/hiccup-html-parse");
135
+ const hp = await import("@thi.ng/hiccup-html-parse");
130
136
  ```
131
137
 
132
138
  Package sizes (brotli'd, pre-treeshake): ESM: 1.18 KB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-html-parse",
3
- "version": "0.3.37",
3
+ "version": "0.3.38",
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",
@@ -36,10 +36,10 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.9.31",
40
- "@thi.ng/defmulti": "^3.0.34",
41
- "@thi.ng/parse": "^2.4.37",
42
- "@thi.ng/strings": "^3.7.28"
39
+ "@thi.ng/api": "^8.10.0",
40
+ "@thi.ng/defmulti": "^3.0.35",
41
+ "@thi.ng/parse": "^2.4.38",
42
+ "@thi.ng/strings": "^3.7.29"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@microsoft/api-extractor": "^7.43.0",
@@ -76,6 +76,7 @@
76
76
  }
77
77
  },
78
78
  "thi.ng": {
79
+ "alias": "hp",
79
80
  "parent": "@thi.ng/hiccup",
80
81
  "related": [
81
82
  "hiccup-html",
@@ -85,5 +86,5 @@
85
86
  "status": "alpha",
86
87
  "year": 2023
87
88
  },
88
- "gitHead": "feb3b24654f2c931cd3c3308c1c0c807ee14d0e4\n"
89
+ "gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
89
90
  }