@thi.ng/transducers-hdom 3.0.7 → 3.1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +94 -49
  2. package/README.md +1 -1
  3. package/package.json +80 -75
package/CHANGELOG.md CHANGED
@@ -1,97 +1,142 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
+
3
6
  All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
+
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
5
11
 
6
- ## [3.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@3.0.6...@thi.ng/transducers-hdom@3.0.7) (2021-11-03)
12
+ ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@3.1.0) (2021-11-17)
7
13
 
8
- **Note:** Version bump only for package @thi.ng/transducers-hdom
14
+ #### 🚀 Features
9
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
10
21
 
22
+ #### ♻️ Refactoring
11
23
 
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.
12
30
 
31
+ ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@3.0.1) (2021-10-13)
13
32
 
14
- # [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.105...@thi.ng/transducers-hdom@3.0.0) (2021-10-12)
33
+ #### ♻️ Refactoring
15
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
16
36
 
17
- ### Build System
37
+ # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@3.0.0) (2021-10-12)
18
38
 
19
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
39
+ #### 🛑 Breaking changes
20
40
 
41
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
42
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
43
+ - only ESM modules will be published from now on
44
+ - CJS obsolete due to ESM support in recent versions of node:
45
+ - i.e. launch NodeJS via:
46
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
47
+ - in the node REPL use `await import(...)` instead of `require()`
48
+ - UMD obsolete due to widespread browser support for ESM
49
+ Also:
50
+ - normalize/restructure/reorg all package.json files
51
+ - cleanup all build scripts, remove obsolete
52
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
21
53
 
22
- ### BREAKING CHANGES
54
+ #### ♻️ Refactoring
23
55
 
24
- * discontinue CommonJS & UMD versions
56
+ - minor pkg restructure (various) ([47f88d2](https://github.com/thi-ng/umbrella/commit/47f88d2))
57
+ - update imports ([924aa26](https://github.com/thi-ng/umbrella/commit/924aa26))
58
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
59
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
60
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
61
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
25
62
 
26
- - only ESM modules will be published from now on
27
- - CJS obsolete due to ESM support in recent versions of node:
28
- - i.e. launch NodeJS via:
29
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
30
- - in the node REPL use `await import(...)` instead of `require()`
31
- - UMD obsolete due to widespread browser support for ESM
63
+ ### [2.0.74](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@2.0.74) (2020-12-07)
32
64
 
33
- Also:
34
- - normalize/restructure/reorg all package.json files
35
- - cleanup all build scripts, remove obsolete
36
- - switch from mocha to @thi.ng/testament for all tests
65
+ #### ♻️ Refactoring
37
66
 
67
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
38
68
 
69
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@2.0.0) (2019-01-21)
39
70
 
71
+ #### 🛑 Breaking changes
40
72
 
73
+ - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
74
+ - BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
75
+ - build scripts now first build ES6 modules in package root, then call
76
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
77
+ - all imports MUST be updated to only refer to package level
78
+ (not individual files anymore). tree shaking in user land will get rid of
79
+ all unused imported symbols
80
+ - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
81
+ - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
82
+ - build scripts now first build ES6 modules in package root, then call
83
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
84
+ - all imports MUST be updated to only refer to package level
85
+ (not individual files anymore). tree shaking in user land will get rid of
86
+ all unused imported symbols.
41
87
 
88
+ #### ♻️ Refactoring
42
89
 
43
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@1.2.16...@thi.ng/transducers-hdom@2.0.0) (2019-01-21)
90
+ - use arrow fns ([ce4b528](https://github.com/thi-ng/umbrella/commit/ce4b528))
44
91
 
45
- ### Build System
92
+ ### [1.2.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@1.2.6) (2018-12-13)
46
93
 
47
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
48
- - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
94
+ #### 🩹 Bug fixes
49
95
 
50
- ### BREAKING CHANGES
96
+ - integrate recent hdom updates ([6db3170](https://github.com/thi-ng/umbrella/commit/6db3170))
51
97
 
52
- - enable multi-outputs (ES6 modules, CJS, UMD)
53
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
54
- - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols
55
- - enabled multi-outputs (ES6 modules, CJS, UMD)
56
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
57
- - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
98
+ ### [1.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@1.2.1) (2018-11-07)
58
99
 
59
- ## [1.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@1.2.5...@thi.ng/transducers-hdom@1.2.6) (2018-12-13)
100
+ #### ♻️ Refactoring
60
101
 
61
- ### Bug Fixes
102
+ - update auto-deref ctx behavior ([52a47f0](https://github.com/thi-ng/umbrella/commit/52a47f0))
62
103
 
63
- - **transducers-hdom:** integrate recent hdom updates ([6db3170](https://github.com/thi-ng/umbrella/commit/6db3170))
104
+ ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@1.2.0) (2018-11-06)
64
105
 
65
- # [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@1.1.9...@thi.ng/transducers-hdom@1.2.0) (2018-11-06)
106
+ #### 🚀 Features
66
107
 
67
- ### Features
108
+ - add support for dynamic user context vals ([e91dbbc](https://github.com/thi-ng/umbrella/commit/e91dbbc))
68
109
 
69
- - **transducers-hdom:** add support for dynamic user context vals ([e91dbbc](https://github.com/thi-ng/umbrella/commit/e91dbbc))
110
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@1.1.0) (2018-09-22)
70
111
 
71
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@1.1.0-alpha.2...@thi.ng/transducers-hdom@1.1.0) (2018-09-22)
112
+ #### 🩹 Bug fixes
72
113
 
73
- ### Bug Fixes
114
+ - add missing type annotation ([78b1f4a](https://github.com/thi-ng/umbrella/commit/78b1f4a))
74
115
 
75
- - **transducers-hdom:** add missing type annotation ([78b1f4a](https://github.com/thi-ng/umbrella/commit/78b1f4a))
116
+ ### [1.1.0-alpha](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@1.1.0-alpha) (2018-09-16)
76
117
 
77
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@0.1.5...@thi.ng/transducers-hdom@1.0.0) (2018-08-31)
118
+ #### 🩹 Bug fixes
78
119
 
79
- ### Features
120
+ - update to work w/ new [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/main/packages/hdom) v5 API ([832e419](https://github.com/thi-ng/umbrella/commit/832e419))
80
121
 
81
- - **transducers-hdom:** add DOM hydration support, rename ([#39](https://github.com/thi-ng/umbrella/issues/39)) ([0f39694](https://github.com/thi-ng/umbrella/commit/0f39694))
122
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@1.0.0) (2018-08-31)
82
123
 
83
- ### BREAKING CHANGES
124
+ #### 🛑 Breaking changes
84
125
 
85
- - **transducers-hdom:** rename transducer: `updateUI` => `updateDOM`, new API
126
+ - add DOM hydration support, rename ([#39](https://github.com/thi-ng/umbrella/issues/39)) ([0f39694](https://github.com/thi-ng/umbrella/commit/0f39694))
127
+ - replace args with HDOMOpts
128
+ - add support for `hydrate`
129
+ - reflect same logic as w/ hdom `start()` re: null values
130
+ - BREAKING CHANGE: rename transducer: `updateUI` => `updateDOM`, new API
86
131
 
87
- ## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@0.1.0...@thi.ng/transducers-hdom@0.1.1) (2018-08-02)
132
+ ### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@0.1.1) (2018-08-02)
88
133
 
89
- ### Bug Fixes
134
+ #### 🩹 Bug fixes
90
135
 
91
- - **transducers-hdom:** support hdom user context ([949a5d4](https://github.com/thi-ng/umbrella/commit/949a5d4))
136
+ - support hdom user context ([949a5d4](https://github.com/thi-ng/umbrella/commit/949a5d4))
92
137
 
93
- # 0.1.0 (2018-08-02)
138
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@0.1.0) (2018-08-02)
94
139
 
95
- ### Features
140
+ #### 🚀 Features
96
141
 
97
- - **transducers-hdom:** add new package [@thi](https://github.com/thi).ng/transducers-hdom ([7efce7a](https://github.com/thi-ng/umbrella/commit/7efce7a))
142
+ - add new package [@thi.ng/transducers-hdom](https://github.com/thi-ng/umbrella/tree/main/packages/transducers-hdom) ([7efce7a](https://github.com/thi-ng/umbrella/commit/7efce7a))
package/README.md CHANGED
@@ -86,7 +86,7 @@ node --experimental-repl-await
86
86
  > const transducersHdom = await import("@thi.ng/transducers-hdom");
87
87
  ```
88
88
 
89
- Package sizes (gzipped, pre-treeshake): ESM: 297 bytes
89
+ Package sizes (gzipped, pre-treeshake): ESM: 305 bytes
90
90
 
91
91
  ## Dependencies
92
92
 
package/package.json CHANGED
@@ -1,78 +1,83 @@
1
1
  {
2
- "name": "@thi.ng/transducers-hdom",
3
- "version": "3.0.7",
4
- "description": "Transducer based UI updater for @thi.ng/hdom",
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"
2
+ "name": "@thi.ng/transducers-hdom",
3
+ "version": "3.1.2",
4
+ "description": "Transducer based UI updater for @thi.ng/hdom",
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/transducers-hdom#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/transducers-hdom#readme",
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
- }
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/hdom": "^9.1.2",
38
+ "@thi.ng/hiccup": "^4.2.2",
39
+ "@thi.ng/transducers": "^8.1.2"
40
+ },
41
+ "devDependencies": {
42
+ "@microsoft/api-extractor": "^7.18.19",
43
+ "@thi.ng/testament": "^0.2.2",
44
+ "rimraf": "^3.0.2",
45
+ "tools": "^0.0.1",
46
+ "typedoc": "^0.22.9",
47
+ "typescript": "^4.5.2"
48
+ },
49
+ "keywords": [
50
+ "diff",
51
+ "hdom",
52
+ "rstream",
53
+ "transducer",
54
+ "typescript",
55
+ "ui",
56
+ "vdom"
57
+ ],
58
+ "publishConfig": {
59
+ "access": "public"
60
+ },
61
+ "engines": {
62
+ "node": ">=12.7"
63
+ },
64
+ "files": [
65
+ "*.js",
66
+ "*.d.ts"
67
+ ],
68
+ "exports": {
69
+ ".": {
70
+ "import": "./index.js"
71
+ }
72
+ },
73
+ "thi.ng": {
74
+ "parent": "@thi.ng/transducers",
75
+ "related": [
76
+ "hdom",
77
+ "interceptors",
78
+ "rstream"
23
79
  ],
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 && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/hdom": "^9.0.7",
38
- "@thi.ng/hiccup": "^4.1.3",
39
- "@thi.ng/transducers": "^8.0.7"
40
- },
41
- "devDependencies": {
42
- "@thi.ng/testament": "^0.1.6"
43
- },
44
- "keywords": [
45
- "diff",
46
- "hdom",
47
- "rstream",
48
- "transducer",
49
- "typescript",
50
- "ui",
51
- "vdom"
52
- ],
53
- "publishConfig": {
54
- "access": "public"
55
- },
56
- "engines": {
57
- "node": ">=12.7"
58
- },
59
- "files": [
60
- "*.js",
61
- "*.d.ts"
62
- ],
63
- "exports": {
64
- ".": {
65
- "import": "./index.js"
66
- }
67
- },
68
- "thi.ng": {
69
- "parent": "@thi.ng/transducers",
70
- "related": [
71
- "hdom",
72
- "interceptors",
73
- "rstream"
74
- ],
75
- "year": 2018
76
- },
77
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
78
- }
80
+ "year": 2018
81
+ },
82
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
83
+ }