@thi.ng/hdom 9.1.6 → 9.1.9

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 +1 -1
  2. package/dom.d.ts +4 -4
  3. package/package.json +15 -15
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-04-07T14:17:30Z
3
+ - **Last updated**: 2022-06-09T16:14:01Z
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/dom.d.ts CHANGED
@@ -7,7 +7,7 @@ import type { HDOMImplementation, HDOMOpts } from "./api.js";
7
7
  * @param tree - component tree
8
8
  * @param insert - child index
9
9
  */
10
- export declare const createTree: <T>(opts: Partial<HDOMOpts>, impl: HDOMImplementation<T>, parent: T, tree: any, insert?: number | undefined, init?: boolean) => any;
10
+ export declare const createTree: <T>(opts: Partial<HDOMOpts>, impl: HDOMImplementation<T>, parent: T, tree: any, insert?: number, init?: boolean) => any;
11
11
  /**
12
12
  * See {@link HDOMImplementation} interface for further details.
13
13
  *
@@ -31,9 +31,9 @@ export declare const hydrateTree: <T>(opts: Partial<HDOMOpts>, impl: HDOMImpleme
31
31
  * @param attribs - attributes
32
32
  * @param insert - child index
33
33
  */
34
- export declare const createElement: (parent: Element, tag: string, attribs?: any, insert?: number | undefined) => Node;
35
- export declare const createTextElement: (parent: Element, content: string, insert?: number | undefined) => Node;
36
- export declare const addChild: (parent: Element, child: Node, insert?: number | undefined) => Node;
34
+ export declare const createElement: (parent: Element, tag: string, attribs?: any, insert?: number) => Node;
35
+ export declare const createTextElement: (parent: Element, content: string, insert?: number) => Node;
36
+ export declare const addChild: (parent: Element, child: Node, insert?: number) => Node;
37
37
  export declare const getChild: (parent: Element, child: number) => Element;
38
38
  export declare const replaceChild: (opts: Partial<HDOMOpts>, impl: HDOMImplementation<any>, parent: Element, child: number, tree: any, init?: boolean) => any;
39
39
  export declare const cloneWithNewAttribs: (el: Element, attribs: any) => Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hdom",
3
- "version": "9.1.6",
3
+ "version": "9.1.9",
4
4
  "description": "Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,23 +34,23 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.5",
38
- "@thi.ng/checks": "^3.1.5",
39
- "@thi.ng/diff": "^5.1.5",
40
- "@thi.ng/equiv": "^2.1.5",
41
- "@thi.ng/errors": "^2.1.5",
42
- "@thi.ng/hiccup": "^4.2.6",
43
- "@thi.ng/logger": "^1.1.5",
44
- "@thi.ng/prefixes": "^2.1.5"
37
+ "@thi.ng/api": "^8.3.7",
38
+ "@thi.ng/checks": "^3.2.1",
39
+ "@thi.ng/diff": "^5.1.7",
40
+ "@thi.ng/equiv": "^2.1.7",
41
+ "@thi.ng/errors": "^2.1.7",
42
+ "@thi.ng/hiccup": "^4.2.9",
43
+ "@thi.ng/logger": "^1.1.7",
44
+ "@thi.ng/prefixes": "^2.1.7"
45
45
  },
46
46
  "devDependencies": {
47
- "@microsoft/api-extractor": "^7.19.4",
48
- "@thi.ng/atom": "^5.1.5",
49
- "@thi.ng/testament": "^0.2.5",
47
+ "@microsoft/api-extractor": "^7.25.0",
48
+ "@thi.ng/atom": "^5.1.8",
49
+ "@thi.ng/testament": "^0.2.8",
50
50
  "rimraf": "^3.0.2",
51
51
  "tools": "^0.0.1",
52
- "typedoc": "^0.22.13",
53
- "typescript": "^4.6.2"
52
+ "typedoc": "^0.22.17",
53
+ "typescript": "^4.7.3"
54
54
  },
55
55
  "keywords": [
56
56
  "array",
@@ -124,5 +124,5 @@
124
124
  ],
125
125
  "year": 2015
126
126
  },
127
- "gitHead": "5ee1feb590dd935593b1dd4e7f38a3ed3ba64765\n"
127
+ "gitHead": "ab0188234419f2d9f471de80871df930e5555bd6\n"
128
128
  }