@thi.ng/hdom-mock 2.0.8 → 2.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 +68 -33
  2. package/package.json +72 -67
package/CHANGELOG.md CHANGED
@@ -1,73 +1,108 @@
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.
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
- ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@2.0.7...@thi.ng/hdom-mock@2.0.8) (2021-11-10)
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:** Version bump only for package @thi.ng/hdom-mock
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
9
11
 
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@2.1.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
- ## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@2.0.6...@thi.ng/hdom-mock@2.0.7) (2021-11-03)
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
 
16
- **Note:** Version bump only for package @thi.ng/hdom-mock
31
+ ### [2.0.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@2.0.8) (2021-11-10)
17
32
 
33
+ #### ♻️ Refactoring
18
34
 
35
+ - update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
19
36
 
37
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@2.0.1) (2021-10-13)
20
38
 
39
+ #### ♻️ Refactoring
21
40
 
22
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.64...@thi.ng/hdom-mock@2.0.0) (2021-10-12)
41
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
23
42
 
43
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@2.0.0) (2021-10-12)
24
44
 
25
- ### Build System
45
+ #### 🛑 Breaking changes
26
46
 
27
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
47
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
48
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
49
+ - only ESM modules will be published from now on
50
+ - CJS obsolete due to ESM support in recent versions of node:
51
+ - i.e. launch NodeJS via:
52
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
53
+ - in the node REPL use `await import(...)` instead of `require()`
54
+ - UMD obsolete due to widespread browser support for ESM
55
+ Also:
56
+ - normalize/restructure/reorg all package.json files
57
+ - cleanup all build scripts, remove obsolete
58
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
28
59
 
60
+ #### ♻️ Refactoring
29
61
 
30
- ### BREAKING CHANGES
62
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
63
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
64
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
31
65
 
32
- * discontinue CommonJS & UMD versions
66
+ ### [1.1.45](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@1.1.45) (2020-12-07)
33
67
 
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
68
+ #### ♻️ Refactoring
40
69
 
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
70
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
45
71
 
72
+ ### [1.1.11](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@1.1.11) (2020-02-25)
46
73
 
74
+ #### ♻️ Refactoring
47
75
 
76
+ - update imports ([77fb116](https://github.com/thi-ng/umbrella/commit/77fb116))
48
77
 
78
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@1.1.0) (2019-07-07)
49
79
 
80
+ #### 🚀 Features
50
81
 
51
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.0.16...@thi.ng/hdom-mock@1.1.0) (2019-07-07)
82
+ - enable TS strict compiler flags (refactor) ([787e2d4](https://github.com/thi-ng/umbrella/commit/787e2d4))
52
83
 
53
- ### Features
84
+ #### ♻️ Refactoring
54
85
 
55
- - **hdom-mock:** enable TS strict compiler flags (refactor) ([787e2d4](https://github.com/thi-ng/umbrella/commit/787e2d4))
86
+ - address TS strictNullChecks flag ([be15162](https://github.com/thi-ng/umbrella/commit/be15162))
56
87
 
57
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@0.1.5...@thi.ng/hdom-mock@1.0.0) (2019-01-21)
88
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@1.0.0) (2019-01-21)
58
89
 
59
- ### Build System
90
+ #### 🛑 Breaking changes
60
91
 
61
92
  - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
93
+ - BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
94
+ - build scripts now first build ES6 modules in package root, then call
95
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
96
+ - all imports MUST be updated to only refer to package level
97
+ (not individual files anymore). tree shaking in user land will get rid of
98
+ all unused imported symbols
62
99
 
63
- ### BREAKING CHANGES
100
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@0.1.0) (2018-12-13)
64
101
 
65
- - enable multi-outputs (ES6 modules, CJS, UMD)
66
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
67
- - 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
102
+ #### 🚀 Features
68
103
 
69
- # 0.1.0 (2018-12-13)
104
+ - add hdom-mock package and implementation, add initial tests ([5609d24](https://github.com/thi-ng/umbrella/commit/5609d24))
70
105
 
71
- ### Features
106
+ #### ♻️ Refactoring
72
107
 
73
- - **hdom-mock:** add hdom-mock package and implementation, add initial tests ([5609d24](https://github.com/thi-ng/umbrella/commit/5609d24))
108
+ - update text node handling, tests, add readme ([c1fecc4](https://github.com/thi-ng/umbrella/commit/c1fecc4))
package/package.json CHANGED
@@ -1,69 +1,74 @@
1
1
  {
2
- "name": "@thi.ng/hdom-mock",
3
- "version": "2.0.8",
4
- "description": "Mock base implementation for @thi.ng/hdom API",
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/hdom-mock",
3
+ "version": "2.1.3",
4
+ "description": "Mock base implementation for @thi.ng/hdom API",
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/hdom-mock#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/hdom-mock#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
- }
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 && 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/api": "^8.2.0",
38
- "@thi.ng/checks": "^3.0.7",
39
- "@thi.ng/hdom": "^9.0.8"
40
- },
41
- "devDependencies": {
42
- "@thi.ng/testament": "^0.1.6"
43
- },
44
- "keywords": [
45
- "datastructure",
46
- "typescript"
47
- ],
48
- "publishConfig": {
49
- "access": "public"
50
- },
51
- "engines": {
52
- "node": ">=12.7"
53
- },
54
- "files": [
55
- "*.js",
56
- "*.d.ts"
57
- ],
58
- "exports": {
59
- ".": {
60
- "import": "./index.js"
61
- }
62
- },
63
- "thi.ng": {
64
- "parent": "@thi.ng/hdom",
65
- "status": "alpha",
66
- "year": 2018
67
- },
68
- "gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
69
- }
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/hdom": "^9.1.3"
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
+ "datastructure",
51
+ "typescript"
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/hdom",
70
+ "status": "alpha",
71
+ "year": 2018
72
+ },
73
+ "gitHead": "32cf1a96854f9bb97aca65ffa05ca862ea377059\n"
74
+ }