@thi.ng/rdom 1.7.23 → 1.7.25
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 +3 -159
- package/README.md +1 -1
- package/package.json +11 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-29T16:25:48Z
|
|
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.
|
|
7
|
+
Only versions published since **2022-01-01** are listed here.
|
|
8
|
+
Please consult the Git history for older version information.
|
|
7
9
|
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
10
|
|
|
9
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
@@ -217,161 +219,3 @@ and/or version bumps of transitive dependencies.
|
|
|
217
219
|
#### ♻️ Refactoring
|
|
218
220
|
|
|
219
221
|
- replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))
|
|
220
|
-
|
|
221
|
-
### [0.8.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.8.1) (2021-11-19)
|
|
222
|
-
|
|
223
|
-
#### 🩹 Bug fixes
|
|
224
|
-
|
|
225
|
-
- $text() handling for SVG ([631b5fb](https://github.com/thi-ng/umbrella/commit/631b5fb))
|
|
226
|
-
|
|
227
|
-
## [0.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.8.0) (2021-11-17)
|
|
228
|
-
|
|
229
|
-
#### 🚀 Features
|
|
230
|
-
|
|
231
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
232
|
-
Improving the overall build ergonomics
|
|
233
|
-
- introduced a tools workspaces
|
|
234
|
-
- imported it in all needed packages/examples
|
|
235
|
-
- inclusive project root
|
|
236
|
-
|
|
237
|
-
#### ♻️ Refactoring
|
|
238
|
-
|
|
239
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
240
|
-
this commit reverts (partly) changes made in:
|
|
241
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
242
|
-
overall purpose is better testament ergonomics:
|
|
243
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
244
|
-
having a binary to handle this for us.
|
|
245
|
-
|
|
246
|
-
### [0.7.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.7.9) (2021-11-10)
|
|
247
|
-
|
|
248
|
-
#### ♻️ Refactoring
|
|
249
|
-
|
|
250
|
-
- update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
|
|
251
|
-
|
|
252
|
-
### [0.7.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.7.1) (2021-10-13)
|
|
253
|
-
|
|
254
|
-
#### ♻️ Refactoring
|
|
255
|
-
|
|
256
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
257
|
-
- add .js suffix for all relative imports
|
|
258
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
259
|
-
|
|
260
|
-
## [0.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.7.0) (2021-10-12)
|
|
261
|
-
|
|
262
|
-
#### 🛑 Breaking changes
|
|
263
|
-
|
|
264
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
265
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
266
|
-
- only ESM modules will be published from now on
|
|
267
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
268
|
-
- i.e. launch NodeJS via:
|
|
269
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
270
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
271
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
272
|
-
Also:
|
|
273
|
-
- normalize/restructure/reorg all package.json files
|
|
274
|
-
- cleanup all build scripts, remove obsolete
|
|
275
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
276
|
-
|
|
277
|
-
#### 🚀 Features
|
|
278
|
-
|
|
279
|
-
- add $replace() control/wrapper ([6096357](https://github.com/thi-ng/umbrella/commit/6096357))
|
|
280
|
-
|
|
281
|
-
#### ♻️ Refactoring
|
|
282
|
-
|
|
283
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
284
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
285
|
-
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
286
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
287
|
-
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
288
|
-
- largely related to recent updates/restructuring of these packages:
|
|
289
|
-
- api
|
|
290
|
-
- defmulti
|
|
291
|
-
- errors
|
|
292
|
-
- logger
|
|
293
|
-
- update imports in various pkgs (rstream) ([342cf54](https://github.com/thi-ng/umbrella/commit/342cf54))
|
|
294
|
-
|
|
295
|
-
### [0.6.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.6.9) (2021-09-03)
|
|
296
|
-
|
|
297
|
-
#### ♻️ Refactoring
|
|
298
|
-
|
|
299
|
-
- fix up TS4.4 changes ([40caddc](https://github.com/thi-ng/umbrella/commit/40caddc))
|
|
300
|
-
|
|
301
|
-
## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.6.0) (2021-08-04)
|
|
302
|
-
|
|
303
|
-
#### 🚀 Features
|
|
304
|
-
|
|
305
|
-
- add $inputFile/Files() handlers ([7f8888b](https://github.com/thi-ng/umbrella/commit/7f8888b))
|
|
306
|
-
|
|
307
|
-
## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.5.0) (2021-07-27)
|
|
308
|
-
|
|
309
|
-
#### 🚀 Features
|
|
310
|
-
|
|
311
|
-
- relax return types for $switch() ([71c334b](https://github.com/thi-ng/umbrella/commit/71c334b))
|
|
312
|
-
- update return types for $switch/$refresh component factories (any)
|
|
313
|
-
- add/update docs
|
|
314
|
-
|
|
315
|
-
#### 🩹 Bug fixes
|
|
316
|
-
|
|
317
|
-
- fix [#304](https://github.com/thi-ng/umbrella/issues/304), update Switch.update() ([a2899c0](https://github.com/thi-ng/umbrella/commit/a2899c0))
|
|
318
|
-
- remove extraneous & wrong same-value check which was causing
|
|
319
|
-
component to unmount if same value is received in succession
|
|
320
|
-
|
|
321
|
-
### [0.4.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.4.5) (2021-03-12)
|
|
322
|
-
|
|
323
|
-
#### ♻️ Refactoring
|
|
324
|
-
|
|
325
|
-
- simplify $sub() ([1f11cdf](https://github.com/thi-ng/umbrella/commit/1f11cdf))
|
|
326
|
-
|
|
327
|
-
## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.4.0) (2021-02-24)
|
|
328
|
-
|
|
329
|
-
#### 🚀 Features
|
|
330
|
-
|
|
331
|
-
- add $inputCheckbox, $inputTrigger ([99c569e](https://github.com/thi-ng/umbrella/commit/99c569e))
|
|
332
|
-
|
|
333
|
-
### [0.3.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.3.9) (2021-02-22)
|
|
334
|
-
|
|
335
|
-
#### 🩹 Bug fixes
|
|
336
|
-
|
|
337
|
-
- add stream IDs for $Sub/$SubA ([e8b8fd4](https://github.com/thi-ng/umbrella/commit/e8b8fd4))
|
|
338
|
-
|
|
339
|
-
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.3.0) (2020-12-07)
|
|
340
|
-
|
|
341
|
-
#### 🚀 Features
|
|
342
|
-
|
|
343
|
-
- add $subObject() wrapper, add docs ([cd5cf08](https://github.com/thi-ng/umbrella/commit/cd5cf08))
|
|
344
|
-
|
|
345
|
-
### [0.2.12](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.2.12) (2020-09-22)
|
|
346
|
-
|
|
347
|
-
#### ♻️ Refactoring
|
|
348
|
-
|
|
349
|
-
- simplify $el() attrib handling ([b777cf1](https://github.com/thi-ng/umbrella/commit/b777cf1))
|
|
350
|
-
- split $tree() ([de159e0](https://github.com/thi-ng/umbrella/commit/de159e0))
|
|
351
|
-
- split $compile() ([45156b2](https://github.com/thi-ng/umbrella/commit/45156b2))
|
|
352
|
-
- extract complexComponent(), basicComponent()
|
|
353
|
-
|
|
354
|
-
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.2.0) (2020-07-08)
|
|
355
|
-
|
|
356
|
-
#### 🚀 Features
|
|
357
|
-
|
|
358
|
-
- add $input, $inputNum event listeners ([c29fb49](https://github.com/thi-ng/umbrella/commit/c29fb49))
|
|
359
|
-
- add $promise() wrapper ([53f9688](https://github.com/thi-ng/umbrella/commit/53f9688))
|
|
360
|
-
|
|
361
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@0.1.0) (2020-07-02)
|
|
362
|
-
|
|
363
|
-
#### 🚀 Features
|
|
364
|
-
|
|
365
|
-
- rename hdom2020 => rdom, update pkg ([1224706](https://github.com/thi-ng/umbrella/commit/1224706))
|
|
366
|
-
- update $tree() span handling, update $moveTo() ([6d90187](https://github.com/thi-ng/umbrella/commit/6d90187))
|
|
367
|
-
- add support for namespaced el/attribs ([9d16ef0](https://github.com/thi-ng/umbrella/commit/9d16ef0))
|
|
368
|
-
- add deps ([@thi.ng/prefixes](https://github.com/thi-ng/umbrella/tree/main/packages/prefixes))
|
|
369
|
-
- add `registerPrefix()` helper
|
|
370
|
-
- update `$el()` and `setAttrib()` to check for prefixed names
|
|
371
|
-
- add RDFa `prefix` attrib support, update prefix handling ([b589da5](https://github.com/thi-ng/umbrella/commit/b589da5))
|
|
372
|
-
- add XML_XMLNS to default prefixes
|
|
373
|
-
- update `registerPrefixes()` to error if attempting to overwrite prefix
|
|
374
|
-
|
|
375
|
-
#### ♻️ Refactoring
|
|
376
|
-
|
|
377
|
-
- update IMountWith, $SubA ([c93efad](https://github.com/thi-ng/umbrella/commit/c93efad))
|
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 201 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
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rdom",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.25",
|
|
4
4
|
"description": "Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and @thi.ng/hiccup compatible",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
34
|
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
35
|
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
-
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
37
36
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
38
37
|
"pub": "yarn npm publish --access public",
|
|
39
38
|
"pub:wip": "yarn npm publish --access public --no-git-tag-version",
|
|
@@ -41,20 +40,19 @@
|
|
|
41
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
42
41
|
},
|
|
43
42
|
"dependencies": {
|
|
44
|
-
"@thi.ng/api": "^8.11.
|
|
45
|
-
"@thi.ng/checks": "^3.6.
|
|
46
|
-
"@thi.ng/errors": "^2.5.
|
|
47
|
-
"@thi.ng/hiccup": "^5.3.
|
|
48
|
-
"@thi.ng/paths": "^5.
|
|
49
|
-
"@thi.ng/prefixes": "^2.3.
|
|
50
|
-
"@thi.ng/rstream": "^9.2.
|
|
51
|
-
"@thi.ng/strings": "^3.9.
|
|
43
|
+
"@thi.ng/api": "^8.11.19",
|
|
44
|
+
"@thi.ng/checks": "^3.6.22",
|
|
45
|
+
"@thi.ng/errors": "^2.5.25",
|
|
46
|
+
"@thi.ng/hiccup": "^5.3.2",
|
|
47
|
+
"@thi.ng/paths": "^5.2.0",
|
|
48
|
+
"@thi.ng/prefixes": "^2.3.36",
|
|
49
|
+
"@thi.ng/rstream": "^9.2.8",
|
|
50
|
+
"@thi.ng/strings": "^3.9.4"
|
|
52
51
|
},
|
|
53
52
|
"devDependencies": {
|
|
54
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
55
53
|
"esbuild": "^0.24.2",
|
|
56
54
|
"typedoc": "^0.27.6",
|
|
57
|
-
"typescript": "^5.7.
|
|
55
|
+
"typescript": "^5.7.3"
|
|
58
56
|
},
|
|
59
57
|
"keywords": [
|
|
60
58
|
"async",
|
|
@@ -150,5 +148,5 @@
|
|
|
150
148
|
],
|
|
151
149
|
"year": 2020
|
|
152
150
|
},
|
|
153
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
|
|
154
152
|
}
|