@thi.ng/rdom 0.10.1 → 0.10.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-12-10T14:04:38Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
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.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![rdom](https://media.thi.ng/umbrella/banners-20220914/thing-rdom.svg?2193a58e)
3
+ # ![@thi.ng/rdom](https://media.thi.ng/umbrella/banners-20220914/thing-rdom.svg?2193a58e)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/rdom.svg)](https://www.npmjs.com/package/@thi.ng/rdom)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/rdom.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -27,7 +27,7 @@ This project is part of the
27
27
 
28
28
  ## About
29
29
 
30
- Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) compatible.
30
+ Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and @thi.ng/hiccup compatible
31
31
 
32
32
  ### From hdom to rdom: Reactive UIs without virtual DOMs
33
33
 
@@ -147,7 +147,7 @@ constructs, which can be used as lightweight adapters, i.e.:
147
147
  - [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom) - Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors
148
148
  - [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) - HTML/SVG/XML serialization of nested data structures, iterables & closures
149
149
  - [@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
150
- - [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-svg) - SVG element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) & [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom)
150
+ - [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-svg) - SVG element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) & related tooling
151
151
  - [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers) - Lightweight transducer implementations for ES6 / TypeScript
152
152
 
153
153
  ## Installation
@@ -166,11 +166,8 @@ ES module import:
166
166
 
167
167
  For Node.js REPL:
168
168
 
169
- ```text
170
- # with flag only for < v16
171
- node --experimental-repl-await
172
-
173
- > const rdom = await import("@thi.ng/rdom");
169
+ ```js
170
+ const rdom = await import("@thi.ng/rdom");
174
171
  ```
175
172
 
176
173
  Package sizes (brotli'd, pre-treeshake): ESM: 3.81 KB
@@ -262,7 +259,7 @@ $compile([
262
259
 
263
260
  ## Authors
264
261
 
265
- Karsten Schmidt
262
+ - [Karsten Schmidt](https://thi.ng)
266
263
 
267
264
  If this project contributes to an academic publication, please cite it as:
268
265
 
@@ -277,4 +274,4 @@ If this project contributes to an academic publication, please cite it as:
277
274
 
278
275
  ## License
279
276
 
280
- &copy; 2020 - 2022 Karsten Schmidt // Apache Software License 2.0
277
+ &copy; 2020 - 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -77,7 +77,7 @@ export interface IMountWith<T, M> extends IComponent<T> {
77
77
  /**
78
78
  * Syntax sugar for {@link IMountWith}.
79
79
  */
80
- export declare type IMountWithState<T> = IMountWith<T, T>;
80
+ export type IMountWithState<T> = IMountWith<T, T>;
81
81
  /**
82
82
  * Component type returned by {@link $compile}.
83
83
  */
@@ -88,10 +88,10 @@ export interface CompiledComponent extends IComponent {
88
88
  /**
89
89
  * Any value which is either an {@link IComponent} or hiccup-style array/tree
90
90
  */
91
- export declare type ComponentLike = IComponent | [string, ...(any | null)[]];
92
- export declare type Callback = Fn0<void>;
93
- export declare type Task = Fn0<void>;
94
- export declare type NumOrElement = number | Element;
91
+ export type ComponentLike = IComponent | [string, ...(any | null)[]];
92
+ export type Callback = Fn0<void>;
93
+ export type Task = Fn0<void>;
94
+ export type NumOrElement = number | Element;
95
95
  /**
96
96
  * Interface for task schedulers. See {@link NullScheduler} and
97
97
  * {@link RAFScheduler}.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rdom",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
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",
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/thi-ng/umbrella.git"
12
12
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/rdom#readme",
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/rdom#readme",
14
14
  "funding": [
15
15
  {
16
16
  "type": "github",
@@ -21,7 +21,7 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
27
  "build": "yarn clean && tsc --declaration",
@@ -35,22 +35,22 @@
35
35
  "test": "testament test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.5.1",
39
- "@thi.ng/checks": "^3.3.4",
40
- "@thi.ng/errors": "^2.2.5",
41
- "@thi.ng/hiccup": "^4.2.25",
42
- "@thi.ng/paths": "^5.1.24",
43
- "@thi.ng/prefixes": "^2.1.14",
44
- "@thi.ng/rstream": "^7.2.30",
45
- "@thi.ng/strings": "^3.3.19"
38
+ "@thi.ng/api": "^8.6.0",
39
+ "@thi.ng/checks": "^3.3.5",
40
+ "@thi.ng/errors": "^2.2.6",
41
+ "@thi.ng/hiccup": "^4.2.26",
42
+ "@thi.ng/paths": "^5.1.25",
43
+ "@thi.ng/prefixes": "^2.1.15",
44
+ "@thi.ng/rstream": "^7.2.31",
45
+ "@thi.ng/strings": "^3.3.20"
46
46
  },
47
47
  "devDependencies": {
48
- "@microsoft/api-extractor": "^7.33.5",
49
- "@thi.ng/testament": "^0.3.6",
48
+ "@microsoft/api-extractor": "^7.33.7",
49
+ "@thi.ng/testament": "^0.3.7",
50
50
  "rimraf": "^3.0.2",
51
51
  "tools": "^0.0.1",
52
- "typedoc": "^0.23.20",
53
- "typescript": "^4.8.4"
52
+ "typedoc": "^0.23.22",
53
+ "typescript": "^4.9.4"
54
54
  },
55
55
  "keywords": [
56
56
  "async",
@@ -140,5 +140,5 @@
140
140
  "status": "beta",
141
141
  "year": 2020
142
142
  },
143
- "gitHead": "5178ea1d7f4b2de86cf5101bdd73f6567518c0bd\n"
143
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
144
144
  }