@thi.ng/hiccup 4.2.3 → 4.2.6

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**: 2021-11-21T17:09:28Z
3
+ - **Last updated**: 2022-04-07T14:17:30Z
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/README.md CHANGED
@@ -672,4 +672,4 @@ If this project contributes to an academic publication, please cite it as:
672
672
 
673
673
  ## License
674
674
 
675
- © 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
675
+ © 2016 - 2022 Karsten Schmidt // Apache Software License 2.0
package/attribs.d.ts CHANGED
@@ -20,17 +20,17 @@
20
20
  * // "baz"
21
21
  * ```
22
22
  *
23
- * @param existing
24
- * @param val
23
+ * @param existing -
24
+ * @param val -
25
25
  */
26
26
  export declare const mergeClasses: (existing: string, val: any) => string;
27
27
  /**
28
28
  * Takes an attrib object and optional element ID and CSS class names from Emmet-style
29
29
  * hiccup tag, then transforms and merges definitions, returns attribs.
30
30
  *
31
- * @param attribs
32
- * @param id
33
- * @param classes
31
+ * @param attribs -
32
+ * @param id -
33
+ * @param classes -
34
34
  */
35
35
  export declare const mergeEmmetAttribs: (attribs: any, id?: string | undefined, classes?: string | undefined) => any;
36
36
  //# sourceMappingURL=attribs.d.ts.map
package/attribs.js CHANGED
@@ -22,8 +22,8 @@ import { isString } from "@thi.ng/checks/is-string";
22
22
  * // "baz"
23
23
  * ```
24
24
  *
25
- * @param existing
26
- * @param val
25
+ * @param existing -
26
+ * @param val -
27
27
  */
28
28
  export const mergeClasses = (existing, val) => {
29
29
  val = deref(val);
@@ -41,9 +41,9 @@ export const mergeClasses = (existing, val) => {
41
41
  * Takes an attrib object and optional element ID and CSS class names from Emmet-style
42
42
  * hiccup tag, then transforms and merges definitions, returns attribs.
43
43
  *
44
- * @param attribs
45
- * @param id
46
- * @param classes
44
+ * @param attribs -
45
+ * @param id -
46
+ * @param classes -
47
47
  */
48
48
  export const mergeEmmetAttribs = (attribs, id, classes) => {
49
49
  id && (attribs.id = id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup",
3
- "version": "4.2.3",
3
+ "version": "4.2.6",
4
4
  "description": "HTML/SVG/XML serialization of nested data structures, iterables & closures",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,19 +34,19 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.2",
38
- "@thi.ng/checks": "^3.1.2",
39
- "@thi.ng/errors": "^2.1.2",
40
- "@thi.ng/strings": "^3.3.0"
37
+ "@thi.ng/api": "^8.3.5",
38
+ "@thi.ng/checks": "^3.1.5",
39
+ "@thi.ng/errors": "^2.1.5",
40
+ "@thi.ng/strings": "^3.3.3"
41
41
  },
42
42
  "devDependencies": {
43
- "@microsoft/api-extractor": "^7.18.19",
44
- "@thi.ng/atom": "^5.1.2",
45
- "@thi.ng/testament": "^0.2.2",
43
+ "@microsoft/api-extractor": "^7.19.4",
44
+ "@thi.ng/atom": "^5.1.5",
45
+ "@thi.ng/testament": "^0.2.5",
46
46
  "rimraf": "^3.0.2",
47
47
  "tools": "^0.0.1",
48
- "typedoc": "^0.22.9",
49
- "typescript": "^4.5.2"
48
+ "typedoc": "^0.22.13",
49
+ "typescript": "^4.6.2"
50
50
  },
51
51
  "keywords": [
52
52
  "array",
@@ -77,28 +77,28 @@
77
77
  ],
78
78
  "exports": {
79
79
  ".": {
80
- "import": "./index.js"
80
+ "default": "./index.js"
81
81
  },
82
82
  "./api": {
83
- "import": "./api.js"
83
+ "default": "./api.js"
84
84
  },
85
85
  "./attribs": {
86
- "import": "./attribs.js"
86
+ "default": "./attribs.js"
87
87
  },
88
88
  "./css": {
89
- "import": "./css.js"
89
+ "default": "./css.js"
90
90
  },
91
91
  "./deref": {
92
- "import": "./deref.js"
92
+ "default": "./deref.js"
93
93
  },
94
94
  "./normalize": {
95
- "import": "./normalize.js"
95
+ "default": "./normalize.js"
96
96
  },
97
97
  "./prefix": {
98
- "import": "./prefix.js"
98
+ "default": "./prefix.js"
99
99
  },
100
100
  "./serialize": {
101
- "import": "./serialize.js"
101
+ "default": "./serialize.js"
102
102
  }
103
103
  },
104
104
  "thi.ng": {
@@ -120,5 +120,5 @@
120
120
  ],
121
121
  "year": 2016
122
122
  },
123
- "gitHead": "32cf1a96854f9bb97aca65ffa05ca862ea377059\n"
123
+ "gitHead": "5ee1feb590dd935593b1dd4e7f38a3ed3ba64765\n"
124
124
  }