@thi.ng/hdom-canvas 4.1.139 → 4.1.141
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 +1 -1
- package/index.js +2 -4
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
package/index.js
CHANGED
|
@@ -44,8 +44,7 @@ const createTree = (_, canvas2, tree) => {
|
|
|
44
44
|
assert(!!ctx, "canvas ctx unavailable");
|
|
45
45
|
const attribs = tree[1];
|
|
46
46
|
if (attribs) {
|
|
47
|
-
if (attribs.__skip)
|
|
48
|
-
return;
|
|
47
|
+
if (attribs.__skip) return;
|
|
49
48
|
if (attribs.__clear !== false) {
|
|
50
49
|
ctx.clearRect(0, 0, canvas2.width, canvas2.height);
|
|
51
50
|
}
|
|
@@ -94,8 +93,7 @@ const normalizeTree = (opts, tree) => {
|
|
|
94
93
|
};
|
|
95
94
|
const diffTree = (opts, parent, prev, curr, child) => {
|
|
96
95
|
const attribs = curr[1];
|
|
97
|
-
if (attribs.__skip)
|
|
98
|
-
return;
|
|
96
|
+
if (attribs.__skip) return;
|
|
99
97
|
if (attribs.__diff === false) {
|
|
100
98
|
releaseTree(prev);
|
|
101
99
|
return createTree(opts, parent, curr);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hdom-canvas",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.141",
|
|
4
4
|
"description": "@thi.ng/hdom component wrapper for declarative canvas scenegraphs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.11.
|
|
43
|
-
"@thi.ng/checks": "^3.6.
|
|
44
|
-
"@thi.ng/diff": "^5.1.
|
|
45
|
-
"@thi.ng/errors": "^2.5.
|
|
46
|
-
"@thi.ng/hdom": "^9.4.
|
|
47
|
-
"@thi.ng/hiccup-canvas": "^
|
|
42
|
+
"@thi.ng/api": "^8.11.2",
|
|
43
|
+
"@thi.ng/checks": "^3.6.4",
|
|
44
|
+
"@thi.ng/diff": "^5.1.69",
|
|
45
|
+
"@thi.ng/errors": "^2.5.7",
|
|
46
|
+
"@thi.ng/hdom": "^9.4.34",
|
|
47
|
+
"@thi.ng/hiccup-canvas": "^3.0.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@microsoft/api-extractor": "^7.43.
|
|
51
|
-
"esbuild": "^0.
|
|
52
|
-
"typedoc": "^0.25.
|
|
53
|
-
"typescript": "^5.4.
|
|
50
|
+
"@microsoft/api-extractor": "^7.43.2",
|
|
51
|
+
"esbuild": "^0.21.1",
|
|
52
|
+
"typedoc": "^0.25.13",
|
|
53
|
+
"typescript": "^5.4.5"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|
|
56
56
|
"array",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
],
|
|
93
93
|
"year": 2018
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "41bd769068da804eeace622ec7db50e4d48f1dc9\n"
|
|
96
96
|
}
|