@thi.ng/hdom 9.1.5 → 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 +7 -1
- package/dom.js +2 -2
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
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/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.
|
|
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.
|
|
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
|
+
"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,19 +34,19 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
38
|
-
"@thi.ng/checks": "^3.1.
|
|
39
|
-
"@thi.ng/diff": "^5.1.
|
|
40
|
-
"@thi.ng/equiv": "^2.1.
|
|
41
|
-
"@thi.ng/errors": "^2.1.
|
|
42
|
-
"@thi.ng/hiccup": "^4.2.
|
|
43
|
-
"@thi.ng/logger": "^1.1.
|
|
44
|
-
"@thi.ng/prefixes": "^2.1.
|
|
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
47
|
"@microsoft/api-extractor": "^7.19.4",
|
|
48
|
-
"@thi.ng/atom": "^5.1.
|
|
49
|
-
"@thi.ng/testament": "^0.2.
|
|
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
52
|
"typedoc": "^0.22.13",
|
|
@@ -81,34 +81,34 @@
|
|
|
81
81
|
],
|
|
82
82
|
"exports": {
|
|
83
83
|
".": {
|
|
84
|
-
"
|
|
84
|
+
"default": "./index.js"
|
|
85
85
|
},
|
|
86
86
|
"./api": {
|
|
87
|
-
"
|
|
87
|
+
"default": "./api.js"
|
|
88
88
|
},
|
|
89
89
|
"./default": {
|
|
90
|
-
"
|
|
90
|
+
"default": "./default.js"
|
|
91
91
|
},
|
|
92
92
|
"./diff": {
|
|
93
|
-
"
|
|
93
|
+
"default": "./diff.js"
|
|
94
94
|
},
|
|
95
95
|
"./dom": {
|
|
96
|
-
"
|
|
96
|
+
"default": "./dom.js"
|
|
97
97
|
},
|
|
98
98
|
"./logger": {
|
|
99
|
-
"
|
|
99
|
+
"default": "./logger.js"
|
|
100
100
|
},
|
|
101
101
|
"./normalize": {
|
|
102
|
-
"
|
|
102
|
+
"default": "./normalize.js"
|
|
103
103
|
},
|
|
104
104
|
"./render-once": {
|
|
105
|
-
"
|
|
105
|
+
"default": "./render-once.js"
|
|
106
106
|
},
|
|
107
107
|
"./resolve": {
|
|
108
|
-
"
|
|
108
|
+
"default": "./resolve.js"
|
|
109
109
|
},
|
|
110
110
|
"./start": {
|
|
111
|
-
"
|
|
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": "
|
|
127
|
+
"gitHead": "5ee1feb590dd935593b1dd4e7f38a3ed3ba64765\n"
|
|
128
128
|
}
|