@thi.ng/hiccup 5.3.24 → 5.3.28

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/package.json +133 -133
  2. package/CHANGELOG.md +0 -100
package/package.json CHANGED
@@ -1,134 +1,134 @@
1
1
  {
2
- "name": "@thi.ng/hiccup",
3
- "version": "5.3.24",
4
- "description": "HTML/SVG/XML serialization of nested data structures, iterables & closures",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/hiccup",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "dependencies": {
42
- "@thi.ng/api": "^8.12.2",
43
- "@thi.ng/checks": "^3.7.18",
44
- "@thi.ng/errors": "^2.5.42",
45
- "@thi.ng/strings": "^3.9.22"
46
- },
47
- "devDependencies": {
48
- "@thi.ng/atom": "^5.3.42",
49
- "esbuild": "^0.25.9",
50
- "typedoc": "^0.28.12",
51
- "typescript": "^5.9.2"
52
- },
53
- "keywords": [
54
- "array",
55
- "clojure",
56
- "component",
57
- "export",
58
- "fileformat",
59
- "functional",
60
- "hiccup",
61
- "html",
62
- "iterator",
63
- "json",
64
- "svg",
65
- "template",
66
- "tree",
67
- "typescript",
68
- "xml"
69
- ],
70
- "publishConfig": {
71
- "access": "public"
72
- },
73
- "engines": {
74
- "node": ">=18"
75
- },
76
- "files": [
77
- "./*.js",
78
- "./*.d.ts"
79
- ],
80
- "exports": {
81
- ".": {
82
- "default": "./index.js"
83
- },
84
- "./api": {
85
- "default": "./api.js"
86
- },
87
- "./attribs": {
88
- "default": "./attribs.js"
89
- },
90
- "./css": {
91
- "default": "./css.js"
92
- },
93
- "./deref": {
94
- "default": "./deref.js"
95
- },
96
- "./normalize": {
97
- "default": "./normalize.js"
98
- },
99
- "./prefix": {
100
- "default": "./prefix.js"
101
- },
102
- "./serialize": {
103
- "default": "./serialize.js"
104
- }
105
- },
106
- "thi.ng": {
107
- "alias": "h",
108
- "blog": [
109
- {
110
- "title": "How to UI in 2018",
111
- "url": "https://medium.com/@thi.ng/how-to-ui-in-2018-ac2ae02acdf3"
112
- },
113
- {
114
- "title": "Of umbrellas, transducers, reactive streams & mushrooms (Pt.1)",
115
- "url": "https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170"
116
- }
117
- ],
118
- "related": [
119
- "axidraw",
120
- "geom",
121
- "geom-axidraw",
122
- "hdom",
123
- "hdom-canvas",
124
- "hdom-components",
125
- "rdom",
126
- "rdom-canvas",
127
- "rdom-components",
128
- "transducers",
129
- "zipper"
130
- ],
131
- "year": 2016
132
- },
133
- "gitHead": "e215a3e8de3809736ba0042c93bd8703a5a1a337\n"
134
- }
2
+ "name": "@thi.ng/hiccup",
3
+ "version": "5.3.28",
4
+ "description": "HTML/SVG/XML serialization of nested data structures, iterables & closures",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/hiccup",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "dependencies": {
42
+ "@thi.ng/api": "^8.12.6",
43
+ "@thi.ng/checks": "^3.7.22",
44
+ "@thi.ng/errors": "^2.5.46",
45
+ "@thi.ng/strings": "^3.9.26"
46
+ },
47
+ "devDependencies": {
48
+ "@thi.ng/atom": "^5.3.47",
49
+ "esbuild": "^0.25.11",
50
+ "typedoc": "^0.28.14",
51
+ "typescript": "^5.9.3"
52
+ },
53
+ "keywords": [
54
+ "array",
55
+ "clojure",
56
+ "component",
57
+ "export",
58
+ "fileformat",
59
+ "functional",
60
+ "hiccup",
61
+ "html",
62
+ "iterator",
63
+ "json",
64
+ "svg",
65
+ "template",
66
+ "tree",
67
+ "typescript",
68
+ "xml"
69
+ ],
70
+ "publishConfig": {
71
+ "access": "public"
72
+ },
73
+ "engines": {
74
+ "node": ">=18"
75
+ },
76
+ "files": [
77
+ "./*.js",
78
+ "./*.d.ts"
79
+ ],
80
+ "exports": {
81
+ ".": {
82
+ "default": "./index.js"
83
+ },
84
+ "./api": {
85
+ "default": "./api.js"
86
+ },
87
+ "./attribs": {
88
+ "default": "./attribs.js"
89
+ },
90
+ "./css": {
91
+ "default": "./css.js"
92
+ },
93
+ "./deref": {
94
+ "default": "./deref.js"
95
+ },
96
+ "./normalize": {
97
+ "default": "./normalize.js"
98
+ },
99
+ "./prefix": {
100
+ "default": "./prefix.js"
101
+ },
102
+ "./serialize": {
103
+ "default": "./serialize.js"
104
+ }
105
+ },
106
+ "thi.ng": {
107
+ "alias": "h",
108
+ "blog": [
109
+ {
110
+ "title": "How to UI in 2018",
111
+ "url": "https://medium.com/@thi.ng/how-to-ui-in-2018-ac2ae02acdf3"
112
+ },
113
+ {
114
+ "title": "Of umbrellas, transducers, reactive streams & mushrooms (Pt.1)",
115
+ "url": "https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170"
116
+ }
117
+ ],
118
+ "related": [
119
+ "axidraw",
120
+ "geom",
121
+ "geom-axidraw",
122
+ "hdom",
123
+ "hdom-canvas",
124
+ "hdom-components",
125
+ "rdom",
126
+ "rdom-canvas",
127
+ "rdom-components",
128
+ "transducers",
129
+ "zipper"
130
+ ],
131
+ "year": 2016
132
+ },
133
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
134
+ }
package/CHANGELOG.md DELETED
@@ -1,100 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-01T16:38:35Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ## [5.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@5.3.0) (2025-01-22)
15
-
16
- #### 🚀 Features
17
-
18
- - add special `INLINE` tag & `__escape` behavior attrib ([42e7717](https://github.com/thi-ng/umbrella/commit/42e7717))
19
- - add `INLINE` tag & handling for embedded markup
20
- - add `__escape` control attrib to enable/disable entity escaping (per element)
21
- - add tests
22
-
23
- ### [5.2.11](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@5.2.11) (2024-08-23)
24
-
25
- #### 🩹 Bug fixes
26
-
27
- - update mergeClasses() arg types ([eaca539](https://github.com/thi-ng/umbrella/commit/eaca539))
28
- - add support for SVGAnimatedString as `existing` arg
29
- to enable full support for SVG elements
30
- - update SVGAnimatedString handling in `mergeClasses()` ([540cc70](https://github.com/thi-ng/umbrella/commit/540cc70))
31
-
32
- ### [5.2.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@5.2.2) (2024-06-21)
33
-
34
- #### ♻️ Refactoring
35
-
36
- - enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
37
-
38
- ## [5.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@5.2.0) (2024-04-25)
39
-
40
- #### 🚀 Features
41
-
42
- - add `SerializeOpts.xml`, update serializeAttrib ([8fdcab9](https://github.com/thi-ng/umbrella/commit/8fdcab9))
43
-
44
- ### [5.1.29](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@5.1.29) (2024-04-20)
45
-
46
- #### ♻️ Refactoring
47
-
48
- - update type usage ([33f8451](https://github.com/thi-ng/umbrella/commit/33f8451))
49
-
50
- ### [5.1.23](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@5.1.23) (2024-03-18)
51
-
52
- #### ♻️ Refactoring
53
-
54
- - minor update regexp ([c2eb896](https://github.com/thi-ng/umbrella/commit/c2eb896))
55
-
56
- ## [5.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@5.1.0) (2023-12-09)
57
-
58
- #### 🚀 Features
59
-
60
- - allow `class` attrib as string array ([448edd0](https://github.com/thi-ng/umbrella/commit/448edd0))
61
- - update mergeClasses()
62
- - update docs & tests
63
-
64
- #### 🩹 Bug fixes
65
-
66
- - fix mergeClasses(), add tests ([c734794](https://github.com/thi-ng/umbrella/commit/c734794))
67
-
68
- ### [5.0.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@5.0.6) (2023-11-09)
69
-
70
- #### ♻️ Refactoring
71
-
72
- - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
73
-
74
- # [5.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@5.0.0) (2023-09-19)
75
-
76
- #### 🛑 Breaking changes
77
-
78
- - add SerializeOpts, update serialize() ([442d777](https://github.com/thi-ng/umbrella/commit/442d777))
79
- - BREAKING CHANGE: update serialize() args, replace with options object
80
- - only a breaking change for "advanced" use cases
81
- - add SerializeOpts to simplify serialize() args
82
- - add customizable entity escaping (via new opts)
83
- - add/update tests
84
-
85
- #### 🩹 Bug fixes
86
-
87
- - update entity escapes in serialize() ([369d83e](https://github.com/thi-ng/umbrella/commit/369d83e))
88
- - use [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/main/packages/strings) escapeEntitiesNum() for better XML/SVG compatibility
89
- - add tests
90
-
91
- #### ♻️ Refactoring
92
-
93
- - minor updates ([94b3de6](https://github.com/thi-ng/umbrella/commit/94b3de6))
94
-
95
- ## [4.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@4.3.0) (2023-08-27)
96
-
97
- #### 🚀 Features
98
-
99
- - add XML_PROC & DOCTYPE_HTML constants ([4ec98fd](https://github.com/thi-ng/umbrella/commit/4ec98fd))
100
- - update tests