Skip to content

Commit afb9f3b

Browse files
committed
fix: pinned vfile version down
1 parent 3d1877b commit afb9f3b

File tree

4 files changed

+10
-22
lines changed

4 files changed

+10
-22
lines changed

.clj-kondo/lilactown/helix/clj_kondo/lilactown/helix.clj

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,8 @@
2626

2727
(defn dom
2828
"Macro analysis for `helix.dom/*`."
29-
[{:keys [node]}]
30-
(let [[fn-sym & body] (-> node :children)
31-
[old-props body] (if (api/map-node? (first body))
32-
[(-> body first :children) (next body)]
33-
[nil body])
34-
children body
35-
new-props (when old-props
36-
(->> old-props
37-
(map
38-
#(if (cond-> (api/sexpr %) symbol? (= '&))
39-
(api/keyword-node :&)
40-
%))
41-
api/map-node))
42-
expanded (api/list-node
43-
(list* fn-sym new-props children))]
44-
{:node (with-meta expanded (meta node))}))
29+
[m]
30+
($ m))
4531

4632

4733
(defn analyze-definition

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"react-refresh": "^0.14.2",
3535
"react-syntax-highlighter": "^15.5.0",
3636
"remark-gfm": "^4.0.0",
37-
"use-sync-external-store": "^1.2.2"
37+
"use-sync-external-store": "^1.2.2",
38+
"vfile": "6.0.1"
3839
},
3940
"devDependencies": {
4041
"@testing-library/react": "^14.3.1",

src/codes/clj/docs/frontend/panels/error/view.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
(defnc not-found-svg [props]
88
(dom/svg {:xmlns "http://www.w3.org/2000/svg"
99
:viewBox "0 0 362 145"
10-
& props}
10+
:& props}
1111
(dom/path {:fill "currentColor"
1212
:d "M62.6 142c-2.133 0-3.2-1.067-3.2-3.2V118h-56c-2 0-3-1-3-3V92.8c0-1.333.4-2.733 1.2-4.2L58.2 4c.8-1.333 2.067-2 3.8-2h28c2 0 3 1 3 3v85.4h11.2c.933 0 1.733.333 2.4 1 .667.533 1 1.267 1 2.2v21.2c0 .933-.333 1.733-1 2.4-.667.533-1.467.8-2.4.8H93v20.8c0 2.133-1.067 3.2-3.2 3.2H62.6zM33 90.4h26.4V51.2L33 90.4zM181.67 144.6c-7.333 0-14.333-1.333-21-4-6.666-2.667-12.866-6.733-18.6-12.2-5.733-5.467-10.266-13-13.6-22.6-3.333-9.6-5-20.667-5-33.2 0-12.533 1.667-23.6 5-33.2 3.334-9.6 7.867-17.133 13.6-22.6 5.734-5.467 11.934-9.533 18.6-12.2 6.667-2.8 13.667-4.2 21-4.2 7.467 0 14.534 1.4 21.2 4.2 6.667 2.667 12.8 6.733 18.4 12.2 5.734 5.467 10.267 13 13.6 22.6 3.334 9.6 5 20.667 5 33.2 0 12.533-1.666 23.6-5 33.2-3.333 9.6-7.866 17.133-13.6 22.6-5.6 5.467-11.733 9.533-18.4 12.2-6.666 2.667-13.733 4-21.2 4zm0-31c9.067 0 15.6-3.733 19.6-11.2 4.134-7.6 6.2-17.533 6.2-29.8s-2.066-22.2-6.2-29.8c-4.133-7.6-10.666-11.4-19.6-11.4-8.933 0-15.466 3.8-19.6 11.4-4 7.6-6 17.533-6 29.8s2 22.2 6 29.8c4.134 7.467 10.667 11.2 19.6 11.2zM316.116 142c-2.134 0-3.2-1.067-3.2-3.2V118h-56c-2 0-3-1-3-3V92.8c0-1.333.4-2.733 1.2-4.2l56.6-84.6c.8-1.333 2.066-2 3.8-2h28c2 0 3 1 3 3v85.4h11.2c.933 0 1.733.333 2.4 1 .666.533 1 1.267 1 2.2v21.2c0 .933-.334 1.733-1 2.4-.667.533-1.467.8-2.4.8h-11.2v20.8c0 2.133-1.067 3.2-3.2 3.2h-27.2zm-29.6-51.6h26.4V51.2l-26.4 39.2z"})))
1313

0 commit comments

Comments
 (0)