@thi.ng/hdom 9.1.3 → 9.1.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.
@@ -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
+ ### [9.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom@9.1.6) (2022-04-07)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))
17
+
12
18
  ## [9.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom@9.1.0) (2021-11-17)
13
19
 
14
20
  #### 🚀 Features
package/README.md CHANGED
@@ -1260,4 +1260,4 @@ If this project contributes to an academic publication, please cite it as:
1260
1260
 
1261
1261
  ## License
1262
1262
 
1263
- © 2015 - 2021 Karsten Schmidt // Apache Software License 2.0
1263
+ © 2015 - 2022 Karsten Schmidt // Apache Software License 2.0
package/dom.js CHANGED
@@ -190,7 +190,7 @@ export const setAttrib = (el, id, val, attribs) => {
190
190
  break;
191
191
  default:
192
192
  isListener
193
- ? setListener(el, id.substr(2), val)
193
+ ? setListener(el, id.substring(2), val)
194
194
  : el.setAttribute(id, val === true ? "" : val);
195
195
  }
196
196
  }
@@ -236,7 +236,7 @@ export const removeAttribs = (el, attribs, prev) => {
236
236
  for (let i = attribs.length; i-- > 0;) {
237
237
  const a = attribs[i];
238
238
  if (a[0] === "o" && a[1] === "n") {
239
- removeListener(el, a.substr(2), prev[a]);
239
+ removeListener(el, a.substring(2), prev[a]);
240
240
  }
241
241
  else {
242
242
  el.hasAttribute(a) ? el.removeAttribute(a) : (el[a] = null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hdom",
3
- "version": "9.1.3",
3
+ "version": "9.1.6",
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.2",
38
- "@thi.ng/checks": "^3.1.2",
39
- "@thi.ng/diff": "^5.1.2",
40
- "@thi.ng/equiv": "^2.1.2",
41
- "@thi.ng/errors": "^2.1.2",
42
- "@thi.ng/hiccup": "^4.2.3",
43
- "@thi.ng/logger": "^1.1.2",
44
- "@thi.ng/prefixes": "^2.1.2"
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"
45
45
  },
46
46
  "devDependencies": {
47
- "@microsoft/api-extractor": "^7.18.19",
48
- "@thi.ng/atom": "^5.1.2",
49
- "@thi.ng/testament": "^0.2.2",
47
+ "@microsoft/api-extractor": "^7.19.4",
48
+ "@thi.ng/atom": "^5.1.5",
49
+ "@thi.ng/testament": "^0.2.5",
50
50
  "rimraf": "^3.0.2",
51
51
  "tools": "^0.0.1",
52
- "typedoc": "^0.22.9",
53
- "typescript": "^4.5.2"
52
+ "typedoc": "^0.22.13",
53
+ "typescript": "^4.6.2"
54
54
  },
55
55
  "keywords": [
56
56
  "array",
@@ -81,34 +81,34 @@
81
81
  ],
82
82
  "exports": {
83
83
  ".": {
84
- "import": "./index.js"
84
+ "default": "./index.js"
85
85
  },
86
86
  "./api": {
87
- "import": "./api.js"
87
+ "default": "./api.js"
88
88
  },
89
89
  "./default": {
90
- "import": "./default.js"
90
+ "default": "./default.js"
91
91
  },
92
92
  "./diff": {
93
- "import": "./diff.js"
93
+ "default": "./diff.js"
94
94
  },
95
95
  "./dom": {
96
- "import": "./dom.js"
96
+ "default": "./dom.js"
97
97
  },
98
98
  "./logger": {
99
- "import": "./logger.js"
99
+ "default": "./logger.js"
100
100
  },
101
101
  "./normalize": {
102
- "import": "./normalize.js"
102
+ "default": "./normalize.js"
103
103
  },
104
104
  "./render-once": {
105
- "import": "./render-once.js"
105
+ "default": "./render-once.js"
106
106
  },
107
107
  "./resolve": {
108
- "import": "./resolve.js"
108
+ "default": "./resolve.js"
109
109
  },
110
110
  "./start": {
111
- "import": "./start.js"
111
+ "default": "./start.js"
112
112
  }
113
113
  },
114
114
  "thi.ng": {
@@ -124,5 +124,5 @@
124
124
  ],
125
125
  "year": 2015
126
126
  },
127
- "gitHead": "32cf1a96854f9bb97aca65ffa05ca862ea377059\n"
127
+ "gitHead": "5ee1feb590dd935593b1dd4e7f38a3ed3ba64765\n"
128
128
  }