@remotion/renderer 4.0.297 → 4.0.300

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.
@@ -123,7 +123,11 @@ class Page extends EventEmitter_1.EventEmitter {
123
123
  }
124
124
  else if (log.type === 'error') {
125
125
  if (log.text.includes('Failed to load resource:')) {
126
- logger_1.Log.error({ logLevel, tag: url, indent }, log.text);
126
+ logger_1.Log.error({ logLevel, tag: url, indent },
127
+ // Sometimes the log is like this:
128
+ // Failed to load resource: the server responded with a status of 404 ()
129
+ // We remove the empty parentheses.
130
+ log.text.replace(/\(\)$/, ''));
127
131
  }
128
132
  else {
129
133
  logger_1.Log.error({ logLevel, tag: `console.${log.type}`, indent }, log.text);
@@ -2834,7 +2834,7 @@ class Page extends EventEmitter {
2834
2834
  }
2835
2835
  } else if (log.type === "error") {
2836
2836
  if (log.text.includes("Failed to load resource:")) {
2837
- Log.error({ logLevel, tag: url, indent }, log.text);
2837
+ Log.error({ logLevel, tag: url, indent }, log.text.replace(/\(\)$/, ""));
2838
2838
  } else {
2839
2839
  Log.error({ logLevel, tag: `console.${log.type}`, indent }, log.text);
2840
2840
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
4
4
  },
5
5
  "name": "@remotion/renderer",
6
- "version": "4.0.297",
6
+ "version": "4.0.300",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "extract-zip": "2.0.1",
19
19
  "source-map": "^0.8.0-beta.0",
20
20
  "ws": "8.17.1",
21
- "remotion": "4.0.297",
22
- "@remotion/streaming": "4.0.297"
21
+ "remotion": "4.0.300",
22
+ "@remotion/streaming": "4.0.300"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": ">=16.8.0",
@@ -33,17 +33,17 @@
33
33
  "react-dom": "19.0.0",
34
34
  "@types/ws": "8.5.10",
35
35
  "eslint": "9.19.0",
36
- "@remotion/example-videos": "4.0.297",
37
- "@remotion/eslint-config-internal": "4.0.297"
36
+ "@remotion/eslint-config-internal": "4.0.300",
37
+ "@remotion/example-videos": "4.0.300"
38
38
  },
39
39
  "optionalDependencies": {
40
- "@remotion/compositor-darwin-arm64": "4.0.297",
41
- "@remotion/compositor-darwin-x64": "4.0.297",
42
- "@remotion/compositor-linux-arm64-gnu": "4.0.297",
43
- "@remotion/compositor-linux-arm64-musl": "4.0.297",
44
- "@remotion/compositor-linux-x64-gnu": "4.0.297",
45
- "@remotion/compositor-linux-x64-musl": "4.0.297",
46
- "@remotion/compositor-win32-x64-msvc": "4.0.297"
40
+ "@remotion/compositor-darwin-arm64": "4.0.300",
41
+ "@remotion/compositor-linux-x64-gnu": "4.0.300",
42
+ "@remotion/compositor-linux-x64-musl": "4.0.300",
43
+ "@remotion/compositor-linux-arm64-gnu": "4.0.300",
44
+ "@remotion/compositor-win32-x64-msvc": "4.0.300",
45
+ "@remotion/compositor-darwin-x64": "4.0.300",
46
+ "@remotion/compositor-linux-arm64-musl": "4.0.300"
47
47
  },
48
48
  "keywords": [
49
49
  "remotion",