remotion 4.0.536 → 4.0.537

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.
@@ -2514,12 +2514,12 @@ function validateDurationInFrames(durationInFrames, options) {
2514
2514
  if (durationInFrames <= 0) {
2515
2515
  throw new TypeError(`The "durationInFrames" prop ${component} must be positive, but got ${durationInFrames}.`);
2516
2516
  }
2517
- if (!allowFloats && durationInFrames % 1 !== 0) {
2518
- throw new TypeError(`The "durationInFrames" prop ${component} must be an integer, but got ${durationInFrames}.`);
2519
- }
2520
2517
  if (!Number.isFinite(durationInFrames)) {
2521
2518
  throw new TypeError(`The "durationInFrames" prop ${component} must be finite, but got ${durationInFrames}.`);
2522
2519
  }
2520
+ if (!allowFloats && durationInFrames % 1 !== 0) {
2521
+ throw new TypeError(`The "durationInFrames" prop ${component} must be an integer, but got ${durationInFrames}.`);
2522
+ }
2523
2523
  }
2524
2524
 
2525
2525
  // src/video/get-current-time.ts
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var VERSION = "4.0.536";
2
+ var VERSION = "4.0.537";
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.536",
6
+ "version": "4.0.537",
7
7
  "description": "Make videos programmatically",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "react-dom": "19.2.3",
36
36
  "webpack": "5.105.0",
37
37
  "zod": "4.5.4",
38
- "@remotion/eslint-config-internal": "4.0.536",
38
+ "@remotion/eslint-config-internal": "4.0.537",
39
39
  "eslint": "9.19.0",
40
40
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
41
41
  },