svg-terminal 1.2.2 → 1.2.3

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.
@@ -2138,7 +2138,7 @@ function generateStaticSvg(lines, config) {
2138
2138
  const titleBarHeight2 = getTitleBarHeight(window);
2139
2139
  const chromeHeight = titleBarHeight2 + terminal.paddingTop + terminal.padding * 2;
2140
2140
  const calculated = Math.ceil(contentHeight + chromeHeight);
2141
- window.height = Math.max(window.minHeight, Math.min(window.maxHeight, calculated));
2141
+ window.height = Math.max(window.minHeight, calculated);
2142
2142
  }
2143
2143
  const lineHeight = terminal.fontSize * terminal.lineHeight;
2144
2144
  const titleBarHeight = getTitleBarHeight(window);
@@ -2617,7 +2617,7 @@ async function readCappedText(response, url) {
2617
2617
  }
2618
2618
  return new TextDecoder().decode(Buffer.concat(chunks));
2619
2619
  }
2620
- var USER_AGENT = `svg-terminal/${true ? "1.2.2" : "0.0.0-dev"}`;
2620
+ var USER_AGENT = `svg-terminal/${true ? "1.2.3" : "0.0.0-dev"}`;
2621
2621
  async function fetchWithTimeout(url, timeoutMs = DEFAULT_FETCH_TIMEOUT) {
2622
2622
  const blocked = fetchBlockReason(url);
2623
2623
  if (blocked) {
@@ -5075,4 +5075,4 @@ export {
5075
5075
  inspectCache,
5076
5076
  generateStatic
5077
5077
  };
5078
- //# sourceMappingURL=chunk-TA7SUAKV.js.map
5078
+ //# sourceMappingURL=chunk-APWEX7QX.js.map
package/dist/cli.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  mergeConfig,
12
12
  setStrictBlockConfig,
13
13
  themes
14
- } from "./chunk-TA7SUAKV.js";
14
+ } from "./chunk-APWEX7QX.js";
15
15
 
16
16
  // src/cli.ts
17
17
  import { writeFileSync, watch as fsWatch } from "fs";
@@ -127,7 +127,7 @@ function isZodOptional(t) {
127
127
  }
128
128
 
129
129
  // src/cli.ts
130
- var VERSION = true ? "1.2.2" : "0.0.0-dev";
130
+ var VERSION = true ? "1.2.3" : "0.0.0-dev";
131
131
  var args = process.argv.slice(2);
132
132
  var command = args[0];
133
133
  function getFlag(name) {
package/dist/index.js CHANGED
@@ -55,7 +55,7 @@ import {
55
55
  themes,
56
56
  tokyoNight,
57
57
  win95
58
- } from "./chunk-TA7SUAKV.js";
58
+ } from "./chunk-APWEX7QX.js";
59
59
  export {
60
60
  BlockConfigError,
61
61
  ConfigError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svg-terminal",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Generate animated SVG terminals for GitHub READMEs from a declarative YAML config. 48 built-in blocks, 20 themes, zero runtime deps in the output.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",