@remotion/renderer 4.0.406 → 4.0.407

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.
@@ -13,6 +13,7 @@ const downloadFileWithoutRetries = ({ onProgress, url, to: toFn, abortSignal, })
13
13
  let resolved = false;
14
14
  let timeout;
15
15
  const resolveAndFlag = (val) => {
16
+ abortSignal.removeEventListener('abort', onAbort);
16
17
  resolved = true;
17
18
  resolve(val);
18
19
  if (timeout) {
@@ -20,6 +21,7 @@ const downloadFileWithoutRetries = ({ onProgress, url, to: toFn, abortSignal, })
20
21
  }
21
22
  };
22
23
  const rejectAndFlag = (err) => {
24
+ abortSignal.removeEventListener('abort', onAbort);
23
25
  if (timeout) {
24
26
  clearTimeout(timeout);
25
27
  }
@@ -111,9 +113,6 @@ const downloadFileWithoutRetries = ({ onProgress, url, to: toFn, abortSignal, })
111
113
  })
112
114
  .catch((err) => {
113
115
  rejectAndFlag(err);
114
- })
115
- .finally(() => {
116
- abortSignal.removeEventListener('abort', onAbort);
117
116
  });
118
117
  });
119
118
  };
@@ -555,6 +555,7 @@ var downloadFileWithoutRetries = ({
555
555
  let resolved = false;
556
556
  let timeout;
557
557
  const resolveAndFlag = (val) => {
558
+ abortSignal.removeEventListener("abort", onAbort);
558
559
  resolved = true;
559
560
  resolve(val);
560
561
  if (timeout) {
@@ -562,6 +563,7 @@ var downloadFileWithoutRetries = ({
562
563
  }
563
564
  };
564
565
  const rejectAndFlag = (err) => {
566
+ abortSignal.removeEventListener("abort", onAbort);
565
567
  if (timeout) {
566
568
  clearTimeout(timeout);
567
569
  }
@@ -649,8 +651,6 @@ var downloadFileWithoutRetries = ({
649
651
  });
650
652
  }).catch((err) => {
651
653
  rejectAndFlag(err);
652
- }).finally(() => {
653
- abortSignal.removeEventListener("abort", onAbort);
654
654
  });
655
655
  });
656
656
  };
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.406",
6
+ "version": "4.0.407",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -23,11 +23,11 @@
23
23
  "dependencies": {
24
24
  "execa": "5.1.1",
25
25
  "extract-zip": "2.0.1",
26
- "remotion": "4.0.406",
27
- "@remotion/streaming": "4.0.406",
26
+ "remotion": "4.0.407",
27
+ "@remotion/streaming": "4.0.407",
28
28
  "source-map": "^0.8.0-beta.0",
29
29
  "ws": "8.17.1",
30
- "@remotion/licensing": "4.0.406"
30
+ "@remotion/licensing": "4.0.407"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react": ">=16.8.0",
@@ -41,19 +41,19 @@
41
41
  "react-dom": "19.2.3",
42
42
  "@typescript/native-preview": "7.0.0-dev.20260105.1",
43
43
  "@types/ws": "8.5.10",
44
- "@remotion/example-videos": "4.0.406",
45
- "@remotion/eslint-config-internal": "4.0.406",
44
+ "@remotion/example-videos": "4.0.407",
45
+ "@remotion/eslint-config-internal": "4.0.407",
46
46
  "eslint": "9.19.0",
47
47
  "@types/node": "20.12.14"
48
48
  },
49
49
  "optionalDependencies": {
50
- "@remotion/compositor-darwin-arm64": "4.0.406",
51
- "@remotion/compositor-darwin-x64": "4.0.406",
52
- "@remotion/compositor-linux-arm64-gnu": "4.0.406",
53
- "@remotion/compositor-linux-arm64-musl": "4.0.406",
54
- "@remotion/compositor-linux-x64-gnu": "4.0.406",
55
- "@remotion/compositor-linux-x64-musl": "4.0.406",
56
- "@remotion/compositor-win32-x64-msvc": "4.0.406"
50
+ "@remotion/compositor-darwin-arm64": "4.0.407",
51
+ "@remotion/compositor-darwin-x64": "4.0.407",
52
+ "@remotion/compositor-linux-arm64-gnu": "4.0.407",
53
+ "@remotion/compositor-linux-arm64-musl": "4.0.407",
54
+ "@remotion/compositor-linux-x64-gnu": "4.0.407",
55
+ "@remotion/compositor-linux-x64-musl": "4.0.407",
56
+ "@remotion/compositor-win32-x64-msvc": "4.0.407"
57
57
  },
58
58
  "keywords": [
59
59
  "remotion",