@thi.ng/transducers-hdom 3.0.8 → 3.1.3

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/CHANGELOG.md +93 -56
  2. package/package.json +80 -75
package/CHANGELOG.md CHANGED
@@ -1,105 +1,142 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [3.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@3.0.7...@thi.ng/transducers-hdom@3.0.8) (2021-11-10)
7
-
8
- **Note:** Version bump only for package @thi.ng/transducers-hdom
9
-
10
-
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
11
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
12
8
 
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
13
11
 
14
- ## [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)
15
13
 
16
- **Note:** Version bump only for package @thi.ng/transducers-hdom
14
+ #### 🚀 Features
17
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
18
21
 
22
+ #### ♻️ Refactoring
19
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.
20
30
 
31
+ ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@3.0.1) (2021-10-13)
21
32
 
22
- # [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
23
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
24
36
 
25
- ### Build System
37
+ # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@3.0.0) (2021-10-12)
26
38
 
27
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
39
+ #### 🛑 Breaking changes
28
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
29
53
 
30
- ### BREAKING CHANGES
54
+ #### ♻️ Refactoring
31
55
 
32
- * 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)
33
62
 
34
- - only ESM modules will be published from now on
35
- - CJS obsolete due to ESM support in recent versions of node:
36
- - i.e. launch NodeJS via:
37
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
38
- - in the node REPL use `await import(...)` instead of `require()`
39
- - 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)
40
64
 
41
- Also:
42
- - normalize/restructure/reorg all package.json files
43
- - cleanup all build scripts, remove obsolete
44
- - switch from mocha to @thi.ng/testament for all tests
65
+ #### ♻️ Refactoring
45
66
 
67
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
46
68
 
69
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@2.0.0) (2019-01-21)
47
70
 
71
+ #### 🛑 Breaking changes
48
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.
49
87
 
88
+ #### ♻️ Refactoring
50
89
 
51
- # [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))
52
91
 
53
- ### Build System
92
+ ### [1.2.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-hdom@1.2.6) (2018-12-13)
54
93
 
55
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
56
- - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
94
+ #### 🩹 Bug fixes
57
95
 
58
- ### BREAKING CHANGES
96
+ - integrate recent hdom updates ([6db3170](https://github.com/thi-ng/umbrella/commit/6db3170))
59
97
 
60
- - enable multi-outputs (ES6 modules, CJS, UMD)
61
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
62
- - 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
63
- - enabled multi-outputs (ES6 modules, CJS, UMD)
64
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
65
- - 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)
66
99
 
67
- ## [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
68
101
 
69
- ### Bug Fixes
102
+ - update auto-deref ctx behavior ([52a47f0](https://github.com/thi-ng/umbrella/commit/52a47f0))
70
103
 
71
- - **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)
72
105
 
73
- # [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
74
107
 
75
- ### Features
108
+ - add support for dynamic user context vals ([e91dbbc](https://github.com/thi-ng/umbrella/commit/e91dbbc))
76
109
 
77
- - **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)
78
111
 
79
- # [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
80
113
 
81
- ### Bug Fixes
114
+ - add missing type annotation ([78b1f4a](https://github.com/thi-ng/umbrella/commit/78b1f4a))
82
115
 
83
- - **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)
84
117
 
85
- # [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
86
119
 
87
- ### 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))
88
121
 
89
- - **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)
90
123
 
91
- ### BREAKING CHANGES
124
+ #### 🛑 Breaking changes
92
125
 
93
- - **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
94
131
 
95
- ## [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)
96
133
 
97
- ### Bug Fixes
134
+ #### 🩹 Bug fixes
98
135
 
99
- - **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))
100
137
 
101
- # 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)
102
139
 
103
- ### Features
140
+ #### 🚀 Features
104
141
 
105
- - **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/package.json CHANGED
@@ -1,78 +1,83 @@
1
1
  {
2
- "name": "@thi.ng/transducers-hdom",
3
- "version": "3.0.8",
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.3",
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.3",
38
+ "@thi.ng/hiccup": "^4.2.3",
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.8",
38
- "@thi.ng/hiccup": "^4.1.4",
39
- "@thi.ng/transducers": "^8.0.8"
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": "5fe52419af63984ebe53032201b2a6174b9cb159"
78
- }
80
+ "year": 2018
81
+ },
82
+ "gitHead": "32cf1a96854f9bb97aca65ffa05ca862ea377059\n"
83
+ }