@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 +1 -1
- package/README.md +9 -3
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
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
|
-
|
|
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
|
|
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.
|
|
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.
|
|
40
|
-
"@thi.ng/defmulti": "^3.0.
|
|
41
|
-
"@thi.ng/parse": "^2.4.
|
|
42
|
-
"@thi.ng/strings": "^3.7.
|
|
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": "
|
|
89
|
+
"gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
|
|
89
90
|
}
|