marko 5.39.42 → 5.39.43

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/tags-html.d.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "5.39.42",
3
+ "version": "5.39.43",
4
4
  "private": false,
5
5
  "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
6
6
  "keywords": [
@@ -84,7 +84,7 @@
84
84
  "warp10": "^2.1.0"
85
85
  },
86
86
  "devDependencies": {
87
- "marko": "5.39.42"
87
+ "marko": "5.39.43"
88
88
  },
89
89
  "engines": {
90
90
  "node": ">=22"
package/tags-html.d.ts CHANGED
@@ -208,6 +208,13 @@ declare global {
208
208
  onVolumechange?: this["onVolumeChange"];
209
209
  }
210
210
 
211
+ // Marko 6 types SVG tags from a base shared with HTML tags, so they need their
212
+ // own `renderBody`; the deprecated lowercase event aliases stay HTML-only.
213
+ interface SVGAttributes<T extends Element = Element> {
214
+ /** Marko 5 class-API components render their body via `renderBody`. */
215
+ renderBody?: Marko.Body<[], void>;
216
+ }
217
+
211
218
  interface Directives {
212
219
  /**
213
220
  * Used to uniquely identify a tag within a template in order