@thi.ng/hiccup 4.1.3 → 4.2.2
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 +200 -98
- package/package.json +115 -110
package/CHANGELOG.md
CHANGED
|
@@ -1,197 +1,299 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
- **Last updated**: 2021-11-21T17:09:28Z
|
|
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.
|
|
7
|
+
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
7
8
|
|
|
8
|
-
**Note:**
|
|
9
|
+
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
|
+
and/or version bumps of transitive dependencies.
|
|
9
11
|
|
|
12
|
+
## [4.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@4.2.0) (2021-11-17)
|
|
10
13
|
|
|
14
|
+
#### 🚀 Features
|
|
11
15
|
|
|
16
|
+
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
17
|
+
Improving the overall build ergonomics
|
|
18
|
+
- introduced a tools workspaces
|
|
19
|
+
- imported it in all needed packages/examples
|
|
20
|
+
- inclusive project root
|
|
12
21
|
|
|
22
|
+
#### ♻️ Refactoring
|
|
13
23
|
|
|
14
|
-
|
|
24
|
+
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
25
|
+
this commit reverts (partly) changes made in:
|
|
26
|
+
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
27
|
+
overall purpose is better testament ergonomics:
|
|
28
|
+
instead of having to pass NODE_OPTIONS with every invocation
|
|
29
|
+
having a binary to handle this for us.
|
|
15
30
|
|
|
31
|
+
## [4.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@4.1.0) (2021-10-25)
|
|
16
32
|
|
|
17
|
-
|
|
33
|
+
#### 🚀 Features
|
|
18
34
|
|
|
19
|
-
|
|
35
|
+
- replace entity handling w/ [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/main/packages/strings) ([04154b8](https://github.com/thi-ng/umbrella/commit/04154b8))
|
|
20
36
|
|
|
37
|
+
### [4.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@4.0.1) (2021-10-13)
|
|
21
38
|
|
|
39
|
+
#### ♻️ Refactoring
|
|
22
40
|
|
|
41
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
42
|
+
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
43
|
+
- add .js suffix for all relative imports
|
|
23
44
|
|
|
45
|
+
# [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@4.0.0) (2021-10-12)
|
|
24
46
|
|
|
25
|
-
|
|
47
|
+
#### 🛑 Breaking changes
|
|
26
48
|
|
|
49
|
+
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
50
|
+
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
51
|
+
- only ESM modules will be published from now on
|
|
52
|
+
- CJS obsolete due to ESM support in recent versions of node:
|
|
53
|
+
- i.e. launch NodeJS via:
|
|
54
|
+
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
55
|
+
- in the node REPL use `await import(...)` instead of `require()`
|
|
56
|
+
- UMD obsolete due to widespread browser support for ESM
|
|
57
|
+
Also:
|
|
58
|
+
- normalize/restructure/reorg all package.json files
|
|
59
|
+
- cleanup all build scripts, remove obsolete
|
|
60
|
+
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
27
61
|
|
|
28
|
-
|
|
62
|
+
#### ♻️ Refactoring
|
|
29
63
|
|
|
30
|
-
|
|
64
|
+
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
65
|
+
- largely related to recent updates/restructuring of these packages:
|
|
66
|
+
- api
|
|
67
|
+
- defmulti
|
|
68
|
+
- errors
|
|
69
|
+
- logger
|
|
70
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
71
|
+
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
72
|
+
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
31
73
|
|
|
74
|
+
### [3.6.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@3.6.4) (2020-12-07)
|
|
32
75
|
|
|
33
|
-
|
|
76
|
+
#### ♻️ Refactoring
|
|
34
77
|
|
|
35
|
-
|
|
78
|
+
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
36
79
|
|
|
37
|
-
-
|
|
38
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
39
|
-
- i.e. launch NodeJS via:
|
|
40
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
41
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
42
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
80
|
+
### [3.6.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@3.6.1) (2020-09-22)
|
|
43
81
|
|
|
44
|
-
|
|
45
|
-
- normalize/restructure/reorg all package.json files
|
|
46
|
-
- cleanup all build scripts, remove obsolete
|
|
47
|
-
- switch from mocha to @thi.ng/testament for all tests
|
|
82
|
+
#### ♻️ Refactoring
|
|
48
83
|
|
|
84
|
+
- update/split serializeAttribs() ([cdf483b](https://github.com/thi-ng/umbrella/commit/cdf483b))
|
|
85
|
+
- update/split serialization fns ([32ac755](https://github.com/thi-ng/umbrella/commit/32ac755))
|
|
86
|
+
- extract serializeTag()
|
|
87
|
+
- extract mergeEmmetAttribs() ([0c965c9](https://github.com/thi-ng/umbrella/commit/0c965c9))
|
|
88
|
+
- simplify normalize() and improve external re-use in hdom/rdom
|
|
49
89
|
|
|
90
|
+
## [3.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@3.6.0) (2020-09-13)
|
|
50
91
|
|
|
92
|
+
#### 🚀 Features
|
|
51
93
|
|
|
94
|
+
- add CDATA support, update void tag handling ([5989427](https://github.com/thi-ng/umbrella/commit/5989427))
|
|
95
|
+
- add CDATA tag constant
|
|
96
|
+
- add serializeCData()
|
|
97
|
+
- update VOID_TAGS, extract NO_CLOSE_EMPTY
|
|
52
98
|
|
|
99
|
+
## [3.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@3.5.0) (2020-07-02)
|
|
53
100
|
|
|
54
|
-
|
|
101
|
+
#### 🚀 Features
|
|
55
102
|
|
|
56
|
-
|
|
103
|
+
- add RDFa `prefix` attrib handling, add tests ([24a7748](https://github.com/thi-ng/umbrella/commit/24a7748))
|
|
104
|
+
- add `formatPrefixes()` helper
|
|
105
|
+
- update `serializeAttribs()`
|
|
106
|
+
- remove obsolete SVG/XLINK urls ([aa34be7](https://github.com/thi-ng/umbrella/commit/aa34be7))
|
|
107
|
+
- moved to [@thi.ng/prefixes](https://github.com/thi-ng/umbrella/tree/main/packages/prefixes) pkg for better re-use
|
|
57
108
|
|
|
58
|
-
|
|
109
|
+
## [3.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@3.4.0) (2020-06-28)
|
|
59
110
|
|
|
60
|
-
|
|
111
|
+
#### 🚀 Features
|
|
61
112
|
|
|
62
|
-
|
|
113
|
+
- update deps & attrib handling ([09ba171](https://github.com/thi-ng/umbrella/commit/09ba171))
|
|
114
|
+
- add [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) dep
|
|
115
|
+
- add support for IDeref attrib vals
|
|
116
|
+
- add support for `class` attrib obj vals
|
|
117
|
+
- add `mergeClasses()` helper
|
|
118
|
+
- add IDeref support inside `class` & `style` attribs
|
|
119
|
+
- add support for nested data attribs
|
|
63
120
|
|
|
64
|
-
|
|
65
|
-
- **hiccup:** remove obsolete SVG/XLINK urls ([aa34be7](https://github.com/thi-ng/umbrella/commit/aa34be7bedfeae5a4d203aaec0d8d94ed43c07f2))
|
|
121
|
+
## [3.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@3.3.0) (2020-06-24)
|
|
66
122
|
|
|
67
|
-
|
|
123
|
+
#### 🚀 Features
|
|
68
124
|
|
|
69
|
-
|
|
125
|
+
- update `accept` attrib handling ([fabf447](https://github.com/thi-ng/umbrella/commit/fabf447))
|
|
126
|
+
- support array attrib values, add tests ([1c4ef8a](https://github.com/thi-ng/umbrella/commit/1c4ef8a))
|
|
70
127
|
|
|
71
|
-
|
|
128
|
+
### [3.2.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@3.2.4) (2019-08-21)
|
|
72
129
|
|
|
73
|
-
|
|
130
|
+
#### 🩹 Bug fixes
|
|
74
131
|
|
|
75
|
-
|
|
132
|
+
- update/rename regexes & tag maps ([6dba80d](https://github.com/thi-ng/umbrella/commit/6dba80d))
|
|
76
133
|
|
|
77
|
-
|
|
78
|
-
- **hiccup:** update `accept` attrib handling ([fabf447](https://github.com/thi-ng/umbrella/commit/fabf447d5ef7f666f16ee11d46188496121766d2))
|
|
134
|
+
#### ♻️ Refactoring
|
|
79
135
|
|
|
80
|
-
|
|
136
|
+
- split serialize(), move normalize() to own file ([fa56951](https://github.com/thi-ng/umbrella/commit/fa56951))
|
|
81
137
|
|
|
82
|
-
|
|
138
|
+
## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@3.2.0) (2019-07-07)
|
|
83
139
|
|
|
84
|
-
|
|
140
|
+
#### 🚀 Features
|
|
85
141
|
|
|
86
|
-
|
|
142
|
+
- enable TS strict compiler flags (refactor) ([d0fce75](https://github.com/thi-ng/umbrella/commit/d0fce75))
|
|
87
143
|
|
|
88
|
-
|
|
144
|
+
#### ♻️ Refactoring
|
|
89
145
|
|
|
90
|
-
-
|
|
146
|
+
- address TS strictNullChecks flag ([c73b207](https://github.com/thi-ng/umbrella/commit/c73b207))
|
|
91
147
|
|
|
92
|
-
|
|
148
|
+
## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@3.1.0) (2019-02-18)
|
|
93
149
|
|
|
94
|
-
|
|
150
|
+
#### 🚀 Features
|
|
95
151
|
|
|
96
|
-
-
|
|
152
|
+
- add support for XML/DTD proc tags, update readme, tests ([ede2842](https://github.com/thi-ng/umbrella/commit/ede2842))
|
|
97
153
|
|
|
98
|
-
#
|
|
154
|
+
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@3.0.0) (2019-01-21)
|
|
99
155
|
|
|
100
|
-
|
|
156
|
+
#### 🛑 Breaking changes
|
|
101
157
|
|
|
102
158
|
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
159
|
+
- BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
160
|
+
- build scripts now first build ES6 modules in package root, then call
|
|
161
|
+
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
162
|
+
- all imports MUST be updated to only refer to package level
|
|
163
|
+
(not individual files anymore). tree shaking in user land will get rid of
|
|
164
|
+
all unused imported symbols.
|
|
165
|
+
|
|
166
|
+
### [2.7.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@2.7.2) (2018-12-20)
|
|
167
|
+
|
|
168
|
+
#### ♻️ Refactoring
|
|
169
|
+
|
|
170
|
+
- export normalize() fn ([df38394](https://github.com/thi-ng/umbrella/commit/df38394))
|
|
171
|
+
|
|
172
|
+
## [2.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@2.7.0) (2018-12-13)
|
|
173
|
+
|
|
174
|
+
#### 🚀 Features
|
|
175
|
+
|
|
176
|
+
- add __skip support, add test, update readme ([d3500df](https://github.com/thi-ng/umbrella/commit/d3500df))
|
|
177
|
+
|
|
178
|
+
## [2.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@2.6.0) (2018-11-07)
|
|
179
|
+
|
|
180
|
+
#### 🚀 Features
|
|
181
|
+
|
|
182
|
+
- update derefContext() to only apply to selected keys ([749925f](https://github.com/thi-ng/umbrella/commit/749925f))
|
|
183
|
+
|
|
184
|
+
## [2.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@2.5.0) (2018-11-06)
|
|
185
|
+
|
|
186
|
+
#### 🚀 Features
|
|
187
|
+
|
|
188
|
+
- add support for dynamic user context values ([a947873](https://github.com/thi-ng/umbrella/commit/a947873))
|
|
189
|
+
- add derefContext() helper to auto-deref any IDeref vals
|
|
190
|
+
- update serialize()
|
|
191
|
+
|
|
192
|
+
## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@2.4.0) (2018-09-23)
|
|
103
193
|
|
|
104
|
-
|
|
194
|
+
#### 🚀 Features
|
|
105
195
|
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
196
|
+
- emmet class & class attrib merging in normalize() ([1d8eeb4](https://github.com/thi-ng/umbrella/commit/1d8eeb4))
|
|
197
|
+
- now same behavior as hdom's normalizeElement()
|
|
198
|
+
- update tests
|
|
109
199
|
|
|
110
|
-
|
|
200
|
+
## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@2.3.0) (2018-09-22)
|
|
111
201
|
|
|
112
|
-
|
|
202
|
+
#### 🚀 Features
|
|
113
203
|
|
|
114
|
-
-
|
|
204
|
+
- add control attrib handling, add comment support ([363c241](https://github.com/thi-ng/umbrella/commit/363c241))
|
|
205
|
+
- skip serialize() for elements w/ `__serialize: false` attrib
|
|
206
|
+
- omit output of any control attribs
|
|
207
|
+
- add COMMENT const and comment serialization
|
|
208
|
+
- update imports
|
|
209
|
+
- update docstring
|
|
115
210
|
|
|
116
|
-
|
|
211
|
+
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@2.1.0) (2018-08-31)
|
|
117
212
|
|
|
118
|
-
|
|
213
|
+
#### 🚀 Features
|
|
119
214
|
|
|
120
|
-
-
|
|
215
|
+
- add optional support for spans & auto keying ([#39](https://github.com/thi-ng/umbrella/issues/39)) ([1b0deb2](https://github.com/thi-ng/umbrella/commit/1b0deb2))
|
|
121
216
|
|
|
122
|
-
|
|
217
|
+
#### 🩹 Bug fixes
|
|
123
218
|
|
|
124
|
-
|
|
219
|
+
- serialize() args ([1e8b4ef](https://github.com/thi-ng/umbrella/commit/1e8b4ef))
|
|
220
|
+
- disable spans for certain element types ([1b97a25](https://github.com/thi-ng/umbrella/commit/1b97a25))
|
|
221
|
+
- re-add NO_SPANS (moved from hdom)
|
|
222
|
+
- update _serialize()
|
|
125
223
|
|
|
126
|
-
|
|
224
|
+
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@2.0.0) (2018-05-13)
|
|
127
225
|
|
|
128
|
-
|
|
226
|
+
#### 🛑 Breaking changes
|
|
129
227
|
|
|
130
|
-
|
|
228
|
+
- fix [#19](https://github.com/thi-ng/umbrella/issues/19), add support for context object ([feca566](https://github.com/thi-ng/umbrella/commit/feca566))
|
|
229
|
+
- BREAKING CHANGE: component functions now take a global context object as
|
|
230
|
+
first argument (like w/ [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/main/packages/hdom))
|
|
231
|
+
- update serialize() to accept & pass optional context
|
|
232
|
+
- add support for component objects
|
|
233
|
+
- add/update tests
|
|
131
234
|
|
|
132
|
-
|
|
235
|
+
#### ⏱ Performance improvements
|
|
133
236
|
|
|
134
|
-
|
|
237
|
+
- update css() ([b1cb7d9](https://github.com/thi-ng/umbrella/commit/b1cb7d9))
|
|
238
|
+
- use string concat (~2.5x faster)
|
|
239
|
+
- skip null values
|
|
135
240
|
|
|
136
|
-
###
|
|
241
|
+
### [1.3.14](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@1.3.14) (2018-05-10)
|
|
137
242
|
|
|
138
|
-
|
|
243
|
+
#### ♻️ Refactoring
|
|
139
244
|
|
|
140
|
-
|
|
245
|
+
- update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
|
|
141
246
|
|
|
142
|
-
###
|
|
247
|
+
### [1.3.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@1.3.4) (2018-04-08)
|
|
143
248
|
|
|
144
|
-
|
|
145
|
-
- **hiccup:** serialize() args ([1e8b4ef](https://github.com/thi-ng/umbrella/commit/1e8b4ef))
|
|
249
|
+
#### ♻️ Refactoring
|
|
146
250
|
|
|
147
|
-
|
|
251
|
+
- remove obsolete deref check ([fcf1404](https://github.com/thi-ng/umbrella/commit/fcf1404))
|
|
148
252
|
|
|
149
|
-
|
|
253
|
+
## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@1.3.0) (2018-03-21)
|
|
150
254
|
|
|
151
|
-
|
|
255
|
+
#### 🚀 Features
|
|
152
256
|
|
|
153
|
-
|
|
257
|
+
- update error handling, add [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) dep ([a3238ab](https://github.com/thi-ng/umbrella/commit/a3238ab))
|
|
154
258
|
|
|
155
|
-
|
|
259
|
+
## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@1.2.0) (2018-03-14)
|
|
156
260
|
|
|
157
|
-
|
|
261
|
+
#### 🚀 Features
|
|
158
262
|
|
|
159
|
-
|
|
263
|
+
- support fn values in style objects ([93343d6](https://github.com/thi-ng/umbrella/commit/93343d6))
|
|
264
|
+
- add auto deref() support ([0d2c16f](https://github.com/thi-ng/umbrella/commit/0d2c16f))
|
|
160
265
|
|
|
161
|
-
|
|
266
|
+
#### ♻️ Refactoring
|
|
162
267
|
|
|
163
|
-
|
|
268
|
+
- disable deref() for attrib objects ([de839e8](https://github.com/thi-ng/umbrella/commit/de839e8))
|
|
164
269
|
|
|
165
|
-
|
|
166
|
-
- update serialize() to accept & pass optional context
|
|
167
|
-
- add support for component objects
|
|
168
|
-
- add/update tests
|
|
270
|
+
### [1.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@1.1.1) (2018-02-26)
|
|
169
271
|
|
|
170
|
-
|
|
272
|
+
#### ♻️ Refactoring
|
|
171
273
|
|
|
172
|
-
|
|
274
|
+
- sort void tags ([45d6385](https://github.com/thi-ng/umbrella/commit/45d6385))
|
|
173
275
|
|
|
174
|
-
|
|
276
|
+
## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@1.1.0) (2018-02-24)
|
|
175
277
|
|
|
176
|
-
|
|
278
|
+
#### 🚀 Features
|
|
177
279
|
|
|
178
|
-
|
|
280
|
+
- add support for more SVG tags (66 total) ([44f33df](https://github.com/thi-ng/umbrella/commit/44f33df))
|
|
179
281
|
|
|
180
|
-
|
|
181
|
-
- **hiccup:** support fn values in style objects ([93343d6](https://github.com/thi-ng/umbrella/commit/93343d6))
|
|
282
|
+
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@1.0.0) (2018-02-03)
|
|
182
283
|
|
|
183
|
-
|
|
284
|
+
#### 🛑 Breaking changes
|
|
184
285
|
|
|
185
|
-
|
|
286
|
+
- skip fn exec for event attribs, update tests, readme ([7ae706e](https://github.com/thi-ng/umbrella/commit/7ae706e))
|
|
287
|
+
- BREAKING CHANGE: event attribs w/ function values will be omitted, see readme for details/examples
|
|
186
288
|
|
|
187
|
-
|
|
289
|
+
### [0.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@0.1.6) (2018-02-01)
|
|
188
290
|
|
|
189
|
-
|
|
291
|
+
#### ♻️ Refactoring
|
|
190
292
|
|
|
191
|
-
|
|
293
|
+
- update/add deps, restructure/split into sub-modules ([0439d24](https://github.com/thi-ng/umbrella/commit/0439d24))
|
|
192
294
|
|
|
193
|
-
|
|
295
|
+
### [0.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup@0.1.2) (2018-01-24)
|
|
194
296
|
|
|
195
|
-
|
|
297
|
+
#### 🚀 Features
|
|
196
298
|
|
|
197
|
-
-
|
|
299
|
+
- initial re-import as monorepo, update readme files, cleanup imports ([04ff6e9](https://github.com/thi-ng/umbrella/commit/04ff6e9))
|
package/package.json
CHANGED
|
@@ -1,119 +1,124 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"name": "@thi.ng/hiccup",
|
|
3
|
+
"version": "4.2.2",
|
|
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://github.com/thi-ng/umbrella/tree/develop/packages/hiccup#readme",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
12
18
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
19
|
+
{
|
|
20
|
+
"type": "patreon",
|
|
21
|
+
"url": "https://patreon.com/thing_umbrella"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"author": "Karsten Schmidt <k+npm@thi.ng>",
|
|
25
|
+
"license": "Apache-2.0",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "yarn clean && tsc --declaration",
|
|
28
|
+
"clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
|
|
29
|
+
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
30
|
+
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
31
|
+
"doc:readme": "yarn doc:stats && tools:readme",
|
|
32
|
+
"doc:stats": "tools:module-stats",
|
|
33
|
+
"pub": "yarn npm publish --access public",
|
|
34
|
+
"test": "testament test"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@thi.ng/api": "^8.3.2",
|
|
38
|
+
"@thi.ng/checks": "^3.1.2",
|
|
39
|
+
"@thi.ng/errors": "^2.1.2",
|
|
40
|
+
"@thi.ng/strings": "^3.2.2"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@microsoft/api-extractor": "^7.18.19",
|
|
44
|
+
"@thi.ng/atom": "^5.1.2",
|
|
45
|
+
"@thi.ng/testament": "^0.2.2",
|
|
46
|
+
"rimraf": "^3.0.2",
|
|
47
|
+
"tools": "^0.0.1",
|
|
48
|
+
"typedoc": "^0.22.9",
|
|
49
|
+
"typescript": "^4.5.2"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"array",
|
|
53
|
+
"clojure",
|
|
54
|
+
"component",
|
|
55
|
+
"export",
|
|
56
|
+
"fileformat",
|
|
57
|
+
"functional",
|
|
58
|
+
"hiccup",
|
|
59
|
+
"html",
|
|
60
|
+
"iterator",
|
|
61
|
+
"json",
|
|
62
|
+
"svg",
|
|
63
|
+
"template",
|
|
64
|
+
"tree",
|
|
65
|
+
"typescript",
|
|
66
|
+
"xml"
|
|
67
|
+
],
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"access": "public"
|
|
70
|
+
},
|
|
71
|
+
"engines": {
|
|
72
|
+
"node": ">=12.7"
|
|
73
|
+
},
|
|
74
|
+
"files": [
|
|
75
|
+
"*.js",
|
|
76
|
+
"*.d.ts"
|
|
77
|
+
],
|
|
78
|
+
"exports": {
|
|
79
|
+
".": {
|
|
80
|
+
"import": "./index.js"
|
|
35
81
|
},
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
"@thi.ng/checks": "^3.0.6",
|
|
39
|
-
"@thi.ng/errors": "^2.0.6",
|
|
40
|
-
"@thi.ng/strings": "^3.1.3"
|
|
82
|
+
"./api": {
|
|
83
|
+
"import": "./api.js"
|
|
41
84
|
},
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"@thi.ng/testament": "^0.1.6"
|
|
85
|
+
"./attribs": {
|
|
86
|
+
"import": "./attribs.js"
|
|
45
87
|
},
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
"clojure",
|
|
49
|
-
"component",
|
|
50
|
-
"export",
|
|
51
|
-
"fileformat",
|
|
52
|
-
"functional",
|
|
53
|
-
"hiccup",
|
|
54
|
-
"html",
|
|
55
|
-
"iterator",
|
|
56
|
-
"json",
|
|
57
|
-
"svg",
|
|
58
|
-
"template",
|
|
59
|
-
"tree",
|
|
60
|
-
"typescript",
|
|
61
|
-
"xml"
|
|
62
|
-
],
|
|
63
|
-
"publishConfig": {
|
|
64
|
-
"access": "public"
|
|
88
|
+
"./css": {
|
|
89
|
+
"import": "./css.js"
|
|
65
90
|
},
|
|
66
|
-
"
|
|
67
|
-
|
|
91
|
+
"./deref": {
|
|
92
|
+
"import": "./deref.js"
|
|
68
93
|
},
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
"*.d.ts"
|
|
72
|
-
],
|
|
73
|
-
"exports": {
|
|
74
|
-
".": {
|
|
75
|
-
"import": "./index.js"
|
|
76
|
-
},
|
|
77
|
-
"./api": {
|
|
78
|
-
"import": "./api.js"
|
|
79
|
-
},
|
|
80
|
-
"./attribs": {
|
|
81
|
-
"import": "./attribs.js"
|
|
82
|
-
},
|
|
83
|
-
"./css": {
|
|
84
|
-
"import": "./css.js"
|
|
85
|
-
},
|
|
86
|
-
"./deref": {
|
|
87
|
-
"import": "./deref.js"
|
|
88
|
-
},
|
|
89
|
-
"./normalize": {
|
|
90
|
-
"import": "./normalize.js"
|
|
91
|
-
},
|
|
92
|
-
"./prefix": {
|
|
93
|
-
"import": "./prefix.js"
|
|
94
|
-
},
|
|
95
|
-
"./serialize": {
|
|
96
|
-
"import": "./serialize.js"
|
|
97
|
-
}
|
|
94
|
+
"./normalize": {
|
|
95
|
+
"import": "./normalize.js"
|
|
98
96
|
},
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
{
|
|
102
|
-
"title": "How to UI in 2018",
|
|
103
|
-
"url": "https://medium.com/@thi.ng/how-to-ui-in-2018-ac2ae02acdf3"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"title": "Of umbrellas, transducers, reactive streams & mushrooms (Pt.1)",
|
|
107
|
-
"url": "https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"related": [
|
|
111
|
-
"hdom",
|
|
112
|
-
"hdom-canvas",
|
|
113
|
-
"rdom",
|
|
114
|
-
"rdom-canvas"
|
|
115
|
-
],
|
|
116
|
-
"year": 2016
|
|
97
|
+
"./prefix": {
|
|
98
|
+
"import": "./prefix.js"
|
|
117
99
|
},
|
|
118
|
-
"
|
|
119
|
-
|
|
100
|
+
"./serialize": {
|
|
101
|
+
"import": "./serialize.js"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"thi.ng": {
|
|
105
|
+
"blog": [
|
|
106
|
+
{
|
|
107
|
+
"title": "How to UI in 2018",
|
|
108
|
+
"url": "https://medium.com/@thi.ng/how-to-ui-in-2018-ac2ae02acdf3"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"title": "Of umbrellas, transducers, reactive streams & mushrooms (Pt.1)",
|
|
112
|
+
"url": "https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"related": [
|
|
116
|
+
"hdom",
|
|
117
|
+
"hdom-canvas",
|
|
118
|
+
"rdom",
|
|
119
|
+
"rdom-canvas"
|
|
120
|
+
],
|
|
121
|
+
"year": 2016
|
|
122
|
+
},
|
|
123
|
+
"gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
|
|
124
|
+
}
|