@thi.ng/hdom-mock 2.1.97 → 2.1.98

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**: 2024-04-11T12:32:44Z
3
+ - **Last updated**: 2024-04-20T14:42:45Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [2.1.98](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@2.1.98) (2024-04-20)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update type usage ([63782c5](https://github.com/thi-ng/umbrella/commit/63782c5))
17
+
12
18
  ### [2.1.62](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-mock@2.1.62) (2023-11-09)
13
19
 
14
20
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -52,10 +52,10 @@ import * as hm from "@thi.ng/hdom-mock";
52
52
  Browser ESM import:
53
53
 
54
54
  ```html
55
- <script type="module" src="https://cdn.skypack.dev/@thi.ng/hdom-mock"></script>
55
+ <script type="module" src="https://esm.run/@thi.ng/hdom-mock"></script>
56
56
  ```
57
57
 
58
- [Skypack documentation](https://docs.skypack.dev/)
58
+ [JSDelivr documentation](https://www.jsdelivr.com/)
59
59
 
60
60
  For Node.js REPL:
61
61
 
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { IObjectOf } from "@thi.ng/api";
1
+ import type { IObjectOf, Maybe } from "@thi.ng/api";
2
2
  import type { HDOMImplementation, HDOMOpts } from "@thi.ng/hdom";
3
3
  export declare const TEXT: unique symbol;
4
4
  export declare class HDOMNode {
@@ -12,11 +12,11 @@ export declare class HDOMNode {
12
12
  _children: HDOMNode[];
13
13
  listeners: IObjectOf<EventListener[]>;
14
14
  value: any;
15
- checked: boolean | undefined;
15
+ checked: Maybe<boolean>;
16
16
  tag: string | symbol;
17
17
  attribs: IObjectOf<any>;
18
- style: IObjectOf<any> | undefined;
19
- body: string | undefined;
18
+ style: Maybe<IObjectOf<any>>;
19
+ body: Maybe<string>;
20
20
  constructor(tag: string | symbol, attribs?: {});
21
21
  get textContent(): string;
22
22
  set textContent(body: string);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hdom-mock",
3
- "version": "2.1.97",
3
+ "version": "2.1.98",
4
4
  "description": "Mock base implementation for @thi.ng/hdom API",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,9 +36,9 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.10.1",
40
- "@thi.ng/checks": "^3.6.1",
41
- "@thi.ng/hdom": "^9.4.30"
39
+ "@thi.ng/api": "^8.11.0",
40
+ "@thi.ng/checks": "^3.6.2",
41
+ "@thi.ng/hdom": "^9.4.31"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@microsoft/api-extractor": "^7.43.0",
@@ -71,5 +71,5 @@
71
71
  "status": "alpha",
72
72
  "year": 2018
73
73
  },
74
- "gitHead": "18a0c063a7b33d790e5bc2486c106f45f663ac28\n"
74
+ "gitHead": "8339d05ecc857e529c7325a9839c0063b89e728d\n"
75
75
  }