remotion 4.0.141 → 4.0.142

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.
@@ -42,4 +42,7 @@ export declare const NoReactInternals: {
42
42
  playbackRate: number;
43
43
  startFrom: number;
44
44
  }) => number;
45
+ ENABLE_V5_BREAKING_CHANGES: false;
46
+ MIN_NODE_VERSION: number;
47
+ MIN_BUN_VERSION: string;
45
48
  };
@@ -9,6 +9,7 @@ const delay_render_1 = require("./delay-render");
9
9
  const input_props_serialization_1 = require("./input-props-serialization");
10
10
  const interpolate_colors_1 = require("./interpolate-colors");
11
11
  const truthy_1 = require("./truthy");
12
+ const v5_flag_1 = require("./v5-flag");
12
13
  const validate_frame_1 = require("./validate-frame");
13
14
  const validate_default_props_1 = require("./validation/validate-default-props");
14
15
  const validate_dimensions_1 = require("./validation/validate-dimensions");
@@ -33,4 +34,7 @@ exports.NoReactInternals = {
33
34
  DELAY_RENDER_ATTEMPT_TOKEN: delay_render_1.DELAY_RENDER_RETRIES_LEFT,
34
35
  getOffthreadVideoSource: offthread_video_source_1.getOffthreadVideoSource,
35
36
  getExpectedMediaFrameUncorrected: get_current_time_1.getExpectedMediaFrameUncorrected,
37
+ ENABLE_V5_BREAKING_CHANGES: v5_flag_1.ENABLE_V5_BREAKING_CHANGES,
38
+ MIN_NODE_VERSION: v5_flag_1.ENABLE_V5_BREAKING_CHANGES ? 18 : 16,
39
+ MIN_BUN_VERSION: v5_flag_1.ENABLE_V5_BREAKING_CHANGES ? '1.1.3' : '1.0.3',
36
40
  };
@@ -0,0 +1 @@
1
+ export declare const ENABLE_V5_BREAKING_CHANGES: false;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ENABLE_V5_BREAKING_CHANGES = void 0;
4
+ exports.ENABLE_V5_BREAKING_CHANGES = false;
@@ -1 +1 @@
1
- export declare const VERSION = "4.0.141";
1
+ export declare const VERSION = "4.0.142";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // Automatically generated on publish
5
- exports.VERSION = '4.0.141';
5
+ exports.VERSION = '4.0.142';
@@ -105,7 +105,7 @@ function truthy(value) {
105
105
  }
106
106
 
107
107
  // Automatically generated on publish
108
- const VERSION = '4.0.141';
108
+ const VERSION = '4.0.142';
109
109
 
110
110
  const checkMultipleRemotionVersions = () => {
111
111
  if (typeof globalThis === 'undefined') {
@@ -655,6 +655,8 @@ function processColor(color) {
655
655
  return ((normalizedColor << 24) | (normalizedColor >>> 8)) >>> 0; // argb
656
656
  }
657
657
 
658
+ const ENABLE_V5_BREAKING_CHANGES = false;
659
+
658
660
  const validateFrame = ({ allowFloats, durationInFrames, frame, }) => {
659
661
  if (typeof frame === 'undefined') {
660
662
  throw new TypeError(`Argument missing for parameter "frame"`);
@@ -776,6 +778,9 @@ const NoReactInternals = {
776
778
  DELAY_RENDER_ATTEMPT_TOKEN: DELAY_RENDER_RETRIES_LEFT,
777
779
  getOffthreadVideoSource,
778
780
  getExpectedMediaFrameUncorrected,
781
+ ENABLE_V5_BREAKING_CHANGES,
782
+ MIN_NODE_VERSION: 16,
783
+ MIN_BUN_VERSION: '1.0.3',
779
784
  };
780
785
 
781
786
  export { NoReactInternals, interpolate, random };
@@ -1,4 +1,4 @@
1
1
  // Automatically generated on publish
2
- const VERSION = '4.0.141';
2
+ const VERSION = '4.0.142';
3
3
 
4
4
  export { VERSION };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "4.0.141",
3
+ "version": "4.0.142",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",