remotion 4.0.276 → 4.0.277

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.
@@ -77,8 +77,11 @@ const continueRender = (handle) => {
77
77
  handles = handles.filter((h) => {
78
78
  if (h === handle) {
79
79
  if ((0, get_remotion_environment_js_1.getRemotionEnvironment)().isRendering) {
80
- clearTimeout(window.remotion_delayRenderTimeouts[handle].timeout);
81
- const { label, startTime } = window.remotion_delayRenderTimeouts[handle];
80
+ if (!window.remotion_delayRenderTimeouts[handle]) {
81
+ return false;
82
+ }
83
+ const { label, startTime, timeout } = window.remotion_delayRenderTimeouts[handle];
84
+ clearTimeout(timeout);
82
85
  const message = [
83
86
  label ? `delayRender() "${label}"` : 'A delayRender()',
84
87
  exports.DELAY_RENDER_CLEAR_TOKEN,
@@ -3,4 +3,4 @@
3
3
  * @see [Documentation](https://remotion.dev/docs/version)
4
4
  * @returns {string} The current version of the remotion package
5
5
  */
6
- export declare const VERSION = "4.0.276";
6
+ export declare const VERSION = "4.0.277";
@@ -7,4 +7,4 @@ exports.VERSION = void 0;
7
7
  * @see [Documentation](https://remotion.dev/docs/version)
8
8
  * @returns {string} The current version of the remotion package
9
9
  */
10
- exports.VERSION = '4.0.276';
10
+ exports.VERSION = '4.0.277';
@@ -104,7 +104,7 @@ function truthy(value) {
104
104
  }
105
105
 
106
106
  // src/version.ts
107
- var VERSION = "4.0.276";
107
+ var VERSION = "4.0.277";
108
108
 
109
109
  // src/multiple-versions-warning.ts
110
110
  var checkMultipleRemotionVersions = () => {
@@ -1570,8 +1570,11 @@ var continueRender = (handle) => {
1570
1570
  handles = handles.filter((h) => {
1571
1571
  if (h === handle) {
1572
1572
  if (getRemotionEnvironment().isRendering) {
1573
- clearTimeout(window.remotion_delayRenderTimeouts[handle].timeout);
1574
- const { label, startTime } = window.remotion_delayRenderTimeouts[handle];
1573
+ if (!window.remotion_delayRenderTimeouts[handle]) {
1574
+ return false;
1575
+ }
1576
+ const { label, startTime, timeout } = window.remotion_delayRenderTimeouts[handle];
1577
+ clearTimeout(timeout);
1575
1578
  const message = [
1576
1579
  label ? `delayRender() "${label}"` : "A delayRender()",
1577
1580
  DELAY_RENDER_CLEAR_TOKEN,
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var VERSION = "4.0.276";
2
+ var VERSION = "4.0.277";
3
3
  export {
4
4
  VERSION
5
5
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/core"
4
4
  },
5
5
  "name": "remotion",
6
- "version": "4.0.276",
6
+ "version": "4.0.277",
7
7
  "description": "Make videos programmatically",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "webpack": "5.96.1",
29
29
  "zod": "3.22.3",
30
30
  "eslint": "9.19.0",
31
- "@remotion/eslint-config-internal": "4.0.276"
31
+ "@remotion/eslint-config-internal": "4.0.277"
32
32
  },
33
33
  "keywords": [
34
34
  "remotion",