@thi.ng/hiccup-html-parse 0.3.113 → 0.3.115

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.
Files changed (2) hide show
  1. package/README.md +20 -19
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
- <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/hiccup-html-parse](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/banners/thing-hiccup-html-parse.svg?b9c2a977)
2
+ <!-- Please see: https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
+ # ![@thi.ng/hiccup-html-parse](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/banners/thing-hiccup-html-parse.svg?b9c2a977)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/hiccup-html-parse.svg)](https://www.npmjs.com/package/@thi.ng/hiccup-html-parse)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/hiccup-html-parse.svg)
@@ -8,11 +8,12 @@
8
8
 
9
9
  > [!NOTE]
10
10
  > This is one of 214 standalone projects, maintained as part
11
- > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
11
+ > of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
12
12
  > and anti-framework.
13
13
  >
14
- > 🚀 Please help me to work full-time on these projects by [sponsoring me on
15
- > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring
15
+ > me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
16
+ > Thank you! ❤️
16
17
 
17
18
  - [About](#about)
18
19
  - [Basic usage](#basic-usage)
@@ -29,7 +30,7 @@
29
30
 
30
31
  ## About
31
32
 
32
- Well-formed HTML parsing and customizable transformation to nested JS arrays in [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) format.
33
+ Well-formed HTML parsing and customizable transformation to nested JS arrays in [@thi.ng/hiccup](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/hiccup) format.
33
34
 
34
35
  Note: This parser is intended to work with wellformed HTML and will likely fail
35
36
  for any "quirky" (aka malformed/dodgy) markup...
@@ -101,13 +102,13 @@ transformation functions:
101
102
 
102
103
  **ALPHA** - bleeding edge / work-in-progress
103
104
 
104
- [Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Bhiccup-html-parse%5D+in%3Atitle)
105
+ [Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bhiccup-html-parse%5D)
105
106
 
106
107
  ## Related packages
107
108
 
108
- - [@thi.ng/hiccup-html](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html) - 100+ type-checked HTML5 element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) related infrastructure
109
- - [@thi.ng/hiccup-markdown](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-markdown) - Markdown parser & serializer from/to Hiccup format
110
- - [@thi.ng/zipper](https://github.com/thi-ng/umbrella/tree/develop/packages/zipper) - Functional tree editing, manipulation & navigation
109
+ - [@thi.ng/hiccup-html](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/hiccup-html) - 100+ type-checked HTML5 element functions for [@thi.ng/hiccup](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/hiccup) related infrastructure
110
+ - [@thi.ng/hiccup-markdown](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/hiccup-markdown) - Markdown parser & serializer from/to Hiccup format
111
+ - [@thi.ng/zipper](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/zipper) - Functional tree editing, manipulation & navigation
111
112
 
112
113
  ## Installation
113
114
 
@@ -139,22 +140,22 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.18 KB
139
140
 
140
141
  ## Dependencies
141
142
 
142
- - [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
143
- - [@thi.ng/defmulti](https://github.com/thi-ng/umbrella/tree/develop/packages/defmulti)
144
- - [@thi.ng/parse](https://github.com/thi-ng/umbrella/tree/develop/packages/parse)
145
- - [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/develop/packages/strings)
143
+ - [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
144
+ - [@thi.ng/defmulti](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/defmulti)
145
+ - [@thi.ng/parse](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/parse)
146
+ - [@thi.ng/strings](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/strings)
146
147
 
147
148
  Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
148
149
 
149
150
  ## Usage examples
150
151
 
151
152
  One project in this repo's
152
- [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
153
+ [/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
153
154
  directory is using this package:
154
155
 
155
- | Screenshot | Description | Live demo | Source |
156
- |:---------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------|:----------------------------------------------------|:---------------------------------------------------------------------------------|
157
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/mastodon-feed.jpg" width="240"/> | Mastodon API feed reader with support for different media types, fullscreen media modal, HTML rewriting | [Demo](https://demo.thi.ng/umbrella/mastodon-feed/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/mastodon-feed) |
156
+ | Screenshot | Description | Live demo | Source |
157
+ |:---------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------|:----------------------------------------------------|:-----------------------------------------------------------------------------------------|
158
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/mastodon-feed.jpg" width="240"/> | Mastodon API feed reader with support for different media types, fullscreen media modal, HTML rewriting | [Demo](https://demo.thi.ng/umbrella/mastodon-feed/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/mastodon-feed) |
158
159
 
159
160
  ## API
160
161
 
@@ -165,7 +166,7 @@ TODO
165
166
  ## Benchmarks
166
167
 
167
168
  Results from the
168
- [benchmark](https://github.com/thi-ng/umbrella/blob/develop/packages/hiccup-html-parse/bench/index.ts)
169
+ [benchmark](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/hiccup-html-parse/bench/index.ts)
169
170
  parsing the HTML of the [thi.ng](https://thi.ng) website (MBA M1 2021, 16GB RAM,
170
171
  Node.js v20.5.1):
171
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-html-parse",
3
- "version": "0.3.113",
3
+ "version": "0.3.115",
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",
@@ -8,7 +8,7 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/thi-ng/umbrella.git",
11
+ "url": "git+https://codeberg.org/thi.ng/umbrella.git",
12
12
  "directory": "packages/hiccup-html-parse"
13
13
  },
14
14
  "homepage": "https://thi.ng/hiccup-html-parse",
@@ -40,10 +40,10 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.12.17",
44
- "@thi.ng/defmulti": "^3.0.94",
45
- "@thi.ng/parse": "^2.6.47",
46
- "@thi.ng/strings": "^3.10.1"
43
+ "@thi.ng/api": "^8.12.18",
44
+ "@thi.ng/defmulti": "^3.0.95",
45
+ "@thi.ng/parse": "^2.6.49",
46
+ "@thi.ng/strings": "^3.11.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "esbuild": "^0.27.2",
@@ -89,5 +89,5 @@
89
89
  "status": "alpha",
90
90
  "year": 2023
91
91
  },
92
- "gitHead": "1107498d31504dc63d1a457b5def387d7a134f69\n"
92
+ "gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
93
93
  }