mulmocast 2.6.13 → 2.6.15

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.
@@ -87,7 +87,10 @@ const loadHtmlIntoPage = async (page, html, timeout_ms) => {
87
87
  const waitUntil = resolveWaitUntil(html);
88
88
  const hasFileUrls = /file:\/\//.test(html);
89
89
  const hasExternalScripts = /script src=["']https?:\/\//.test(html);
90
- if (hasFileUrls || hasExternalScripts) {
90
+ // puppeteer's setContent does not accept "networkidle0" (no navigation, so network-idle states aren't meaningful in types).
91
+ // Route any HTML that needs network-idle semantics through the page.goto path to preserve the original wait behavior.
92
+ const needsNetworkIdle = waitUntil === "networkidle0";
93
+ if (hasFileUrls || hasExternalScripts || needsNetworkIdle) {
91
94
  const tmpFile = nodePath.join(os.tmpdir(), `mulmocast_render_${crypto.randomUUID()}.html`);
92
95
  fs.writeFileSync(tmpFile, html);
93
96
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mulmocast",
3
- "version": "2.6.13",
3
+ "version": "2.6.15",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "lib/index.node.js",
@@ -89,7 +89,7 @@
89
89
  "homepage": "https://github.com/receptron/mulmocast-cli#readme",
90
90
  "dependencies": {
91
91
  "@google-cloud/text-to-speech": "^6.4.1",
92
- "@google/genai": "^2.0.1",
92
+ "@google/genai": "^2.4.0",
93
93
  "@graphai/anthropic_agent": "^2.0.12",
94
94
  "@graphai/browserless_agent": "^2.0.2",
95
95
  "@graphai/gemini_agent": "^2.0.5",
@@ -99,10 +99,10 @@
99
99
  "@graphai/stream_agent_filter": "^2.0.3",
100
100
  "@graphai/vanilla": "^2.0.12",
101
101
  "@graphai/vanilla_node_agents": "^2.0.4",
102
- "@inquirer/input": "^5.0.12",
103
- "@inquirer/select": "^5.1.4",
102
+ "@inquirer/input": "^5.0.13",
103
+ "@inquirer/select": "^5.1.5",
104
104
  "@modelcontextprotocol/sdk": "^1.29.0",
105
- "@modernized/fluent-ffmpeg": "^0.1.4",
105
+ "@modernized/fluent-ffmpeg": "^1.0.0",
106
106
  "@mozilla/readability": "^0.6.0",
107
107
  "@tavily/core": "^0.7.3",
108
108
  "archiver": "^7.0.1",
@@ -111,11 +111,11 @@
111
111
  "graphai": "^2.0.16",
112
112
  "jsdom": "^29.1.1",
113
113
  "marked": "^18.0.3",
114
- "mulmocast-vision": "^1.0.9",
114
+ "mulmocast-vision": "^1.0.10",
115
115
  "ora": "^9.4.0",
116
- "puppeteer": "^24.43.0",
116
+ "puppeteer": "^25.0.3",
117
117
  "replicate": "^1.4.0",
118
- "yaml": "^2.8.4",
118
+ "yaml": "^2.9.0",
119
119
  "yargs": "^18.0.0",
120
120
  "zod": "^4.4.3"
121
121
  },
@@ -123,19 +123,19 @@
123
123
  "@eslint/js": "^10.0.1",
124
124
  "@receptron/test_utils": "^2.0.3",
125
125
  "@types/archiver": "^7.0.0",
126
- "@types/jsdom": "^28.0.1",
126
+ "@types/jsdom": "^28.0.3",
127
127
  "@types/yargs": "^17.0.35",
128
128
  "cross-env": "^10.1.0",
129
- "eslint": "^10.3.0",
129
+ "eslint": "^10.4.0",
130
130
  "eslint-config-prettier": "^10.1.8",
131
131
  "eslint-plugin-import": "^2.32.0",
132
132
  "eslint-plugin-prettier": "^5.5.5",
133
133
  "eslint-plugin-sonarjs": "^4.0.3",
134
134
  "globals": "^17.6.0",
135
135
  "prettier": "^3.8.3",
136
- "tsx": "^4.21.0",
136
+ "tsx": "^4.22.1",
137
137
  "typescript": "6.0.3",
138
- "typescript-eslint": "^8.59.2"
138
+ "typescript-eslint": "^8.59.3"
139
139
  },
140
140
  "engines": {
141
141
  "node": ">=22.0.0"