@jsenv/terminal-recorder 1.4.24 → 1.4.26

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.
@@ -1588,8 +1588,7 @@ const renderTerminalSvg = (
1588
1588
  // Some SVG implementations do not support underline and
1589
1589
  // strikethrough for <text> elements (see Sketch 49.2)
1590
1590
  if (style.underline) {
1591
- const yOffset = font.height * 0.14;
1592
- const ys = y - -yOffset;
1591
+ const ys = y - -1.9600000000000002;
1593
1592
  const xw = x + w;
1594
1593
  const path = svg.createNode("path", {
1595
1594
  d: `M${x},${ys} L${xw},${ys} Z`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/terminal-recorder",
3
- "version": "1.4.24",
3
+ "version": "1.4.26",
4
4
  "description": "Record terminal output as .svg, .gif, .webm, .mp4",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@jsenv/humanize": "1.2.8",
41
- "@jsenv/server": "15.3.3",
41
+ "@jsenv/server": "15.4.0",
42
42
  "@playwright/browser-chromium": "1.49.1",
43
43
  "ansi-regex": "6.1.0",
44
44
  "he": "1.2.0",